Select tickets row by row: the Tickets page's queue buttons act on just the selected tickets - #1688
Merged
Merged
Conversation
…ading's queue buttons then act on just the selected tickets Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014rbYrkf4V76bEszetYStXE
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.
Makes each ticket row selectable (a checkbox, GitHub's list idiom); while any ticket is selected, the Tickets page's heading queue buttons apply only to the selected tickets.
What it does
project/file, so the flat cross-project list selects the same way with each ticket queued on its own project.Implementation notes
TicketRow/TicketsPaneltake the selection as optional wired-down props (selected/onToggleSelect,isSelected/onToggleSelect), following the file's existing idiom for page features threaded to rows (onTopicClick,onClaimedClick): no wiring, no checkbox.TicketsPageowns the selection (Set<"projectId/file">) and derives the buttons' scope fromselected ∩ shown.Spec updates (SDD)
TicketsPage.SPEC.md: new "Selecting rows narrows the queue buttons" section, TL;DR/user-story entries, and cross-references from the two queue-button sections.TicketsPanel.SPEC.md: the row's selection checkbox and its page-owns-the-selection contract.FEATURES-SPEC.mdgets the feature line under "Tickets" (feature explicitly requested, taken as the human approval the file requires).Tests
6 new TicketsPage tests (selection scopes the queue-add and the plan button, re-arm on selection change, clear-selection restores the shown set, claimed-selected still skipped, hidden-selected neither counted nor acted on but preserved, flat-mode selection queues on the row's own project) and 1 new TicketsPanel test (checkbox only when wired, toggles by file, never navigates). Full dashboard suite: 84 files / 834 tests green;
pnpm typecheckclean.🤖 Generated with Claude Code
https://claude.ai/code/session_014rbYrkf4V76bEszetYStXE
Generated by Claude Code