feat!: useShapeQuery prend le Scope du SDK, et un store se nomme par sa reference

This commit is contained in:
Sylvain Duchesne
2026-09-16 16:47:09 +02:00
parent ee9319f89b
commit d0ca5c5d41
31 changed files with 812 additions and 291 deletions
+6 -2
View File
@@ -561,8 +561,12 @@ async function signIn(ctx: BrowserContext, appUrl: string, id: string): Promise<
// ── the acts, expressed as the application expresses them ───────────────────
/**
* Show the notes of `scope` — the list is per-scope, so acting on a note means looking at
* the right shelf first.
* Choose a shelf, and wait for the list to settle.
*
* The shelf decides where the NEXT note is written and nothing else: since `1.0.0-dev.5`
* a read cannot be scoped by store — the SDK has no way to say it and neither has this
* package — so the application lists every note its identity holds, whatever shelf it went
* to. Selecting one still re-renders, which is what the wait below is for.
*
* The wait is not decoration: the application's `change` handler runs `void refresh()`,
* un-awaited, so reading `textContent` straight after `selectOption` reads the PREVIOUS