feat(supergroups): Add checkbox to supergroup rows for bulk selection#112301
feat(supergroups): Add checkbox to supergroup rows for bulk selection#112301
Conversation
Supergroup rows didn't participate in the issue list's bulk selection. This adds a checkbox below the stack icon that selects/deselects all visible member groups at once. Shows indeterminate when only some member groups are selected. Hidden by default, appears on row hover or when checked — same pattern as the regular issue row checkboxes. Adds `setSelectionForIds` to the selection context so we can set multiple specific IDs in a single dispatch instead of toggling one at a time. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
🚨 Warning: This pull request contains Frontend and Backend changes! It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently. Have questions? Please ask in the |
| /static/app/components/issues/ @getsentry/issue-workflow | ||
| /static/app/components/stackTrace/ @getsentry/issue-workflow | ||
| /static/app/components/stream/supergroupRow.tsx @getsentry/issue-detection-frontend | ||
| /static/app/components/stream/supergroupCheckbox.tsx @getsentry/issue-detection-frontend |
There was a problem hiding this comment.
might be time to do a components/stream/supergroups/?
| @@ -167,6 +196,12 @@ const Wrapper = styled(PanelItem)<{highlighted: boolean}>` | |||
| min-height: 82px; | |||
| background: ${p => | |||
| p.highlighted ? p.theme.tokens.background.secondary : 'transparent'}; | |||
|
|
|||
| &:not(:hover):not(:has(input:checked)):not(:has(input:indeterminate)) { | |||
There was a problem hiding this comment.
this style is crazy, it just hides the checkbox if it's not checked or hovered?
There was a problem hiding this comment.
yeah, we do this on the other rows as well
…#112301) Add checkbox to supergroup rows for bulk issue selection, plus small QoL fixes. - Checkbox below the stack icon selects/deselects all member groups at once (indeterminate when partial). Hidden until hover or checked. - New `setSelectionForIds` action on the issue selection context for multi-ID dispatch. - Label switches from "issues matched" to bold "issues selected" when any are checked. - `retry: false` on supergroups query, it 404s when they're not found etc. <img width="550" height="94" alt="image" src="https://github.com/user-attachments/assets/27df4440-76e5-4376-bc3d-24000045f207" /> fixes https://linear.app/getsentry/issue/ID-1442/figuring-out-what-happens-when-selecting-a-supergroup --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Add checkbox to supergroup rows for bulk issue selection, plus small QoL fixes.
setSelectionForIdsaction on the issue selection context for multi-ID dispatch.retry: falseon supergroups query, it 404s when they're not found etc.fixes https://linear.app/getsentry/issue/ID-1442/figuring-out-what-happens-when-selecting-a-supergroup