Repository navigation
Closed
Labels
guiPull requests that update GUI components
Description
Part of #246. The "one system" goal mostly holds, but a few atoms were re-implemented by hand — the exact drift the consolidation pass existed to prevent.
Findings (verified)
- [MED] Three implementations of the square
×close button.styles/dialogs.css:58(.dialog-close, even re-declares the global:focus-visiblebyte-for-byte) andToasts.svelte(.toast__close) vs the correct.icon-btnalready used in FileStreamingSection/LayerList. Collapse both onto.icon-btn; add an.icon-btn--lgmodifier if the dialog close needs a larger hit target. - [MED] Three divergent uppercase "section eyebrow" treatments.
InspectorSection.section__title(xs / 0.04em),StreamLog.log__title(xs / 0.04em / muted color),dialogs.css:196-203diagnosticsh3(base / 0.05em). Extract one.section-eyebrowutility (or--eyebrow-size/--eyebrow-trackingtokens) — pick one size (xs) and one tracking. - [LOW] Same eyebrow role in two colors in the Machine workspace.
StreamLog.svelte:69(muted) vsInspectorSection(--color-text) — pick one. - [LOW]
.link-buttonduplicates.btn--secondary.dialogs.css:154— replace withclass="btn btn--secondary btn--block"plus a layout-only modifier if needed. - [LOW] Dropdown menu-item style copied in two places.
LayerList.svelte:166and the menubar dropdown — extract a shared.menu-item. - [MED · ia-flow] Right-rail empty state bypasses the shared
EmptyStateprimitive.shell/PrepareWorkspace.svelte:50— replace the bespoke.placeholderparagraph with<EmptyState title="No layer selected" hint="Select a layer to edit its properties." />. - [LOW] StreamLog header uses a bespoke section header instead of the InspectorSection header language (
StreamLog.svelte:19) — reuse with an action snippet, or document the deviation.
Acceptance
- Close buttons, eyebrows, menu items, link buttons, and the right-rail empty state all route through the shared primitives/utilities — no bespoke duplicates left for these atoms.
- Full gate (
lint:css,check:svelte,test) + visual QA of dialogs, toasts, the Add-Layer/menubar menus, and the inspector empty state.
Metadata
Metadata
Assignees
Labels
guiPull requests that update GUI components
Activity