[ui] DomiUi: @domi/ui v1.5.0: Move the chair is Button too (bind:element), so every button is the shared one
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Review: `feature/domi-ui` (2026-11-23)
|
||||
|
||||
Analysis: [`../features/domi-ui.md`](../features/domi-ui.md). Rosea's buttons and her town search take `@domi/ui`'s
|
||||
look, from a vendored copy. The copy is **v1.4.0, CPAL-1.0**, made by the design system's `tools/vendor.mjs` into `packages/domi-ui`. Aula's
|
||||
look, from a vendored copy. The copy is **v1.5.0, CPAL-1.0**, made by the design system's `tools/vendor.mjs` into `packages/domi-ui`. Aula's
|
||||
hold was lifted with that tag; v1.0.1, the copy first tried here, never left this machine.
|
||||
|
||||
## Before and after
|
||||
@@ -37,7 +37,8 @@ differ, for him to judge:
|
||||
- In Rosea that broke three things: the pour by a held Space, the stop on blur, and *a held key is one touch*.
|
||||
The unit tests caught all three.
|
||||
- *Fixed upstream:* PR mnovak/domi-design#18 from here, reviewed and released in @domi/ui 1.4.0. Its two tests
|
||||
fail on the old Button. Water and Touch her are `Button` again; until 1.4.0 they were markup (D3).
|
||||
fail on the old Button. Water and Touch her are `Button` again; until 1.4.0 they were markup (D3). *Move the
|
||||
chair* became `Button` with 1.5.0's `bind:element`. Without the binding, the focus test fails (drill).
|
||||
2. **Every `Button` carries its own `role="status"` region.** Rosea's tests that asked for "the" status found
|
||||
several. *Fixed in the tests* (`test/said.ts`, and one e2e locator), not in the vendored code. Rosea never hands
|
||||
a button a Promise (D2), so these regions stay empty and say nothing.
|
||||
@@ -55,7 +56,7 @@ differ, for him to judge:
|
||||
linted upstream, and never edited here.
|
||||
7. **The licence.**
|
||||
- v1.0.1 was `UNLICENSED` and v1.0.2 MPL-2.0; neither left this machine.
|
||||
- The copy now is **v1.4.0**, made by the design system's own `tools/vendor.mjs`. It refuses any tag before the
|
||||
- The copy now is **v1.5.0**, made by the design system's own `tools/vendor.mjs`. It refuses any tag before the
|
||||
CPAL-1.0 v1.0.3, and writes `LICENSE`, `NOTICE`, `VERSION` and a `package.json` without scripts. It lives in
|
||||
`packages/domi-ui` as `@domi/ui` (`workspace:*`).
|
||||
- The three font packages arrive as its npm dependencies (OFL). Rosea imports none, and `dist/` has no font
|
||||
@@ -88,7 +89,7 @@ differ, for him to judge:
|
||||
- **Reachability:** none.
|
||||
- **Offline:** `pnpm test:offline` 1 passed.
|
||||
|
||||
## Gates (this branch, v1.4.0, 2026-11-23)
|
||||
## Gates (this branch, v1.5.0, 2026-11-23)
|
||||
|
||||
- `pnpm test`: **646 passed**. By package: cpu-guard 13, schema 19, identity 5, release 8, storage 70, content 88,
|
||||
art-prep 80, tauri 92, ui 92 (88 before, plus 2 credit tests and 2 Android-field tests), engine 179.
|
||||
@@ -97,6 +98,8 @@ differ, for him to judge:
|
||||
- `pnpm test:e2e`: **26 passed** against the built app, axe included. `pnpm test:offline`: **1 passed**. The Aula
|
||||
pictures: **2 passed**; their phone has an Android user agent and types into the editable box.
|
||||
- No font file in `dist/`. `pnpm look:shots`: 28 pictures after, compared with the 28 before.
|
||||
- v1.5.0 (*Move the chair* as `Button`): the same counts again: 646 tests, e2e 26, offline 1. The pictures were not
|
||||
retaken: the button renders the same classes and label as the markup it replaces.
|
||||
- Drills, each restored after:
|
||||
- without the credit on the garden, the credit test fails;
|
||||
- with `DomiCredit`'s link back on, it fails;
|
||||
|
||||
Reference in New Issue
Block a user