Skip to content

[FEATURE]: Reorder message actions to prioritize safe operations #32967

Closed as not planned

Description

@zhg4554

Problem

When using the TUI interface, I noticed that the Message Actions dialog defaults to the "Revert" option. This is a potential UX issue because Revert is a destructive operation that undoes messages and file changes. If I accidentally hit Enter without thinking, it could cause unintended data loss or changes that I didn't mean to apply.

Why This Matters

Safe operations like "Copy" should be the first option since they're non-destructive. Most users expect to be able to safely interact with a dialog without accidentally triggering dangerous actions.

What Should Happen

The message actions should be reordered to put the safe "Copy" operation first, so it becomes the default selection. This way:

  • Users can safely press Enter on the first option
  • Destructive operations like "Revert" come at the end as expected

Affected Code

The options are defined in packages/tui/src/routes/session/dialog-message.tsx


  • I have verified this is a feature request and not a bug report
  • I have checked existing issues to avoid duplicates

Activity

  1. github-actions commented on Jun 19, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • Feature requests must have a title starting with [FEATURE]: (e.g., [FEATURE]: reorder message actions to prioritize safe operations)
    • Feature requests must include the verification checkbox from the feature request template
    • The description appears to be AI-generated (overly structured with "Benefits", "Proposed Solution", and "File to modify" sections). Please rewrite in your own words describing the actual problem you encountered and why this change would help you.

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.

    If you believe this was flagged incorrectly, please let a maintainer know.

  2. changed the title [-]feat(tui): reorder message actions to prioritize safe operations[/-] [+][FEATURE]: Reorder message actions to prioritize safe operations[/+] on Jun 19, 2026
  3. github-actions commented on Jun 19, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now follows the contributing guidelines. Your feature request is clear, concise, and includes all required information.

  4. github-actions commented on Aug 19, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions