Repository navigation
console: design package v4 (INN-174) - #270
Merged
Merged
Conversation
Move the palette to design package v4: a neutral ground and surface, two border roles (the border and a subtle rule), the selected / hover fill, a control fill, and the status colours as dot and text tokens. Token names are kept wherever a role survives; new names are plate-border, status-*-mark, shadow-overlay, shadow-sheet and radius-dialog. Status takes no fill: glyph and word on the neutral surface, chips on the border. Type moves to Inter for body and UI text and Manrope for headings, both self-hosted variable woff2 (latin and latin-ext) from the @fontsource-variable packages, each beside its OFL text; DM Sans is removed. Source Code Pro stays for mono. Nothing is fetched from another origin. Primitives follow: the primary button is the green fill on its own border with white ink at 500, neutral buttons take the control fill, disabled is the selected fill with text 4; dialogs sit at a 10px radius with the overlay shadow; tags, chips and status badges are pills; tabs underline in text 1 at 1.5px; status words take the text tone and glyphs the mark tone. The flow map's edge width token is 1.5px. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
Structural change 1 of design package v4. The header runs the whole width at 48px on the subtle rule: the logo and the wordmark at the left, the screen's path or the workload's identity after them, and the search trigger (⌘K) at the far right as a pill. Under it the sidebar sits at the left and the screen at the right. The sidebar stays the shadcn Sidebar with collapsible="icon": its cookie persistence, ⌘B and the mobile sheet are unchanged. The rail is now in the frame's flow under the header instead of fixed to the viewport, the collapsed rail is 48px, and entries take the selected fill when current (selection is neutral; the accent no longer marks navigation). The account control stays in the footer, and the collapse toggle sits at the rail's foot. The mobile sheet repeats the logo, since it covers the header. The Workloads attention count reads in the warning tone. Tooltips keep an 8px collision padding, so one opened near the viewport's edge is no longer clipped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
…alog (INN-174) The review takes the v4 page: a 32px gutter, the ruleset row and the views as text-3 tabs underlined in text 1, the verdict without a box (its glyph carries the tone beside a text-1 headline, the reason in text 2 and the caveats as captions), and the four figures as one row of 20px tabular figures with their labels. The table sits in a bordered, rounded card on the surface with the subtle rule between rows; the selected row is the selected fill with a text-1 mark at its edge. The pair detail is a card beside the table rather than a full-height panel. Structural change 3: the Promote to enforced… button takes the neutral style while the verdict is unsafe and the primary style otherwise. Its enabled state is unchanged; the test that asserted the primary style on an unsafe verdict now asserts the neutral style and that the button is still enabled. The promote dialog's verdict sits on the selected fill behind its status border, the partition is a bordered card, and the acknowledgment box takes the selected fill. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
…s (INN-174) The fleet and the provisioning tokens take the v4 page: a 32px gutter, the table in a bordered, rounded card on the surface with the subtle rule between rows and the column labels in mono 11px, hostnames and token names in the sans, and the selected row marked as the review's is. The Sync cell lets its note wrap under the state so the table fits a 1440px window instead of scrolling sideways. The mode-change dialog's verdict sits on the selected fill behind its status border, the retire dialog's list is a run of rows on the selected fill, and every partition and outcome well is a bordered card on the dialog's surface. An acknowledgment that has been nudged takes the warning mark as its border. Empty states drop the icon disc: the page title, the explanation, the steps as rows of a bordered card, and the actions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
…NN-174) The detail takes the v4 page under its tab row: a 32px gutter, the Overview's cards on the surface at 18/20px padding with sentence-case field labels in text 3, and the alert cards as bordered cards on the surface whose toned glyph leads a text-1 word and a text-2 sentence. The identity in the header follows its path styling. Inbound flows and Listening services set the filter panel as a 232px card beside the table: the search and range on control fills, each group under the subtle rule with its title as the mono eyebrow. The result line sits above the table, and the table is a bordered, rounded card. State chips are pills on the neutral border; their popovers take the surface, the border and the overlay shadow. The applied policy's version reads as a pill. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
…INN-174) The ruleset rail sits on the ground at 216px with mono eyebrows and 30px entries in the sans, the current one on the selected fill; the Definitions group sits under the subtle rule. The editor's title is the page title in the display face, and the no-draft note is a caption rather than a boxed banner. Rule, peer and service chips, the scope's requirements and the label chips are pills; the rules table and the definition lists keep their bordered cards with the mono column labels at 400. The scope's match count is a 20px tabular figure. Notices that carry a severity (the editor's refusal, the dry run's and the label dialog's warnings) sit on the selected fill behind the status mark's border instead of a status tint. Placeholders across the console read in text 4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
…eet (INN-174) Structural change 2 of design package v4. The graph runs edge to edge in the content area on a dot grid, under one 44px toolbar strip that holds the existing controls on one row without wrapping: the Graph / Matrix switch (as a segmented control), the grouping, the scope's requirements and the filter field, the totals and evidence warnings, and the time range, which moves out of its panel floating on the canvas. The legend becomes a strip along the canvas's foot. The details that sat in a fixed side panel open in a sheet floating over the graph's right side: 12px inset, rounded, bordered, shadowed and closable, and the graph stays interactive beside it. The matrix runs edge to edge too and leaves room for the sheet when it is open. Nodes take the control fill behind the border, unmanaged peers a dashed text-4 border on the ground, and selection a text-1 border. Edges stay bezier at one width (the edge-width token). There was no minimap on main to remove. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
The sign-in card is a 360px dialog-styled card on the surface with the overlay shadow; the lockup, its caption and the password field follow the v4 spacing, and the fresh-install notice sits on the selected fill. Not found takes the 32px page gutter. The search palette's results set their names in the sans. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
PACKAGE.md leads with package v4: status proposed, not locked (it locks on the maintainer's review of INN-174); what it supersedes; the normative token table and the values derived where the designs give none; the token names added; the three structural changes; the light warning waiver W2, in the form of v3's W1; two open contrast findings recorded for a ruling rather than adjusted; and the errata, every place where a screen's real content departs from the designs. v3 stays below it and in history. brand-book.md opens with the v4 changes to the v3 record, and each component spec opens with what v4 changes in it; the v3 text stands where v4 says nothing. tokens.json carries one usage note's wording fix; no generated value changes. THIRD-PARTY-NOTICES.md names Inter and Manrope beside Source Code Pro, the development guide names the faces, and the changelog records the change under Unreleased. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
This was referenced Nov 27, 2026
…card (INN-174) With the sidebar expanded and the pair detail open at 1440px, the Simulation review's grouped table cut peer names to a few letters and ran its last column past the card's edge. The peer's name is now the last thing in its cell to give way: the note goes first, then the kind tag shrinks (with an ellipsis), and the name keeps its full width up to the cell's. The width the row needs comes from slack elsewhere: cell padding 8px instead of 10px and a 32px connections bar instead of 48px. The card still scrolls sideways if a row cannot fit; no column is dropped and the drawer stays 360px. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
…c and collapse (INN-174) Ruled in review: the account control moves to the header as the designs draw it. It is a 26px avatar at the far right, after the search trigger: the operator's initials on the selected fill behind the border, the name as its title. Its existing popover opens below it, anchored to its right edge with an 8px collision padding, with the same content and behaviour. On a phone the avatar stays in the header. The sidebar footer now holds only the fleet sync block, on the same fresh-install condition and with the same content, and the collapse toggle at its foot; the account block is gone from the expanded rail, the collapsed rail and the mobile sheet. The shell test that read the site label beside the name in the sidebar now finds the account control in the header and not in the sections; the popover tests assert the avatar's initials and title. The package's structural change 1 and the sidebar and header specs say so, and erratum V1 is retired. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
Ruled in review: the review's four figures (would-block pairs, connections, workloads affected, allowed) are four equal cards in one row. Each is the surface behind the border at an 8px radius, with the figure on top, a decision's figure in its status tone, and its label below in the mono uppercase 11px label style. Content and glyphs are unchanged, and so is the rest of the screen. The package records this as a ruled departure from the inline figures the designs draw (V5). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
Ruled in review: the Overview takes the design's layout. The main column holds the retired card and the alert cards, then the repo's Status card split into three cards by its own field groups: - Policy: the status line, applied, rendered, last ack, rendered at, last snapshot, the apply error and Resend snapshot. - Evidence: flow report, dropped flows, overruns, evidence gaps. - Credential: credential, issued, in use or presented. The evidence-gap history follows. Beside the column, one 320px card holds the Labels and Host facts sections under the subtle rule. Titles are mono eyebrows, labels sit in a 96px column (72px in Credential) at a 10px row gap, values are set in the sans with tabular figures, and addresses, the identity and serials stay mono. Alert cards place their action under the sentence. Below 1024px the side card drops under the column. No field is dropped. "enrolled" moves into Host facts. The card titles Policy, Evidence and Credential replace "Status", and the side card is named "Workload facts"; erratum V8 says what still differs from the design. Two workload tests that read the status line as the card's first text now read it after the first card's title. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
Ruled in review, as a change from the designs: on a workload's Inbound flows and Listening services, the only screens with the filter panel, the panel is a full-height 232px rail directly right of the sidebar, in the policy editor's ruleset-rail pattern. It sits on the ground with the subtle rule on its right, has no card border or radius, scrolls on its own, and keeps its section headers. The table area takes the remaining width at the 32px gutter. Filters and behaviour are unchanged, and at narrow widths the panel stays beside the table, as it did before. The package records the ruling. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
The maintainer ruled new light values for the two pairs the first build recorded below AA: - Light text 3 is #686b6a. It reads 5.25:1 on the ground and 4.97:1 on the selected fill. - Light error text and the light destructive fill are #ce2c31. The error text reads 5.21:1 on white, and white ink reads 5.21:1 on the destructive fill. The light error mark (dot and glyph) stays #e5484d. The derived destructive hover follows at #b8252a. tokens.json and both generated tokens.css copies carry the values, PACKAGE.md moves the two findings to resolved with their measured ratios, and the brand book's status palette says so. The W2 warning waiver stands. Fixes #271 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
…N-174) The offline alert card's Resend snapshot is held back with its refusal caption. With the action now under the sentence, both align to the card's left edge, as the other actions do. In the state chip's popover they stay right-aligned, as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
…INN-174) Below 1280px the four figure cards sit two by two, so their labels do not crush; erratum V5 says so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
Ruled in review: the whole dark neutral ramp moves one step darker and keeps its spacing. The new values are ground #0f100f, surface #151716, selected / hover fill #1c1e1d, control fill #191b1a, border #282a29 and subtle rule #1f2120. The derived control-hover border follows at #363837, and the checkbox ink takes the new ground. Text, status and primary colours and the light theme are unchanged. tokens.json and both generated tokens.css copies carry the values. The package's token table and dark contrast figures are updated (text 3 on the selected fill is now 5.92:1, error on the surface 5.88:1), the ruling is recorded under the changes ruled in review, and the brand book follows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
Ruled in review: the expanded sidebar is 208px (sidebar-width), down from the 232px the designs draw. The collapsed rail stays 48px, and the secondary rails keep their widths. Entries still ellipsize a long label on one line, the open workload's hostname included. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
Ruled in review: the collapse toggle at the sidebar's foot drops its
visible "Collapse" word, and in the mobile sheet its "Close" word. It
keeps the same icon in the same place, as a 32px square in text 3. Its
accessible name is unchanged ("Collapse sidebar", "Expand sidebar",
"Close sidebar"), and that name is now its tooltip in every state, not
only on the collapsed rail. The collapsed rail looks as it did. The
toggle showed no ⌘B hint before and shows none now.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
The maintainer approved the build's third review round, so design package v4 is the design of record, locked 2026-11-27. PACKAGE.md takes the same status form v3's lock used. The brand book, the component specs, the records note, tokens.json and the CHANGELOG entry no longer call v4 proposed or say it locks on review, and v3's headings say it is superseded. The generated tokens.css copies change only their header comment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
avi-papineni
marked this pull request as ready for review
November 27, 2026 17:47
|
No ADR contradictions found (diff-anchored review). Scope and modeThis PR (console design package v4, INN-174) touches only What was checked
Consistency / dangling references
No superseding ADR is needed: nothing in this PR reverses or contradicts an Accepted ADR's core decision. |
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.
Restyles the operator console to design package v4 (INN-174). The package moves in the same PR: docs/design/ records v4 as locked 2026-11-27, after three review rounds on the captures.
What changed
plate-border,status-*-mark,shadow-overlay,shadow-sheet,radius-dialog,--font-display.ui/src/tokens.cssis the generateddocs/design/tokens.css, names and values verbatim.The three structural changes
Sidebarwithcollapsible="icon", and keeps its cookie persistence, ⌘B and the mobile sheet. Its footer holds only the fleet sync block (fresh install, as before) and the collapse toggle. On a phone the avatar stays in the header. This follows the review ruling: the account control moves to the header, as the designs draw it.white-space: nowrap, and the time range moves into it. The details that were in a fixed side panel now open in a sheet that floats over the graph's right side: 12px inset, rounded, bordered, shadowed and closable. The graph stays interactive beside the sheet. Edges stay bezier at one uniform width. There was no minimap onmainto remove.No route, string, column, state, API call or behaviour changes beyond these three.
Out of scope
Errata (screen content that departs from the designs)
These are recorded in full in
docs/design/PACKAGE.md. In each case the screen's content wins and takes the design's styling.h1is added on Workloads (that would mean new strings). The review keeps its ruleset row and scope line. A workload's name stays in the header as itsh1.Build decisions on style, also recorded in the package:
controlis 28px, where the designs draw 26px buttons and the package's density note says 28–32px. The map toolbar controls and filter chips are 26px.edge-widthis 1.5px, where the designs draw 1.25px.Changes ruled in review, also recorded in the package:
#0f100f, surface#151716, selected / hover fill#1c1e1d, control fill#191b1a, border#282a29and subtle rule#1f2120. The derived control-hover border follows at#363837. Text, status, primary and the light theme are unchanged. A pixel sample of the dark captures reads the ground as#0f100f, and cards and dialogs as#151716.Accessibility. The light warning text
#dba400is recorded as waiver W2, in the same form as v3's W1, and is not "fixed". The two light pairs the first build recorded below AA are now resolved with ruled values (fixes #271):#686b6a: 5.25:1 on the ground, 4.97:1 on the selected fill.#ce2c31: 5.21:1 on white, with white ink also at 5.21:1. The light error mark stays#e5484d.How it was verified
make consolepasses (npm ciand the build).npm --prefix ui run lint(Biome) passes.make test-consolepasses: 21 files, 362 tests. Each commit was checked out alone and passedtsc, Biome, Vitest and the Vite build.make lintandmake test, andgo test -tags noconsole ./ui/. The pinned Go toolchain (1.26.11) could not be downloaded where this was built. No Go file changes in this PR.ui/src/test/, with three mock surfaces: a seeded estate, a fresh install, and signed out.mainfirst (before) and then from this branch (after). They cover every screen, dialog and popover, the collapsed rail, and a 390px phone pass of the shell and the mobile sheet. After the review round, the whole after set was captured again: 51 scenes, adding the account popover at 390px and the fresh-install sidebar footer.ui/srchas no leftover v3 colour value or DM Sans.dist/was served with only/apiproxied to the mock, then loaded across four screens. Every request stayed on the page's origin, and Inter, Manrope and Source Code Pro loaded fromdist/assets.Captures
Captures of every scene before and after, in both themes, plus 12 before / after pairs, were taken during verification.
Follow-ups filed
main).main).