Uh oh!
There was an error while loading. Please reload this page.
feat(access): Studio permission matrix — first screen sees the matrix (#2600 B1) - #2649
Merged
Merged
Conversation
…nt capabilities so the matrix hits the first screen (#2600 B1) The Access pillar is called "Permission Matrix", but the editor opened with a name/label form plus the capability picker's option chips, pushing the matrix below the fold. Two low-frequency, high-chrome sections now start collapsed: - Identity (name/label) collapses to a one-line summary (label · provenance · default/read-only badges) and expands on click. The api-name already lives in the PageShell breadcrumb, so the summary carries the human label only. - System capabilities: a zero-grant WRITABLE set rendered every option as an outline chip, which read as already-owned. It now shows an explicit "none granted · add" affordance; granted sets and read-only sets keep the inline picker as before. Read-only packages, the dirty/guard contracts (#2588/#2606), the history sheet and breadcrumb (#2599) are all unaffected. Adds PermissionMatrixEditor.basics.test.tsx and updates the settle points of the existing matrix/guard suites (identity is now summary text, not an input). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
✅ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Issue #2600 · B1 (设计迭代 · 首屏见矩阵) — the Access pillar is called 权限矩阵 (Permission Matrix), but the editor opened with a name/label form plus the system-capability picker's option chips, pushing the matrix header a screen-and-a-half down. This collapses the two low-frequency, high-chrome sections so the matrix reaches the first screen.
Changes
label · provenance · default/read-only badges), expands on click. The api-name already sits in the PageShell breadcrumb (font-mono), so the summary carries the human label only — no duplication.系统能力 · 无附加系统能力 · + 添加能力; the picker opens on demand. Granted sets and read-only sets keep the inline picker unchanged.Not touched: the read-only lock (#2570), the dirty-nav guards (#2588/#2606), the history sheet + breadcrumb (#2599).
Verify
Live walkthrough on a real showcase backend (writable
com.example.writabletest+ read-onlycom.example.showcase):Tests
PermissionMatrixEditor.basics.test.tsx(collapse default / expand identity / zero-grant capability collapse / granted stays inline).PermissionMatrixEditor*+StudioDesignSurface.accessGuard+StudioDesignSurface.pillarNavGuard+ OWD/emptyPackage/scope: 58 tests green.🤖 Generated with Claude Code