Independent date editing for projects, tasks, and subtasks#16
Merged
Conversation
Parent tasks now keep their own editable size instead of showing a rolled-up subtask point total. Gantt spans use the task's own window as the floor and only expand outward when subtasks fall outside it. Changing a parent task's dates clips subtasks that exceed the new bounds. Projects continue to roll up across all leaves. Co-authored-by: Tanops <Tanops@users.noreply.github.com>
|
Tasks with subtasks now always render using their own dates/size on the gantt. Changing a subtask's dates no longer expands or shrinks the parent bar. Parent resize only updates subtasks when the window narrows (clip to explicit start/due), not when extending. Co-authored-by: Tanops <Tanops@users.noreply.github.com>
Subtasks are shortened to end on the parent task's due date when they run past it, including on direct subtask edits and gantt drags. Parent start changes no longer affect subtasks, and subtasks are never extended when they already end before the parent. Co-authored-by: Tanops <Tanops@users.noreply.github.com>
Parent tasks now grow on the gantt (and update their stored start/due) when a subtask is enlarged or moved outside the task window. The parent never shrinks when subtasks move inward. Narrowing the parent due date still clips subtasks that extend past it. Co-authored-by: Tanops <Tanops@users.noreply.github.com>
Bind the subtask input keydown handler after each detail render so Enter reliably calls addChild, and refocus the input after adding for rapid entry. Co-authored-by: Tanops <Tanops@users.noreply.github.com>
Save flushes pending title, comment, and subtask input edits, persists to the server, shows brief confirmation, and closes the sheet. Co-authored-by: Tanops <Tanops@users.noreply.github.com>
Each project row gets a light wash over its timeline span. Clicking empty chart space inside that area opens the project detail sheet and focuses the new-task input. Task bars and controls remain fully interactive. Co-authored-by: Tanops <Tanops@users.noreply.github.com>
Task row containers were intercepting clicks before they reached the project background layer. Grow rows now pass through pointer events, the click target spans the full project block, and project header clicks focus the new-task input. Co-authored-by: Tanops <Tanops@users.noreply.github.com>
Projects and tasks now show a Sort by start date action at the bottom of the quick bar menu. It reorders tasks and subtasks within the project by effective start (explicit start, else due-derived), with undated items last. Project summary bars also open the quick menu on right-click. Co-authored-by: Tanops <Tanops@users.noreply.github.com>
Places Sort by start date in the Tasks/Subtasks header row (as shown in the design mockup) in addition to the bar quick menu. Refreshes the open detail sheet after sorting. Co-authored-by: Tanops <Tanops@users.noreply.github.com>
Roll back sort-by-start-date and automatic parent/subtask date expand/clip behavior that fought manual edits. Each project, task, and subtask now owns its start and end dates; only dragging a parent bar still shifts the whole subtree. Also remove syncTaskDates so start and end fields no longer snap together when edited separately. Co-authored-by: Tanops <Tanops@users.noreply.github.com>
Stop collapsing late/today task bars to a fixed today box in barGeom. Bars now render from their real start through today so the left resize ear moves with the start date during gantt drags. Co-authored-by: Tanops <Tanops@users.noreply.github.com>
snktshrma
marked this pull request as ready for review
June 23, 2026 15:09
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
Rolls back the sort-by-start-date and parent/subtask date coupling changes that were causing confusing behavior when editing dates manually.
Each project, task, and subtask now owns its own start and end dates. You can extend or shorten either date independently via the detail sheet, bar quick menu, or gantt resize handles.
Overdue and due-today bars now show their real start date through today (instead of collapsing to a fixed today box), so the left resize ear can change the start date on the chart.
What changed
syncTaskDatesso changing start no longer forces end (and vice versa)Display behavior
Test plan
npm run ci(45 tests)