Add editable status column and submission markers to the Gantt chart
Adds a second frozen "Task Status" column (EditableTaskStatus) next to the task name, and small white dot markers on each bar showing submission dates - backed by a new lightweight GET /tasks/submission-dates endpoint (task_id + submitted_at only, to avoid an N+1 fetch across potentially hundreds of scheduled tasks). Restructures the chart's scroll handling from a single scrolling container with sticky-positioned columns to two independently-scrolled panes (frozen name/status columns, and the timeline), synced on vertical scroll. This fixes several issues that came with the sticky approach - transparency bleed-through on hover and on group-header rows, row heights not matching between columns, and the horizontal scrollbar spanning the frozen columns instead of just the timeline. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -195,6 +195,15 @@ class SubmissionResponse(SubmissionBase):
|
||||
from_attributes = True
|
||||
|
||||
|
||||
class SubmissionDateInfo(BaseModel):
|
||||
"""Minimal per-task submission date, for lightweight bulk lookups (e.g. Gantt markers)."""
|
||||
task_id: int
|
||||
submitted_at: datetime
|
||||
|
||||
class Config:
|
||||
from_attributes = True
|
||||
|
||||
|
||||
# Review schemas
|
||||
class ReviewBase(BaseModel):
|
||||
decision: ReviewDecision
|
||||
|
||||
Reference in New Issue
Block a user