docs(requirements): split html safety row

Add explicit northstar ring fields to html_safety requirements, split SafeHtml shell and handler-helper obligations, and update beginner guidance without changing behavior.

req: html_safety/001

req: html_safety/002

req: html_safety/003

req: html_safety/004

req: html_safety/005
This commit is contained in:
slhx agent
2026-06-25 16:03:46 +02:00
parent e38867d58c
commit 5a316a33cf
3 changed files with 12 additions and 5 deletions
+2 -1
View File
@@ -49,7 +49,8 @@ For beginner and production-shaped app code, stay on this path. req: public_api/
- **Render:** hemplate renders Rust view structs into checked HTML. App code
normally reaches rendering through generated `ui::page(...)` helpers at a
server page boundary, not raw HTML construction. req: html_safety/002 req: view/001
server page boundary, with explicit `SafeHtml` only for already-rendered
fragments, not raw HTML construction. req: html_safety/002 req: html_safety/004 req: view/001
- **Slot/key:** a generated slot names the target, and a generated keyed slot
also carries the stable row key. A list target inside `h-for` must have a
stable `h-key`, so row updates are addressable without CSS selectors. req: list/001