docs(examples): keep inspector copy target-oriented

Replace remaining beginner-facing wire contract wording in the inspector partial with generated target/effect vocabulary and guard against regressions.

req: dx/006

req: examples/003
This commit is contained in:
slhx agent
2026-06-02 07:30:30 +02:00
parent 795abdbc81
commit dfd8020617
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -684,7 +684,7 @@ mod tests {
assert_eq!(document.select(&selector(".inspector-row")).count(), 3);
assert!(document
.select(&selector("code"))
.any(|code| code.text().collect::<String>().contains("typed update batch")));
.any(|code| code.text().collect::<String>().contains("targets::*")));
}
// req: html_safety/002 req: view/001 req: test/005
@@ -1,4 +1,4 @@
{+= self.selected =+}
<div class="inspector-row"><b>What happened</b><br>{+ self.spotlight +}</div>
<div class="inspector-row"><b>Wire contract</b><br><code>POST __h → application/slhx → typed update batch</code></div>
<div class="inspector-row"><b>Update path</b><br><code>targets::* → tuple effects → DOM</code></div>
<div class="inspector-row"><b>Runtime</b><br>Root-scoped delegated listeners; numeric targets only.</div>
+2
View File
@@ -75,6 +75,8 @@ fn canonical_examples_do_not_author_low_level_resource_plumbing() {
"ui::put(",
"ui::append(",
"ui::replace(",
"application/slhx",
"EffectBatch",
"__h=",
"name=\"__h\"",
"name='__h'",