Skip to content

Studio 菜单:组织级(~org / ~all)下「自动化」分组标题显示 0,下面却有「组织级流程」 #37211

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Part of #36890. Found on PR #37169's showcase walk and verified on main by the seat's L1 (7152310574).

What

  • On /studio/~org/metadata/flow?source=runtime, and on /studio/~all/metadata, the left menu's Automation group header shows 0 (title "0 types"). It sits directly above the group's one entry, 「Organization flows」, so a builder reads it as "nothing here".
  • Read on main 3570b814:
    • StudioMenu.tsx:204 counts only kind === 'type' entries.
    • Off a package, studioMenuData.ts:83 keeps only the environment catalog types (metadataAreaHost.ts:74: permission, position, sharing_rule, capability), so Automation has no type entry.
    • studioMenuModel.ts:126 still pushes orgFlows into the group, and :145 keeps any non-empty group.
  • This predates Studio 重构(3-1):流程设计器在元数据地址上右侧全屏打开,去掉流程左侧列表,流程类型切到新地址 #36903. Main's /studio/~org/automations shows the same 0.

Fix

The ruled menu tier (#37192 → #37201) removes group-header counts entirely (proposal §3.3). This card closes when #37201 lands, with a ~org case in StudioMenu.test.tsx asserting no count above Organization flows.

If #37201 slips, the minimal fix is to draw no count on a group that has no type entry.

Blocked-by: #37201

Activity

  1. added
    priority:p2
    pm:blocked
    domain:ui
    on Nov 25, 2026
  2. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

    Claim: PM loop round 3 (carried by #37201's PR)
    Session: session_01QSeKYkkwuF6UuFtu85Yd5H
    Account: os-justin
    Branch: claude/issue-37201-studio-menu-tiers
    Worktree: cloud session session_01QSeKYniqTW93usTV1hShjE (#37201's, claim 7169088969). No separate dispatch for this card.
    Domain: domain:ui
    Seat: repo:objectstack#4
    Area: a4-S
    File surface: none of its own. The fix is #37201's removal of group-header counts (proposal §3.3) plus the ~org case in StudioMenu.test.tsx that this card asks for, both on PR #37341.
    Container & model: M, mode:cloud, model: default — dispatch-gates.mjs --tier: "Model tier — no path-derived mandate", effort: high (#37201's container; this card adds no work)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — closed by the ruled menu tier, as the card's Fix says
    Thread-read: none
    Premise: holds. The card's own Fix says it closes when #37201 lands with a ~org pin, and PR #37341 (head ff794532) carries both: no group-header counts, and the ~org case. Its Fixes #37211 line is refused by check:closing-target-claim until this claim names its branch. The dev's open question 1 (report 7172557196): the zone ruled A.
    Pre-claim lane: repo:objectstack seat 4 zone a4-S (sub-issue of epic #36890)
    Pre-claim deps: Blocked-by #37201 — carried by the same PR, so it resolves at that merge.
    Prior rulings read: the ruled menu tier #37192 → #37201 (group-header counts removed, proposal §3.3); seat L1 7152310574.
    Serial constraints cleared: same branch as #37201; no other open PR touches the menu files.
    Size: XS.

  3. added
    pm:dispatched
    and removed
    pm:blocked
    on Nov 25, 2026
  4. removed
    pm:dispatched
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions