test(examples): guard low-level docs wording
Keep beginner example docs on target objects and tuple IntoEffect responses instead of runtime lowering/application wire vocabulary. req: dx/006 req: examples/003
This commit is contained in:
@@ -12,7 +12,7 @@ The example is a server-first Kanban board with:
|
|||||||
- move-left / move-right card controls
|
- move-left / move-right card controls
|
||||||
- delete-card controls
|
- delete-card controls
|
||||||
- generated target objects for checked slot updates
|
- generated target objects for checked slot updates
|
||||||
- tuple-composed `IntoEffect` / `application/slhx` responses
|
- tuple-composed `IntoEffect` responses
|
||||||
- SSE presence updates
|
- SSE presence updates
|
||||||
|
|
||||||
It intentionally uses buttons instead of custom JavaScript drag-and-drop; drag/local-first sync remain north-star features in `examples/kanban.md`.
|
It intentionally uses buttons instead of custom JavaScript drag-and-drop; drag/local-first sync remain north-star features in `examples/kanban.md`.
|
||||||
|
|||||||
@@ -9,12 +9,12 @@ Open <http://127.0.0.1:3002>.
|
|||||||
This is a polished Linear-style product demo for planning typed work across lanes. It is tailored to showcase slhx strengths:
|
This is a polished Linear-style product demo for planning typed work across lanes. It is tailored to showcase slhx strengths:
|
||||||
|
|
||||||
- modern SSR-first UI
|
- modern SSR-first UI
|
||||||
- generated resource modules from `.heml`
|
- generated target objects from `.heml`
|
||||||
- hemplate partials for issue lanes, cards, and inspector panels
|
- hemplate partials for issue lanes, cards, and inspector panels
|
||||||
- native form posts wired through generated slhx handles
|
- native form posts wired through generated form/handle resources
|
||||||
- multi-target tuple-composed `IntoEffect` / `application/slhx` responses
|
- multi-target tuple-composed `IntoEffect` responses
|
||||||
- generated slot updates instead of selectors
|
- generated slot updates instead of selectors
|
||||||
- root-scoped runtime lowering (`data-hid`, `data-sid`)
|
- root-scoped runtime application without selector lookups
|
||||||
- page-enhancer navigation with native link fallback
|
- page-enhancer navigation with native link fallback
|
||||||
- SSE server push into a generated slot
|
- SSE server push into a generated slot
|
||||||
- drag-and-drop lane moves persisted by typed server handlers through the slhx runtime
|
- drag-and-drop lane moves persisted by typed server handlers through the slhx runtime
|
||||||
|
|||||||
@@ -116,8 +116,11 @@ fn canonical_example_docs_do_not_teach_low_level_plumbing() {
|
|||||||
let examples = root.join("examples");
|
let examples = root.join("examples");
|
||||||
let forbidden = [
|
let forbidden = [
|
||||||
"generated handles and slots",
|
"generated handles and slots",
|
||||||
|
"generated slhx handles",
|
||||||
"generated handle ids",
|
"generated handle ids",
|
||||||
"numeric handle ids",
|
"numeric handle ids",
|
||||||
|
"runtime lowering",
|
||||||
|
"application/slhx responses",
|
||||||
"EffectBatch",
|
"EffectBatch",
|
||||||
"manual registry",
|
"manual registry",
|
||||||
"HandlerRegistry",
|
"HandlerRegistry",
|
||||||
|
|||||||
Reference in New Issue
Block a user