Files
envbao-admin/src/App.tsx
T
mattandClaude Sonnet 5.5 0a2054eb41
CI / integration (push) Successful in 12s
CI / check (push) Successful in 15s
Polish pass: identity forms, confirm dialogs, policy chips, merged grants, narrow screens
- Tokens: bigger show-once token with primary Copy; warn when no policies are
  selected (OpenBao then inherits the creator's policies).
- Identity forms get headings, wider cards and two-column policy lists.
- Replace window.confirm with an in-app confirm dialog (falls back to
  window.confirm without a provider).
- Show policies, aliases and members as chips in the identity tables.
- Access panel: one row per secret instead of separate data/metadata rules.
- Stack graph details below 60rem; phone-width rules for tables, nav, toolbar.
- New favicon and page title; label the root "*" path as "everything".

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 12:48:13 +01:00

25 lines
725 B
TypeScript

import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
import { createBrowserRouter, RouterProvider } from 'react-router'
import { SessionGuard } from './api/SessionGuard'
import { SessionProvider } from './api/session'
import { ConfirmProvider } from './features/shared/ConfirmProvider'
import { routes } from './routes'
const queryClient = new QueryClient()
const router = createBrowserRouter(routes)
function App() {
return (
<QueryClientProvider client={queryClient}>
<SessionProvider>
<ConfirmProvider>
<SessionGuard />
<RouterProvider router={router} />
</ConfirmProvider>
</SessionProvider>
</QueryClientProvider>
)
}
export default App