feat: add undo/fork buttons on user messages and show agent description in prompt placeholder #9139

Open
opened 2026-02-16 18:11:43 -05:00 by yindo · 1 comment
Owner

Originally created by @cooooooooooode on GitHub (Feb 12, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Feature request

Is your feature request related to a problem?

Currently there is no way to undo (revert) a user message or fork a conversation from a specific message in the web UI. Users have to start a new session manually. Additionally, the prompt input placeholder does not reflect which agent is currently selected.

Describe the solution you'd like

  1. Add undo and fork action buttons on user messages:

    • Undo: aborts the running session and reverts the message
    • Fork: creates a new session branching from the selected message (preserving it)
    • Both actions use a two-step confirmation (click to highlight → tooltip shows confirm text → 3s timeout resets)
  2. Show the current agent's description as the prompt input placeholder in the format "I am {name}, {description}" with full i18n support.

Describe alternatives you've considered

Using keyboard shortcuts or a context menu, but inline buttons are more discoverable.

Originally created by @cooooooooooode on GitHub (Feb 12, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Feature request **Is your feature request related to a problem?** Currently there is no way to undo (revert) a user message or fork a conversation from a specific message in the web UI. Users have to start a new session manually. Additionally, the prompt input placeholder does not reflect which agent is currently selected. **Describe the solution you'd like** 1. Add undo and fork action buttons on user messages: - **Undo**: aborts the running session and reverts the message - **Fork**: creates a new session branching from the selected message (preserving it) - Both actions use a two-step confirmation (click to highlight → tooltip shows confirm text → 3s timeout resets) 2. Show the current agent's description as the prompt input placeholder in the format "I am {name}, {description}" with full i18n support. **Describe alternatives you've considered** Using keyboard shortcuts or a context menu, but inline buttons are more discoverable.
yindo added the web label 2026-02-16 18:11:43 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 12, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #9661: Desktop/Web: Missing Revert and Fork actions for messages
  • #8804: Use agent description as prompt placeholder text
  • #8589: Allow questions (or any user choice or input) to be valid fork/undo points
  • #8689: Ability to revert/fork from the AI message, not only from the user's
  • #7696: Message actions on AI messages (copy button etc)
  • #8685: Better controls/UX for queued messages
  • #12001: Duplicate slash command or fork command dialog improvements
  • #12580: TUI: make session fork more discoverable

Before proceeding, please verify these aren't already covering your feature request or related work in progress.

@github-actions[bot] commented on GitHub (Feb 12, 2026): This issue might be a duplicate of existing issues. Please check: - #9661: Desktop/Web: Missing Revert and Fork actions for messages - #8804: Use agent description as prompt placeholder text - #8589: Allow questions (or any user choice or input) to be valid fork/undo points - #8689: Ability to revert/fork from the AI message, not only from the user's - #7696: Message actions on AI messages (copy button etc) - #8685: Better controls/UX for queued messages - #12001: Duplicate slash command or fork command dialog improvements - #12580: TUI: make session fork more discoverable Before proceeding, please verify these aren't already covering your feature request or related work in progress.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9139