Improve selection UI with individual item removal and shift-click filtering - #60
Merged
Merged
Conversation
TimelineFrame: - Shift+drag brush now calls addToSelection() instead of boxSelect(), so brushing a date range while holding shift adds to the existing set SummaryFrame: - Add × button per selection item to remove it via toggle() - Add "clear all" button next to the selection count heading - Large-selection (>8) chip summary also gets a "clear all ×" button - Hint text "shift+click to add" shown in the heading when nothing is selected Shift+click single-node additive select was already wired in all canvas frames (Semantic, Map, Timeline) and box-select shift-add was already wired in SemanticFrame — no changes needed there. https://claude.ai/code/session_01EefsLVhEiLxKsJzAbgC1CQ
✅ Deploy Preview for akb-suruleredotdev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Korede-TA
pushed a commit
that referenced
this pull request
Jun 24, 2026
…lict Keep both zoom tracking (node labels) and brushShiftRef (shift-additive brush select from PR #60) in TimelineFrame state declarations. https://claude.ai/code/session_01EefsLVhEiLxKsJzAbgC1CQ
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
Enhanced the selection interface in SummaryFrame with better UX controls and improved timeline filtering behavior. Users can now remove individual items from selection, see helpful hints, and use shift+click to add to selections during timeline filtering.
Key Changes
SummaryFrame.tsx:
onClearAllcallback and display a "clear all ×" button when showing 8+ itemsTimelineFrame.tsx:
useRefimport to track shift key state during brush interactionsbrushShiftRefto capture whether shift was held when drag startedonDragStartto detect and store shift key state from the mouse eventonDragEndto conditionally call eitheraddToSelection()(when shift held) orboxSelect()(normal behavior) based on the stored shift stateImplementation Details
toggle()method from the selection storeS.navBtnand muted text colors for secondary actionshttps://claude.ai/code/session_01EefsLVhEiLxKsJzAbgC1CQ