Skip to content

Release v1.1.2 — smooth sparkline, in-header update button, forecast fix#4

Merged
Gnonymous merged 3 commits into
mainfrom
release/v1.1.2
Jun 25, 2026
Merged

Release v1.1.2 — smooth sparkline, in-header update button, forecast fix#4
Gnonymous merged 3 commits into
mainfrom
release/v1.1.2

Conversation

@Gnonymous

Copy link
Copy Markdown
Owner

v1.1.2

  • Smooth spend sparkline — the spend line now draws as a Catmull-Rom → cubic Bézier curve instead of a jagged polyline; stroke and area fill share one smooth path.
  • In-header update button — when auto-check is on and Sparkle has a verified update, an accent "Update" pill appears directly in the panel header for one-click install, no need to open Settings. Header text is pinned to a single line so the pill can't push the brand/status into wrapping.
  • Forecast fix — the weekly quota forecast used to regress across quota resets, which flattened the trend, projected depletion days out, and rendered it as a bare weekday that read as a day already past. It now fits only the live window, suppresses projections that land after the window resets, and always spells the day out (today / tomorrow / weekday). Covered by both the self-test and XCTest.

Per-version notes live in release-notes/v1.1.2.md; the GitHub Release body is overwritten from it after CI publishes the tag.

🤖 Generated with Claude Code

Gnonymous and others added 3 commits June 25, 2026 11:11
The weekly forecast linear-regressed across quota resets: the 14-day history is a sawtooth (remaining snaps back to ~1 each reset), so the blended slope flattened and the projected zero landed days out — then rendered as a bare weekday that read as the day already past. Trim to the live window, suppress zeros that fall after the window resets, and always spell the day out (today / tomorrow / weekday). Covered by both the self-test and XCTest.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Draw the spend sparkline as a Catmull-Rom -> cubic Bezier curve instead of a jagged polyline; the stroke and the area fill share one smooth path so their outlines match. When auto-check is on and Sparkle has a verified update in hand, show an accent Update pill in the panel header for one-click install without opening Settings. Header text is pinned to a single line so the added pill can't push the brand/status into wrapping.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Gnonymous Gnonymous merged commit 5b476eb into main Jun 25, 2026
1 check passed
@Gnonymous Gnonymous deleted the release/v1.1.2 branch June 25, 2026 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant