-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: PinePeakDigital/buzz
base: v0.54.0
head repository: PinePeakDigital/buzz
compare: v0.55.0
- 13 commits
- 1 file changed
- 2 contributors
Commits on Jan 26, 2026
-
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.
Configuration menu - View commit details
-
Copy full SHA for 10282aa - Browse repository at this point
Copy the full SHA 10282aaView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 7ba0abb - Browse repository at this point
Copy the full SHA 7ba0abbView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for f605f11 - Browse repository at this point
Copy the full SHA f605f11View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for a263990 - Browse repository at this point
Copy the full SHA a263990View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 4438e4a - Browse repository at this point
Copy the full SHA 4438e4aView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for ff471b9 - Browse repository at this point
Copy the full SHA ff471b9View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 884dd71 - Browse repository at this point
Copy the full SHA 884dd71View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for b97c237 - Browse repository at this point
Copy the full SHA b97c237View commit details -
Configuration menu - View commit details
-
Copy full SHA for 680b256 - Browse repository at this point
Copy the full SHA 680b256View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 91112d3 - Browse repository at this point
Copy the full SHA 91112d3View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 63eed6f - Browse repository at this point
Copy the full SHA 63eed6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90ff08d - Browse repository at this point
Copy the full SHA 90ff08dView commit details -
Merge pull request #215 from PinePeakDigital/schedule-fixes
Schedule command fixes
Configuration menu - View commit details
-
Copy full SHA for 3f043f7 - Browse repository at this point
Copy the full SHA 3f043f7View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.54.0...v0.55.0