Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: PinePeakDigital/buzz
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.54.0
Choose a base ref
...
head repository: PinePeakDigital/buzz
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.55.0
Choose a head ref
  • 13 commits
  • 1 file changed
  • 2 contributors

Commits on Jan 26, 2026

  1. feat(chart): expand hourly bar chart to 3-char spacing

    Update the ASCII hourly chart to use a consistent 3-character width
    per hour (two bar characters + one space), increasing the chart line
    from 24 to 72 positions plus a 4-character left prefix. This change
    improves horizontal spacing so each hour has a wider visual column and
    labels align more clearly.
    
    - Render each hour's bar as a 2-character wide block (write the same
      bar rune twice) followed by a space to create uniform columns.
    - Expand label, axis, and count buffers from 28 to 76 runes to match
      the new 3-char-per-hour layout; compute positions as 4 + hour*3.
    - Show labels for all 24 hours (00–23) instead of a sparse selection.
    - Draw axis markers for every hour and fill horizontal segments
      between the first and last marker.
    - Change count label formatting: use " ∞" for counts >99 and right-align
      counts in a 2-character field to prevent truncation and keep columns aligned.
    - Simplify bar selection by assigning the computed rune to a variable
      before writing, and ensure nonzero counts map to at least one bar level.
    
    These adjustments make the chart easier to read and keep hour-aligned
    elements consistent across the rendered lines.
    narthur committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    10282aa View commit details
    Browse the repository at this point in the history
  2. fix(display): adjust badge label alignment and infinity charUse the U…

    …nicode codepoint escape for the infinity symbol to ensure
    
    consistent encoding across environments Change number formatting
    from right-aligned to left-aligned in the 2-character badge field
    so small counts render more predictably within the fixed-width slot.
    
    This improves visual consistency of count badges and avoids encodingissues with literal symbols source files.
    narthur committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    7ba0abb View commit details
    Browse the repository at this point in the history
  3. fix(axis): draw lower tick for hours with no counts

    When rendering the hour axis, use a downward-only tick (┴) for hours
    that have zero counts and a full cross (┼) for hours with counts.
    This makes the axis visually reflect whether an hour extends down
    (from counts) or only up, improving clarity of the chart.
    narthur committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    f605f11 View commit details
    Browse the repository at this point in the history
  4. feat: dim hour labels with no counts using color

    Use a strings.Builder to construct the hour label line and apply
    ANSI gray color to hours that have zero counts. This replaces the
    previous fixed-width rune buffer approach and simplifies label
    assembly while visually de-emphasizing inactive hours. Keep spacing
    and output layout unchanged.
    narthur committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    a263990 View commit details
    Browse the repository at this point in the history
  5. feat(timeline): wrap long goal lines to terminal width

    Improve timeline printing by wrapping long goal lists to fit the
    terminal width and indenting wrapped lines for readability.
    
    - Preserve original "HH:MM ├─ " prefix and compute its visual width.
    - Read COLUMNS env var (fallback to 80) to determine available width.
    - Split goals on commas and assemble lines so they don't exceed width,
      printing a new indented continuation line when needed.
    - Use a vertical continuation marker and consistent indentation to
      align wrapped content with the goals column.
    - Add fallbacks and minimal safety width to avoid pathological layouts.
    
    This prevents overflowing long goal lists and improves clarity on narrow
    terminals.
    narthur committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    4438e4a View commit details
    Browse the repository at this point in the history
  6. feat(format): wrap long goal lists with continuation lines

    Refactor goal-wrapping logic to correctly split and wrap long
    comma-separated goal lists across multiple output lines.
    
    - Move goals splitting and line builder setup out of inner loop for
      clearer control flow.
    - Iterate over goals without relying on index; compute separator
      based on current line content.
    - When a goal does not fit, print current line, start a new wrapped
      line prefixed with a vertical continuation marker, and write the
      overflowing goal to the new line.
    - Ensure a trailing comma is added when wrapping to indicate there
      are more goals on the next line.
    
    These changes fix incorrect separator handling and ensure wrapped
    lines maintain readable indentation and punctuation.
    narthur committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    ff471b9 View commit details
    Browse the repository at this point in the history
  7. feat(ui): add ANSI colors to timeline output

    Add ANSI color sequences to the timeline printer to improve visual
    clarity. Time labels now appear in cyan and the tree/continuation
    characters (├─ and │) appear in gray. Wrapped continuation lines
    also include the colored vertical separator so wrapped text keeps the
    same visual structure.
    
    This change updates prefix construction and the continuation-line
    indent so widths remain correct while inserting color escape codes.
    narthur committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    884dd71 View commit details
    Browse the repository at this point in the history
  8. feat(ui): respect --no-color when dimming and coloring timeline

    Update hour label and timeline rendering to avoid emitting ANSI
    color sequences when colors are disabled. Detect the terminal color
    profile and only apply gray/cyan/reset escape codes if a non-ASCII
    color profile is in use.
    
    Key changes:
    - Add colorProfile detection before building hour labels and skip
      dimming (gray) when colors are disabled.
    - Guard time/tree/reset color variables for timeline output behind
      the same colorProfile check to prevent bare escape codes when
      --no-color is used.
    
    This prevents visible raw ANSI sequences from appearing in
    environments where colors are turned off and keeps visual dimming
    when colors are available.
    narthur committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    b97c237 View commit details
    Browse the repository at this point in the history
  9. chore: run go fmt

    narthur authored and github-actions[bot] committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    680b256 View commit details
    Browse the repository at this point in the history
  10. refactor: use lipgloss styles and fixed prefix width

    Use a lipgloss style for dimming hour labels instead of raw
    ANSI escape codes. This centralizes styling through the color
    profile and avoids embedding raw control sequences in strings.
    
    Replace the dynamic rune-based prefix width calculation with a
    constant visual width for the formatted time/tree prefix. ANSI
    escape sequences are zero-width, so using a fixed visual width
    (9) simplifies wrapping math and prevents incorrect available
    width computation when prefixes contain color codes.
    narthur committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    91112d3 View commit details
    Browse the repository at this point in the history
  11. refactor: replace raw ANSI with lipgloss styles

    Use lipgloss styles instead of embedding raw ANSI escape codes
    for timeline elements. Replace string color variables with lipgloss
    Style objects (timeStyle, treeStyle) and render colors via
    lipgloss.Render so styling integrates with lipgloss/termenv color
    detection and respects the --no-color/ASCII fallback.
    
    Update prefix and continuation line construction to use the new
    styles (timeStyle.Render and treeStyle.Render) instead of manual
    escape sequences, and simplify color handling logic. This makes
    the code clearer, safer (avoids manual ANSI), and consistent with
    the project's styling library.
    narthur committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    63eed6f View commit details
    Browse the repository at this point in the history
  12. chore: run go fmt

    narthur authored and github-actions[bot] committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    90ff08d View commit details
    Browse the repository at this point in the history
  13. Merge pull request #215 from PinePeakDigital/schedule-fixes

    Schedule command fixes
    narthur authored Jan 26, 2026
    Configuration menu
    Copy the full SHA
    3f043f7 View commit details
    Browse the repository at this point in the history
Loading