feat(build): generate page-boundary helper

Expose generated ui::page as the canonical page-boundary rendering helper and move the Workout golden path and docs off beginner-visible ui::render calls.

req: public_api/002

req: codegen/002

req: canonical_authoring/006
This commit is contained in:
slhx agent
2026-06-12 07:18:38 +02:00
parent 176259afd6
commit 4a8442c5f9
5 changed files with 18 additions and 8 deletions
+3 -3
View File
@@ -99,9 +99,9 @@ persistence or cross-version addressing contract. req: abi/005
For v1, document changes in three buckets:
- **Beginner API:** generated helpers, `#[hemx::app]`, `#[hemx::component]`,
`#[hemx::handler]`, `#[hemx::form]`, `hemx::page`, tuple `IntoEffect`, and
`Result<impl IntoEffect, E>` mapping. Breaking changes require a major version
or an explicit migration note.
`#[hemx::handler]`, `#[hemx::form]`, generated page-boundary rendering, tuple
`IntoEffect`, and `Result<impl IntoEffect, E>` mapping. Breaking changes
require a major version or an explicit migration note.
- **Wire/runtime ABI:** EffectBatch schema, runtime ABI version, and fingerprint
inputs. Incompatible changes must bump ABI versions and fail closed at runtime.
- **Advanced escape hatches:** raw effects, manual registries, low-level ids,
+2 -2
View File
@@ -15,8 +15,8 @@ changes:
- `#[hemx::surface]`, `#[hemx::app]`, `#[hemx::component]`, `#[hemx::handler]`,
and `#[hemx::form]`
- generated component helpers for slots, keyed partials, forms, handles, page
targets, class tokens, and events
- `hemx::page(...)` for page-boundary rendering
targets, page-boundary rendering, class tokens, and events
- `hemx::page(...)` only at explicit server shell boundaries
- tuple `IntoEffect` composition
- `Result<impl IntoEffect, E>` handlers with `IntoHandlerFailure`
- generated form commands such as `clear`, `reset`, `error`, and `focus`