Repository navigation
refactor(gui): finish the one-button-system consolidation - #258
Merged
Merged
Conversation
The redesign mostly held to "one system" but a few atoms were re-implemented by
hand — the drift the consolidation pass existed to prevent.
- Close glyphs: collapse the bespoke .dialog-close and .toast__close onto the
shared .icon-btn, adding an .icon-btn--lg modifier for the larger dialog ×.
- Section eyebrow: extract one .section-eyebrow utility (typography.css) and use
it for InspectorSection, StreamLog, and the diagnostics section titles — one
size, one tracking, one color, replacing three hand-rolled treatments.
- Menu rows: extract a shared .menu-item (buttons.css) for the menubar dropdown
and the Add-Layer picker (flex base supports both text-only and icon+text).
- Link buttons: replace .link-button with .btn .btn--secondary .btn--block plus
a new layout-only .btn--start (left-align) modifier.
- Right-rail empty state now uses the shared EmptyState primitive (was a bespoke
.placeholder paragraph), matching the viewport/log empty-state language.
- Tokenize the leftover magic values flagged by the re-audit: InspectorSection
and StreamLog header heights -> --input-height-sm; ConnectionSection field
label margin 2px -> --spacing-xs.
- Drive-by: finish the CLI->Backend rename in DiagnosticsDialog ("CLI Status" ->
"Backend Status", "Refresh CLI Status" -> "Refresh Backend Status").
Part of #246. Closes #252.
Closed
6 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.
Closes #252. Part of epic #246 (post-redesign audit follow-ups). Final slice.
Problem
The "one system" goal mostly held, but a few atoms were re-implemented by hand — the exact drift the consolidation pass existed to prevent.
Fix
.icon-btn(.dialog-closeand.toast__closeremoved); new.icon-btn--lgfor the larger dialog ×..section-eyebrowutility (typography.css) for InspectorSection, StreamLog, and diagnostics titles — one size/tracking/color, replacing three hand-rolled treatments..menu-item(buttons.css) for the menubar dropdown and the Add-Layer picker (flex base supports text-only and icon+text)..btn .btn--secondary .btn--block+ new layout-only.btn--start.EmptyStateprimitive (was a bespoke.placeholder).--input-height-sm; ConnectionSection label margin2px→--spacing-xs.Net −63 lines.
Verification
lint:css,lint:css:vars,check:svelte(0 errors),tsc, 316/316 tests ✓