Files
hemx/examples/techdemo
slhx agent 062c184e42 feat(core): format generated resources for templates
Implement Display for generated slots, keyed slots, atoms, and forms so public examples can pass typed resources directly to hemplate dynamic attributes and tests instead of extracting raw numeric ids.

req: public_api/001

req: public_api/002
2026-05-26 00:39:47 +02:00
..
2026-05-11 00:06:42 +02:00

slhx full techdemo

Run:

cargo run -p slhx-techdemo

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:

  • modern SSR-first UI
  • generated resource modules from .heml
  • hemplate partials for issue lanes, cards, and inspector panels
  • native form posts carrying __h numeric handle ids
  • multi-target application/slhx EffectBatch responses
  • generated slot updates instead of selectors
  • root-scoped runtime lowering (data-hid, data-sid)
  • page-enhancer navigation with native link fallback
  • SSE server push into a generated slot
  • drag-and-drop lane moves persisted by typed server handlers through the slhx runtime
  • no user-authored browser JavaScript

Verification:

cargo test -p slhx-techdemo --test e2e
cargo test -p slhx-techdemo --test browser_e2e
mutest -p slhx-techdemo -f examples/techdemo/src/main.rs -F 'registry' -j 2 --timeout 90 -- --test e2e