diff --git a/AGENTS.md b/AGENTS.md index b6c82b7..9686c56 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -16,7 +16,7 @@ Ely GPUI Component. A component library for GPUI, in light and dark. - Markdown: `pulldown-cmark` 0.13 (MIT, default features off) for CommonMark with tables, tasks, strikethrough, footnotes and math. - Pictures: `image` 0.25 (MIT OR Apache-2.0), the crate gpui decodes with, default features off; it turns decoded frames and rims map tiles. - Maps: Natural Earth's 110m countries (public domain). `assets/maps/countries.geojson`, trimmed by `scripts/countries.py` to an ISO code, a name and positions to 0.01°, backs `maps::WorldMap`; the gallery's tiles are cut from the same file, z0 to z3, by `scripts/tiles.py` with Pillow. -- Gallery: `examples/gallery`. Website: `frontend/` (Vite 8, pnpm), built after the components: a home page in motion with three.js and smooth scroll, and a components page with categories on the left and the chosen component on the right, after astryx.atmeta.com. It deploys to Cloudflare through `npx wrangler`. +- Gallery: `examples/gallery`. Website: `frontend/` (Vite 8, pnpm), built after the components: a home page in motion with three.js and smooth scroll, and a components page with categories on the left and the chosen component on the right, after astryx.atmeta.com and gpui-kit.com. Each component runs live from the gallery built for wasm32 through gpui_web, in an iframe, never as a screenshot. It deploys to Dokploy. ## Commands @@ -226,3 +226,5 @@ Ely GPUI Component. A component library for GPUI, in light and dark. - 2026-09-28: WebView proven with `wry` 0.57: a child WKWebView over the window, placed from a canvas in prepaint at its box each frame and hidden once the box leaves the view. It draws above everything gpui paints and gpui's clipping does not reach it; gpui's test windows have no native handle, so the capture proves it. - 2026-09-28: InspectorOverlay is gpui's inspector drawn by Ely, `tooling::install_inspector`, in debug builds only, as gpui has it. - 2026-09-28: every text pair the contrast audit holds meets 4.5:1: `fg_subtle` is #696764 light and #94928f dark, `syntax.comment` with it, and the light syntax's number, constant and attribute are #a3591b, #aa5529 and #9f5d12; the contrast audit found them under. +- 2026-09-28: the site shows components live, as gpui-kit.com does, not as screenshots. gpui 0.2.2 cannot build for the browser: Zed added gpui_web on 2026-02-26 and has published no gpui since 0.2.2. So gpui moves to Zed's repo by git at 1a28cff (T44b), the code gpui-pre 0.3.7 republishes; the source stays first-party, and this replaces the 2026-09-24 choice. The terminal stays native: alacritty_terminal's polling does not build for wasm32. +- 2026-09-28: the site deploys to Dokploy, not Cloudflare. diff --git a/TASKS.md b/TASKS.md index 4005aca..f255a01 100644 --- a/TASKS.md +++ b/TASKS.md @@ -1,7 +1,7 @@ # Tasks Progress truth. Work runs top to bottom. No item is skipped. -Each `T` item ends with a review in a herdr split pane, three rounds at most: codex (`gpt-6-astra`, effort `max`) through T24d round 2; from T24d round 3, after codex ran out of quota on 2026-09-26, a Claude session on Fable 5.1 at max effort, at the user's word. +Each `T` item ends with a review in a herdr split pane, three rounds at most: codex (`gpt-6-astra`, effort `max`) through T24d round 2; from T24d round 3, after codex ran out of quota on 2026-09-26, a Claude session on Fable 5.1 at max effort, at the user's word; from T44a round 2, codex again, as the user asked. Per-component lines live in `tasks/`. Tags there: @@ -151,12 +151,13 @@ Per-component lines live in `tasks/`. Tags there: - [x] T43b Tooling · Inspection — `tasks/ch31-43.md` - [x] T43c Tooling · Catalogs — `tasks/ch31-43.md` - [x] T44a Capture · Roots: roots still on `w_full` drop it, checked at 280px and in padded cards -- [ ] T44b Capture · Sections: every component's section shot on its own, light and dark, with a manifest the site reads -- [ ] T44c Capture · Motion: clips of each page's scripted states in motion, for the site -- [ ] T45 Website: `frontend/`, Vite 8, pnpm, light and dark: a home page in motion (three.js, smooth scroll), and a components page with every component, categories on the left and the chosen one's detail on the right, after astryx.atmeta.com +- [ ] T44b Port · Build: gpui and gpui_platform from Zed's repo by git at 1a28cff; the crate, its tests and the gallery build, and check.sh passes +- [ ] T44c Port · Parity: every page and scripted state captured light and dark and matched against T44a's shots; AGENTS.md's gpui 0.2.2 and taffy 0.9 rules re-tested at 1a28cff and rewritten +- [ ] T44d Web · Stories: the gallery builds for wasm32 through gpui_web; one story per component, chosen by URL, themed by the host page; what cannot run in a browser says why +- [ ] T45 Website: `frontend/`, Vite 8, pnpm, light and dark: a home page in motion (three.js, smooth scroll), and a components page with every component live from its story, categories on the left and the chosen one's detail on the right, after astryx.atmeta.com and gpui-kit.com; no screenshots - [ ] T46 E2E: Playwright against the built site -- [ ] T47 Ship: GitHub repo (public), CI, Cloudflare deploy through `npx wrangler` -- [ ] T48 Acceptance: live URL and MVP checklist +- [ ] T47 Ship: GitHub repo (public), CI, Dokploy deploy +- [ ] T48 Acceptance: Dokploy URL and MVP checklist ## T00 detail