You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8af37ee
Browse filesBrowse the repository at this point in the historyBrowse files
docs(skills): teach the report-index navigation item beside the named report
A `type: 'report'` item with no `reportName` opens the app's report index
(`/reports`), and the console no longer adds an index entry itself (PR #27566),
so an app has one only where its navigation declares it. The objectstack-ui
navigation table and example, the objectui app-composition route table, and a
new objectstack-ui eval case now teach that form.
Fixes#27609
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WV4cyZb8pD9989yV2qXKE
docs(skills): objectstack-ui and objectui teach the report-index navigation item beside the named report
6
+
7
+
Clause-②: no
8
+
Metadata-protocol: none
9
+
10
+
-**Before.** The skills taught only the named report item, `{ type: 'report', reportName }`. Since PR #27566 a `type: 'report'` item with no `reportName` opens the app's report index (`/reports`), and the console no longer adds an index entry on its own, so an agent following the skills shipped an app with no report index entry.
11
+
-**Now.** The `objectstack-ui` navigation item table marks `reportName` optional and says what omitting it opens; `rules/navigation.md` shows the index entry beside the named one and says the console adds none itself; the `objectui` app-composition route table lists `{type:'report'}` → `/reports`. A new eval case (10 in `evals/views-apps-actions-pages.json`) asks for an app's report index entry and expects `{ type: 'report' }` with no `reportName`.
Copy file name to clipboardExpand all lines: skills/objectstack-ui/SKILL.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,7 +168,7 @@ second at load, per ADR-0019 (app-as-consumer-unit) D3. More audiences are
168
168
|`group`|`label`, `icon`, `expanded`, `children[]`| Collapsible group of items |
169
169
|`object`|`objectName`, `viewName?`, `recordId?`, `filters?`, `label`, `icon`| Link to an object list, a named view, a record deep-link, or a `filters` slice on the bare data surface |
170
170
|`dashboard`|`dashboardName`, `label`, `icon`| Link to a dashboard |
171
-
|`report`|`reportName`, `label`, `icon`| Link to a report |
171
+
|`report`|`reportName?`, `label`, `icon`| A report; no `reportName` = the app's report index|
172
172
|`page`|`pageName`, `label`, `icon`| Link to a custom Page |
173
173
|`url`|`url`, `label`, `icon`| External or custom URL |
174
174
|`action`|`actionDef` (`{ actionName, params? }`), `label`, `icon`| Run an action instead of navigating |
Copy file name to clipboardExpand all lines: skills/objectui/guides/app-composition.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ source of truth for that mapping.
19
19
|`{type:'object', objectName, filters}`|`/:objectName/data?filter[k]=v`| Bare data surface. No saved-view tab bar; conditions render as removable chips; full filter/sort/group toolbar; "Save as view" is the exit |
|`{type:'report'}`|`/reports`| The app's report index; none unless navigation declares it |
22
23
|`{type:'page', pageName}`|`/page/:name`| Bare SDUI rendering only -- no object shell, so view switching, actions and record routing are hand-assembled in the page schema |
23
24
|`{type:'url', url}`| external |`target` controls the tab |
24
25
|`{type:'component', componentRef, params?}`|`/component/:ns/:name?…`|`componentRef` is colon-joined (`metadata:resource`); `params` ride as querystring. `metadata:*` refs are special-cased onto the `/metadata[/:type[/:name]]` routes |
@@ -30,8 +31,7 @@ source of truth for that mapping.
30
31
31
32
- Nav items are a **discriminated union on `type`**. There is no `path` and no
32
33
`kind` — those keys are ignored by `resolveHref` and rejected/stripped at
33
-
save. Emit the typed target field for the chosen type (`objectName`,
0 commit comments