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
fix(setup): first-run admin polish — nav pin, widget service-gate, i18n, settings PUT envelope (#2249)
Dogfooding the Setup app as a brand-new system administrator surfaced a
cluster of small first-run gaps. This fixes the bounded ones (larger
gaps tracked in #2246):
- Pin Localization + Company in the Setup sidebar (were reachable only
via the All Settings hub despite being the two lowest-order Workspace
settings).
- Extend the ADR-0057 D10 server-side visibility gate to dashboard
widgets: rest-server strips widgets whose requiresService names an
unregistered kernel service. Removes the orphan "Organizations" KPI in
single-tenant runtimes, matching the already-hidden org nav entries.
- i18n: translate nav labels Cloud Connection (云连接), Datasources
(数据源), Capabilities (能力); add missing zh help for the Localization
settings fields.
- settings: PUT /api/settings/:ns now also accepts the { values: {...} }
envelope that GET returns (symmetry).
Tests: service-settings 128 green (+2), rest 133 green (+6). All fixes
browser-verified on the showcase example.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
fix(setup): first-run admin polish — pin Company/Localization, gate dashboard widgets by `requiresService`, i18n + settings PUT envelope
8
+
9
+
Dogfooding the Setup app as a brand-new system administrator surfaced a cluster of small first-run gaps, now fixed:
10
+
11
+
-**platform-objects**: pin **Localization** and **Company** in the Setup sidebar's Configuration group — both are registered `service-settings` manifests (the two lowest-`order` Workspace settings) but were reachable only via the "All Settings" hub. Translate the previously-English nav labels Cloud Connection (云连接), Datasources (数据源) and Capabilities (能力). Tag the System Overview `widget_organizations` KPI with `requiresService: 'org-scoping'`.
12
+
-**rest**: extend the ADR-0057 D10 server-side visibility gate to **dashboard widgets** — strip widgets whose `requiresService` names an unregistered kernel service (mirrors the existing app-nav gate; `resolveRegisteredServices` now also discovers gates declared on widgets). In a single-tenant runtime this removes the orphan "Organizations" KPI, matching the already-hidden org nav entries.
13
+
-**service-settings**: add the missing zh `help` strings for the Localization manifest (number/currency/first-day-of-week/fiscal-year fields), and accept the `{ values: { … } }` envelope on `PUT /api/settings/:ns` symmetrically with what `GET` returns.
0 commit comments