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

Improve menu mobile display #7826

Open
5 tasks
FelixMalfait opened this issue Oct 18, 2024 · 39 comments
Open
5 tasks

Improve menu mobile display #7826

FelixMalfait opened this issue Oct 18, 2024 · 39 comments
Assignees

Comments

@FelixMalfait
Copy link
Member

FelixMalfait commented Oct 18, 2024

https://www.figma.com/design/xt8O9mFeLl46C5InWwoMrN/Twenty?node-id=43185-135140&node-type=frame&t=OOVK3xhrcy5zJPVL-11

Current behavior

Screenshot 2024-10-18 at 15 15 55

Desired behavior

image

TODO :

@FelixMalfait
Copy link
Member Author

/oss.gg 1200

Copy link

oss-gg bot commented Oct 18, 2024

Thanks for opening an issue! It's live on oss.gg!

@ketanMehtaa
Copy link
Contributor

/assign

Copy link

oss-gg bot commented Oct 18, 2024

You already have an open issue assigned to you here. Once that's closed or unassigned, only then we recommend you to take up more.

@FelixMalfait
Copy link
Member Author

@ketanMehtaa hey sorry we're not 100% sure we'll go with this design in the end. @Bonapara will confirm soon

@ketanMehtaa
Copy link
Contributor

ketanMehtaa commented Oct 18, 2024

@FelixMalfait okay

@ketanMehtaa
Copy link
Contributor

/assign

Copy link

oss-gg bot commented Oct 18, 2024

Assigned to @ketanMehtaa! Please open a draft PR linking this issue within 48h ⚠️ If we can't detect a PR from you linking this issue in 48h, you'll be unassigned automatically 🕹️ Excited to have you ship this 🚀

@pranavpurankar
Copy link

/assign

Copy link

oss-gg bot commented Oct 18, 2024

This issue is already assigned to another person. Please find more issues here.

@Bonapara
Copy link
Member

Hi @ketanMehtaa edited the desired behavior. We want to use the compact sidebar instead of displaying the menu in a side panel

@Bonapara
Copy link
Member

Bonapara commented Oct 18, 2024

The buttons should be 32x32 pixels to make them more easily clickable, as the height is currently only 28 pixels on desktop! (me might change them to 40x40 in the future)

@sanjay-gangwar4410
Copy link

/assign

Copy link

oss-gg bot commented Oct 18, 2024

This issue is already assigned to another person. Please find more issues here.

@Khaan25
Copy link
Contributor

Khaan25 commented Oct 19, 2024

@Bonapara, Is the bottom menu a slider? Like I've on my portfolio on small devices: https://v2-zzia.vercel.app/

@AndrewHamal
Copy link
Contributor

/assign

Copy link

oss-gg bot commented Oct 19, 2024

This issue is already assigned to another person. Please find more issues here.

@FelixMalfait
Copy link
Member Author

Note: the compact sidebar already exists (click on the "minize" button on the top-right corner of the left navigation menu), we're not talking about recreating a sidebar from scratch but arranging it so that this vertical sidebar can be displayed horizontally and use as the new navigation bar in mobile mode

@AndrewHamal
Copy link
Contributor

/assign

Copy link

oss-gg bot commented Oct 20, 2024

This issue is already assigned to another person. Please find more issues here.

@AndrewHamal
Copy link
Contributor

/assign

Copy link

oss-gg bot commented Oct 20, 2024

This issue is already assigned to another person. Please find more issues here.

@AndrewHamal
Copy link
Contributor

/assign

Copy link

oss-gg bot commented Oct 20, 2024

This issue is already assigned to another person. Please find more issues here.

Copy link

oss-gg bot commented Oct 20, 2024

This issue is already assigned to another person. Please find more issues here.

@FelixMalfait
Copy link
Member Author

Thanks a lot @ketanMehtaa @Hitarthsheth07, still much work needed on both PR. We'll merge whichever is the best with 1200 points and award 500 points to the other. Feel free to work together if you want

@ketanMehtaa the good thing about your PR is that you tried to re-use existing code! But the visual outcome is still very far from what we want.

@Hitarthsheth07 you're closer to the outcome but you didn't re-use the compact sidebar as instructed :). The less code there is in your PR the better, avoid duplicating logic (ex: the items displayed in the menu should, come from a single source of truth, desktop or mobile). Feel free to ditch the existing MobileNavigationBar.tsx since we're changing our approach, it might not be useful anymore. Also use a linter. And make sure all elements are still accessible (search, settings)

@Khaan25
Copy link
Contributor

Khaan25 commented Oct 21, 2024

@FelixMalfait, Should I also give it a try?

@FelixMalfait
Copy link
Member Author

@Khaan25 Thanks! I think 2 is enough 😄

@Hitarthsheth07
Copy link
Contributor

@FelixMalfait On it! Will be done by update the PR by tommorow

@FelixMalfait
Copy link
Member Author

Great @Hitarthsheth07 thanks!

@Hitarthsheth07
Copy link
Contributor

@FelixMalfait Heyy,

What should be done with the settings page? Should it be kept the same full screen as it is now?

@FelixMalfait
Copy link
Member Author

@Hitarthsheth07 yes that'd be great. Mobile settings don't matter as much, we don't need something that feels native, we just want something that works and doesn't feel clunky :)

@Hitarthsheth07
Copy link
Contributor

@FelixMalfait

I've sorted the navbar issue but cannot figure out a workaround for the settings page.

So, in the current version when the user clicks on settings page the navbar occupies full screen and the content changes.
I tried implementing the same thing but it just doesn't work for some reason!

This is the onClick function I am passing to the settings button.
image

image

Full Horizontal Navbar
image

Would love to have suggestions/feedback on it!

Thanks

@Khaan25
Copy link
Contributor

Khaan25 commented Oct 25, 2024

Pull the latest code, I with @charlesBochet improved the settings page navigation. I think that might help you out as well. Can't remember the issue number

@alanstan08
Copy link

Hey if the issue still persists I would love to give it a try

@lucasbordeau
Copy link
Contributor

We need to refactor the navigation drawer zone before proceeding with this feature.

Also @Bonapara we should settle on an easy version of this horizontal nav bar, I'll write it down here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New
Development

Successfully merging a pull request may close this issue.

10 participants