fix: multi-select propagation bug and redesign selection toolbar#901
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
supermemory-mcp | f14cf55 | May 05 2026, 10:36 PM |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
supermemory-app | f14cf55 | Commit Preview URL | May 05 2026, 10:37 PM |
How to use the Graphite Merge QueueAdd the label Main to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
Claude finished @MaheshtheDev's task in 1m 12s —— View job Review Complete
Overview: Fixes multi-select not updating visually by moving selection state into Masonry item data, and fixes Issues found: None — this looks good to ship. The bug fix is sound: the previous approach stored Score: 10/10 |
There was a problem hiding this comment.
Overview: Fixes multi-select not updating visually by moving selection state into Masonry item data, and fixes effectiveContainerTags to fall back to the default project when none selected.
Issues found: None — this looks good to ship.
The bug fix is sound: the previous approach stored isSelectionMode and selectedDocumentIds in a mutable ref for performance (to keep renderMasonryItem stable), but this prevented Masonry from detecting when selection state changed. By embedding isSelectionMode and isSelected directly in each MasonryItem and including them in the useMemo dependency array, the items array now changes when selection changes, correctly triggering re-renders.
The stores/index.ts change ensures queries don't use an empty containerTags array when no projects are selected.
Score: 10/10
Merge activity
|
a3ec077 to
f14cf55
Compare

No description provided.