- 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>
25 lines
725 B
TypeScript
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
|