Skip to content

fix(menubar): drop ' tok' suffix from Total Tokens metric (#497)#511

Merged
iamtoruk merged 1 commit into
mainfrom
fix/menubar-drop-tok-suffix
Jun 18, 2026
Merged

fix(menubar): drop ' tok' suffix from Total Tokens metric (#497)#511
iamtoruk merged 1 commit into
mainfrom
fix/menubar-drop-tok-suffix

Conversation

@iamtoruk

Copy link
Copy Markdown
Member

Follow-up from #497: with the Total Tokens metric selected, the menu bar showed e.g. 🔥 0 tok. The reporter asked to drop the tok unit — the user explicitly chose the metric, and the flame already disambiguates it from a dollar amount.

Change: the wide rendering now shows <total><periodSuffix> instead of <total> tok<periodSuffix>. Compact mode already had no unit. The Credits metric keeps its cr/credits marker (it would otherwise be indistinguishable from total tokens).

swift build passes.

Per #497 feedback: with Total Tokens selected the bar showed e.g. '0 tok'.
The user picked the metric, so the unit is redundant; show just the number
(the flame already disambiguates it from cost). Compact mode already had no
suffix; this only changes the wide rendering.
@iamtoruk iamtoruk merged commit 844fdde into main Jun 18, 2026
3 checks passed
@iamtoruk iamtoruk deleted the fix/menubar-drop-tok-suffix branch June 18, 2026 15:59
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