Repository navigation
feat(workbenches): devbox usage metrics dashboard - #4794
Draft
wailingwombat wants to merge 11 commits into
Draft
wailingwombat wants to merge 11 commits into
wailingwombat wants to merge 11 commits into
Conversation
Adds a view switcher to the Workbenches > Usage tab (Workbench usage / Devbox usage) with a shared filter row (range, team, agent, CSV export). The devbox view shows KPIs, PR velocity, hours saved, a per-agent table, top users and tool calls by integration. Devbox data is mocked in devboxUsageMock.ts until the metrics API exists. Refs PROD-5483 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er rejects Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… page Range uses the small ButtonGroup again; the view switcher and filters use small SelectButtons. Devbox agents use DevboxAgentType with their logos and labels from DevboxAgentLabel. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…g line Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…acing The range ButtonGroup's selected state is fill-zero-selected, which matches the page background in the content area; in the toolbar it highlights as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
At fill level 0 the ButtonGroup's selected fill (fill-zero-selected) equals the page background, so the selection was invisible in the page body. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lling Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cky header bg The pinned usage header now uses the console shell's background (fill-zero in dark mode). WorkbenchStatCard's helper accepts a ReactNode for the coloured period-over-period delta. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tables scroll inside their cards instead of forcing a min width, the chart legend and filter groups wrap, and the pinned header unpins below desktopSmall. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The css-prop transform didn't carry theme into the computed media-query key, so the page threw "theme is not defined" at render. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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
Implements the Devbox usage dashboard design for PROD-5483.
?view=devbox).Draft: mock data
There is no devbox usage metrics API yet.
usage/devboxUsageMock.tsmakes a seeded, deterministic dataset in the shape the view needs. ReplacegetDevboxUsageModelwith a GraphQL query once the backend lands.Not done yet
Test plan
tsc --build, biome, oxlint/workbenches/usage?view=devboxlocally and compare with the design🤖 Generated with Claude Code