Agent Identity
- Owner:
agent3
- Role: End-user product experience implementation
Task Metadata
- Task ID:
PB-053
- Depends On:
[]
- Labels:
agent3, ui-gap, critical, status:ready
Context
Current timeline view scrolls horizontally with tasks in a row. The reference design uses a vertical time axis on the left side with day markers and a gradient line, providing more intuitive time progression visualization.
Playwright validation confirmed: Vertical time axis is missing from current implementation.
Goal
Refactor timeline layout to vertical orientation with left-side time axis showing day markers and gradient progress line.
Acceptance Criteria
Constraints
- Must maintain compatibility with
WorkflowTimelineDTO API response
- Do not break existing task card click/navigation
- Time axis should be sticky during scroll
- Must work with dependency threads from PB-052
Files to Create or Edit
- CREATE:
/ProjectBeacon/ProjectBeacon/components/workflow/timeline-axis.tsx
- EDIT:
/ProjectBeacon/ProjectBeacon/components/workflow/timeline-page.tsx
- EDIT:
/ProjectBeacon/ProjectBeacon/app/globals.css (for gradient line)
Expected Output / Interface
<div className="flex">
<TimelineAxis
startDate={projectStartDate}
endDate={projectDeadline}
currentDate={new Date()}
/>
<div className="flex-1">
{/* task cards */}
</div>
</div>
Verification Commands
cd ProjectBeacon/ProjectBeacon
npm run dev
# Navigate to /projects/test-project/timeline
# Verify vertical time axis with day markers
npx playwright test tests/ui-validation.spec.ts -g "Time Axis"
Reference
Definition of Done
- All acceptance criteria checked
- Playwright test passes
- Time axis documented in handoff
- No regressions in timeline navigation
Agent Identity
agent3Task Metadata
PB-053[]agent3,ui-gap,critical,status:readyContext
Current timeline view scrolls horizontally with tasks in a row. The reference design uses a vertical time axis on the left side with day markers and a gradient line, providing more intuitive time progression visualization.
Playwright validation confirmed: Vertical time axis is missing from current implementation.
Goal
Refactor timeline layout to vertical orientation with left-side time axis showing day markers and gradient progress line.
Acceptance Criteria
Constraints
WorkflowTimelineDTOAPI responseFiles to Create or Edit
/ProjectBeacon/ProjectBeacon/components/workflow/timeline-axis.tsx/ProjectBeacon/ProjectBeacon/components/workflow/timeline-page.tsx/ProjectBeacon/ProjectBeacon/app/globals.css(for gradient line)Expected Output / Interface
Verification Commands
Reference
docs/ui/simplified_task_dependencies/code.html(lines 100-150)docs/UI_GAP_ANALYSIS.md(Gap [PB-002] MVP Database Schema and Storage Setup #4)test-results/ui-validation-*-Time-Axis-*/test-failed-1.pngDefinition of Done