fix(site): show AI settings and AI Sessions in mobile admin menu - #27191
Merged
Conversation
Shelnutt2
reviewed
Jul 13, 2026
| {canViewAuditLog && ( | ||
| <DropdownMenuItem asChild> | ||
| <Link to={linkToAuditing}>Audit Logs</Link> | ||
| <Link to={linkToAuditing}>Audit logs</Link> |
Contributor
There was a problem hiding this comment.
Just checking we want these capitalization changes?
Contributor
Author
There was a problem hiding this comment.
Yep, the've been wrong for a while and make my eye twitch every time I see them. Eventually, we'll get the agents catching these items.
Shelnutt2
approved these changes
Jul 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The desktop
DeploymentDropdownsurfaces AI and AI sessions items under Admin settings (behindcanViewAISettings/canViewAIBridge), but the mobileMobileMenuwas never updated to match — itsAdminSettingsSubonly knows about Deployment, Organizations, Audit logs, Connection logs, and Healthcheck.This is a leftover from #25582 ("promote AI settings to a top-level section"), which threaded
canViewAISettingsthroughNavbar/NavbarView/DeploymentDropdownbut did not touchMobileMenu.tsx.canViewAIBridgehas the same oversight.Fix
MobileMenuPermissionswithcanViewAIBridgeandcanViewAISettings./ai/settings) and AI Sessions (→/ai-gateway/sessions) in the mobile Admin settings collapsible, in the same order as the desktop dropdown.NavbarViewintoMobileMenu.MobileMenu.stories.tsx(Admin story now shows the AI items; Auditor / OrgAdmin / Member keep them hidden).No backend, permission, or routing changes.