Skip to content
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

501/navbar hamburger menu and notification bell improvements #548

Conversation

richestrinh
Copy link
Contributor

This PR:

Resolves #501

1. Updated positioning for hamburger menu and bell drop-down to appear below nav bar.
2. Updated backdrop for hamburger menu and bell.
3. Fixed hamburger menu icons to have consistent sizing.
4. Updated spacing around divider seperating routes and settings.

Screenshots (if applicable):

PASS_Issue#501

Copy link
Contributor

@leekahung leekahung left a comment

Choose a reason for hiding this comment

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

Hey @richestrinh thanks for contributing to changes for PASS! The changes for this PR looks great, just a few details I want this PR to go over. (see feedback)

One other thing that could be addressed here or another PR is the extra padding from the MUI menu and MUI menu list (see clip). If we could get the padding away, think it'll be good.

Screen.Recording.2023-11-28.at.17.23.45.mov

src/components/NavBar/NavMenu.jsx Outdated Show resolved Hide resolved
src/components/NavBar/NavMenu.jsx Outdated Show resolved Hide resolved
src/components/NavBar/NavMenu.jsx Outdated Show resolved Hide resolved
src/components/NavBar/NavMenu.jsx Outdated Show resolved Hide resolved
src/components/NavBar/NavMenu.jsx Outdated Show resolved Hide resolved
src/components/NavBar/NavMenu.jsx Outdated Show resolved Hide resolved
@leekahung leekahung added the enhancement Enhancement of existing features label Nov 29, 2023
Copy link
Contributor

@xscottxbrownx xscottxbrownx left a comment

Choose a reason for hiding this comment

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

After Ka Hung's questions/concerns are addressed, I would approve as well. Don't see anything else not already mentioned.

@leekahung
Copy link
Contributor

I think removing the one layer of padding should be sufficient. Removing both layers of padding makes the menu seem too crowded/squished? The spacing between sections (like that of Profile and Settings) looks just right.

Screen Shot 2023-11-30 at 17 35 56

Of course, there's a divider, but think that distance from the bottom of profile to the divider or from the top of settings to the divider looks pretty good. The problem before was that the padding was doubled up when only one layer of padding is needed.

Copy link
Contributor

@leekahung leekahung left a comment

Choose a reason for hiding this comment

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

I think other than what I've just noticed, think every else looks alright. Think it'll be good to go after the issue with the padding gets resolved (see new comment).

@richestrinh richestrinh requested a review from leekahung December 2, 2023 22:09
Copy link
Contributor

@leekahung leekahung left a comment

Choose a reason for hiding this comment

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

Oh, this is nice! We could of course go back in later and fix the padding of the notification menu once we got a working design (and not a placeholder), but I think the NavMenu is looking pretty great now.

Can certainly approve this for merging. Good work!

Copy link
Contributor

@xscottxbrownx xscottxbrownx left a comment

Choose a reason for hiding this comment

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

I approved, and then realized there is a difference on full mobile menu (when contacts and civic profile are also in the menu.)

The padding isn't consistent on that one compared to the others that were changed.

I think it's still the double padding version.

@richestrinh
Copy link
Contributor Author

I approved, and then realized there is a difference on full mobile menu (when contacts and civic profile are also in the menu.)

The padding isn't consistent on that one compared to the others that were changed.

I think it's still the double padding version.

I think it had to do with the min-height for the mobile view.
Here's what it looks like after my fix!

PASS#501_MinHeight

@xscottxbrownx xscottxbrownx merged commit 2395ee7 into Development Dec 4, 2023
3 checks passed
@andycwilliams andycwilliams deleted the 501/navbar-hamburger-menu-and-notification-bell-improvements branch August 28, 2024 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Nav bar Hamburger menu and notification bell improvements
3 participants