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

made main-navigation-sidebar responsive #92

Merged
merged 2 commits into from
Apr 28, 2023
Merged

Conversation

hunar1312
Copy link
Collaborator

@hunar1312 hunar1312 commented Apr 27, 2023

Hello @DonKoko,
The desktop main navigation sidebar is now responsive for all screen sizes as described in the issue #91
Please Review this. Thanks

@hunar1312 hunar1312 linked an issue Apr 27, 2023 that may be closed by this pull request
Copy link
Contributor

@DonKoko DonKoko left a comment

Choose a reason for hiding this comment

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

Overall it looks and works good @hunar1312. I really like it.
Just 1 thing, I see you have used the same atom to control the "keep opened" on desktop and the mobile menu. This works but I would rather use different atoms for it for a few reasons:

  1. I want the default state to be 'open' which only makes sense on desktop and if we do it like this, on mobile the menu will be open by default and we dont want that.
  2. In the near future when we add some functionality to save this in the user settings, we will again have a conflicts with that.

app/components/layout/sidebar/atoms.ts Outdated Show resolved Hide resolved
app/components/layout/sidebar/index.tsx Outdated Show resolved Hide resolved
app/components/layout/sidebar/index.tsx Outdated Show resolved Hide resolved
app/components/layout/sidebar/index.tsx Outdated Show resolved Hide resolved
app/routes/_layout+/_layout.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@DonKoko DonKoko left a comment

Choose a reason for hiding this comment

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

Love it! Great job @hunar1312.

@DonKoko DonKoko merged commit ad44685 into dev Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implementing mobile designs on main-navigation Sidebar
2 participants