Repository navigation
Backlog
Labels
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatpm:blockedBlocked by another issue/PR — body carries Blocked-by: #Npriority:p2Medium: important, M3
Description
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Part of #36890. Ruling: #37192, comment 7151834490. Proposal: 7151777190 §3.3, §3.5–§3.9, §6 risks. The maintainer asked for this to be dispatched first.
What
buildStudioMenuorders each group by the M2 placement table and stampstieron each entry.- The four non-type entries get their tier and position in the same function: 组织级流程, 诊断, 默认共享 and 环境 all go to 高级.
- 常用 types are always listed on a package, whether they hold items or not. The
alwayslist becomes the 常用 types.- This also fixes a gap: today a new package shows no 应用, 页面, 仪表盘 or 报表 entry.
StudioMenu.tsxchanges how the menu is drawn:- Group labels become small and muted, with no count and no link.
- Entry counts are muted and mean items only.
- An empty 常用 type is dimmed, shows no number, and stays a link.
- A group label is drawn only where the group has an entry in that tier.
- The 「高级」 fold sits below a divider:
- Closed by default.
- Remembers its state per browser, in the cookie
studio_menu_advanced. - Opens itself when the current page is one of its entries, without writing the cookie.
- Search ignores the fold.
- It is a button with
aria-expandedandaria-controls.
~organd~allhave no fold: the same labels, muted counts and table order, drawn flat.- ⌘K follows with no change to its model. It reads
buildStudioMenu's output and ignores the fold. - New i18n keys go in
ui/packages/i18n/src/namespaces/studio/{en,zh}.ts. Add keys only; remove none.
Done when
- Every point above is pinned by a test that goes red on revert. That includes the self-opening fold on a bookmark to a 高级 type, and the always-listed empty 常用 types.
studioMenuModel.test.ts:64("all six groups, an empty one included") is rewritten on purpose.- No route, address, entry key or entry test id changes. Only the group-count test id goes.
- "Empty" means the sweep answered with none, not that the sweep has not answered yet (
settled). - A browser walk-through on showcase covers:
- package scope, with 高级 closed and open;
- a bookmark to 钩子;
- a new empty package;
~org.
Notes
- Waits for the three designer PRs: feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168, feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) #37169 and feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089 all edit
studioMenuModel.tsand its test. feat(studio): remove the Studio home; /studio opens the last package or Setup > Packages #37166 overlaps only on the i18n files. - Size M.
- The follow-up decision cards from proposal §3.10 are filed when this card lands:
- F1: views on the object.
- F2: mappings in the object's import.
- F3: the first item of a 高级 type.
Blocked-by: #37168
Metadata
Metadata
Assignees
Labels
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatpm:blockedBlocked by another issue/PR — body carries Blocked-by: #Npriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 25, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Unlocked 2026-11-25T09:32Z. PR #37168 (the object designer at its metadata address) merged.
pm:blocked→pm:queue. Goes to seat 4 (ux, #36890). #37211 (the 「自动化」 header showing 0) closes with this card.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H
Back to blocked · 2026-11-25T09:36Z · zone a4-S
Blocked-by: #37169
studioMenuModel.tsand its test.ui/packages/app-shell/src/views/studio-design/studioMenuModel.tsandstudioMenuModel.test.ts, plus the studioen.ts/zh.tscatalogues. This card rewritesbuildStudioMenuandstudioMenuModel.test.ts:64. Starting it now would build on a menu model that feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) #37169 is about to change, and the two would conflict.pm:queue. The zone claims it and dispatches it to its own cloud session, with feat(studio): one table holds the menu's type order and its 常用 / 高级 tier #37232's L1 N1 carried in the brief: the placement table's## Pinsdoc comment names all three pins, and its present tense is fixed.