From 816552e7354cd4bc07cac1e5862fb7dc934eac1b Mon Sep 17 00:00:00 2001 From: slhx agent Date: Mon, 11 May 2026 07:59:32 +0200 Subject: [PATCH] feat(runtime): support slhx drag drops req: htmx_equivalents/002 req: dx/008 req: list/003 req: examples/001 --- examples/techdemo/README.md | 2 +- examples/techdemo/src/main.rs | 37 +++---------------- .../templates/partials/issue_card.heml | 2 +- .../templates/partials/issue_lane.heml | 2 +- slhx-js/runtime/slhx.js | 22 +++++++++-- slhx-js/tests/runtime.rs | 12 ++++++ 6 files changed, 39 insertions(+), 38 deletions(-) diff --git a/examples/techdemo/README.md b/examples/techdemo/README.md index 4e1c86d..0e79b6c 100644 --- a/examples/techdemo/README.md +++ b/examples/techdemo/README.md @@ -17,7 +17,7 @@ This is a polished Linear-style product demo for planning typed work across lane - 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 +- drag-and-drop lane moves persisted by typed server handlers through the slhx runtime Verification: diff --git a/examples/techdemo/src/main.rs b/examples/techdemo/src/main.rs index 753027e..965d9e9 100644 --- a/examples/techdemo/src/main.rs +++ b/examples/techdemo/src/main.rs @@ -367,44 +367,17 @@ fn shell(body: String) -> String { slhx Techdemo diff --git a/examples/techdemo/templates/partials/issue_card.heml b/examples/techdemo/templates/partials/issue_card.heml index ec2edb1..203487f 100644 --- a/examples/techdemo/templates/partials/issue_card.heml +++ b/examples/techdemo/templates/partials/issue_card.heml @@ -1,4 +1,4 @@ -
+
{+ self.title +}{+ self.stage +}
diff --git a/examples/techdemo/templates/partials/issue_lane.heml b/examples/techdemo/templates/partials/issue_lane.heml index 0203320..5b07665 100644 --- a/examples/techdemo/templates/partials/issue_lane.heml +++ b/examples/techdemo/templates/partials/issue_lane.heml @@ -1,4 +1,4 @@ -
+

{+ self.title +}

{+ self.description +}