feat(mobile-web): add session search, rename, and delete#840
Open
jarvis24young wants to merge 1 commit into
Open
feat(mobile-web): add session search, rename, and delete#840jarvis24young wants to merge 1 commit into
jarvis24young wants to merge 1 commit into
Conversation
- Search bar filters sessions client-side by name in real-time - Long-press (500ms, 10px move tolerance) on any session card opens a bottom-sheet context menu with Rename and Delete actions - Rename opens a modal with text input pre-filled with current name; sends update_session_title command to desktop and updates store - Delete shows a confirmation dialog with Escape/Enter support; calls delete_session on desktop and removes session + cached messages from the Zustand store - Action toast with role="alert" for transient success/failure feedback - Timers cleaned up on unmount to prevent state updates on dead components
b481fd5 to
5bbefcc
Compare
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
update_session_titlebackend command)delete_sessionbackend command, removes session + cached messages from store)Design decisions
useMobileStore.getState()in callbacks to avoid stale closuresremoveSessionalso cleans upmessagesBySessionto prevent memory leaksTest plan