From bd48a690c23462cc344311e7d87b2f7ff8faaf67 Mon Sep 17 00:00:00 2001 From: Jaime Still Date: Tue, 1 Dec 2026 10:50:16 -0500 Subject: [PATCH] Retro: STANDARDS.md points to the web-elemental pages Points to stable-layout, app-keys, and dialog-focus, and cuts what they now state: the Design list's "nothing shifts layout as data arrives" clause and the Layers list's key-binding line. --- STANDARDS.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/STANDARDS.md b/STANDARDS.md index 3c40236..d4a047b 100644 --- a/STANDARDS.md +++ b/STANDARDS.md @@ -20,6 +20,13 @@ The architecture pages that apply, in the architecture repository: - `architecture/principles/agent-separation.md`: the agent area in `.agent/`, the task layout in `mise-tasks/` and `.agent/mise-tasks/`, the agent profile in `mise.agent.toml`, and `MISE_ENV=agent` in the Claude settings' `env`. +- `architecture/standards/web-elemental/principles/stable-layout.md`: nothing shifts layout as data + arrives, and a value, such as a size, a clock, or a media type, breaks only between its segments. +- `architecture/standards/web-elemental/principles/app-keys.md`: no component binds a key; only the + app binds keys. +- `architecture/standards/web-elemental/principles/dialog-focus.md`: `sl-drawer` opens on its + heading, and `sl-settings` focuses its checked radio unless its dialog marks something + `autofocus`. ## Design @@ -28,8 +35,8 @@ The architecture pages that apply, in the architecture repository: themes give them. - A component is finished in every state it can show (empty, loading, streaming, error, long content, narrow width) and in every profile, light and dark, regular and compact. -- Focus is always visible, and nothing shifts layout as data arrives. Motion is brief, or a quiet - loop that signals ongoing work and ends with it; all of it honours reduced motion. +- Focus is always visible. Motion is brief, or a quiet loop that signals ongoing work and ends with + it; all of it honours reduced motion. - A component sizes to its content in any parent, a shrink-to-fit one too: no container query or containment on the host, and none that sets the component's width. An inner element may query the width the component already has. @@ -52,7 +59,6 @@ The architecture pages that apply, in the architecture repository: - A component takes its data as its own properties, emits events, and imports no SDK or domain code; wiring lives in the app (`architecture/principles/downward-dependencies.md`). -- No component binds a key; only the app binds keys. ## Code