Skip to content

Conversation

@usvimal
Copy link

@usvimal usvimal commented Jan 3, 2026

Summary

Adds a delete button in the session header for quick session cleanup.

Changes

  • Added X icon button next to the "New session" button
  • Shows confirmation dialog before deletion
  • Navigates to new session page after successful deletion
  • Button only visible when a session is selected

UI Location

[Project ▾] / [Session ▾]  [✏️ New]  [✕ Delete]

Testing

  • Click delete button on any session
  • Confirm deletion in dialog
  • Session should be deleted and redirected to new session page

Adds an X button next to the session selector that allows users to delete
the current session. Shows a confirmation dialog before deletion and
navigates to a new session page after successful deletion.
- Add session.deleted event handler in global-sync.tsx to remove deleted sessions from UI
- Create DialogConfirmDelete component matching app design system
- Replace native browser confirm() with styled dialog for consistent UX
@usvimal usvimal requested a review from adamdotdevin as a code owner January 5, 2026 15:33
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.

1 participant