Repository navigation
Closed
Labels
ready-for-agentFully specified, ready for an AFK agent
Description
Part of #247. Implements spec §12 (the app shell and the component set); decision the prototype, amendments 11 and 12 (Allison, 2026-09-15).
What to build
- The component set in
packages/core/src/html.ts: buttons (default, primary, quiet, danger), fields (input, select, textarea, checkbox, radio, hint, error), fact lists, notices (plain, warn, refused), section headings, pills, and the confirmation form (consequence, list, acknowledgement, submit and cancel), each a named class styled once with the shell's tokens. No continuously repainting animation. - The app shell body: a second
htmlPagebody beside the auth card: the header bar (brand, Patches →/, Company, Connections, Your machines, the viewer's name and company, Sign out, the current section marked) over a wide card.pageResponseinpackages/authgains an app mode taking the viewer and the section; the sign-in door, create-or-join, the device-login confirm page and error pages keep the card. - Every signed-in page moves onto it:
/company,/company/connectionsand its connect and detail pages,/machines; their forms, lists and notices become the shared components, and their page CSS keeps layout only. (The portal arrives on it in ticket 8; until then/is untouched.) - The
ui-consistencyreview spec: "prefer a shared class when a treatment repeats" becomes "a first-party page introduces no button, field, list, notice or heading style of its own", names the set and the app shell, and makes a page-level override of a component's size, radius or colour a finding; the page-kinds list gains the app shell.
Admitted at merge
Nothing new is served; every existing signed-in page renders on the new shell with identical behaviour.
Done when
render.test.tscovers the app body's structure, the marked section and escaping of the viewer's name; the company, connection and machines page suites pass on the new shell; a screenshot of each page through the dev instance (patchy-dev-loop) shows one button, one field and one fact-list style across them.
Surfaces
Served pages (the ui-consistency spec and packages/core/fixtures unchanged), the Portal glossary (App shell, Component set from decided to built).
Metadata
Metadata
Assignees
Labels
ready-for-agentFully specified, ready for an AFK agent
Activity
feat(core): share the app shell and page components (#254)
feat(core): share the app shell and page components (#254)
feat(core): unify signed-in pages on one app shell (#267)