Add multi-select mode for bulk bookmark operations#24
Merged
Conversation
- Add bulkDeleteBookmarks() service function for batch deletion in single Yjs transaction - Create SelectionActionBar component with delete/cancel actions - Update BookmarkItem with checkbox support and shift+click selection - Add Select button to FilterBar to toggle selection mode - Implement selection state management in BookmarkList - Add keyboard shortcuts: Space (toggle), Ctrl+A (select all), Escape (exit), D (delete selected) https://claude.ai/code/session_01PeJz4DGdKgajWJbGVXPSME
Hold Shift while pressing J or K to enter selection mode and select items as you navigate through the list. https://claude.ai/code/session_01PeJz4DGdKgajWJbGVXPSME
✅ Deploy Preview for hypermarkk ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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
Implement a selection mode that allows users to select multiple bookmarks and perform bulk operations (currently delete). This adds a new interaction pattern alongside the existing single-item navigation and editing.
Key Changes
BookmarkItem Component
isCheckedandselectionModeprops to control visual stateonToggleSelectcallback for selection changesBookmarkList Component
selectionMode,selectedIds)Space- toggle current item selectionShift+J/K- move and select in directionCmd+A- select all filtered bookmarksEscape- exit selection modeD- bulk delete when in selection modebulkDeleteBookmarksservice function for atomic deletion of multiple itemsFilterBar Component
New SelectionActionBar Component
Services
bulkDeleteBookmarks()function that deletes multiple bookmarks in a single transaction for proper undo supportImplementation Details
https://claude.ai/code/session_01PeJz4DGdKgajWJbGVXPSME