YN-0719: Inbox: Select multiple messages at once#2168
Merged
Innders merged 2 commits intoJul 14, 2026
Conversation
Innders
requested changes
Jul 13, 2026
Innders
left a comment
Member
There was a problem hiding this comment.
Work great thanks!
I just found one small bug with the multi selection anchor.
When right clicking outside of the selection the selection is updated but the selection anchor isn't, this means that a subsequent shift selection will be wrong.
Screen.Recording.2026-07-13.at.15.54.10.mov
- Fix right click then shift selection bug
- Create a little video demo'ing new feature for the PR description
… anchor on right-click
Innders
approved these changes
Jul 14, 2026
Innders
left a comment
Member
There was a problem hiding this comment.
Didn't test but looks good. Thanks!
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.
Description of changes
Adds multi-selection to the inbox so messages can be cleared or marked as read in bulk. Supports ctrl/cmd toggle and shift range, with both mouse and keyboard.
Technical details
handleMessageSelecthandles single / ctrl-cmd toggle / shift-range, anchored bylastSelectedIndexRef(Inbox.tsx).clearSelected+toggleReadSelectedgroup referenceIds by project, one mutation per project.c/xshortcuts and context menu act on the whole selection when more than one is selected.useKeydownshift+arrow extends the range; cursor derived from the focused row.Additional context
Closes #1970 · YN-0719
Screen.Recording.2026-07-14.at.09.45.26.mov