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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user