Update task task-001

This commit is contained in:
Jeff Emmett 2025-12-06 22:25:37 -08:00
parent 7e6ad3362c
commit 85482d4028
1 changed files with 21 additions and 0 deletions

View File

@ -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)
<!-- SECTION:DESCRIPTION:END -->
## Implementation Notes
<!-- SECTION:NOTES:BEGIN -->
## 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
<!-- SECTION:NOTES:END -->