From 85482d402896e1ae6208efe504e8c9c9c5989dcc Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Sat, 6 Dec 2025 22:25:37 -0800 Subject: [PATCH] Update task task-001 --- ...Today-feature,-and-label-toggle-filters.md | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/backlog/tasks/task-001 - Add-velocity-dashboard,-Do-Today-feature,-and-label-toggle-filters.md b/backlog/tasks/task-001 - Add-velocity-dashboard,-Do-Today-feature,-and-label-toggle-filters.md index bd83baa..8b379ed 100644 --- a/backlog/tasks/task-001 - Add-velocity-dashboard,-Do-Today-feature,-and-label-toggle-filters.md +++ b/backlog/tasks/task-001 - Add-velocity-dashboard,-Do-Today-feature,-and-label-toggle-filters.md @@ -4,6 +4,7 @@ title: 'Add velocity dashboard, Do Today feature, and label toggle filters' status: Done assignee: [] created_date: '2025-12-07 06:25' +updated_date: '2025-12-07 06:25' labels: - feature - web-ui @@ -38,3 +39,23 @@ Implemented three major features for the backlog web UI: - Active labels shown in filter bar - URL parameter sync (?labels=bug,feature) + +## Implementation Notes + + +## Files Modified +- `src/types/index.ts` - Added `doToday` to Task and TaskUpdateInput +- `src/markdown/parser.ts` - Parse `do_today` from frontmatter +- `src/markdown/serializer.ts` - Serialize `do_today` to frontmatter +- `src/core/backlog.ts` - Handle `doToday` in task updates +- `src/core/statistics.ts` - Added `VelocityStats` interface and calculation using statusHistory +- `src/web/components/Statistics.tsx` - Added velocity UI with charts and metrics +- `src/web/components/TaskCard.tsx` - Added star toggle and clickable labels +- `src/web/components/TaskList.tsx` - Added Today filter, label filters, doToday toggle + +## Technical Notes +- StatusHistory is already recorded on task creation and status changes +- Velocity metrics calculate from statusHistory entries +- Existing tasks without history show "-" for velocity metrics +- All new features sync with URL parameters for shareable links +