Skip to content

fix(app-shell): the Studio header's More trigger keeps its own name (objectui#11794) - #12040

Merged
objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/issue-11794-more-trigger-name
Oct 9, 2026
Merged

objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/issue-11794-more-trigger-name

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Fixes #11794

Clause-②: no

The last slice of objectui#11794: item 1, which triage answered B (comment 6076172515). The maintainer's ruling on objectui#5813 item 3 stands, so More stays and Access stays inside it. What changes is the More trigger's label. It keeps the name More while one of its pillars is open, the same rule PR objectui#12028 applied to the Data pillar's Advanced trigger. Every other slice of the card has already landed or moved. Items 2, 3's search and 4 landed in PR objectui#12028, triage retired item 3's grouping, and item 5 moved to objectui#12035.

Implemented by the os-dev session https://claude.ai/code/session_01MgfduSkFrfM3eorB3UGfAU (claim comment 6076508917).

What changed

packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx, the Studio header's More popover (data-testid="studio-nav-more"):

  • The trigger always reads More (engine.studio.more). On main, while an overflow pillar was open, it read that pillar's own name (the engine.studio.pillar. key for the open tab, "Access"). That hid the word that says this control is the overflow menu.
  • The active styling stays. As on main, the trigger keeps the open-pillar classes while one of its pillars is open.
  • The menu marks the open pillar as the current page. Its router link carries aria-current="page". This mirrors what PR objectui#12028 did inside the Advanced menu, where the open panel became the checked radio item. Here the items are router links that carry the pillar dirty-guard, not menu items, and aria-current is the semantic mark for a link to the open page. The visual mark, the active classes, was already there.
  • The objectui#5813 docblock above the popover now describes the new behaviour.

Nothing else is mirrored. PR objectui#12028 did not add aria-pressed to Advanced, which already had it, so none is added to More. This PR adds no i18n key, no published prop, and no file outside the claim's surface.

Hypotheses, measured

  • H1, the label switch is the only place the trigger takes a pillar's name: holds. git grep for studio-nav-more and engine.studio.more finds one trigger and one call site. The file has three templated engine.studio.pillar. lookups. Only the trigger's ternary named the trigger; the other two label the pillar links themselves (the primary row and the menu item).
  • H2, no existing test pins the renamed label: holds. No suite asserts the trigger's text. Two suites touch the trigger: pillarNavGuard clicks it, and packageLessFlows-11553 asserts that it is absent. Both pass unchanged in the union below.
  • H3, engine.studio.more exists in every table the Studio serves: holds. The engine t() (pickTable in metadata-admin/i18n.ts) serves ENGINE_STRINGS_ZH for a zh locale and ENGINE_STRINGS_EN for every other locale. The key is in both ('More' and '更多'). It is not a packages/i18n key, and this PR adds none.
  • H4, first-load bytes stay the same: predicted here, measured by CI. The console reaches this file only through the lazy studioBuilder chunk (StudioRoute.tsx, objectui#11798), so the eager closure should not move. The budget bot's reading on this PR is the measurement.

Docs

content/docs/guide/console.md: no change. No page under content/docs describes the More menu, its trigger or its label, and neither does packages/app-shell/README.md or apps/console/README.md (checked with git grep for More, overflow and the testid). So no statement in the docs becomes false. The guide's Object design section, which describes the Advanced trigger's own-name rule, is unchanged.

Evidence

All at HEAD 095712408, with repo-root pnpm exec vitest run under the container's verify lock.

  • New pin: StudioDesignSurface.moreKeepsName-11794.test.tsx, 3 tests, on the real surface and its real Radix popover.
    • With Access open, the trigger reads More, not Access, and carries the active classes.
    • Control: with a primary pillar (Interfaces) open, the trigger reads More and has no active classes, while the Interfaces link does have them. That shows the tokens are the active marker.
    • The menu marks the open pillar. With Access open, its link has aria-current="page" and the active classes; from Interfaces, it has neither.
  • Reverse leg, run on the committed fix: main's blob of the surface (8a64971d) was checked out over it, under a trap.
    • Result: 2 of 3 red (the label pin and the menu pin), and the primary-pillar control green, as expected.
    • Restore: git checkout HEAD -- PATH. The blob is back to HEAD's 6e61ec39, and git diff HEAD is empty.
  • Union: every StudioDesignSurface* suite (73 files, enumerated with git ls-tree HEAD, the new pin included), plus column-identity.ratchet and one-authority-per-exported-name-6273.
    • Batch 1: Test Files 37 passed (37), 175 tests.
    • Batch 2: Test Files 38 passed (38), 329 tests.
    • All 23 suites that render the full surface (found by git grep) are in this set.
  • Gates:
    • pnpm --filter @object-ui/app-shell type-check, after building the dependency closure (turbo, Tasks 28 successful): exit 0. tsconfig.test.json --listFilesOnly lists the new pin.
    • pnpm exec eslint on the two touched ts/tsx files: 2 files, 0 errors. There are 13 warnings, none in a changed hunk and none in the new pin.
    • Each exits 0: check-changeset-presence, check-changeset-no-major, check:new-line-citations (0 new), check:control-bytes, check:i18n-keys, check:i18n-dead-keys (no pillar or More key among the candidates), check:vi-mock-specifiers, check:vi-mock-inherit, check:vi-mock-override-shape, check:test-path-roots, check:changeset-claims, check:pending-changeset-literals and check:unreferenced-sources.

Acceptance notes

  • In the header row, the primary pillar links mark the open pillar only with the active classes, not with aria-current. Only the menu item carries it now. This is left alone because it is outside the claim and nothing is wrong when you use it. Carrier: none.
  • The More trigger has no programmatic state that says one of its pillars is open. The Advanced trigger has aria-pressed, which predates PR objectui#12028. None is added here, per the mirror-only rule; a screen reader finds the open pillar inside the menu.
  • Changeset: .changeset/11794-more-trigger-name.md, @object-ui/app-shell: patch.

Generated by Claude Code

…objectui#11794)

While an overflow pillar (Access) was open, the More trigger renamed
itself to that pillar, hiding the word that says the control is the
overflow menu. It now always reads More, the rule the Data pillar's
Advanced trigger follows. The trigger keeps the active pillar styling
while one of its pillars is open, and the open pillar's link inside the
menu carries aria-current="page".

Claude-Session: https://claude.ai/code/session_01MgfduSkFrfM3eorB3UGfAU
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 289 chunks) 3162.5 KB 3204.6 KB
Main entry chunk (gzip) 71.6 KB 350 KB
Entry file index-D0eSeKEm.js —
Status PASS —

The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it.


📦 Bundle Size Report

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 19.52KB 7.19KB
app-shell (runtime-config.js) 22.59KB 7.89KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.11KB 3.87KB
auth (ActiveOrganizationStorage.js) 27.95KB 10.04KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.22KB 10.61KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.40KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.72KB 2.24KB
auth (SocialSignInButtons.js) 9.70KB 3.93KB
auth (UserMenu.js) 3.39KB 1.21KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 41.19KB 11.12KB
auth (createAuthenticatedFetch.js) 8.54KB 3.46KB
auth (index.js) 3.63KB 1.64KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 11.08KB 4.58KB
collaboration (CommentThread.js) 27.11KB 7.97KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.28KB 2.60KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.50KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 587.83KB 141.44KB
core (index.js) 10.00KB 3.96KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 240.39KB 67.09KB
fields (index.js) 268.74KB 68.04KB
i18n (LocalizationContext.js) 2.92KB 1.42KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 2.59KB 1.22KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 8.87KB 3.64KB
i18n (index.js) 5.52KB 2.39KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 39.35KB 12.88KB
i18n (translateFn.js) 0.20KB 0.18KB
i18n (useDisplayLocale.js) 3.52KB 1.76KB
i18n (useObjectLabel.js) 36.87KB 9.88KB
i18n (useSafeTranslation.js) 7.14KB 2.92KB
layout (index.js) 41.50KB 11.82KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 6.62KB 2.45KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 5.52KB 2.10KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.86KB 5.00KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.52KB 2.26KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.33KB 3.07KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 16.04KB 3.92KB
plugin-calendar (index.js) 53.43KB 15.54KB
plugin-charts (index.js) 84.71KB 23.25KB
plugin-chatbot (index.js) 201.52KB 47.99KB
plugin-dashboard (index.js) 144.20KB 38.95KB
plugin-designer (index.js) 233.53KB 49.80KB
plugin-detail (index.js) 248.57KB 65.47KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 177.11KB 45.88KB
plugin-gantt (index.js) 179.17KB 45.07KB
plugin-grid (index.js) 249.62KB 69.16KB
plugin-kanban (index.js) 52.77KB 16.56KB
plugin-list (index.js) 120.25KB 30.26KB
plugin-map (index.js) 27.24KB 9.03KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 44.12KB 12.29KB
plugin-timeline (index.js) 39.10KB 11.81KB
plugin-tree (index.js) 15.07KB 5.33KB
plugin-view (index.js) 91.20KB 23.04KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.81KB 3.58KB
providers (index.js) 0.45KB 0.23KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.62KB 2.34KB
react (LazyPluginLoader.js) 4.47KB 1.63KB
react (SchemaRenderer.js) 120.63KB 39.56KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.50KB 2.06KB
react (schema-input.js) 4.31KB 2.07KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (body-dialect.js) 4.50KB 1.99KB
sdui-parser (codegen.js) 9.45KB 3.76KB
sdui-parser (dashboard-widget-options.js) 3.07KB 1.30KB
sdui-parser (index.js) 7.30KB 3.12KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.84KB 1.90KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 23.87KB 7.83KB
types (ai.js) 4.39KB 2.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 4.12KB 1.61KB
types (authoring-nodes.js) 0.20KB 0.19KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (cloud.js) 0.20KB 0.18KB
types (complex.js) 4.44KB 2.07KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (dashboard-widget-layout.js) 2.06KB 0.96KB
types (data-display.js) 3.75KB 1.85KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.85KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (expression.js) 0.20KB 0.18KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 1.13KB 0.65KB
types (form.js) 0.20KB 0.18KB
types (http-inflight.js) 8.87KB 3.73KB
types (http-retry.js) 4.32KB 2.02KB
types (icon-key-migration.js) 4.26KB 1.63KB
types (index.js) 5.78KB 2.70KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 5.00KB 2.39KB
types (navigation.js) 0.20KB 0.18KB
types (node-slots.js) 7.18KB 2.34KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 2.52KB 1.31KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (select-option.js) 0.20KB 0.19KB
types (spec-report.js) 4.99KB 1.96KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 19.93KB 7.25KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.11KB 3.32KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review October 9, 2026 08:08
@objectstack-fleet
objectstack-fleet Bot enabled auto-merge October 9, 2026 08:08
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Oct 9, 2026
Merged via the queue into main with commit 8de8ba2 Oct 9, 2026
45 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-11794-more-trigger-name branch October 9, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

2 participants