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
Prototype: static mocks of the portal's patch list #239
How should the signed-in landing at / read to a first-time non-builder and to an owner? Build several distinct static mocks with patchpage and get a pick: an open-first directory, an owner-management workbench, and a directory with per-patch detail, each shown with realistic names and descriptions, a large inventory, an empty company, a company where the viewer owns nothing, and patches in retired and owner-deactivated states as placeholders. Shared navigation across Patches, Company, Connections and Your machines. Compose the existing htmlPage shell's look; the ui-consistency spec applies. Astra evaluates the picked mock before it is thrown away.
Note from Patch metadata: a patch now carries a name, a <title>-derived title (140 chars, refreshed on every publish) and a description (500 code points, local-owned). The mocks should decide whether the title still earns a place in the list beside name and description, and show how a large inventory scans with prose alone before any icon or category is considered.
A · Open-first directory: address as the link, description as the reason to click, no owner controls on the list.
B · Owner workbench: a table with owner, version, sharing, state and per-row Open/Manage, plus filter chips.
C · Directory with per-patch detail: compact index on the left, one patch's card on the right, with the owner's actions on the card.
Each shows the 17-patch inventory with retired, deleted and owner-deactivated placeholders, then the empty company and the viewer who owns nothing. The last section takes the title question: A and B drop the title, C shows it only as the card heading.
Waiting on a pick before astra evaluates and anything is written into the spec.
The shape./ signed in is two columns: a compact index on the left, one patch's card on the right. The index carries the name and the first clause of the description, grouped Yours, Company (renamed from the mock's "Everyone's", which lied since it excluded yours) and Retired and deleted behind the toggle. The card carries the address, the description, Open as its primary action, the facts a reader needs (owner with a deactivated mark, current version and when it was published, sharing in plain words, the one muted description-actor line from the metadata ticket) and, for the owner or an admin, the Manage block. The card is catalog plus manage; it is never the patch.
URLs./ renders the index with the first of Yours selected, else the first live patch, else the empty state. /patches/<name> selects a patch and re-renders the same two columns; retired and deleted patches use the same URL with the notice card. /<company>/<patch> stays the patch itself; Open links there and Copy address copies that URL. The card never rides on /<company>/<patch>/…, which is the app's namespace. This makes the patch page (#240) the card at /patches/<name>, not a separate route.
The title question, answered: the name leads everywhere. The title is 140 characters lifted from the last publish's <title>, the least-owned field of the three, and can read "Vite" while the address says sales-dashboard. The card's heading is the name; the title appears as one secondary line under it only when present and not a restatement of the name. It never appears in the index. (The mock had this backwards; astra caught it.)
Scanning a large inventory with prose alone works when descriptions open with what the tool does; the rows that fail are the ones with no description, which argues for pushing descriptions, not for icons or categories. None until a real inventory asks.
Search and scale, resolved from the fog: no search, filters or paging on day one. The three groups hold; at 100+ names the card goes position: sticky so the dossier does not scroll away under a long index. Filter chips like B's are rejected because they fight the grouping. If search arrives later it filters inside the groups. Revisit when a company nears 100 patches.
Accepted trade-off. For a non-builder, opening a patch from the index is two clicks (select, then Open). / landing on an already-selected card and Open sitting at the top of every card is the mitigation; A's one-click list was the alternative and Allison chose the card.
Handed to the patch-page mocks (#240): the card's Manage side. Astra's list of what the decisions require and the mock lacks: Restore on the retired and deleted cards (with the 30-day clock on the deleted one), Reassign for admins (a note on Jonas's card is not an action), the dependants list and refuse-unless-forced on retire, delete and unshare, precise "who can open this" wording for company versus public, and an admin looking at another member's card. Destructive actions get their own block with plain POST forms, not a sentence of dotted links. Dropped from the card: the publishing machine, the "Uses" row of primitives (that is patchy list <patch>'s job), and the sync sentence under the description (belongs on the edit form). The deactivation pick page stays its own page as #233 decided; master-detail cannot fake multi-select.
Astra's verdict
Sounder for an owner than for a first-time non-builder: C inserts a select step and the card looks enough like the patch that a first visit can sit on it and never leave. Card URL must be a portal resource, /patches/<name>, not a query on / (drops off POSTs, forces every form to invent a return URL) and not under the patch's address (collides with the app's routes). Master-detail breaks only for the deactivation pick page; degrades at 100+ names without a sticky card; search, admin view, version list and dependants all fit by swapping the card. Name should lead everywhere; the title as H1 is the wrong call. Contradictions in the mock: the variant blurb said the card could be the patch page, which contradicts the address being the patch and Open having somewhere to go; "Everyone's" mislabels; Manage as GET links would contradict plain forms if shipped. Every point above is taken except the non-builder objection, which is recorded as the trade-off.
Activity
allisonmahmood commentedon Sep 14, 2026
Note from Patch metadata: a patch now carries a name, a
<title>-derived title (140 chars, refreshed on every publish) and a description (500 code points, local-owned). The mocks should decide whether the title still earns a place in the list beside name and description, and show how a large inventory scans with prose alone before any icon or category is considered.allisonmahmood commentedon Sep 14, 2026
Three static mocks of the signed-in
/, composed on thehtmlPageshell: https://post.patchyhq.com/d/pmbvafit1sl5 (public, unlisted).Each shows the 17-patch inventory with retired, deleted and owner-deactivated placeholders, then the empty company and the viewer who owns nothing. The last section takes the title question: A and B drop the title, C shows it only as the card heading.
Waiting on a pick before astra evaluates and anything is written into the spec.
allisonmahmood commentedon Sep 14, 2026
Resolution
Allison's pick: C, the directory with per-patch detail. Mocks: https://post.patchyhq.com/d/pmbvafit1sl5 (variant C; A and B are there for the record).
The shape.
/signed in is two columns: a compact index on the left, one patch's card on the right. The index carries the name and the first clause of the description, grouped Yours, Company (renamed from the mock's "Everyone's", which lied since it excluded yours) and Retired and deleted behind the toggle. The card carries the address, the description, Open as its primary action, the facts a reader needs (owner with a deactivated mark, current version and when it was published, sharing in plain words, the one muted description-actor line from the metadata ticket) and, for the owner or an admin, the Manage block. The card is catalog plus manage; it is never the patch.URLs.
/renders the index with the first of Yours selected, else the first live patch, else the empty state./patches/<name>selects a patch and re-renders the same two columns; retired and deleted patches use the same URL with the notice card./<company>/<patch>stays the patch itself; Open links there and Copy address copies that URL. The card never rides on/<company>/<patch>/…, which is the app's namespace. This makes the patch page (#240) the card at/patches/<name>, not a separate route.The title question, answered: the name leads everywhere. The title is 140 characters lifted from the last publish's
<title>, the least-owned field of the three, and can read "Vite" while the address sayssales-dashboard. The card's heading is the name; the title appears as one secondary line under it only when present and not a restatement of the name. It never appears in the index. (The mock had this backwards; astra caught it.)Scanning a large inventory with prose alone works when descriptions open with what the tool does; the rows that fail are the ones with no description, which argues for pushing descriptions, not for icons or categories. None until a real inventory asks.
Search and scale, resolved from the fog: no search, filters or paging on day one. The three groups hold; at 100+ names the card goes
position: stickyso the dossier does not scroll away under a long index. Filter chips like B's are rejected because they fight the grouping. If search arrives later it filters inside the groups. Revisit when a company nears 100 patches.Accepted trade-off. For a non-builder, opening a patch from the index is two clicks (select, then Open).
/landing on an already-selected card and Open sitting at the top of every card is the mitigation; A's one-click list was the alternative and Allison chose the card.Handed to the patch-page mocks (#240): the card's Manage side. Astra's list of what the decisions require and the mock lacks: Restore on the retired and deleted cards (with the 30-day clock on the deleted one), Reassign for admins (a note on Jonas's card is not an action), the dependants list and refuse-unless-forced on retire, delete and unshare, precise "who can open this" wording for company versus public, and an admin looking at another member's card. Destructive actions get their own block with plain POST forms, not a sentence of dotted links. Dropped from the card: the publishing machine, the "Uses" row of primitives (that is
patchy list <patch>'s job), and the sync sentence under the description (belongs on the edit form). The deactivation pick page stays its own page as #233 decided; master-detail cannot fake multi-select.Astra's verdict
Sounder for an owner than for a first-time non-builder: C inserts a select step and the card looks enough like the patch that a first visit can sit on it and never leave. Card URL must be a portal resource,
/patches/<name>, not a query on/(drops off POSTs, forces every form to invent a return URL) and not under the patch's address (collides with the app's routes). Master-detail breaks only for the deactivation pick page; degrades at 100+ names without a sticky card; search, admin view, version list and dependants all fit by swapping the card. Name should lead everywhere; the title as H1 is the wrong call. Contradictions in the mock: the variant blurb said the card could be the patch page, which contradicts the address being the patch and Open having somewhere to go; "Everyone's" mislabels; Manage as GET links would contradict plain forms if shipped. Every point above is taken except the non-builder objection, which is recorded as the trade-off.allisonmahmood commentedon Sep 14, 2026
Prototype PR, never to be merged: #244 (branch
prototype/portal-list-mocks).