--- id: task-001 title: 'Add velocity dashboard, Do Today feature, and label toggle filters' status: Done assignee: [] created_date: '2025-12-07 06:25' labels: - feature - web-ui - devops dependencies: [] priority: medium --- ## Description Implemented three major features for the backlog web UI: 1. **Task Velocity Dashboard** - Real velocity metrics using statusHistory data: - Completed (7d): Tasks completed in the last 7 days - Avg Cycle Time: Average time from "To Do" → "Done" - Avg Time to Start: Average time from "To Do" → "In Progress" - Avg/Week (4w): Average weekly throughput over 4 weeks - Weekly Velocity Bars: Visual bar chart showing completions per week 2. **"Do Today" Star Feature**: - Added doToday field to Task type - Parser/serializer support for do_today frontmatter - Star icon toggle on TaskCard and TaskList items - "Today" filter button to show only starred tasks - URL parameter sync (?doToday=true) 3. **Clickable Label Toggle Filters**: - Labels work as toggle filters in TaskCard and TaskList - Click to filter, click again to remove - Multiple labels can be active (AND filter) - Active labels shown in filter bar - URL parameter sync (?labels=bug,feature)