Skip to content

fix(task): show each status's own color in the status filter without a space - #11154

Merged
ArtyomSavchenko merged 1 commit into
hcengineering:developfrom
MichaelUray:fix/status-filter-colors
Oct 19, 2026
Merged

ArtyomSavchenko merged 1 commit into
hcengineering:developfrom
MichaelUray:fix/status-filter-colors

Conversation

@MichaelUray

Copy link
Copy Markdown
Contributor

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; test scripts 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.

…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
ArtyomSavchenko merged commit 8ed328f into hcengineering:develop Oct 19, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Status filter have uses same category colour when in All Issues

2 participants