Skip to content

Add buzz schedule command #212

@narthur

Description

@narthur

Overview

Add a new buzz schedule command that displays a visual representation of how all goal deadlines are distributed throughout a 24-hour day, regardless of when they're actually due. This helps users identify scheduling patterns and bottlenecks in their goal deadlines.

Visualization Design

Use a two-part display:

1. Hourly Density Overview (Top)

A compact vertical bar chart showing goals per hour across the 24-hour day:

HOURLY DENSITY
    ▁     █         █     ▃       ▅
00  06    10        12    15      18      22
├───┼─────┼─────────┼─────┼───────┼───────┼────┤
    1     5         1     2       1       3

2. Detailed Timeline (Bottom)

A vertical timeline listing all goals grouped by their deadline time:

TIMELINE
────────────────────────────────────────────────
06:00 ├─ wake_up
10:30 ├─ exercise, vitamins, breakfast, meditation, journal
12:00 ├─ lunch
15:00 ├─ afternoon_walk, water_check
18:00 ├─ dinner_prep
22:00 ├─ bedtime_routine, reading, evening_review

Implementation Details

  1. Extract time-of-day from all goal deadlines (ignoring the date)
  2. Group goals by exact time
  3. Count goals per hour for density chart
  4. Sort chronologically through the day
  5. Display using ASCII characters that work well without colors

Benefits

  • Quick visual scan of busiest hours
  • Identify scheduling imbalances and bottlenecks
  • Understand goal distribution patterns
  • Works well in terminals with colors disabled

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions