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

Mobile view main nav #1394

Closed
wants to merge 23 commits into from
Closed

Mobile view main nav #1394

wants to merge 23 commits into from

Conversation

willdch
Copy link
Contributor

@willdch willdch commented Jan 24, 2023

Monday.com ticket

My stab at making the main nav mobile friendly.

@willdch willdch self-assigned this Jan 24, 2023
@willdch willdch requested a review from CarsonF as a code owner January 24, 2023 01:13
@sethmcknight sethmcknight linked an issue Feb 6, 2023 that may be closed by this pull request
willdch and others added 2 commits March 6, 2023 12:37
Renamed ResponsiveHeader to MobileNavbar. Updated Menu label to be dynamic to what view is active. updated reference to MobileNavbar in MainLayout.tsx

Removed hello text, bell icon and upload manager link

removed callapsing functionality from the search bar

made the search bar collapse or expand when clicking on search icon, still needs a little work though to smooth it out

updated ProfileToolbar to conditionally render based on mobile view or standard view

cleaned up the file and move some functionality to another component

updated to use useMediaQuery to get the winodw size instead of the custome hook I createdg

updated styling for monile view of search bar

wrapped the ResponsiveHeader with the CreateDialogProviders so the modals will work when creating new items

renamed currentWindowSize to useIsMobile and moved it to the hooks folder

removed some commented out code that was not needed

Added the drawer functionality  and navigation elements

created component to check current screensize and decluttered other files
added sidebar color in pallet

added mobile breakpoint

no need for useIsMobile

cleaned up Sidebar

updated Header to use css breakpoints

updated HeaderSearch to use css breakpoints

updated ProfileToolbar to use css breakpoints

extending sx on AppBar instead of Container
willdch and others added 2 commits March 6, 2023 12:43
Renamed ResponsiveHeader to MobileNavbar. Updated Menu label to be dynamic to what view is active. updated reference to MobileNavbar in MainLayout.tsx

Removed hello text, bell icon and upload manager link

removed callapsing functionality from the search bar

made the search bar collapse or expand when clicking on search icon, still needs a little work though to smooth it out

updated ProfileToolbar to conditionally render based on mobile view or standard view

cleaned up the file and move some functionality to another component

updated to use useMediaQuery to get the winodw size instead of the custome hook I createdg

updated styling for monile view of search bar

wrapped the ResponsiveHeader with the CreateDialogProviders so the modals will work when creating new items

renamed currentWindowSize to useIsMobile and moved it to the hooks folder

removed some commented out code that was not needed

Added the drawer functionality  and navigation elements

created component to check current screensize and decluttered other files
added sidebar color in pallet

added mobile breakpoint

no need for useIsMobile

cleaned up Sidebar

updated Header to use css breakpoints

updated HeaderSearch to use css breakpoints

updated ProfileToolbar to use css breakpoints

extending sx on AppBar instead of Container
</>
);

export const getActiveItemLabel = () => {
Copy link
Member

Choose a reason for hiding this comment

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

@CarsonF should I rename this to getActiveNavItemLabel or is this descriptive enough?

@andrewmurraydavid andrewmurraydavid added preview-it Attach to preview this PR in a preview environment and removed preview-it Attach to preview this PR in a preview environment labels May 3, 2023
@sethmcknight
Copy link
Member

This lived to the end of its lifetime and died

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
preview-it Attach to preview this PR in a preview environment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cord Field Mobile View - Main Nav
3 participants