-
Notifications
You must be signed in to change notification settings - Fork 1
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
Improvements to Left Side Menu #125
Conversation
This commit updates the left side menu to be more consistent with the mobile app's design. These changes are mainly in the CSS and HTML, though there is one variable added to the component's state to manage the new expandable Apps menu. PER-8667: Improvements to left side menu
de5dc56
to
71c72da
Compare
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.
This commit stores the state of the different left menu submenus in SessionStorage so that they persist throughout page reloads and refreshes. Especially with the redesign, it feels odd that they close when moving between pages. This also includes a quick change to not show the dropdown toggle if there are no Apps subfolders. PER-8667: Improvements to left side menu
Within the template HTML file, new changes made the lines a bit too long. Within the Typescript file, there were a whole host of things my IDE were complaining about so I went and fixed all of those while I was cleaning up the HTML and implementing some of the other fixes. PER-8667: Improvements to left side menu
0072fd4
to
ffef6fd
Compare
I've addressed the things you've brought up, @jasonaowen, including the line length concerns (though we really should be using Prettier because I did this manually and I'm not sure I did it the "right" way; I would love to not have to even think about this in the future). I also cleaned up some of the other things my IDE was yelling at in the TypeScript file. |
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.
This is fantastic, thanks @meisekimiu! The formatting looks good, although yeah not sure if Prettier will disagree - +1 to setting all that up ASAP.
I was able to run this locally in both desktop and mobile views, and it looks and feels great!
This PR updates the left side menu to be more consistent with the mobile app's design. One thing that wasn't really specified in the zeplin designs was what this should look like in mobile view. The layout of the mobile view is kept intact, just including the new icon and color changes.
Resolves PER-8667.