Skip to content

Commit 34bc6c6

Browse files
docs(ui): console guide names only the developer routes and pages the tree serves (#38707)
<!-- claude-projects-attribution: {"github_login":"os-steve"} --> _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi989QTdPpQXDnsMXYfukg9Sp)_ Fixes #38621 Clause-②: no Metadata-protocol: none Rule-change: none ## 维护者速读 - 用户无感:只改了界面贡献者指南里的一段说明,把已不存在的开发者首页和裸路由改成控制台实际提供的三个开发者页面。 - 为什么做:清理指南里过期的页面与路由名称,替贡献者避免照着不存在的入口去改代码。 - 出错会怎样:最坏是贡献者读到一句不准确的说明,不影响任何运行中的功能,可直接撤回。 - 要你做什么:批准这份受管指南的改动。 ## What changes Item 7 of #38621 only (items 1-6 and 8 landed in #38678). One file, `ui/.claude/skills/objectui-contributor/guides/console-development.md`: - Page tree (around line 87): `developer/` listed `DeveloperHubPage`, which is not in `ui/apps/console/src/pages/developer/` on `origin/main` 1311136. It now lists the three pages there (`ApiConsolePage`, `FlowRunsPage`, `IntegrationsPage`) and names `AgentConnectSection` as the section `IntegrationsPage` renders. - Route fragment (around line 353): `developer[/api-console | flow-runs | integrations]` offered a bare `developer` route. `AppContent.tsx` declares no bare `developer` route; its comment says a `/developer` bookmark falls through to app-shell's generic `:objectName` route, and `__tests__/AppContent.systemHubRoutes.test.tsx` ("the retired Developer Hub URL") pins that. The line now lists the three served sub-routes and says the bare segment is unrouted. - The existing `developer/public-forms -> RetiredPublicFormsRedirect` line is unchanged and still matches `AppContent.tsx` (`developer/public-forms` is routed to that redirect). No rule is added, removed or reworded; only names were corrected to what the tree serves. Read first: the one hunk at line 353, which is the only place the guide's instruction to a contributor changes wording. Two-minute check: `grep -n "path=\"developer" ui/apps/console/src/AppContent.tsx` shows four routes (`api-console`, `flow-runs`, `public-forms`, `integrations`) and no bare `developer`; `ls ui/apps/console/src/pages/developer/*Page.tsx` shows three pages and no `DeveloperHubPage`. ## Tests Docs-only change in a governed contributor guide; no code or test behaviour changed, so nothing was ablated. ## Acceptance notes - No changeset: `ui/.claude/**` ships in no package's `files[]` (fast path), so this PR carries `skip-changeset`. - Local `pnpm --dir ui exec vitest run scripts/` ran red in 22 files on this unbuilt worktree: 20 fail importing the built `@objectstack/spec` dist, and `console-optimize-deps` / `date-only-zone-pins-10183` fail on unresolvable built packages and nested suites that ran no case. None of the 22 reads this guide, so this is NOT MEASURED locally, not a verdict on the diff. The two suites that do read it (`check-skills-paths`, `check-shell-escape-residue`) passed, and their scripts exit 0 run directly. `Test UI` in CI is the reading of record. ## Verification <details><summary>Local derived gates at d64ec57</summary> `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` derived 16 commands; the 15 non-vitest ones each exited 0, including `pnpm check:nul-bytes` ("no raw ASCII control bytes"), `check-closing-keyword-parity` and its `--self-test`, and `pnpm check:pm-governed-merges`. `--ran` reconciliation: 16 of 16 accounted for. `node scripts/pm/overlap-check.mjs --branch=HEAD`: VERDICT clean exit 0. </details> --- _Generated by [Claude Code](https://claude.ai/code/session_01ADHkmQu29PQequUrXXHYMn)_ <!-- signed: repo:objectstack#3 · os-steve · session_01ADHkmQu29PQequUrXXHYMn --> Co-authored-by: Claude <noreply@anthropic.com>
1 parent 9670e99 commit 34bc6c6

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎ui/.claude/skills/objectui-contributor/guides/console-development.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ host app (see `guides/project-setup.md` → "Runtime & integration packages").
8484
apps/console/src/pages/
8585
├── auth/ # Login, register, reset/set password, verify email,
8686
│ # OAuth consent, device auth, accept invitation
87-
├── developer/ # DeveloperHubPage, ApiConsolePage, FlowRunsPage,
88-
│ # IntegrationsPage
87+
├── developer/ # ApiConsolePage, FlowRunsPage, IntegrationsPage
88+
│ # (+ AgentConnectSection, rendered by IntegrationsPage)
8989
├── settings/ # SettingsHub + SettingsView (`system/settings/:namespace`)
9090
├── system/ # Admin panel — exactly six pages
9191
│ ├── SystemHubPage.tsx # Card-based admin hub (@deprecated — see below)
@@ -350,7 +350,9 @@ for the full list and its rationale comments):
350350
```
351351
system -> SystemHubPage
352352
system/apps | profile | approvals | ai-approvals | audit-log | settings[/:namespace]
353-
developer[/api-console | flow-runs | integrations]
353+
developer/api-console | flow-runs | integrations
354+
# no bare `developer` route: it falls through to
355+
# app-shell's generic :objectName route
354356
docs[/:slug[/:name]]
355357
356358
# Legacy URLs -> the metadata-admin engine (translate the URL, don't revive the page)

0 commit comments

Comments
 (0)