Files
hemx/examples/techdemo/README.md
T
slhx agent d4e865ef92 feat(api): streamline generated app authoring
Move the canonical examples toward generated component-root helpers, typed form decoding, async/state handler registration, and derive-driven app/component registry wiring. Tighten requirements and diagnostics for the server-first, selectorless authoring path.

Verified with cargo run -p slhx-xtask -- test, cargo check --workspace, redgate list, redgate refs, redgate health --strict, and git diff --check.

req: canonical/001

req: canonical/003

req: canonical/004

req: dx/002

req: derive_app/001

req: component/003

req: form/004

req: axum_integration/003
2026-06-05 06:33:41 +02:00

1.2 KiB

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 target objects from .heml
  • hemplate partials for issue lanes, cards, and inspector panels
  • native form posts wired through generated form/handle resources
  • multi-target tuple-composed IntoEffect responses
  • generated slot updates instead of selectors
  • root-scoped runtime application without selector lookups
  • 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
  • an explicit advanced opaque canvas island fed by a generated event helper, without teaching slhx core about the widget
  • no user-authored browser JavaScript in slhx-managed UI; the island JavaScript is a leaf-widget escape hatch

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