Rework Secrets page into browser and detail panes
- Two panes: folder browser on the left, access detail card on the right, so selecting a secret no longer shifts the page. Stacks on narrow screens. - Mount is the first crumb; the mount dropdown only shows with several engines. - Drop emoji for chevrons; capability chips, red for delete/sudo; identity type tags; root token collapsed to "full access". Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fbe9cc9262
commit
68e564eb6c
4 files changed
+180
-61
No files matched your search
@@ -66,7 +66,8 @@ test('navigates folders and shows who can reach a secret', async () => {
|
||||
const panel = await screen.findByRole('region', { name: 'Access' })
|
||||
const row = (await within(panel).findByText('alice')).closest('tr')!
|
||||
expect(within(row).getByText('app-rw')).toBeInTheDocument()
|
||||
expect(within(row).getByText('read, update')).toBeInTheDocument()
|
||||
expect(within(row).getByText('read')).toBeInTheDocument()
|
||||
expect(within(row).getByText('update')).toBeInTheDocument()
|
||||
expect(within(panel).queryByText('bob')).not.toBeInTheDocument()
|
||||
expect(within(panel).getByText('secret/data/app/db')).toBeInTheDocument()
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user