Skip to content

YN-0719: Inbox: Select multiple messages at once#2168

Merged
Innders merged 2 commits into
developfrom
1970-YN-0719-Inbox-Select-multiple-messages-at-once
Jul 14, 2026
Merged

YN-0719: Inbox: Select multiple messages at once#2168
Innders merged 2 commits into
developfrom
1970-YN-0719-Inbox-Select-multiple-messages-at-once

Conversation

@filipvnencak

@filipvnencak filipvnencak commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

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

  • handleMessageSelect handles single / ctrl-cmd toggle / shift-range, anchored by lastSelectedIndexRef (Inbox.tsx).
  • clearSelected + toggleReadSelected group referenceIds by project, one mutation per project.
  • c / x shortcuts and context menu act on the whole selection when more than one is selected.
  • useKeydown shift+arrow extends the range; cursor derived from the focused row.
  • Details panel stays single-select only (renders first selected), per ticket scope.

Additional context

Closes #1970 · YN-0719

Screen.Recording.2026-07-14.at.09.45.26.mov

@filipvnencak filipvnencak requested a review from Innders July 13, 2026 13:33
@filipvnencak filipvnencak self-assigned this Jul 13, 2026
@filipvnencak filipvnencak added the type: feature Adding something new and exciting to the product label Jul 13, 2026

@Innders Innders left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@Innders Innders left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't test but looks good. Thanks!

@Innders Innders merged commit 6454a06 into develop Jul 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature Adding something new and exciting to the product

Projects

None yet

Development

Successfully merging this pull request may close these issues.

YN-0719: Inbox: Select multiple messages at once

2 participants