Skip to content

Show approval prompts as cards in the web UI - #118

Merged
monatis merged 1 commit into
mainfrom
feat/web-ui-approval-cards
Oct 2, 2026
Merged

monatis merged 1 commit into
mainfrom
feat/web-ui-approval-cards

Conversation

@umutarpayy

Copy link
Copy Markdown
Contributor

Closes #115

Approval prompts (ask_user, shell and edit approvals) now show as a card in the web UI, with the diff and approve / deny / always / abort buttons. The streamed completion event carries an optional clarification field, so older clients are unaffected.

Also fixes two existing bugs that affected every channel:

  • approve was always treated as deny, because of the User reply: prefix
  • abort left the conversation stuck as busy; it now replies with a short notice

Tested with cargo test, clippy and fmt, and live in the browser against a fake LLM.

@amazon-q-developer amazon-q-developer Bot 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.

This PR successfully adds clarification and approval UI functionality. The implementation correctly handles approval prompts, displays choices as clickable buttons, and processes user responses appropriately. The code is well-tested with comprehensive unit tests covering approval reply classification, diff display, and streaming events. No blocking issues found.


You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.

@monatis
monatis merged commit ce026c8 into main Oct 2, 2026
2 checks passed
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.

Show isanagent's requests for permission on web UI

2 participants