Skip to content

fix(admin): compact agent usage into a header strip so logs fill the panel - #27

Merged
maksymhryzodub-prog merged 2 commits into
mainfrom
feat/CLEAN-34-agent-usage-header
Aug 16, 2026
Merged

fix(admin): compact agent usage into a header strip so logs fill the panel#27
maksymhryzodub-prog merged 2 commits into
mainfrom
feat/CLEAN-34-agent-usage-header

Conversation

@maksymhryzodub-prog

@maksymhryzodub-prog maksymhryzodub-prog commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • CLEAN-34: on the agent Chat tab, UsagePanel split the right column 50/50 with logs.
  • Usage is now a single 10px header line (cost, in/out, calls, model, today).
  • Logs take the remaining height of the side column, as they did before the usage card.
  • Overview and Rancher keep the full usage card.

Test plan

  • Open /agents/:id (Chat): usage is a thin line at the top of the right column, small font.
  • Logs fill the rest of the right column (not ~half height).
  • Collapse/expand Logs still works; the usage strip stays visible.
  • Overview tab still shows the full usage card.
  • Rancher usage panel (tabs + by-agent list) is unchanged.

Made with Cursor

maksymhryzodub-prog and others added 2 commits August 14, 2026 12:02
…panel

CLEAN-34: the chat side column split height 50/50 between UsagePanel and
logs. Usage is now a 10px header line; logs take the remaining height.
Overview and Rancher keep the full usage card.

Co-authored-by: Cursor <cursoragent@cursor.com>
The 10px usage line lived inside the chat tab's side column — cramped,
truncated, and missing today's call count. It is now a page-level strip
between the agent header and the tabs, visible on every tab: hairline-
bounded row with USAGE · 30D scope label, Cost / Calls / Input / Output /
Today (calls, with in-out detail in the tooltip) / Model label-value
pairs, and a right-aligned Details link that jumps to the Overview tab's
full usage card. The chat side column gives its full height to logs.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@maksymhryzodub-prog
maksymhryzodub-prog merged commit 1e10d10 into main Aug 16, 2026
1 check passed
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