Skip to content

Conversation

@hotic
Copy link

@hotic hotic commented Jan 11, 2026

What does this PR do?

Closes #7886

How did you verify your code works?

Add two-step confirmation when archiving sessions in WebUI sidebar to
prevent accidental data loss.

  • First click: button turns red (danger state), tooltip shows "Click to confirm"
  • Second click: executes archive action
  • Mouse leave: resets confirmation state
  • Keyboard shortcut (⌘⇧Backspace) also requires pressing twice

This prevents accidentally archiving sessions with a single misclick.

image

@hotic hotic requested a review from adamdotdevin as a code owner January 11, 2026 23:17
@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

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.

feat(app): add two-step confirmation for archive session

1 participant