Skip to content

feat(site/src): add the AI spend unpriced models popover - #32339

Draft
ssncferreira wants to merge 1 commit into
ssncf/ai-spend-total-cardfrom
ssncf/ai-spend-unpriced-models-popover
Draft

ssncferreira wants to merge 1 commit into
ssncf/ai-spend-total-cardfrom
ssncf/ai-spend-unpriced-models-popover

Conversation

@ssncferreira

Copy link
Copy Markdown
Collaborator

Description

Turns the "N models not set up" warning on the Total spend card into a popover that lists the models used in the period without a price, with a link to the model pricing docs.

Changes

  • Add UnpricedModelsPopover. Each model shows its provider icon, and the list keeps a fixed height and scrolls when there are more models than fit.
  • Use singular copy when only one model has no price.
  • Add a test for the docs link and focus return, and stories for one, several, many, and unknown-provider models.

Related to AIGOV-732

Note

Generated by Coder Agents on behalf of @ssncferreira.

@linear-code

linear-code Bot commented Nov 17, 2026

Copy link
Copy Markdown

AIGOV-732

This branch has not been deployed

No deployments
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