[docs] Domi UI: what comes from @domi/ui, the seals, the Nix blocker, Atrium (Ianitor is free)

This commit is contained in:
2026-11-22 23:24:04 +01:00
parent afade6d98c
commit e02819d51e
5 changed files with 110 additions and 1 deletions
+16
View File
@@ -170,6 +170,22 @@ Identity gate, tunnel, Domi templates, ACME server, HTTP/3, migrating public sit
## 10. Handover
(Rewritten at the end of every session: what changed, what was not verified, which build is deployed, the next step.)
**2026-11-22: the web UI on @domi/ui, the shared Domi design system (docs/domi-ui.md). Open as a PR, not merged.**
- **Changed:** `@domi/ui` v1.0.0 pinned by tag in apps/web and packages/ui; its fonts, roles (`data-domi-room="ianitor"`,
the same hex) and controls replace Ianitor's copies. Buttons are its Button through Ianitor's adapter (desktop sizes
kept); every text field is its TextField with a seal; checkboxes, the secret picker and segmented controls are its
components. Ianitor's 22 role names are renamed to `--domi-*`; its own tokens and components stay in packages/ui.
Disabled buttons are natively disabled now (their reasons are visible text). A types-only shim covers
@domi/ui's Strike.svelte until it is fixed upstream.
- **Tests:** vitest 21; svelte-check clean; Playwright web 6/6 (the Apply lookup is exact now), aula 5/5; 13 screens
compared before and after (in the PR). No Rust change.
- **Deployed:** nothing.
- **Blocker (Mark):** domi-design is private, and the Nix build fetches pnpm dependencies without credentials, so
`nix build .#ianitor` would fail. Either Gitea serves domi-design to anonymous readers (as domi-pki), or Ianitor
vendors the tagged files. Then update `fetchPnpmDeps`'s hash in deploy/nixos/web.nix and merge.
- **Not verified:** the Nix build; Fabrica's runners installing @domi/ui; a phone (the 48 px touch sizes).
**2026-11-22: Phase 4, hardening and release.**
- **Changed:**
- Edge: a 60 s header deadline (slowloris), lookups on its own bounded resolver threads with one lookup per name, pipelining on both listeners, a proxy socket (`/run/ianitor-proxy/edge.sock`, sticky 3770) on which edge trusts Caddy's X-Forwarded-For, and `unix:` upstreams with a strict charset.