fix(dashboard): drop dead cost UI, make Agent runs page mobile-friendly - #146
Merged
Conversation
Cost was never real: the Flue runtime doesn't expose token usage or cost in the history the dashboard reads (confirmed against live raw `view=history` — no usage on messages, parts, or settlements), so every run showed "$-" / an empty figure. Removed the always-empty cost column and the detail-page cost chips; the tool-call and message counts already convey how much work happened. Agent runs page is now responsive: the header and search/per-page rows stack instead of colliding on a phone, and the wide 7-column table is replaced by tap-through cards below md while the full table stays on desktop. Co-authored-by: Cursor <cursoragent@cursor.com>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
jared | 2bc1dcb | Aug 07 2026, 02:36 PM |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two asks: surface cost, and fix the Agent runs page on mobile.
Cost — the honest answer
I dug into whether we track cost and we can't recover it from what we have. I fetched the raw Flue
?view=historyfor live sessions (getsentry/craft#864,getsentry/cli#1371) and there is no token/usage/cost anywhere — not on messages, not on parts (reasoning/text/dynamic-toolonly), not on settlements. Flue computes cost internally (PromptUsage.cost.total) but only exposes it via in-container call returns and OpenTelemetry spans — never in thehistory/updatesviews the dashboard reads. All live runs reporttotalCost: 0.Rather than keep showing a perpetually-empty "$-", this removes the dead cost UI:
The tool-call and message counts already convey "how much work happened", which is the signal people actually wanted.
Mobile — Agent runs page
The screenshot showed the header wrapping, buttons crowding, and a 7-column table forcing horizontal scroll. Now:
md, the table is replaced by tap-through cards (entity, status, agent/model, session + message counts, updated); the full table stays on desktopTest plan
vitest run— 123 passedtsc --noEmitclean,biome checkcleanpnpm buildsucceedsMade with Cursor