-
Notifications
You must be signed in to change notification settings - Fork 60
[#334] Fix mobile admin menu overflow and remove deprecated email button. #356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
📝 WalkthroughWalkthroughRemoved the Email system item from navigation (menu and admin page) and constrained the dropdown menu container height with responsive max-height and vertical scrolling to prevent overflow on smaller viewports. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Suggested labels
🚥 Pre-merge checks | ✅ 4 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR addresses issue #334 where the admin user dropdown menu on mobile could overflow the viewport and become unusable, and it also removes the deprecated “Email” entry from the user dropdown menu.
Changes:
- Constrained the user dropdown menu height using
max-heightand enabled vertical scrolling for overflow. - Removed the deprecated “Email” menu item from the
systemItemsdropdown list.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| apps/blade/src/app/_components/navigation/user-dropdown.tsx | Adds max-height constraints and overflow-y-auto to make the dropdown scrollable on mobile. |
| apps/blade/src/app/_components/navigation/reusable-user-dropdown.tsx | Removes the “Email” item and its icon import from the dropdown menu items definition. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| </button> | ||
| </DropdownMenuTrigger> | ||
| <DropdownMenuContent className="mr-4 w-screen sm:w-56"> | ||
| <DropdownMenuContent className="mr-4 max-h-[75vh] w-screen overflow-y-auto sm:max-h-[80vh] sm:w-56"> |
Copilot
AI
Feb 11, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR/issue mention removing the deprecated Email button, but /admin/email is still referenced elsewhere (e.g., apps/blade/src/app/admin/page.tsx) and there’s no app/admin/email route directory, so this remains a dead navigation path. Consider removing the Email Portal entry (and related permission-gating text) from the admin landing page in this PR to fully address #334 / the deprecation.
DVidal1205-Crest
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. great work :)
DVidal1205
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol
Why
Admin users on mobile could not access all dropdown menu items because the menu exceeded the viewport height and was not scrollable.
What
Issue(s): #334
Test Plan
Checklist
db:pushbefore mergingSummary by CodeRabbit
Bug Fixes
Changes