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
Disable cpanel and user menu when editing #4694
Conversation
Sorry but I really dont like this On 16 October 2014 11:44, Dimitri Grammatiko notifications@github.com
Brian Teeman |
@brianteeman can you elaborate a little bit? |
To explain further - in the past we have had proposals to hide buttons when For the toolbar buttons the only thing people wanted was to grey them out So following those decisions it is correct that the menu is displayed as On 16 October 2014 12:14, Brian Teeman brian@teeman.net wrote:
Brian Teeman |
This is not about hiding/disabling buttons, it’s about hiding the navigation. And from my point of view having something that is just taking space in the screen is not a good UX. Also another big thing is that when you enter the edit mode you should not have options to click on anything that will unintentionally exit the editing without first warning you so. As it is now the template when you are in editing mode you still have the joomla icon, the shortcut to the site and the cog icon which all of them, when clicked will not warn you that you will actually LOOSE everything you just altered. |
I disagree with Brian that it is not confusing when buttons disappear completely, but totally agree with his "I really don't like this". PhpStorm (random example) works like that: The menu adjusts dynamically to available options. Driving me crazy. Looking for a menu item that was there a minute ago. If it's greyed out, I know it's probably for a good reason. If it's gone, I don't know if it's a bug, or if I'm looking in the wrong place. But since there's already a widely accepted consensus - do we need to discuss this here? |
@lausianne 3 things: |
This is an interesting idea. I do support the general concept of removing unusable elements from the page, but do have some concern about a consistent user experience and losing context. I'm undecided at the moment, but would be interested to also hear the thoughts of folks like @CristinaSolana, @nternetinspired, @phproberto and others. |
@dgt41 phpstorm is just one example of software where unusable elements disappear completely, and this causes problems. |
My $0.02? Primary navigation is a fundamental anchor for user experience. It's a fixed point that, like the constellations of stars above us, should be consistent, predictable and reliable if it is to be trusted and relied upon. I don't think it's ever good for users to hide it. |
We already have a complex UI (parameters for example). "Losing context" (as Matt says) is not what we want. |
It also removes some active stuff (cpanel, user menu, frontpage link). Judging from other comments, there is a big vote against this change. I'm closing it. |
I think I have to explain the purpose of this PR which is: |
@Bakual Exactly those are the problem: when you are editing something those links should be as well HIDDEN (cpanel and user menu) |
@Bakual DISABLED i meant to write! |
@dgt41 |
@infograf768 I will try again… disabling and not hidding this time 😃 |
very elegantly put @nternetinspired I will have to remember that one |
Ok this PR now DISABLES cpanel and user menu icons when in editing mode |
Reopened as requested 😄 Can you update the screenshots in the description then? |
@test |
Two good tests setting to RTC |
@brianteeman @infograf768 I just saw that the if statement in the scroll function is totally useless so I removed it. Sorry about that. Needs tests again |
Set back to pending |
Tests reverted |
Travis failure is not related to this
|
Ya, that was my bad, it's fixed already. |
The "Registration Date" have not splited to date and time yet. |
In left menu in user manager, don't show button remove. |
|
@test |
missing the ID area in User name window |
@trangredweb This pull request is only disabling the cpanel and user menu on the views where the menubar is already disabled. If you think it should be disabled n other views please create a new issue @vanredweb did you mean to post that here - it doesnt seem to be related to this isse |
icon for button "Hide the sidebar" should change. |
@test |
Disable cpanel and user menu when editing
@tairedweb please check #4788 |
@infograf768 disable the menubar in com_messages edit #4788 |
Small UX improvement in ISIS template
What is it?
On ISIS when we are editing something (basically when we are in singular view) the main navigation becomes greyed out but cpanel and user menu are still visible. This PR hide them and removes their functionality.
Tests
Apply the patch and move around in the admin area
In pictures:
Normal view
Enter editing mode