Skip to content

mac app polish - #35

Merged
DexterStorey merged 1 commit into
mainfrom
mac-app-polish
Oct 1, 2026
Merged

DexterStorey merged 1 commit into
mainfrom
mac-app-polish

Conversation

@DexterStorey

Copy link
Copy Markdown
Contributor

A light polish pass on the macOS app.

  • Accounts columns line up. Each row used to lay out only the windows it had, so a Pro account with just a 7d window put its meter where the others' 5h sits, and the optional Extra-usage cell shoved the actions over. Every row now shares the same columns (5h → weekly → scoped, from format::window_columns), with an empty slot where a row lacks that window. Both providers share one meter width, so Codex and Claude columns align down the whole page. Slots are a little narrower (112pt) so full email addresses fit.
  • Chips are readable. The solid success/warning/danger/info tags rendered green text on a green fill. They now use GPUI Kit's tinted Tag::color(...) variant: a dark tint with a light label in dark mode, and a pale tint with a dark label in light mode.
  • The throughput chart tells the truth. The default smoothing spline overshot bursty data: it dipped below zero just before a burst and bulged past the real peak. It now draws .linear() in the theme's blue, where it used primary, which is white in dark mode.
  • No false empty state while connecting. Until the first daemon read lands, both pages say "Connecting to tokenmaxx…". Before, they rendered empty defaults: "tokenmaxx is off", "Install codex", "No token usage".
  • The menu bar shows pressure at a glance. Each account line carries a dot colored by its fullest window: green, orange from 60%, red from 85% or when it needs a sign-in. The dot is filled for the active account and a ring otherwise, the same ●/○ the terminal dashboard uses. The percentages stay in the label, so color is never the only signal.

Verified: I captured the real app window with live accounts before and after. The dot pixels were rendered onto light and dark menu backgrounds and checked by eye. cargo test passes (12) and the code is rustfmt-clean.

This changes nothing in the npm package; the version bump keeps the release job green.

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

try this branch: bun add -g tokenmaxx@0.0.78-alpha.110

@DexterStorey
DexterStorey merged commit 675f52c into main Oct 1, 2026
3 checks passed
@DexterStorey
DexterStorey deleted the mac-app-polish branch October 1, 2026 04:30
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