Skip to content

fix(admin): expose AI settings navigation - #346

Draft
wandaocheng1997 wants to merge 1 commit into
CoreBunch:mainfrom
wandaocheng1997:fix/ai-navigation-entry
Draft

fix(admin): expose AI settings navigation#346
wandaocheng1997 wants to merge 1 commit into
CoreBunch:mainfrom
wandaocheng1997:fix/ai-navigation-entry

Conversation

@wandaocheng1997

Copy link
Copy Markdown

What changed

  • add the capability-gated AI workspace to the shared admin navigation
  • add an AI settings command to Spotlight
  • cover visible and hidden navigation states

Why

The /admin/ai workspace existed, but authenticated users had no primary navigation entry to reach it.

User impact

Users with ai.providers.manage or ai.audit.read can reach AI settings from the toolbar and command palette. Chat-only users do not receive settings access.

Verification

  • bun test src/__tests__/admin/capabilityAwareAdmin.test.tsx
  • bun run lint
  • bun run build
  • relevant architecture tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant