Skip to content

design: the six first-party tier 2 surfaces, mocked and picked #385

Closed

Description

@allisonmahmood

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:

  1. the delayed reconnecting element ("reconnecting, data may be stale"), shown after a short delay without reconciliation and distinct from the stopping notices;
  2. "a new version is available, reload", non-stopping, from the served frame;
  3. "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;
  4. "starting your tools", the empty-pool wait of up to 40 s before busy;
  5. the shell's download action for generated files, showing filename and size (a frame's claim of a click is never trusted);
  6. 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.

Activity

  1. added
    ready-for-human
    area:ui
    on Sep 28, 2026
  2. allisonmahmood commented on Sep 28, 2026

    @allisonmahmood
    OwnerAuthor

    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 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.

    I'll record the pick here once it's made.

  3. allisonmahmood commented on Sep 28, 2026

    @allisonmahmood
    OwnerAuthor

    Pick (Allison, 2026-09-28)

    Mocks: https://post.patchyhq.com/d/0js2okj9t7qm. The rendering tickets build from the directions named below.

    Surface Pick Allison's reason
    Reconnecting, new version, reload to keep saving 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.

    1. 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.
    2. 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.
    3. 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.
    4. The small Patchy glyph on every shell element.
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    9. 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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uiready-for-human

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions