Repository navigation
feat(web): show task ID and assignees in the Gantt view - #786
Merged
Merged
Conversation
The Gantt task column only showed the title, so telling tasks apart or seeing who owns a bar meant opening each task. Each row (subtasks included) now shows: - the task ID before the title, formatted like the Table and Board (`PREFIX-n`, or `#n` when the project has no prefix); - the assignees at the end of the name column, using the shared AssigneePicker. Users who can edit tasks can reassign from the row; others see the avatars only. Clicks on the picker don't open the task. Assignees follow the view's `fields` setting, as in the Table and Board, so they show by default and can be hidden from the view settings. Tests: the Gantt test harness now renders inside a QueryClientProvider (the picker and the Jev check read through React Query), and the nesting test finds the child-task request by URL since the view also loads the project now. Co-Authored-By: Claude Opus 5.5 <[email protected]>
4 tasks done
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Approach: sound — reuses the shared AssigneePicker, the existing handleMoveToColumn field-update path, and the same viewConfig.fields fallback the Table and Board already use, so no new data flow or persistence is introduced.
Reviewed changes — read the full 5-file diff plus the related view code (task-row.tsx, task-card.tsx, view-utils.ts, interaction-layout.tsx, use-jev-enabled.ts), then ran the two affected Gantt test files (30 tests pass) and biome check on the changed files (clean).
- Task ID before the title —
PREFIX-n, falling back to#nwhen the project has no prefix; the render guard matches the Board card's. - Inline assignee picker — rendered inside a click/keydown-stopping wrapper so the row's open handler doesn't fire, with editability gated on
canEdit && onMoveToColumnexactly like the Table's assignee cell. - Fields setting honored —
showAssigneederives fromviewConfig.fieldswith aDEFAULT_VISIBLE_FIELDSfallback, mirroringlist-view.tsxandboard-view.tsx(an empty list means defaults, not "hide everything"). - Reassignment wiring — passes the picker's patch to
handleMoveToColumn; its["projects", projectId, "tasks"]invalidation also covers the Gantt child-task query key. - Prop threading, tests and docs —
taskIdPrefixpassed the same way as Board/List, new assignee/ID tests added, and the Gantt "Task column" bullet documented.
deepseek-v4.1-flash-1017 (free via Pullfrog for OSS) | 𝕏
pikann
approved these changes
Nov 19, 2026
pikann
left a comment
Contributor
There was a problem hiding this comment.
LGTM! Thank you for the contribution! 🚀
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.

Summary
The Gantt task column showed only the title, so telling tasks apart, or seeing who owns a bar, meant opening each task.
Each Gantt row, subtasks included, now shows:
PREFIX-n, or#nwhen the project has no prefix.AssigneePicker. Users who can edit tasks can reassign from the row; others see the avatars only. Clicking the picker doesn't open the task.Assignees follow the view's
fieldssetting, as in the Table and Board. The Gantt settings panel already had a Fields tab that the Gantt ignored. Assignees show by default (DEFAULT_VISIBLE_FIELDS) and can be hidden there.Reassigning uses the existing
onMoveToColumnhandler, the samehandleMoveToColumnthe Table uses for field edits, so no new data flow is added.taskIdPrefixis passed in the same way as for the Table and Board.Type of Change
Checklist
docs/architecture/interaction-views.md.AssigneePicker,isAutoAssignPendingandDEFAULT_VISIBLE_FIELDS.Testing
fieldsleaves it out, and clicking it doesn't open the task; the ID shows with the prefix and falls back to#n.QueryClientProvider, because the picker and the Jev check use React Query.gantt-nesting.test.tsxnow finds the child-task request by URL instead ofcalls[0], because the view also loads the project (useJevEnabled).bun run lint,tsc -band theinteractionstest suite pass.🤖 Generated with Claude Code