Repository navigation
feat(tracker): group issue status selector by category with collapsible groups - #11140
Open
MichaelUray wants to merge 1 commit into
Open
MichaelUray wants to merge 1 commit into
MichaelUray wants to merge 1 commit into
Conversation
…le groups The issue status selection popup listed all statuses of a project type as one flat list, which gets hard to scan once a workflow has many statuses. SelectPopup gets an opt-in collapsibleCategories mode: category headers become rows that can be toggled by click or by Enter during keyboard navigation, show the number of statuses in the group, and the collapsed state is remembered in local storage under a caller supplied key. While searching all groups are shown expanded. The tracker status editor and status selector order statuses by status category and enable this mode when a project type has 10 or more statuses; with fewer statuses the popup stays unchanged. Fixes hcengineering#8857 Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com>
MichaelUray
force-pushed
the
feat/status-selector-grouping
branch
from
October 19, 2026 06:42
0b591a5 to
4ec3d38
Compare
This branch has not been deployed
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.
Fixes #8857
Problem and change
The issue status selection popup listed all statuses of a project type as one flat list, which gets hard to scan once a workflow has many statuses.
SelectPopup gets an opt-in collapsibleCategories mode: category headers become rows that can be toggled by click or by Enter during keyboard navigation, show the number of statuses in the group, and the collapsed state is remembered in local storage under a caller supplied key. While searching all groups are shown expanded. The tracker status editor and status selector order statuses by status category and enable this mode when a project type has 10 or more statuses; with fewer statuses the popup stays unchanged.
Tests
New unit tests
packages/ui/src/__test__/selectPopupCategories.test.tsandplugins/tracker-resources/src/__tests__/statusCategories.test.ts. Checked manually on a self-hosted instance: with 10 statuses the issue status popup groups them by category with counts, a collapsed group stays collapsed after reopening and after a reload, Enter on a header toggles it and Enter on a status selects it; projects with fewer statuses keep the flat list.Notes
The status popup opened by the keyboard shortcut / context menu uses a different component (
DocPopup) and is not grouped yet.