This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
feat(app-shell): Setup positions list shows holders and granted permission sets; whole row opens the item - #13351
Merged
Conversation
…ssion sets; whole row opens the item The position list reads GET /meta/position?include=grants and renders the served _holderCount and _grantedPermissionSets. The same-named set the position-name fold grants is marked "(by name)". A count the server did not serve reads as a dash, never 0. On every Setup metadata list, a click anywhere on a row opens the item, and the row's own controls keep their clicks. MetadataClient.list accepts include: 'grants'. Part of objectstack-ai/objectstack#25333. Claude-Session: https://claude.ai/code/session_01K9LFkQaGHiensHNgGGgKvD Co-authored-by: Claude <noreply@anthropic.com>
Contributor
✅ Console Performance Budget
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
Size Limits
|
Contributor
Author
席位核对ACCEPT ·
Generated by Claude Code |
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 free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Requested by Tesla · project thread
Part of objectstack-ai/objectstack#25333. This is the console half. The server half is objectstack-ai/objectstack#25369.
What
Setup → Positions now says who holds each position and which permission sets it grants, and the whole row opens the position.
GET /meta/position?include=grantsthrough a newlistIncluderegistry option. Holders renders the served_holderCount, and Permission sets renders the served_grantedPermissionSetsin served order. The server computes both where the authorization resolver enforces them (objectstack#25369), and the console computes neither.nulland a server that predatesinclude=grants.openRowFromClick). The first cell keeps its link for the keyboard, screen readers and opening in a new tab. These clicks do not open the row:@object-ui/data-objectstack.MetadataClient.listandlistResponseacceptinclude: 'grants'.Tests
ResourceListPage.positionGrants-25333.test.tsx(5 tests):include: 'grants', and the permission-set list (control) does not;nulland for an absent key;via: 'name'marked and declared sets unmarked;metadata-client.listInclude-25333.test.ts(3 tests): the URL with and withoutinclude, alongsidepackage.include, the list asks the plain list.check:i18n-keys,check:i18n-drift,check:i18n-dead-keys,check:new-line-citations,check:vi-mock-specifiersandcheck:test-path-roots;packages/data-objectstack/,packages/app-shell/src/views/metadata-admin/andpackages/app-shell/src/__tests__/.🤖 Generated with Claude Code
https://claude.ai/code/session_01K9LFkQaGHiensHNgGGgKvD