You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
design: the six first-party tier 2 surfaces, mocked and picked #385
Part of #384. Implements spec §17. HITL: Allison picks.
What to build
Static mocks of the six Patchy-drawn surfaces tier 2 adds, designed together so they read as one system with the shared component set (packages/core) and the ui-consistency spec:
the delayed reconnecting element ("reconnecting, data may be stale"), shown after a short delay without reconciliation and distinct from the stopping notices;
"a new version is available, reload", non-stopping, from the served frame;
"reload to keep saving", when the served tier closes a lower-tier document's direct operations, cleared when a rollback serves the loaded version again;
"starting your tools", the empty-pool wait of up to 40 s before busy;
the shell's download action for generated files, showing filename and size (a frame's claim of a click is never trusted);
the per-patch log view in the portal: owners see their own patches, admins every patch. It shows the invocation tree ("Alice · Sales CRM v12 · leads.import (action)", beneath it "warehouse.customers.list · as Alice", "leads.create (mutation) · as the patch"), outcomes, ctx.log lines, and a way in from the patch card.
Several distinct directions per surface where the choice is real, published with the patchpage skill, the URL reported, then stop for Allison's pick. No continuously repainting animation (no pulse, shimmer or spinner). Record the pick as a comment here with the chosen mock linked, so the rendering tickets build from it.
Done when
Allison has picked, and the pick is recorded on this issue. The tickets that render these surfaces (the stream, the fleet controller, CSV and download, the log view) are unblocked.
Surfaces
None in the tree; the mocks are published, not committed.
The page has one code per direction. Recommendations: S-A (corner card with Hide, which folds it into a chip without dismissing), T-3 (cover the frame on first open, corner card when a hidden tab resumes), D-1 (corner card, Not now discards), L-1 (indented tree list), W-1 ("View log" beside Open, plus "Last 24 hours: 38 entries, 3 failed"). The closing section lists nine calls that ride on the pick (the 2 s delay, what can be dismissed, crowding, keyboard, shell-local downloads) and the proposed shared components.
Astra reviewed round 1. From that review, round 2 added the collapse state, the T-3 hybrid and copy that no longer overpromises: unsaved edits may be lost, and held requests fail after 40 s and are never replayed. It also fixed the log sample so a closed page records the real outcome, and added the empty and crowded states.
S-C bottom-centre pill; actionable states widen into a bar
Corners are for notifications and the top is too obtrusive; bottom centre suits a state of the page.
Starting your tools
T-1 cover the frame, on first open and on resume
Makes it clear you wait before you can use it.
Download
D-1 corner card
A download is a notification, so it goes in the corner.
Log view
L-2 table, rows expand into the call tree and log lines
Way in from the patch card
W-2 "Recent activity" section on the card (last three entries, "See the full log")
What the pick settles
These are the page's closing calls, adjusted to the pick. They are defaults for the rendering tickets unless Allison overrides them.
Two placements, one per role. Page state sits bottom centre (S-C). Downloads sit bottom right (D-1). Under 480 px both become full-width bottom sheets, with downloads stacked above the state bar. Nothing on screen moves when something arrives.
Delay. Reconnecting and starting each wait 2 s before showing. Reconnecting clears only on reconciliation. While starting, the T-1 cover replaces the reconnecting pill.
Dismissal. "A new version is available" has Not now and comes back on the next publish. "Reload to keep saving" can't be dismissed; it clears on reload or when a rollback serves the loaded version again. An expanded bar has Hide, which folds it back into the pill with its action inline, so it can uncover a pager or save bar without dismissing the condition.
The small Patchy glyph on every shell element.
Downloads. Three visible, older ones fold into "N more files". Not now discards. Files are shell-local, so closing or reloading loses any not yet downloaded.
Keyboard. Passive notices never take focus. Actions are reachable by Tab from the frame's end. Focus returns to the frame after dismiss or hide. The T-1 cover holds focus while it's up, and has an accessible name.
ui-consistency. These elements become the "frame and nothing else" rule's one named exception, and the rendering tickets amend the spec. The served wrapper carries only this subset of the component set: tokens, btn, note, glyph and the components below.
Log view (L-2). Needs a shared expandable table-row treatment, since summary spacing exists only under .list-row. The expanded row keeps the sentence form ("leads.create (mutation) · as the patch"). The table scrolls inside portal-table on narrow screens. A closed page shows the real settled outcome with "reply not delivered". It also needs a nothing-logged state and a filtered-empty state.
Card (W-2). Recent activity is the last three entries in compact sentence form, each linking into the log, with "See the full log". It is shown only to the owner and admins.
Shared components the pick needs, added to the shell set in packages/core, not per page:
glyph-sm, note-float, note-info, note-collapse
status-chip, status-chip-detail, -warn, -info
shell-bottom, note-inline, note-inline-text
shell-corner, shell-scrim
pill-failed, list-tree
an expandable table row
The ribbon, tray and duration-bar proposals drop.
This unblocks the stream and fleet-controller rendering, #411 (download) and #412 (log view).
Activity
allisonmahmood commentedon Sep 28, 2026
Mocks published, waiting on Allison's pick: https://post.patchyhq.com/d/0js2okj9t7qm
The page has one code per direction. Recommendations: S-A (corner card with Hide, which folds it into a chip without dismissing), T-3 (cover the frame on first open, corner card when a hidden tab resumes), D-1 (corner card,
Not nowdiscards), L-1 (indented tree list), W-1 ("View log" beside Open, plus "Last 24 hours: 38 entries, 3 failed"). The closing section lists nine calls that ride on the pick (the 2 s delay, what can be dismissed, crowding, keyboard, shell-local downloads) and the proposed shared components.Astra reviewed round 1. From that review, round 2 added the collapse state, the T-3 hybrid and copy that no longer overpromises: unsaved edits may be lost, and held requests fail after 40 s and are never replayed. It also fixed the log sample so a closed page records the real outcome, and added the empty and crowded states.
I'll record the pick here once it's made.
allisonmahmood commentedon Sep 28, 2026
Pick (Allison, 2026-09-28)
Mocks: https://post.patchyhq.com/d/0js2okj9t7qm. The rendering tickets build from the directions named below.
What the pick settles
These are the page's closing calls, adjusted to the pick. They are defaults for the rendering tickets unless Allison overrides them.
Not nowand comes back on the next publish. "Reload to keep saving" can't be dismissed; it clears on reload or when a rollback serves the loaded version again. An expanded bar hasHide, which folds it back into the pill with its action inline, so it can uncover a pager or save bar without dismissing the condition.Not nowdiscards. Files are shell-local, so closing or reloading loses any not yet downloaded.btn,note,glyphand the components below.summaryspacing exists only under.list-row. The expanded row keeps the sentence form ("leads.create (mutation) · as the patch"). The table scrolls insideportal-tableon narrow screens. A closed page shows the real settled outcome with "reply not delivered". It also needs a nothing-logged state and a filtered-empty state.Shared components the pick needs, added to the shell set in
packages/core, not per page:glyph-sm,note-float,note-info,note-collapsestatus-chip,status-chip-detail,-warn,-infoshell-bottom,note-inline,note-inline-textshell-corner,shell-scrimpill-failed,list-treetablerowThe ribbon, tray and duration-bar proposals drop.
This unblocks the stream and fleet-controller rendering, #411 (download) and #412 (log view).
feat(shell): render the stream state pill from the #385 pick
feat(shell): render the starting cover from the #385 pick
feat(execution): manage company task fleets (#438)
feat(runtime): share file stores across patches
feat(runtime): let patches read shared file stores (#440)
feat(shell): render the download card from the #385 pick
feat(primitives): let tier 2 pages show and download files (#447)
feat(shell): render the too-large download refusal from the #385 pick
feat(patchy): import CSV and download generated files (#450)
feat(portal): show a patch's log to its owner and admins (#451)