Skip to content

Replace A2A message action bar buttons with inspect message button - #254

Merged
jgindin merged 5 commits into
a2ui-project:mainfrom
dustinwhuang:action-bar
Oct 9, 2026
Merged

jgindin merged 5 commits into
a2ui-project:mainfrom
dustinwhuang:action-bar

Conversation

@dustinwhuang

Copy link
Copy Markdown
Contributor

Description

  • Replace existing A2A message action bar buttons with single inspect message button.
  • Open message inspector panel with events filtered by messageId when inspect button is clicked.
  • Add messageId to MessageInspectorEvent for incoming messages and errors.
  • Expose searchQuery as two way bound model so filter input can be modified.

Pre-launch Checklist

  • I signed the [CLA].
  • I read the [Contributors Guide].
  • I read the [Style Guide].
  • I have added updates to the [CHANGELOG].
  • I updated/added relevant documentation.
  • My code changes (if any) have tests.
  • If my branch is on fork, I have verified that scripts/e2e_test.sh passes.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a message inspection feature, allowing users to filter protocol events in the message inspector by a specific message ID. It replaces the feedback and copy buttons on chat messages with an 'Inspect message' button, updates event creation helpers to associate events with message IDs, and binds the search query as a model in the message inspector. The review feedback suggests optimizing the search filter by caching computed search strings using a WeakMap to avoid expensive stringification on every keystroke, and removing a debug console.log statement in chat-message.ts before merging.

@dustinwhuang
dustinwhuang marked this pull request as ready for review October 6, 2026 23:59
@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

⚡ A2UI Composer PR Preview

Your automated preview is successfully live (commit 5b138bd):
👉 Launch PR Preview

Note: This environment will be wiped automatically when the PR is merged or closed.

@jgindin
jgindin merged commit 043fc3b into a2ui-project:main Oct 9, 2026
13 checks passed
@dustinwhuang
dustinwhuang deleted the action-bar branch October 9, 2026 19:55
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.

2 participants