Skip to content

feat(conversations): Add usage chart to the conversations list - #120552

Merged
ArthurKnaus merged 2 commits into
masterfrom
arthurknaus/feat/conversations-list-chart
Jul 24, 2026
Merged

feat(conversations): Add usage chart to the conversations list#120552
ArthurKnaus merged 2 commits into
masterfrom
arthurknaus/feat/conversations-list-chart

Conversation

@ArthurKnaus

@ArthurKnaus ArthurKnaus commented Jul 24, 2026

Copy link
Copy Markdown
Member

Add a chart above the conversations list showing cost, message volume, or
conversation count over time, so users can spot trends without opening
individual conversations.

The chart reuses the page's existing project, agent, and search filters, and
lets users switch the metric, toggle line/bar, and pick the time interval.

Gated behind the conversations redesign feature flag.

Depends on #120551 registering the new api.explore.conversations.*
referrers

Closes TET-2739

Surface cost, message volume, and conversation count over time above the
conversations list so users can spot trends without opening individual
conversations. The chart honors the page's existing project, agent, and
search filters, and lets users switch metric, chart type, and time
interval.

Gated behind the conversations redesign feature flag.

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jul 24, 2026
@linear-code

linear-code Bot commented Jul 24, 2026

Copy link
Copy Markdown

TET-2739

@ArthurKnaus
ArthurKnaus marked this pull request as ready for review July 24, 2026 11:30
@ArthurKnaus
ArthurKnaus requested a review from a team as a code owner July 24, 2026 11:30
@github-actions

github-actions Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

📊 Type Coverage Diff

Metric Before After Delta
Coverage 94.03% 94.03% ±0%
Typed 136,449 136,493 🟢 +44
Untyped 8,661 8,663 🔴 +2
🔍 2 new type safety issues introduced

Type assertions (as) (2 new)

File Line Detail
static/app/views/explore/conversations/components/conversationsChart.tsx 53 as ChartVisualizationKeyvalue as ChartVisualizationKey
static/app/views/explore/conversations/components/conversationsChart.tsx 62 as ChartVisualizationKey[]Object.keys(CHART_VISUALIZATIONS) as ChartVisualizationKey[]

This is informational only and does not block the PR.

The chart-type and interval trigger labels resolved to `string | undefined`,
which isn't assignable to the button's required children. Hoist them into
guaranteed-string variables with sensible fallbacks.

Co-Authored-By: Claude <noreply@anthropic.com>

@vgrozdanic vgrozdanic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might end up with weird numbers because we can end up in downsampled tier and extrapolation might kick in (for unique counts there's no extrapolation), but let's see how it feels and we can always iterate on this

@ArthurKnaus
ArthurKnaus merged commit 363bcd2 into master Jul 24, 2026
77 checks passed
@ArthurKnaus
ArthurKnaus deleted the arthurknaus/feat/conversations-list-chart branch July 24, 2026 12:13
Christinarlong pushed a commit that referenced this pull request Jul 24, 2026
Add a chart above the conversations list showing cost, message volume,
or
conversation count over time, so users can spot trends without opening
individual conversations.

The chart reuses the page's existing project, agent, and search filters,
and
lets users switch the metric, toggle line/bar, and pick the time
interval.

Gated behind the conversations redesign feature flag.

Depends on #120551 registering
the new `api.explore.conversations.*`
referrers

Closes TET-2739
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants