Skip to content

Add sidebar context menu (rename, export, delete)#8

Merged
phillsatellite merged 1 commit into
mainfrom
sidebar_context_menu
Mar 10, 2026
Merged

Add sidebar context menu (rename, export, delete)#8
phillsatellite merged 1 commit into
mainfrom
sidebar_context_menu

Conversation

@phillsatellite

Copy link
Copy Markdown
Owner

Summary

  • Right-click or tap+hold (600ms) on any conversation in the sidebar opens a context menu
  • Menu options: Edit name (inline rename with Enter/Escape/blur), Export (loads conversation + opens export modal), Delete (removes from Firestore, clears output if active)
  • Menu position is clamped to viewport so it never clips off-screen
  • All three actions wired to Firestore handlers in App.jsx

Test plan

  • Right-click a conversation → context menu appears near cursor
  • Tap+hold on mobile → context menu appears
  • Edit name → type new name → Enter commits, Escape cancels, clicking away commits
  • Export → opens export modal with that conversation's text
  • Delete → conversation removed from sidebar; active conversation cleared if deleted

Right-click or tap+hold on any conversation to open a context menu with
Edit name (inline rename), Export (opens export modal), and Delete options.
Menu position is clamped to viewport bounds on all screen sizes.
@phillsatellite phillsatellite merged commit e179d23 into main Mar 10, 2026
1 check passed
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