Repository navigation
fix(task): show each status's own color in the status filter without a space - #11154
Merged
ArtyomSavchenko merged 1 commit intoOct 19, 2026
Merged
Conversation
…a space In All Issues (and other views without a space or selected project type) the status filter rendered each status presenter with space undefined and no project type. The presenter could therefore not find the project type's per-status configuration and fell back to the status category color, so all statuses of one category looked the same, unlike the issue list. When no space is known, the filter now resolves a project type per status via a new getStatusProjectType helper: the selected project type if any, otherwise a joined project type that configures a color or icon for the status, otherwise the first joined project type containing it. The result is passed as projectType to the presenter. Views with a space are unchanged. Fixes hcengineering#5696 Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com>
ArtyomSavchenko
approved these changes
Oct 19, 2026
ArtyomSavchenko
merged commit Oct 19, 2026
8ed328f
into
hcengineering:develop
12 of 13 checks passed
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 #5696
Problem and change
In All Issues (and other views without a space or selected project type) the status filter rendered each status presenter with space undefined and no project type. The presenter could therefore not find the project type's per-status configuration and fell back to the status category color, so all statuses of one category looked the same, unlike the issue list.
When no space is known, the filter now resolves a project type per status via a new getStatusProjectType helper: the selected project type if any, otherwise a joined project type that configures a color or icon for the status, otherwise the first joined project type containing it. The result is passed as projectType to the presenter. Views with a space are unchanged.
Tests
New unit tests
plugins/task-resources/src/__tests__/statusProjectType.test.ts;testscripts added to the package. Checked manually on a self-hosted instance: two statuses of the same category with different colors in a project type show their own colors in All issues → Filter → Status, matching the issue list.