Skip to content

权限集的「审阅草稿」链接打开矩阵页,但那里没有审阅面板:软件包页和聊天里的「审阅 N 处改动」点进去看不到改了什么 #37269

Backlog

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

④ sub-issue of #36890 · Source: #36903's os-dev report 7157551622 and its correction 7157568261. Seat repo:objectstack#4 accepted the EditPage carve-out on PR #37169 (7157282796); the dev's corrected recommendation is "A now, and file B". Part of #36890.

维护者速读

  • 权限集有一个「审阅草稿」的链接(地址里带 ?review=1),它会打开权限集自己的矩阵编辑页。但矩阵页上没有审阅面板,看不出这份草稿改了什么。
  • 这样的链接今天就有两处会生成:软件包页上每条草稿的「审阅」链接,和聊天里的「审阅 N 处改动」按钮。主干上也是这样,不是新问题。
  • 改法:让权限集的矩阵页认得 ?review=1,打开时显示这份草稿相对已发布版本的改动(和其他类型的审阅面板一样)。

What (measured at PR #37169's head d3e30576; re-measure on main when claimed)

  • Producers that write ?review=1 for any draft item, a permission set included:
    • ui/packages/app-shell/src/views/metadata-admin/PackagesPage.tsx:1317 (the Packages page's per-draft review link);
    • ui/packages/app-shell/src/console/AppContent.tsx:286 (the chat's 「Review N change(s)」, through setupMetadataStudioPath).
  • The target: Studio's permission-set page (StudioPermissionSetPage, the matrix, which is the type's registered EditPage), and Setup's PermissionMatrixEditPage. Neither shows a draft review today.
  • Make the matrix page honour ?review=1: show the draft's change against the published set, in the same review sheet or presentation the generic item page uses, and keep editing available.
  • Pins:
    • a permission-set ?review=1 address opens the matrix with the review shown;
    • CONTROL: without ?review=1 no review opens;
    • the flow and object review links are unchanged.

Done when

  • Both producers' links on a permission-set draft show what the draft changes.

Notes

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    First touch 2026-11-25T10:32Z. Bug: a review link that both producers write opens a page with no review. area:ux · domain:ui · p2 · S–M and pm:blocked on #36903 (PR #37169) are kept. The card is now linked under #36890, as its body says. It goes to seat 4 zone a4-U on unlock. Line form below, so the unlock scan reads it.

    Blocked-by: #36903

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uxdomain:uipm:blockedpriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions