[PR #7751] feat(app): add question tool UI for web #12501

Closed
opened 2026-02-16 18:17:24 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7751

State: closed
Merged: No


What does this PR do?

Implements question-answering tool UI for web. Fixes #7599

  • Implemented as part of message-part.tsx as other prompts for permissions.
  • Allows keyboard navigation using left/right/up/down/enter keys, as well as answer submission.
  • Writing a new prompt will correctly dismiss the question, so session will not be stuck.
  • Correctly shows the form after refreshing the page.

May still need work on design, but I think AI quite nailed it after few iterations.

How did you verify your code works?

Tested it on web:

image image
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7751 **State:** closed **Merged:** No --- ### What does this PR do? Implements question-answering tool UI for web. Fixes #7599 - [x] Implemented as part of `message-part.tsx` as other prompts for permissions. - [x] Allows keyboard navigation using left/right/up/down/enter keys, as well as answer submission. - [x] Writing a new prompt will correctly dismiss the question, so session will not be stuck. - [x] Correctly shows the form after refreshing the page. May still need work on design, but I think AI quite nailed it after few iterations. ### How did you verify your code works? Tested it on web: <img width="1189" height="810" alt="image" src="https://github.com/user-attachments/assets/1482f797-85e7-416a-b90e-0964f9a03d03" /> <img width="1218" height="633" alt="image" src="https://github.com/user-attachments/assets/93f9018e-11af-40ea-b0f3-4689a7f07dc2" />
yindo added the pull-request label 2026-02-16 18:17:24 -05:00
yindo closed this issue 2026-02-16 18:17:24 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12501