Commit cb5ec5a
Document webframe navigate action (#1230)
* Document page and visitor context in webframes
Add the site:page:context scope (and the previously undocumented site:visitor:claims) and document that webframes receive state.page ({ id, path, title }) and state.visitor through the postMessage state, in the interactivity guides and the ContentKit component reference.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* Drop page-context scope from docs; document webframe navigate
Per review, the current page is exposed to webframes without a dedicated scope, so remove site:page:context from the scopes list and reword the interactivity and reference docs (page is always available; visitor claims still need site:visitor:claims). Also document the @webframe.navigate action for navigating to another page in the site.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* Clarify webframe navigate resolves at the site level
The @webframe.navigate path is resolved relative to the site root, so it can target any section or space.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* Document navigating a webframe by pageId or path
Update the `@webframe.navigate` docs to reflect that a destination can be
addressed by `pageId` (recommended, resolved against the site's page tree)
or by `path`, with an optional `anchor`.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Scope webframe docs to navigation by path
Drop the page/visitor context and pageId documentation; document only the
`@webframe.navigate` action with a `path` (and optional `anchor`).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent b571923 commit cb5ec5a
3 files changed
Lines changed: 30 additions & 0 deletions
File tree
- docs/integrations
- contentkit
- development/contentkit
- guides
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
94 | 108 | | |
95 | 109 | | |
96 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| 267 | + | |
| 268 | + | |
267 | 269 | | |
268 | 270 | | |
269 | 271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
98 | 112 | | |
99 | 113 | | |
100 | 114 | | |
| |||
0 commit comments