Skip to content

fix(ui): align settings labels and token rows, and tidy trace details - #543

Merged
vishr merged 1 commit into
mainfrom
fix/ui-settings-trace-polish
Dec 4, 2026
Merged

vishr merged 1 commit into
mainfrom
fix/ui-settings-trace-polish

Conversation

@vishr

@vishr vishr commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

What changed

  • Settings: "Authorization" and "Token" use the same bold label as "Endpoint".
  • Settings: the "Create token" button lines up with its input. The input's description now sits above the box, which differs from the library default for this one field.
  • Settings: each token shows its name and "Revoke" on one row, with hint, created and last used in a three-column grid below.
  • Trace waterfall: the error icon is aligned with the operation name and has a gap before it.
  • Trace IDs take their size from the theme instead of a fixed 12px.
  • Query and SQL editors use the theme body size (14px, was 13px).
  • scale-tokens.test.ts also fails on quoted pixel font sizes.
  • Embedded assets and trace visual baselines are regenerated.

Verification

  • tsc: pass.

  • Unit tests: 1799 pass.

  • just design-check: 416 pass before the editor size change; the Explore stories (36) pass after.

  • Visual specs: 6 pass on macOS; Linux baselines regenerated in the CI image.

  • just check was not run locally.

  • just check

  • User-facing behavior and configuration docs are current

  • No credentials, private telemetry, host details, or private session links

Summary by CodeRabbit

  • Style
    • Improved alignment of error indicators in trace waterfalls.
    • Standardized trace ID text sizing across trace tables and links.
    • Updated SQL and query editor text to use the application’s small-text sizing.
  • User Interface
    • Refined the layout of connection details and access-token controls, making token information and revoke actions easier to scan.

Settings fields share one label style, the Create token button lines up
with its input, and each token's Revoke button sits beside its name.
The trace waterfall error icon no longer touches the operation name.
Trace IDs and both query editors take their text size from the theme,
and the scale guard also catches quoted pixel sizes. Embedded assets and
visual baselines are regenerated.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@vishr
vishr enabled auto-merge December 4, 2026 16:20
@coderabbitai

coderabbitai Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Changes: UI presentation

Layer / File(s) Summary
Telemetry field and token layouts
ui/host/src/connect-telemetry.tsx
Field now places its label, value, copy control, and optional hint in a Stack. TokenRow places the token name and revoke button above a three-column details grid. The token-name input sets an explicit element order.
Trace warning and ID styling
internal/mcp/apps/panels.html, ui/host/src/dashboards/trace/waterfall.tsx, ui/host/src/dashboards/viz/row-panel.tsx
Trace warning icons gain bottom alignment and a 4px right margin. Trace-ID links and buttons use explicit extra-small sizing instead of a fixed size in the shared style.
Editor font-size tokens and check
ui/host/src/pitotql-editor/pitotql-editor.tsx, ui/host/src/sql-editor/theme.ts, ui/host/src/scale-tokens.test.ts
Both editor scrollers use Mantine’s small font-size token. The font-size check now recognizes quoted numeric values.

Possibly related PRs

  • labstack/pitot#542: Adds the font-size check that this change extends to cover quoted numeric values.

Change: Bug fix

Merge Risk: Minimal · up to d4ccd · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Security architecture risk: Minimal · up to d4ccd

Telemetry token controls are rearranged, and trace views and query editors use updated styling. The described changes do not alter how tokens are created or revoked, how traces are opened, or how queries are run.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Fix failing CI checks

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

ast-grep (0.51.3)

internal/mcp/apps/panels.html

ast-grep timed out on this file

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4968ea5d-81b7-4758-818d-6cd9bdaaf38a
Commits

Reviewing files that changed from the base of the PR and between 800a905 and d4ccd93.

Files ignored due to path filters: 41

  • internal/ui/dist/assets/CopyButton-CSAkLT9a.js is excluded by !**/dist/**
  • internal/ui/dist/assets/NumberInput-4b3cuTDJ.js is excluded by !**/dist/**
  • internal/ui/dist/assets/Textarea-7VHGX5gr.js is excluded by !**/dist/**
  • internal/ui/dist/assets/alerts-DxmKXzh6.js is excluded by !**/dist/**
  • internal/ui/dist/assets/chat-Cn8P7P6u.js is excluded by !**/dist/**
  • internal/ui/dist/assets/chat._threadId-BQ11gSGW.js is excluded by !**/dist/**
  • internal/ui/dist/assets/chat._threadId-C60mPTrn.js is excluded by !**/dist/**
  • internal/ui/dist/assets/chat.index-BQ11gSGW.js is excluded by !**/dist/**
  • internal/ui/dist/assets/chat.index-C60mPTrn.js is excluded by !**/dist/**
  • internal/ui/dist/assets/dashboard-change-chips-NEbow1wD.js is excluded by !**/dist/**
  • internal/ui/dist/assets/dashboards._dashboardId-DxI5rg7_.js is excluded by !**/dist/**
  • internal/ui/dist/assets/dashboards.index-fpAIbLha.js is excluded by !**/dist/**
  • internal/ui/dist/assets/discard-Cmr-twT1.js is excluded by !**/dist/**
  • internal/ui/dist/assets/explore-gmVl05So.js is excluded by !**/dist/**
  • internal/ui/dist/assets/index-B6PHHUy9.js is excluded by !**/dist/**, !**/assets/index-[0-9a-z_-][0-9a-z_-][0-9a-z_-][0-9a-z_-][0-9a-z_-][0-9a-z_-][0-9a-z_-][0-9a-z_-].js
  • internal/ui/dist/assets/lib-CnIz5T-5.js is excluded by !**/dist/**
  • internal/ui/dist/assets/live-data-meta-BnabtN-X.js is excluded by !**/dist/**
  • internal/ui/dist/assets/loading-skeleton-ZR9o1Sgs.js is excluded by !**/dist/**
  • internal/ui/dist/assets/logs-DqyJ-XyZ.js is excluded by !**/dist/**
  • internal/ui/dist/assets/mcp-app-frame-C12QbMLF.js is excluded by !**/dist/**
  • internal/ui/dist/assets/new-dashboard-BZXoIcX1.js is excluded by !**/dist/**
  • internal/ui/dist/assets/page-1ji1Uq7V.js is excluded by !**/dist/**
  • internal/ui/dist/assets/page-C2_TPHcV.js is excluded by !**/dist/**
  • internal/ui/dist/assets/panel-editor-DVdGXQyJ.js is excluded by !**/dist/**
  • internal/ui/dist/assets/routes-mpFRwZcR.js is excluded by !**/dist/**
  • internal/ui/dist/assets/save-dialog-DmJtnkur.js is excluded by !**/dist/**
  • internal/ui/dist/assets/search-page-CiIqiX65.js is excluded by !**/dist/**
  • internal/ui/dist/assets/settings-BEuE9X_o.js is excluded by !**/dist/**
  • internal/ui/dist/assets/settings-BtYlC27M.js is excluded by !**/dist/**
  • internal/ui/dist/assets/settings-D7o-mMSe.js is excluded by !**/dist/**
  • internal/ui/dist/assets/settings-HaxTgTgT.js is excluded by !**/dist/**
  • internal/ui/dist/assets/settings_.ingest-BhbH4ZnC.js is excluded by !**/dist/**
  • internal/ui/dist/assets/settings_.ingest-kaoc4pSY.js is excluded by !**/dist/**
  • internal/ui/dist/assets/toolbar-jgc2UUIp.js is excluded by !**/dist/**
  • internal/ui/dist/assets/traces-BR9uc-k_.js is excluded by !**/dist/**
  • internal/ui/dist/assets/useMutation-YlKuhbci.js is excluded by !**/dist/**
  • internal/ui/dist/index.html is excluded by !**/dist/**
  • ui/host/e2e/__screenshots__/visual/darwin/panels.spec.ts/trace-dark.png is excluded by !**/*.png
  • ui/host/e2e/__screenshots__/visual/darwin/panels.spec.ts/trace-light.png is excluded by !**/*.png
  • ui/host/e2e/__screenshots__/visual/linux/panels.spec.ts/trace-dark.png is excluded by !**/*.png
  • ui/host/e2e/__screenshots__/visual/linux/panels.spec.ts/trace-light.png is excluded by !**/*.png
Files selected for processing: 7

  • internal/mcp/apps/panels.html
  • ui/host/src/connect-telemetry.tsx
  • ui/host/src/dashboards/trace/waterfall.tsx
  • ui/host/src/dashboards/viz/row-panel.tsx
  • ui/host/src/pitotql-editor/pitotql-editor.tsx
  • ui/host/src/scale-tokens.test.ts
  • ui/host/src/sql-editor/theme.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

@vishr
vishr added this pull request to the merge queue Dec 4, 2026
Merged via the queue into main with commit df7a5ff Dec 4, 2026
54 of 56 checks passed
@vishr
vishr deleted the fix/ui-settings-trace-polish branch December 4, 2026 16:44
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