Skip to content

Cost: write just "≥" when an amount is both a lower bound and partly estimated - #387

Merged
fylorn merged 1 commit into
devfrom
fix/cost-prefix
Oct 29, 2026
Merged

fylorn merged 1 commit into
devfrom
fix/cost-prefix

Conversation

@fylorn

@fylorn fylorn commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

When some requests could not be priced and the rest include estimates, costs were prefixed with "≥~". "≥" alone already marks the amount as not exact, and the estimated share is still spelled out in the hover and the cost detail row, so the prefix is now just "≥". "~" stays for amounts that are only estimated.

  • costPrefix moves to src/traffic/costCell.ts and is shared by the overview (tile, distribution, breakdown, past year, tooltips) and session costs in Traffic.
  • Tests updated.

🤖 Generated with Claude Code

…estimated

"≥" already says the figure is not exact; the estimated part stays in the
hover. Overview and session costs share one costPrefix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fylorn
fylorn merged commit 901f1b7 into dev Oct 29, 2026
6 checks passed
@fylorn
fylorn deleted the fix/cost-prefix branch October 29, 2026 08:41
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant