Repository navigation
feat(core): app pages sit on Patchy's squared paper again - #1369
Conversation
|
Review round 1 (GPT 6.1 Sol) asked for two fixes, both made in 2e35202:
The canvas and its solid list now live in one |
|
Allison sent a design correction through Fermy, made in 23bde48. The solid paper under tables and lists read as slabs. The new rule: only bordered containers, controls and things that float get a surface. The squares show behind everything else, and a row's hover on the paper is a translucent tint. On his call, this reverses round 1's fix for finding 2, which had made lists and reading blocks solid. Round 1's finding 1 (faded controls let the squares through) is dismissed. A disabled field, tile or choice card still has its own surface, faded with the rest of the control the way core draws disabled today. Over the paper the squares show through at half strength, under 2% ink, which reads as the control being disabled rather than as a missing surface. Changing how core draws disabled controls would change every disabled state, so it stays out of this PR. |
23bde48 to
30e2128
Compare
Acceptance: PASS with notesChecked Done means
Golden journeys
Evidence Focused head run: The replacement CI run completed successfully on the checked head. There are 24 successful checks, two unrelated integration skips and one cancelled duplicate check; none are pending. Reviews and inline review comments contain no additional findings. Rollback answers: match the diff. Styles and their documentation only; no schema, data, infrastructure or wire/CLI contract changes. A revert leaves no incompatible residue, so the previous release still works and no Not run
Notes
|
751cf83 to
5a55859
Compare
Co-Authored-By: Claude Opus 5.5 <[email protected]>
30e2128 to
048d0d5
Compare
Stacked on #1369; part of #1315. Merge the stack together, not alone. ## What changed Every other product's mark was letters: "Cx" for Codex, "Pg" for Postgres. Now each product Patchy knows wears its own logo, in its colours: Claude for Claude and Claude Code, OpenAI's Blossom for ChatGPT and Codex, then Cursor, Postgres, PostHog, Attio and Pidgeon. A mailbox on Gmail's server shows Gmail's logo, and any other mailbox an envelope instead of "@". 1. **Core.** `productMark` takes letters as before, `{ logo }` for a known product or `{ icon }` for a kind of product. The logos are a typed set in a new `packages/core/src/ui/logos.ts`, each with a comment naming where its artwork came from. Each logo is that artwork's own paths; only the `viewBox` is cut to the mark, so every logo fills its square alike. None embeds a raster image, metadata, a `style` or an id, so a mark can repeat on a page. Logos sit in a 24×20 box in the 32px square and a 36×30 box in the 48px hero; icons sit at 18px and 27px, the laptop's sizes. `dashed` and the letters are unchanged. I added a `mail` icon. In forced colours a logo keeps its white square and its colours, as an image does (`forced-color-adjust: none` on `.im-logo`), so a dark theme can't draw a black logo on black; icons and letters still take the theme's. A browser test in `ui.spec.ts` holds this. 2. **Agents.** `MachinesPage.ts`'s `apps` map carries each app's mark. `appNamed` matches a client's name loosely: lowercase, letters and digits only, the app's name anywhere in it, longest name first. So "Claude Desktop" is Claude, "claude-code" and "Claude Code (patchy)" are Claude Code, "cursor-vscode" is Cursor, and "OpenAI Codex" is Codex. Unknown names keep their initial. Reconnect on such an app now opens that app's steps, not Another agent's. The logos show on Your agents, Connect an app, Home's Reconnect rows and Get an agent. Computers keep the laptop. Agent access lists no apps, so it doesn't change. 3. **Integrations.** Each integration's `mark` is its logo, and IMAP's is the envelope. A connection's mark can be its provider's: an IMAP mailbox on `imap.gmail.com`, which Google Workspace mailboxes share, shows Gmail's logo (`ImapPage.mark`, through `ConnectionPage.integrationOf`). The catalogue and the connect frame keep the envelope, since no server is known there. The marks show on the Integrations list, the catalogue, the connect frame's hero, a connection's header and Home's Needs attention. Home's Needs attention rows for integrations had no mark before this PR. 4. **Dense.** Allison gets a fourth app, "Claude Code (patchy)", known only through the loose match. Brightline gets `imap/studio`, a Google Workspace mailbox on `imap.gmail.com`. That needs a `host` on a scenario's offline IMAP connection, `mail.<company>.example` when absent. `scenarios/README.md` follows. 5. **Docs.** The gallery shows every logo at both sizes, plus the envelope, letters and dashed states. `ui-consistency`'s Marks line now says a mark is the product's own logo where Patchy knows it. ### Where each logo came from | Logo | Used for | Artwork | | --- | --- | --- | | Claude's spark | Claude, Claude Code | `Claude Spark - Clay.svg` in the press kit at [anthropic.com/press-kit](https://www.anthropic.com/press-kit) | | OpenAI's Blossom | ChatGPT, Codex | The Blossom artwork at [openai.com/brand](https://openai.com/brand/) | | Cursor's cube | Cursor | `CUBE_2D_LIGHT.svg` in the asset pack at [cursor.com/brand](https://cursor.com/brand) | | The PostgreSQL elephant | Postgres | [`PostgreSQL_logo.3colors.svg`](https://wiki.postgresql.org/images/a/a4/PostgreSQL_logo.3colors.svg), from [wiki.postgresql.org/wiki/Logo](https://wiki.postgresql.org/wiki/Logo); its `style` declarations carried as attributes | | PostHog's logomark | PostHog | The logomark in [`posthog-logo-print.svg`](https://brand.posthog.com/logo/posthog-logo-print.svg), its four flat colours | | Attio's logomark | Attio | [`attio-logomark.svg`](https://attio.com/brand/v1/attio-logomark.svg) | | Pidgeon's spiral | Pidgeon | [pidgeon.ai/icon.svg](https://pidgeon.ai/icon.svg), without the icon's own square | | Gmail's M | A mailbox on Gmail's server | Google's flat [`gmail_2020q4` mark](https://www.gstatic.com/images/branding/productlogos/gmail_2020q4/v11/192px.svg) | PostHog and Gmail are in their flat colours. Their current marks are drawn with gradients, which need ids, and ids would repeat on a page that shows the mark twice. patchyhq.com's legal pages name these product names and logos as their owners'. ## Look at **Your agents, Connect an app, Home, Integrations, Connect an integration and a connection, as Allison on `dense`.** In the "after" Your agents, Claude Code (patchy) is the new app, recognised through the loose match. In Integrations, `imap/studio` is the new Gmail mailbox. #### Before and after, as Allison Mahmood (admin) Before is `30e2128` (--base origin/ui/canvas-grid) and after is `2c39381` (ui/product-logos), both on the `dense` scenario, from `pnpm dev compare`. Since then only comments, a README line and the forced-colours rule changed, none of which shows in normal colours. Every page answered 200 with no browser errors. ##### `/agents` **1280px, after**  <details><summary>1280px, before</summary>  </details> | Width | Before | After | | --- | --- | --- | | 390px |  |  | ##### `/agents/connect` **1280px, after**  <details><summary>1280px, before</summary>  </details> | Width | Before | After | | --- | --- | --- | | 390px |  |  | ##### `/` **1280px, after**  <details><summary>1280px, before</summary>  </details> | Width | Before | After | | --- | --- | --- | | 390px |  |  | ##### `/settings/integrations` **1280px, after**  <details><summary>1280px, before</summary>  </details> | Width | Before | After | | --- | --- | --- | | 390px |  |  | ##### `/settings/integrations/connect` **1280px, after**  <details><summary>1280px, before</summary>  </details> | Width | Before | After | | --- | --- | --- | | 390px |  |  | ##### `/settings/integrations/conn_env_brightline_postgres_warehouse` **1280px, after**  <details><summary>1280px, before</summary>  </details> | Width | Before | After | | --- | --- | --- | | 390px |  |  | ## How it was verified - **Tests.** - `product-mark.test.ts`: a logo on its square in its own colour, the hero size, the envelope, letters, escaping, and that every logo stays lean (no id, `style`, raster or metadata). - `MachinesPage.test.ts`: a table of 12 client names, unknown ones included, mapped to apps; Codex's choice leads with its logo; Claude Code's row leads with the spark. - `ConnectionsView.test.ts`: a catalogue row leads with its logo, letters or the dashed `+`. - `ConnectionAttention.test.ts`: each attention carries its mark, and a mailbox on `imap.gmail.com` gets Gmail's logo where any other gets the envelope. - `HomePages.test.ts`: the ended ChatGPT row shows the Blossom, and `imap/support` the envelope. - `history.test.ts`: dense's new app. - **By eye**, on a local `dense` instance: `/~ui`, Your agents, Agent access, Home, Integrations and `imap/studio`'s page. - **Review.** GPT 6.1 Sol reviewed this PR in two earlier rounds. A third round reviews this version. ### Hit every surface - **Wire, CLI, migrations, company resources:** untouched. - **Dev loop:** the scenario schema gains an optional `host` on an offline IMAP connection. Dense uses it for `imap/studio` and has one more app. `scenarios/README.md` and `history.test.ts` follow. - **Vocabulary:** no new concept. `ui-consistency` and the gallery describe a mark's logo. - **Served pages:** `servedStyles` untouched. Every mark change is in core's `marks` chunk. ### Core additions - `productMark` also takes `{ logo: ProductLogo }` and `{ icon: IconName }`. Letters render exactly as before. - `ProductMark` and `ProductLogo` types, the `logos.ts` set, and the `mail` icon. - In `marks.ts`, sizes for a drawing inside `.im`: `.im svg`, `.im-logo svg`, `.im-lg svg` and `.im-lg.im-logo svg`. ## Release impact - [ ] **Breaking** — requires action from anyone already running this - [x] **Not breaking** — no action required Rendering only: no schema, API, CLI or configuration change. - **What does a revert leave behind?** Nothing. Marks go back to letters. - **Does the release before it still work with that?** Yes. Built by Claude Opus 5.5 (xhigh) in Claude Code, orchestrated by Fermy. Co-authored-by: Claude Opus 5.5 <[email protected]>
…d once (#1376) ## What changed This adds release 41's What's new entry, written from `a25a9c5`. It covers everything merged since release 40's `through` (`08e1fd9`), and sets the `patchy` release to `0.41.0` in `packages/patchy/package.json` and `CURRENT_RELEASE`. It ships the UI overhaul together with #1204, the terms prompt, as one release, at Allison's word. | Change | PRs | | --- | --- | | Improved: Patchy has a new look | #1332, #1336, #1338, #1343, #1353, #1354, #1369, #1372 | | New: Accept updated terms once | #1204 | | Improved: Settings holds People, Integrations and Agent access | #1334, #1341 | | Improved: Home starts with what needs you | #1344, #1353 | | New: A blue dot marks patches you haven't opened | #1370 | | Improved: A patch's page has one header and tabs | #1345 | | Improved: Search lands on All patches | #1346, #1353 | | Improved: Inviting and deactivating people is clearer | #1349 | | Improved: Your agents shows what's connected | #1352 | | Improved: Integrations use plain words | #1347, #1351 | | Improved: Agents and integrations show their own logos | #1371 | | Improved: What's new goes by month | #1350 | | Fixed: ⌘⇧K works on your company's public patches | #1339 | | Fixed: Saving works after a patch stops being public | #1339, #1375 | | Behind the scenes: every page built from one set of parts, with a check | #1338, #1354 | | Behind the scenes: agents know a once-public page's refusals mean reload, and retries wait and stop | #1374 | | Patch changes: a kept public page reloads into the company page; check retries wait and stop | #1375, #1374 | #1337 is release 40's own entry. #1340 (routes split, plus the call summary Home and All patches show) and #1342 (the `dense` dev scenario) need no line of their own: the call summary is part of the Home and All patches changes, and the scenario is tooling. The overhaul makes no patch changes. Running patches keep their own styles, which #1332 pins, and the only SDK change is the wording of two error messages' admin addresses. ## Look at - **The entry**, at the top of `releases` in `packages/core/src/whatsNew.ts`. - **Rollback safety, from the live commit `d3d32da` (release 40) to this PR's merge:** - **#1334 is `one-way`.** Your agents and Settings moved to `/agents` and `/settings/…`. Old addresses redirect forward, but release 40 serves none of the new ones. This release's CLI hints, the `patchy` skill on `main`, and the API, MCP and publish hints all name the new addresses, so on release 40 they'd answer 404. - **#1372 needs the private font bucket**, and that's done. Its deploy step fetches the pinned Cabinet Grotesk file and checks it before recording anything. The bucket was created on 2026-11-10 and holds the pinned bytes. A rollback to a commit from before #1372 pins no font and builds as before. - **#1204** adds migration `0036_terms_acceptances`, an additive table that release 40 never reads. Release 40 doesn't prompt, and coming forward again asks only people who hadn't accepted. Not `one-way`. - **#1375** changes only the public shell's script, and #1374 is skill text. Release 40 renders its own shell and serves its own skills. - **#1370 and #1339** add rows to the existing `patch_opens` table (a guest's opens, and members' opens of public patches). Release 40 reads them like any other open. - **Everything else** is pages, styles, copy and docs: no migrations, and no API, `--json` or configuration changes. - **patchy-web #53**, the website line #1371's logos needed, is merged (771e6d9). **Rollback line:** Rolling back past #1334 would break every `/agents` and `/settings/…` link that this release's CLI, skill and hints hand out, because release 40 answers them with 404. Fix forward instead. ## How it was verified - **Tests:** the `packages/core` What's new test passes (5), the `packages/api` suites pass (64), and the three files are formatted. - **The range.** Each of the 22 overhaul PRs was: - reviewed by GPT 6.1 Sol at xhigh, with every finding fixed or declined in writing on the PR; - accepted on its final head by an agent that didn't write it; - merged green, by a merge train that rebuilt each PR's accepted tree on main's tip and checked that main's tree matched it after every merge. - **#1339, #1375, #1374 and #1204** were each Sol-reviewed and accepted, and merged on their own: #1339 before the train, the other three after it. #1204's acceptance was rerun on the new sign-in pages. ## Release impact - [ ] **Breaking** — requires action from anyone already running this - [x] **Not breaking** — no action required The changelog entry and the release version only. - **What does a revert leave behind?** Nothing. CLIs installed from this release report `0.41.0` and are told to match the server, as at every release. - **Does the release before it still work with that?** Yes. Changes made by Claude Opus 5.5 in Claude Code, running in T3 Code. Co-authored-by: Claude Opus 5.5 <[email protected]>
Stacked on #1354; part of #1315. Merge the stack together, not alone.
What changed
The overhaul put Patchy's squared paper on sign-in and the other doors, and left the app flat. App pages now sit on the same canvas, 32px squares over the blue → cream → green wash, so sign-in and the app are one surface (option A in the mock-up, with B's plain sidebar).
The rule is that only bordered containers, controls and things that float get a surface; nothing else does. The squares show behind everything that isn't a real container.
Changes:
canvaschunk holds the doors' rule, unchanged. It now draws on app pages too:body:has(.auth-card, .app).--door-gridis renamed--canvas-grid. The chunk's comment states the rule above./~ui's Colour section gains a Canvas state table, and the gallery itself sits on the canvas. The ui-consistency skill states the rule and lists the chunk.Look at
The squares run behind every app page, including behind tables and lists; boxes, cards, controls and the dialog keep their surface. These are dense's admin: desktop at full width with before folded, and phones side by side.
Before and after, as Allison Mahmood (admin)
Before is
e99dc00(where this branch left ui/g2-governance) and after is23bde48(ui/canvas-grid), both on thedensescenario, frompnpm dev compare. These were captured before the branch was restacked onto #1370 (now30e2128on751cf83). That move changes no styles; acceptance checked the current head.Every page answered 200 with no browser errors.
/1440px, after
1440px, before
/patches1440px, after
1440px, before
/settings/people1440px, after
1440px, before
/settings/people?invite=11440px, after
1440px, before
/patches/new-business1440px, after
1440px, before
/settings/integrations/connect/attio1440px, after
1440px, before
How it was verified
Checked every surface. On
pnpm dev up denseI ran a browser script over about 60 pages, the doors and every/~uipage. It covered Allison at 1440 and 390px, and Priya (member), Sam (empty company) and Taylor (guest). Pages included Home, All patches and its filters, a patch and its Log, Versions and Settings tabs, retire and restore, Your agents and its connect flows, People and its deactivate flows, Integrations, every connect flow and connection, Agent access, What's new, the Final step, and the Share and Invite dialogs. On each page it lists every element with an opaque background or a background image that isn't on the keep list and isn't inside something on it. None came up. I also looked at each page type by eye, at desktop and phone.Contrast on the paper, at its darkest point (a grid crossing over the blue end of the wash):
All stay at or above AA (4.5:1).
Forced colours (Chromium,
forcedColors: "active"): the squares and the wash drop away.Tests:
servedStylesis untouched, and its pin test passes. A new test instyles.test.tsfails any background fixed to the window, since a fixed background repaints on every scroll. Core and serving's render tests pass, and so do lint, format and typecheck. Locally,pnpm check's offline tests failed on this shared machine, in CLI and fleet suites this diff doesn't touch: a strayGET /from a local port probe, plus timeouts under load. CI runs them.Not changed: patches' own pages, the running-patch wrapper, every route and every form.
Release impact
Styles only: one renamed CSS custom property, internal to the app's stylesheet.
Built by Claude Opus 5.5 (xhigh) in Claude Code, orchestrated by Fermy.