Rework Graph page: node cards, key, toolbar bar and details card
- Custom graph nodes with identity kind tags and per-column colours; wider text, styled edge labels, "full access" for everything grants. - Filters, refresh and the key share one bar above the canvas. - Details card restructured into sections with capability chips, a collapsible policy HCL and a red Revoke button; shared CapabilityChips component. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
68e564eb6c
commit
d67a9c9b62
7 files changed
+441
-110
No files matched your search
@@ -119,7 +119,9 @@ test('node details show who reaches a path', async () => {
|
||||
const user = await open()
|
||||
await user.click(screen.getByRole('button', { name: 'node secret/data/app/*' }))
|
||||
const d = screen.getByRole('complementary', { name: 'Details' })
|
||||
expect(within(d).getByText(/envbao-user-alice \(read\): alice/)).toBeInTheDocument()
|
||||
expect(within(d).getByText('envbao-user-alice')).toBeInTheDocument()
|
||||
expect(within(d).getByText('read')).toBeInTheDocument()
|
||||
expect(within(d).getByText('alice')).toBeInTheDocument()
|
||||
})
|
||||
|
||||
test('revokes a grant from a managed policy edge', async () => {
|
||||
|
||||
Reference in new issue
Block a user