codeburn/windows/src/lib
Resham Joshi b2be8eba56
feat: mark estimated dollars the same way in every view (#1657)
* Mark estimated costs with the same ~ in every view

The ~ marker and legend that report already used now appear wherever a
dollar figure is mostly a guess: the models and sessions CLI output, the
desktop Models, Overview, Sessions and Settings provider rows, the macOS
menu bar model rows and provider tabs, and the Windows tray.

One rule decides the marker everywhere: the estimated portion is at least
1% of the figure. report, overview and the MCP tables switch to it from
"any estimated cent", so a metered Codex row holding a few text-estimated
turns stays unmarked.

JSON is additive: estimatedCostUSD and isEstimated on models rows,
estimatedCost and isEstimated on sessions rows, estimatedCostUSD on
menubar providerDetails rows. Totals are unchanged.

* Skip the ~ marker on figures that print as zero

A sub-cent row that is fully estimated printed as "~$0.00": nothing visible
to qualify. The shared helper now also requires the amount, as the surface
prints it in the active currency, to show a non-zero digit. CLI, desktop,
macOS and Windows helpers all apply it.
2026-10-06 22:27:13 +02:00
..
accent.ts feat(windows): the mac header, with a flame wordmark and an accent picker 2026-09-01 17:57:08 -07:00
appSettings.ts fix(windows): the tray shows the logo alone unless the number icon is asked for 2026-09-02 03:27:43 -07:00
cache.ts feat(windows): a fetch-error overlay with Retry, and stuck-load recovery 2026-09-01 19:03:07 -07:00
currency.ts feat: mark estimated dollars the same way in every view (#1657) 2026-10-06 22:27:13 +02:00
dates.ts windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
dockPrefs.ts feat(dock): one Claude ring per config directory, with its own sessions and today (#1570) 2026-09-28 19:06:53 +02:00
glance.ts feat(dock): one Claude ring per config directory, with its own sessions and today (#1570) 2026-09-28 19:06:53 +02:00
history.ts windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
payload.ts feat: mark estimated dollars the same way in every view (#1657) 2026-10-06 22:27:13 +02:00
plan.ts feat(windows): show Plan for every provider with a live quota source 2026-09-01 17:15:08 -07:00
platform.ts fix(windows): one answer to what CodeBurn watches 2026-09-02 00:11:17 -07:00
quota.ts feat(dock): one Claude ring per config directory, with its own sessions and today (#1570) 2026-09-28 19:06:53 +02:00
refresh.ts feat(windows): no background refresh while nobody can see the tray 2026-09-01 23:00:09 -07:00
session-count-label.ts fix(usage): fold Windows case in spend identity, qualify --json counts, drop scratch tests 2026-09-07 14:56:32 -07:00
settings.ts chore(windows): remove what nothing reads 2026-09-02 00:23:16 -07:00
telemetry.ts feat(windows): consent-gated telemetry from the tray app and the Capacity Dock 2026-09-03 01:18:23 -07:00
tips.ts windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
update.ts feat(windows): report updates and point at GitHub instead of installing them 2026-09-02 23:09:36 -07:00
watched.ts fix(windows): one answer to what CodeBurn watches 2026-09-02 00:11:17 -07:00