-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
Missing personal toolbar when expanding the horizontal toolbar #950
Comments
\cc @bloodbare |
It's not missing, it's just moved to the bottom below the toolbar. On a side note what a frustrating way to find out how to change the toolbar from left to top. |
@ichim-david there's an option on the Site control panel configlet for that. |
- Add content views from right to left to options subset until personal toolbar fits on the same line as the other menus - Cleaned hideElements of duplicated selectors - Take into consideration that you could go from a width that can't fit the toolbar to a view that is even smaller. This happens when using a Samsung galaxy 10 resolution of 1280x800. On german translation both resolutions can't display fully the toolbar however on the smaller size we need to hide even more items as such moving also the content views and not only the content menus
- moveViewsToSubset now has a clearer condition name for the moving of the view to the subset - run the hideElements action when clicking on the toobar logo to expand the toolbar. If it needs to resize it will, otherwise nothing will happen
@ichim-david thanks, for taking care of this; there is something else that seems weird to me: why the name of the menu item appears duplicated on all menus? |
Hey, We implemented some solution to fit the toolbar on horizontal in a rush some weeks ago: the more button. Its not perfect, neither nice, but we saw that it's impossible to make it fit in 1200px the menu with texts. The code is there : The problem was that the calculations were not acurate and there were a bunch of container sizes where it was miscalculated. It's great somebody is taking care of it! |
@hvelarde this is the way it was coded, if you look at plone.app.contentmenu I think it might be too late to get rid of them as a design decision now but you could easily hide them with this css line If others agree with your assessment they can easily be removed. |
- jQuery offset returns strange results when zooming as appose to normal offsetTop which we use to calculate whether the personal toolbar is moved - Move only the views that are not already hidden avoiding thus duplications if there is more than one view to move to the more section
I agree menu titles shouldn't be repeated. I think that was useful when "More options" toolbar icon brought both Portlet management and Display menu links. But that should be another issue. |
I opened a new issue for that: #1007 |
- Properly set the active class on the toolbar menu list item when clicking on the more link - Fixed case where the more button lost it's active class when clicking on the children content menus. - Clicking on the body now hides also the opened more sublist - Fixed a case where the more sublist remained opened even when you were clicking on the white portal-header area because the nav bar expands in height to fit the sublist even though it's black styling remains at 50px - Fixed an issue where clicking on the sublist content menus removed the active class from the more link
- Menus are now closed when switching from expanded to contracted and back - Clicking the personal bar link now closes the subset menu as well - Fixed the position of the subset menus when collapsed by removing the hardcoded value of 105px from toolbar.plone.less
- Add content views from right to left to options subset until personal toolbar fits on the same line as the other menus - Cleaned hideElements of duplicated selectors - Take into consideration that you could go from a width that can't fit the toolbar to a view that is even smaller. This happens when using a Samsung galaxy 10 resolution of 1280x800. On german translation both resolutions can't display fully the toolbar however on the smaller size we need to hide even more items as such moving also the content views and not only the content menus
- moveViewsToSubset now has a clearer condition name for the moving of the view to the subset - run the hideElements action when clicking on the toobar logo to expand the toolbar. If it needs to resize it will, otherwise nothing will happen
- jQuery offset returns strange results when zooming as appose to normal offsetTop which we use to calculate whether the personal toolbar is moved - Move only the views that are not already hidden avoiding thus duplications if there is more than one view to move to the more section
- Properly set the active class on the toolbar menu list item when clicking on the more link - Fixed case where the more button lost it's active class when clicking on the children content menus. - Clicking on the body now hides also the opened more sublist - Fixed a case where the more sublist remained opened even when you were clicking on the white portal-header area because the nav bar expands in height to fit the sublist even though it's black styling remains at 50px - Fixed an issue where clicking on the sublist content menus removed the active class from the more link
- Menus are now closed when switching from expanded to contracted and back - Clicking the personal bar link now closes the subset menu as well - Fixed the position of the subset menus when collapsed by removing the hardcoded value of 105px from toolbar.plone.less
I've added a pull request fixing this issue and a couple of other issues as well. |
I already added it. |
- Add content views from right to left to options subset until personal toolbar fits on the same line as the other menus - Cleaned hideElements of duplicated selectors - Take into consideration that you could go from a width that can't fit the toolbar to a view that is even smaller. This happens when using a Samsung galaxy 10 resolution of 1280x800. On german translation both resolutions can't display fully the toolbar however on the smaller size we need to hide even more items as such moving also the content views and not only the content menus
- moveViewsToSubset now has a clearer condition name for the moving of the view to the subset - run the hideElements action when clicking on the toobar logo to expand the toolbar. If it needs to resize it will, otherwise nothing will happen
- jQuery offset returns strange results when zooming as appose to normal offsetTop which we use to calculate whether the personal toolbar is moved - Move only the views that are not already hidden avoiding thus duplications if there is more than one view to move to the more section
- Properly set the active class on the toolbar menu list item when clicking on the more link - Fixed case where the more button lost it's active class when clicking on the children content menus. - Clicking on the body now hides also the opened more sublist - Fixed a case where the more sublist remained opened even when you were clicking on the white portal-header area because the nav bar expands in height to fit the sublist even though it's black styling remains at 50px - Fixed an issue where clicking on the sublist content menus removed the active class from the more link
- Menus are now closed when switching from expanded to contracted and back - Clicking the personal bar link now closes the subset menu as well - Fixed the position of the subset menus when collapsed by removing the hardcoded value of 105px from toolbar.plone.less
…ribes better the use of the method
Fixes committed to CMFPlone from pull request #1009 |
This is still happening in Plone 5.0 final; I'm going to open another issue describing it with more details. |
The toolbar with icons only:
The toolbar expanded with legends; the user icon is missing:
The text was updated successfully, but these errors were encountered: