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

MODX 3 - Menu Design #14842

Open
muzzwood opened this issue Nov 26, 2019 · 3 comments
Open

MODX 3 - Menu Design #14842

muzzwood opened this issue Nov 26, 2019 · 3 comments
Labels
proposal Proposal about improvement aka RFC. Need to be discussed before start implementation. type-frontend Issues related to UI/UX issues, mostly about styles and frontend implementations on JavaScript.

Comments

@muzzwood
Copy link
Contributor

muzzwood commented Nov 26, 2019

Feature request

Summary

Different style of side menus for the manager. Slide out menus that cover the space of the resource tree would be more usable than the current style of menus.
The current ones suit dropping from the top like in 2.x but are awkward to use from the side.
Full height slide out menus would also allow for easy scrolling if lots of menu links are added.

Why is it needed?

At the moment the dropdown menus from 2.x have been modified to work on the side in 3.x
They are awkward to use and look a bit odd. Especially the user and settings menus right down the bottom.

Suggested solution(s)

Have full-height slide out menus that cover the space of the resource/elements/files tree when extended. They would swap when a different menu parent is selected.
I've made a quick mockup with my very limited design skills. Please ignore the colouring, font, spacing etc, It's just to get the idea across so that someone with skill in design could have a crack at it.
I left the tabs at the top showing so someone can quickly get back to one of the trees without having to close the menu first. Perhaps it's better to cover them as well and just have clicking outside the menu the trigger for closing it.

Screenshot_2019-11-26 Dashboard MODX Revolution

Are people happy the way the menu currently works or do you think this would be better?
I know it's very subjective.

Edit:
The animation would be along the lines of how the Fred sidebar slides out.

@JoshuaLuckers JoshuaLuckers added type-frontend Issues related to UI/UX issues, mostly about styles and frontend implementations on JavaScript. proposal Proposal about improvement aka RFC. Need to be discussed before start implementation. labels Nov 26, 2019
@Mark-H
Copy link
Collaborator

Mark-H commented Dec 20, 2019

Many menus only have 2-5 items... making that take up the whole height of the screen seems like a waste of space. You mention keeping the tabs in view for easy clicks out of hte menu.. in the current system, there is a lot more still in view.

I get the inspiration from Fred for a (near) full height popout, but Fred typically has the entire height full (and then some) with big blocks, so that doesn't seem like the same use case as the core menu.

{insert not a designer disclaimer here}

@muzzwood
Copy link
Contributor Author

My motivation for creating this issue is mostly the awkwardness of the top level parent placement (down the bottom) and how the sub-menus appear. The latter is also a problem in 2.x however slide out menus wouldn't have suited navigation along the top.
Precise mouse movements are required so the pop-ups don't close accidentally and force slow-down while working.
As for the parent placement down the bottom, some browsers (e.g. Firefox) have a preview tool-tip of the link hovered over in the bottom-left which appears when using the menu and obscures the bottom section.

I agree that having full height panels may seem like a waste of space but with a bit of reorganisation they don't have to be.
Sub-menus could be included in the slide out but differentiated by a collapsible link for example. (similar to resources.)

Some of the parent menu items could be merged saving space in the sidebar for custom links.
A slide out menu would also be easily scrollable removing the limit of menu items displayed.
A designer with flair :-) could probably section the slide out menu panels into easily digestible chunks so new users don't have such a hard time searching through all the menu items trying to find what they're after. The extra space would allow for this.

Anyone else have some thoughts on this?

@Ruslan-Aleev
Copy link
Collaborator

Personally, I like the idea that the size of the menu will be limited and a scroll will be added.
But to do this is not easy, you can try :)

There are technical limitations in the current menu implementation:

  • The menu is added via js
  • For nested menus position: absolute

These PRs show these limitations - #14935 and #14300

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Proposal about improvement aka RFC. Need to be discussed before start implementation. type-frontend Issues related to UI/UX issues, mostly about styles and frontend implementations on JavaScript.
Projects
None yet
Development

No branches or pull requests

4 participants