Skip to content

feat: add architecture page - #112

Merged
cowan-macady merged 1 commit into
masterfrom
iag-presentation
Sep 1, 2026
Merged

feat: add architecture page#112
cowan-macady merged 1 commit into
masterfrom
iag-presentation

Conversation

@cowan-macady

@cowan-macady cowan-macady commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

implement ENG-8488

add architecture page
add some style modifications

@cowan-macady
cowan-macady requested a review from a team as a code owner September 1, 2026 11:22
Copilot AI lite review requested due to automatic review settings September 1, 2026 11:22
@deepsource-io

deepsource-io Bot commented Sep 1, 2026

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in 10eb51b...8544c92 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
Secrets Sep 1, 2026 11:37a.m. Review ↗
Python Sep 1, 2026 11:37a.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new “Architecture” static page to the a2a/iag-mcp-demo console and updates the chatbot UI to better support streaming/chat readability and multi-line prompts.

Changes:

  • Introduces /static/architecture.html with an inline SVG diagram and lightweight JS to badge the active usecase and dim optional profile-gated groups.
  • Exposes usecase and profiles via /api/config (fed from USECASE / COMPOSE_PROFILES) and wires those env vars into docker-compose.yaml.
  • Updates the console UI (new header link + user chip, textarea input with autosize, message metadata, style tweaks).

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
a2a/iag-mcp-demo/README.md Documents the new Architecture page behavior and how it reflects /api/config.
a2a/iag-mcp-demo/docker-compose.yaml Adds USECASE / COMPOSE_PROFILES env for the console to report active context/profiles.
a2a/iag-mcp-demo/chatbot/static/styles.css UI/layout tweaks (wider container, sidebar sizing, message meta, textarea styling, loading indicator styles).
a2a/iag-mcp-demo/chatbot/static/index.html Adds Architecture link + user chip; textarea + autosize; message meta labels/timestamps; streaming safeguards.
a2a/iag-mcp-demo/chatbot/static/architecture.html New self-contained architecture diagram page with profile dimming via /api/config.
a2a/iag-mcp-demo/chatbot/app.py Adds USECASE / COMPOSE_PROFILES to config output and returns a display username in auth status.
Suppressed comments (1)

a2a/iag-mcp-demo/chatbot/static/index.html:334

  • keypress is deprecated and can behave inconsistently for Enter on some platforms/IME input. Prefer keydown, and skip handling while the user is composing text (IME) to avoid accidental sends.
    messageInput.addEventListener('keypress', (e) => {
        if (e.key === 'Enter' && !e.shiftKey) {
            e.preventDefault();
            sendMessage();
        }
    });

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread a2a/iag-mcp-demo/chatbot/static/styles.css
Comment thread a2a/iag-mcp-demo/chatbot/static/index.html
Comment thread a2a/iag-mcp-demo/chatbot/static/styles.css
Copilot AI review requested due to automatic review settings September 1, 2026 11:33

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

implement [ENG-8488]
@cowan-macady
cowan-macady merged commit b7ecc97 into master Sep 1, 2026
15 of 20 checks passed
@cowan-macady
cowan-macady deleted the iag-presentation branch September 1, 2026 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants