From f1adb2c39df1302ab006987f5d6d8d9e3eee9351 Mon Sep 17 00:00:00 2001 From: os-zhuang Date: Fri, 3 Jul 2026 13:19:39 +0800 Subject: [PATCH] feat(setup): Packages entry in Setup's Apps group MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package administration is an operator concern (ADR-0084: packages are Operate, out of the builder) — give it a home in Setup: group_apps gains a Packages entry bound to the console's existing developer:packages page, alongside the capability-plugin marketplace entries. Building apps is a separate journey (Home builder cover → /studio; objectui#2176). Browser-verified: Setup › Apps shows Packages · Browse Marketplace · Installed Apps · Cloud Connection; the Packages page renders (list + New Package). platform-objects tests 63/63 green. Co-Authored-By: Claude Opus 4.8 --- .changeset/setup-packages-nav.md | 11 +++++++++++ .../src/apps/setup-nav.contributions.ts | 16 +++++++++++++--- 2 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 .changeset/setup-packages-nav.md diff --git a/.changeset/setup-packages-nav.md b/.changeset/setup-packages-nav.md new file mode 100644 index 0000000000..f50beec96b --- /dev/null +++ b/.changeset/setup-packages-nav.md @@ -0,0 +1,11 @@ +--- +"@objectstack/platform-objects": patch +--- + +feat(setup): Packages entry in Setup's Apps group + +Package administration (install / inspect / manage) is an operator concern +(ADR-0084: packages are Operate, out of the builder), so it gains a home in the +Setup app: `group_apps` now carries a **Packages** entry bound to the console's +existing `developer:packages` page. Building apps remains a separate journey +(the Home builder cover → `/studio`); this entry is for administration. diff --git a/packages/platform-objects/src/apps/setup-nav.contributions.ts b/packages/platform-objects/src/apps/setup-nav.contributions.ts index adaeab8846..876b10969b 100644 --- a/packages/platform-objects/src/apps/setup-nav.contributions.ts +++ b/packages/platform-objects/src/apps/setup-nav.contributions.ts @@ -38,9 +38,19 @@ export const SETUP_NAV_CONTRIBUTIONS: NavigationContribution[] = [ { id: 'nav_system_overview', type: 'dashboard', label: 'System Overview', dashboardName: 'system_overview', icon: 'activity' }, ], }, - // No group_apps contribution left here — both marketplace entries moved - // out (see header note); the group_apps shell anchor in setup.app.ts is - // filled entirely by capability plugins now. + { + // Package ADMINISTRATION is a platform/operator concern (ADR-0084: + // packages are Operate, out of the builder) — so its home is Setup, not + // the application builder. The console binds `developer:packages` to the + // existing package-management page. Building/creating apps is a separate + // journey (Home cover → /studio); this entry is for install/inspect/admin. + app: 'setup', + group: 'group_apps', + priority: BASE_PRIORITY, + items: [ + { id: 'nav_packages', type: 'component', label: 'Packages', componentRef: 'developer:packages', icon: 'package' }, + ], + }, { app: 'setup', group: 'group_people_org',