CommandCodeAI / CommandCodeAI/command-code

feat: usage stats: add floating scale on the cost axis

Open
#653 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
4k
Forks
350
PR merge metrics
No merged PRs in 30d

Description

Feature Description

Add a floating scale to the spend-by-model chart on the usage stats page. The upper value on the lower bounds is $1.00, which is sometimes too high to provide a good overview.

Use Case

When a timeframe is viewed using only the lower-cost models, the scale is too high to get a meaningful picture of spend.

Image
Additional Context

No response

How important is this to you?

Nice to have

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the usage stats page and inspect the spend-by-model chart's cost-axis configuration. Reproduce the issue with a timeframe containing only lower-cost models; done when the axis adapts its upper bound below $1.00 and the chart gives a meaningful view of spend.

Written by the indexing model from the issue text.

Assessment

Domain
data-visualization, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.