Skip to content

feat: add mobile bottom navigation bar#771

Open
nimish-ks wants to merge 2 commits intomainfrom
feat/mobile-bottom-nav
Open

feat: add mobile bottom navigation bar#771
nimish-ks wants to merge 2 commits intomainfrom
feat/mobile-bottom-nav

Conversation

@nimish-ks
Copy link
Member

@nimish-ks nimish-ks commented Feb 14, 2026

Summary

  • On narrow screens (<768px), the sidebar is hidden and replaced with a fixed bottom navigation bar showing the same 5 nav icons (Home, Apps, Integrations, Access Control, Settings) — similar to how Twitter/X handles mobile navigation.
  • The layout grid columns and dividers are made responsive (md: prefixed) so the content area takes full width on mobile.
  • Bottom padding is added to the content area on mobile to prevent content from being hidden behind the bottom nav bar.

Screenshots

Before:

image

After:

image

Limitations:

  • Current there is no organization indicator or switcher in the mobile view navbar

Test plan

  • Resize browser below 768px and verify the sidebar disappears and a bottom nav bar appears
  • Verify all 5 navigation links work correctly from the bottom nav
  • Verify active state highlighting works on the bottom nav icons
  • Resize above 768px and verify the normal sidebar returns
  • Verify no layout shift or overlap issues on mobile
  • Test on actual mobile device / device emulation in DevTools

Made with Cursor


Note

Low Risk
Purely UI/layout changes (responsive classes and navigation presentation) with no auth/data flow changes; main risk is unintended overlap/spacing issues on small screens.

Overview
Adds a responsive navigation experience: the existing sidebar now renders only on md+ screens, while md:hidden mobile view gets a fixed bottom icon nav with active-state highlighting.

Updates the team layout.tsx grid/divider classes to be md:-scoped so content uses full width on mobile, and adds mobile-only bottom padding (pb-14 md:pb-0) to prevent page content from being hidden behind the bottom nav.

Written by Cursor Bugbot for commit 0a5d9e2. This will update automatically on new commits. Configure here.

On narrow screens (<768px), hide the sidebar and show a fixed bottom
navigation bar with the same nav icons, similar to Twitter/X mobile UI.
The layout grid and dividers are made responsive so content takes full
width on mobile, with bottom padding to avoid overlap with the nav bar.

Co-authored-by: Cursor <cursoragent@cursor.com>
@nimish-ks nimish-ks self-assigned this Feb 14, 2026
)}
>
{link.icon}
</Link>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No organization switching capability on mobile

High Severity

The mobile bottom navigation displays only the five main navigation links but omits the OrgsMenu component that enables switching between organizations. Users with multiple organizations have no way to switch between them when accessing the application on mobile devices (screens below 768px), creating a critical functional gap. The OrgsMenu is only rendered in the desktop sidebar at line 264.

Fix in Cursor Fix in Web

Added title and aria-label attributes to sidebar link components for improved accessibility, ensuring better screen reader support and user experience.
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

</div>

{/* Mobile bottom navigation */}
<nav className="fixed bottom-0 left-0 right-0 z-50 md:hidden border-t border-neutral-300 dark:border-neutral-800 bg-neutral-100 dark:bg-neutral-900">
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mobile nav z-index renders above modal dialogs

Medium Severity

The new mobile bottom nav has z-50, but UnlockKeyringDialog (and likely other HeadlessUI dialogs) use z-10. Since the grid container creates no intermediate stacking context and HeadlessUI's Dialog renders via a Portal to document.body, these z-indices are compared at the root level. The bottom nav bar will visually appear on top of the dialog overlay and backdrop on mobile, breaking the modal experience and potentially allowing users to tap nav links through the modal.

Fix in Cursor Fix in Web

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