feat: add dropdown menu with logout to user profile button#403
Closed
Manav5234 wants to merge 1 commit into
Closed
feat: add dropdown menu with logout to user profile button#403Manav5234 wants to merge 1 commit into
Manav5234 wants to merge 1 commit into
Conversation
|
@Manav5234 is attempting to deploy a commit to the Adarsh's projects Team on Vercel. A member of the Team first needs to authorize it. |
MRIARC-08
requested changes
Jun 22, 2026
MRIARC-08
left a comment
Owner
There was a problem hiding this comment.
@Manav5234 Thanks for the PR. The scope is small and it merges cleanly, but I can’t merge this version yet.
- Focused lint on
src/app/dashboard/page.tsxfails with 6 Prettier errors. - The dropdown is currently hover-only via
group-hover, so it will not work reliably on touch devices or keyboard focus. Please make the profile trigger a real button and support click/focus interaction for opening the menu.
After that, rerun focused lint on src/app/dashboard/page.tsx.
Owner
|
@Manav5234 Closing this for now because the requested changes have been pending for more than 3 days without a follow-up commit. The remaining blockers were the formatter issues and making the dropdown work reliably beyond hover. Since this is UI-facing, it will also need manual design review before merge. Please reopen or create a fresh PR once those fixes are pushed. |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #299
Problem
Clicking the user's name ("Manav Kumar") in the top right of the dashboard did nothing. There was no way for a user to log out from the dashboard.
Fix
Added a hover dropdown menu to the user profile button with two options:
/profile/api/auth/signoutChanges
src/app/dashboard/page.tsx: Wrapped user name in agroup relativediv with an absolutely positioned dropdown that appears on hover using Tailwindgroup-hover:blockHow it works
Note
Could not test locally as dashboard requires database authentication. Code logic verified syntactically with no errors in VS Code.