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 085c4dd
Browse filesBrowse the repository at this point in the historyBrowse files
fix(platform-objects): drop the ai:approvals entry — it is the AI capability's to contribute (ADR-0029 D7)
Restores platform-objects.test.ts's K2.b slot pin and the Connect-an-Agent
Setup tree count to main, removes nav_ai_approvals with its label leaves and
source hashes, and narrows the new pins to the two entries this repo ships.
Claude-Session: https://claude.ai/code/session_01DEvba2nBuD4tWzfq8r8NFY
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .changeset/20142-console-page-nav-entries.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,18 +3,17 @@
3
3
'@objectstack/plugin-audit': patch
4
4
---
5
5
6
-
fix(platform-objects,plugin-audit): Setup and Studio navigation entries for the console's Audit Log, AI Approvals and Integrations & APIs pages (#20142)
6
+
fix(platform-objects,plugin-audit): Setup and Studio navigation entries for the console's Audit Log and Integrations & APIs pages (#20142)
7
7
8
-
The console retired its System Hub card wall and its Developer Hub, which had been the only in-app links to three pages, and registered each page under a component-registry key instead. Framework navigation reaches a console page only through a `type: 'component'` item that names such a key, and no item named these three, so each page was reachable only by a typed URL. Three entries now name them:
8
+
The console retired its System Hub card wall and its Developer Hub, which had been the only in-app links to several pages, and registered each page under a component-registry key instead. Framework navigation reaches a console page only through a `type: 'component'` item that names such a key, and no item named them, so each page was reachable only by a typed URL. Two entries now name the pages whose capability ships in the open framework:
9
9
10
10
| Entry | App / group |`componentRef`| Contributed by | Gate |
11
11
| --- | --- | --- | --- | --- |
12
12
|`nav_audit_log_browser` ("Audit Log Browser") | Setup / Diagnostics, directly under Audit Logs |`audit:log`|`@objectstack/plugin-audit`| none: it lives and dies with the plugin that owns `sys_audit_log`|
13
-
|`nav_ai_approvals` ("AI Approvals") | Setup / Approvals, after the approvals engine's entries |`ai:approvals`|`@objectstack/platform-objects`|`requiresService: 'ai'`|
14
13
|`nav_integrations` ("Integrations & APIs") | Studio / Developer, after Public Forms |`developer:integrations`|`@objectstack/platform-objects`| none beyond Studio's own `studio.access`|
15
14
16
15
**Two audit entries, on purpose.** The existing Audit Logs entry (the `sys_audit_log` object view) stays. It carries the named list views, search, and the actor and tenant rendered as resolved lookups. The new page adds one filterable table whose detail drawer pretty-prints a change's before and after JSON, where the record page shows `old_value` / `new_value` as raw text. Neither surface replaces the other.
17
16
18
-
**The `ai` gate.**The `ai` service has no implementation in the open framework (it is provided by `@objectstack/service-ai` in Cloud/Enterprise), and the AI Approvals page reads only that service. So on a Community Edition runtime the entry is removed server-side, before the app metadata reaches the browser, and it appears once an `ai` service is registered.
17
+
**No entry for the console's AI Approvals page (`ai:approvals`) here.**Under ADR-0029 D7, each capability plugin contributes its own navigation entries into a Setup slot, and the Setup shell does not enumerate capability objects. The AI pending-action queue belongs to the AI capability, whose provider (`@objectstack/service-ai`) ships in Cloud/Enterprise, not in the open framework. Its entry is therefore that capability's to contribute.
19
18
20
19
The keys are the ones the console registers at the objectui commit this release's console is built from. Labels ship in all four locales (en, zh-CN, ja-JP, es-ES), with their source hashes recorded. Nothing is removed or renamed, and there is nothing to migrate.
0 commit comments