Kit · K05: the GPUI Kit guide, a README section and a whole app beside Kit
This commit is contained in:
1 parent
99615e1a0c
commit
b3985b9b5b
5 files changed
+144
-4
No files matched your search
+3
-2
@@ -7,7 +7,7 @@ Started 2026-10-07. Ely and Longbridge's GPUI Kit (`gpui-kit` on crates.io) shar
|
||||
- Ely binds Tab with no context, which gpui ranks at the deepest level. In a Kit code editor inside an Ely scope, Tab ties with Kit's indent, and the later `init` wins.
|
||||
- An app has one asset source. Of Ely's 306 icons, Kit's source holds 290 paths, 289 with the same drawing; `credit-card` differs by one stroke (Lucide 1.48 against 1.43). Ely's `init` checked one icon, so Kit's source alone passed and Ely's other files went missing later.
|
||||
- Kit's `init` installs its inspector in debug builds; Ely's `install_inspector` replaces it when called after.
|
||||
- Kit can also run on `gpui-fast`; at the owner's word, Ely follows Kit's default gpui alone.
|
||||
- Kit's main branch adds a `gpui-fast` engine, unreleased in 0.7.1; at the owner's word, Ely follows Kit's default gpui alone.
|
||||
|
||||
Rules: the work order follows dependencies, since the PRD has no chapter for it. Each item passes `scripts/check.sh` and a codex review (`gpt-6.1-sol`, effort `high`) in a herdr split, five rounds at most, then commits and pushes.
|
||||
|
||||
@@ -17,7 +17,7 @@ Rules: the work order follows dependencies, since the PRD has no chapter for it.
|
||||
- [x] K02 Tab and Shift-Tab bound under `FocusScope`'s own context, so a deeper context's Tab wins whatever the order of `init`
|
||||
- [x] K03 Assets: `init` checks every embedded file through the app's source; one source serves Ely's files and another's
|
||||
- [x] K04 `compat/kit`: a crate on the newest Kit that runs both libraries in one window, in `scripts/check.sh` and CI
|
||||
- [ ] K05 Docs: README, the site's guide, AGENTS.md
|
||||
- [x] K05 Docs: README, the site's guide, AGENTS.md
|
||||
- [ ] K06 Acceptance table
|
||||
|
||||
## Log
|
||||
@@ -27,3 +27,4 @@ One line per item: what changed, what stayed and why, review rounds.
|
||||
- K02: `FocusScope` sets the key context `ElyFocus`, and `init` binds Tab and Shift-Tab under it. A host's Tab in a deeper context wins whatever the order of `init` (a test binds the host's first, the order that lost: 0 indents before, 1 after); Ely's terminal, editor, traps and the inspector's scope behave as before. Review: 1 round.
|
||||
- K03: `init` loads every file Ely bundles (318, Plex among them) through the app's source and fails naming the first it cannot; an icons-only source like Kit's passed the old one-icon check and fails now. `Assets::before(other)` serves Ely's paths first and the rest from `other`, its errors passing through. Docs and AGENTS.md say so. Review: 1 round.
|
||||
- K04: `compat/kit`, its own workspace, opens Ely's root scope inside Kit's `Root` and tests Tab through both libraries in each `init` order (red with K02 undone), Kit's dialog from an Ely button by key and by pointer, Ely's dialog over Kit's fields, and one asset source for both. `check.sh` resolves it afresh and holds `gpui-kit` to the newest release, so a Kit release on another gpui fails resolution naming `gpui-pre` (shown with Kit 0.7.0). Review: 2 rounds.
|
||||
- K05: the site's GPUI Kit guide (`/docs/gpui-kit`): dependencies, the start in four steps, focus, two themes, the inspector; the README points to it. `compat/kit/examples/start.rs` is a whole app, compiled by `check.sh` and run on Windows, where both libraries draw in one window. The guide says an app's Cargo keeps the newest Kit that shares Ely's GPUI, and names no unreleased Kit feature. Review: 2 rounds.
|
||||
Reference in new issue
Block a user