Skip to content

Conversation

@PhilETaylor
Copy link
Contributor

@PhilETaylor PhilETaylor commented Jan 11, 2026

Warning. This is 100% Claude generated to scratch my own itch - please dont blindly merge it without checking it - im a PHP dev, not a swift dev!

Also happy if you choose to reject this feature request ... no worries. Scratching my own itch.

Summary

Adds a new setting to display PACE information in the menu bar, addressing the feature request in #168.

When "Menu bar shows percent" is enabled, users can now choose between three display modes:

  • Percent - Shows remaining/used percentage (e.g., 45%) - default behavior
  • Pace - Shows pace delta indicator (e.g., +14%)
  • Both - Shows both values (e.g., 45% +14%)

Changes

  • Add MenuBarDisplayMode enum with three options: percent, pace, both
  • Add menuBarDisplayMode setting to SettingsStore with UserDefaults persistence
  • Implement menuBarPaceText() for generating pace delta strings from the weekly window
  • Add menuBarDisplayText() that combines percent/pace based on selected mode
  • Add segmented picker in Advanced preferences pane (only enabled when "Menu bar shows percent" is on)

How it works

The pace indicator shows how your usage compares to expected usage based on time elapsed in the weekly quota window:

  • +14% means you're 14% ahead of expected pace (using faster than expected)
  • -5% means you're 5% behind expected pace (using slower than expected)

This matches the existing "Pace: Ahead (+14%)" display in the dropdown menu.

Screenshots

The display mode picker appears in Settings → Advanced, below the "Menu bar shows percent" toggle.

Test plan

  • Enable "Menu bar shows percent" in Advanced preferences
  • Select "Pace" mode - verify pace delta appears instead of percentage
  • Select "Both" mode - verify both percentage and pace delta appear
  • Select "Percent" mode - verify only percentage appears (default behavior)
  • Verify pace matches the "Pace:" line shown in the dropdown menu
  • Verify setting persists across app restarts
  • Verify mode selector is disabled when "Menu bar shows percent" is off

Closes #168

🤖 Generated with Claude Code

534318292-e64e4a47-a64a-4e72-88dd-c17018b48475 534318163-58442583-6d09-4e35-ae55-9f3526b9256f

PhilETaylor and others added 2 commits January 17, 2026 05:49
Add a new setting to toggle between displaying percent, pace, or both
in the menu bar when using brand icon mode.

- Add MenuBarDisplayMode enum with three options: percent, pace, both
- Add menuBarDisplayMode setting to SettingsStore
- Implement menuBarPaceText() for generating pace delta strings
- Add menuBarDisplayText() that combines percent/pace based on mode
- Add segmented picker in Advanced preferences pane

The pace indicator shows how your usage compares to expected usage
(e.g., "+5%" means 5% ahead of expected pace). Falls back to percent
display for providers that don't support pace calculation or when
pace data isn't available.

Closes: steipete#168
@steipete steipete force-pushed the feat/menu-bar-pace-display branch from 32b59de to 4b51106 Compare January 17, 2026 06:01
@steipete steipete merged commit 59a83d5 into steipete:main Jan 17, 2026
1 check passed
@steipete
Copy link
Owner

Landed via temp rebase onto main.\n\n- Gate: pnpm lint && pnpm build && pnpm test\n- Land commit: 4b51106\n- Merge commit: 59a83d5\n\nThanks @PhilETaylor!

@steipete
Copy link
Owner

Thanks Phil! Don't worry... I see PRs more as prompt requests. I cleaned up :)

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.

Feature Request. Pace in the menu bar next to/instead of the percentage

2 participants