Skip to content

fix: remove namespaces from task name in nested tree view#240

Merged
pd93 merged 1 commit intomainfrom
239-fix-nested-namespace-name
Feb 19, 2026
Merged

fix: remove namespaces from task name in nested tree view#240
pd93 merged 1 commit intomainfrom
239-fix-nested-namespace-name

Conversation

@pd93
Copy link
Member

@pd93 pd93 commented Feb 19, 2026

Fixes #239.

This was caused by a faulty conditional that was checking is task.name was empty and assuming that if it wasn't then the task has a label and should therefore immediately render it.

However, task.name is actually always returned. The value is just set to the task name when no label is set. The solution is to check if task.name and task.task are equal. If not, then use task.name (because a label is set). Otherwise, use task.task and remove the namespaces if in nested mode.

@pd93 pd93 merged commit 0b0a5cd into main Feb 19, 2026
3 checks passed
@pd93 pd93 deleted the 239-fix-nested-namespace-name branch February 19, 2026 22:41
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.

Hide the namespace for task names nested in the tree view

1 participant