Skip to content

Improve runtime metric token layout / 优化运行指标 token 布局#4367

Merged
esengine merged 1 commit into
esengine:main-v2from
SivanCola:fix/context-runtime-token-layout
Jun 14, 2026
Merged

Improve runtime metric token layout / 优化运行指标 token 布局#4367
esengine merged 1 commit into
esengine:main-v2from
SivanCola:fix/context-runtime-token-layout

Conversation

@SivanCola

Copy link
Copy Markdown
Collaborator

Summary

  • Move elapsed time and request count into the compact runtime metrics row.
  • Give session tokens an explicit full-width metric card so large token totals stay readable.
  • Keep the layout intent durable with a reusable wide metric card class.

Verification

  • pnpm --dir desktop/frontend check:css
  • pnpm --dir desktop/frontend exec tsx src/__tests__/context-panel-breakdown.test.ts
  • git diff --check
  • Attempted pnpm --dir desktop/frontend typecheck; it is blocked in this local checkout by missing generated Wails bindings and an existing bridge type constraint.

Authorship note: @SivanCola contributed the layout decision and review direction.

Place elapsed time and request count in the compact row, and give session tokens a full-width metric card so large totals remain readable.

Co-authored-by: SivanCola <32437197+SivanCola@users.noreply.github.com>
@github-actions github-actions Bot added v2 Go rewrite (1.x) — main-v2 branch, active development desktop Wails desktop app (desktop/**) labels Jun 14, 2026
@SivanCola SivanCola marked this pull request as ready for review June 14, 2026 09:01
@SivanCola SivanCola requested a review from esengine as a code owner June 14, 2026 09:01
@SivanCola SivanCola enabled auto-merge June 14, 2026 09:16
@SivanCola

Copy link
Copy Markdown
Collaborator Author

approve

@esengine esengine merged commit 66b4925 into esengine:main-v2 Jun 14, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

desktop Wails desktop app (desktop/**) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants