[ https://issues.apache.org/jira/browse/OFBIZ-2118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruno Busco updated OFBIZ-2118: ------------------------------- Attachment: vt_bluelight.zip AppMenuDropDown.patch Please find attached a patch and a Visual Theme that I have written to implement what shown in the screenshots. This is not intended to be commited (yet) but to share the idea and possibly discuss on a better implementation. Here is what I have done: The ApplicationBar and TabBar rendering has been moved from the CommonDecorator to the header.ftl (including the appbar.ftl) I am not really happy with this because it takes things back from widgets to FTL but I did this to have the bar rendering implemented in the Visual Theme (through a specific header.ftl file) Then, in order to render the ApplicationsMenu and the TabBarMenus menu widgets in the appbar.ftl file (I did not find a menu-render command usable into .ftl) I defined two wrapper screens (ApplicationMenuWrapper and TabBarMenuWrapper) that render rispectively the menu they find in the applicationMenuName/applicationMenuLocation and tabBarMenuName/tabBarMenuLocation variables. This is the way the ApplicationMenu has always been rendered and now I extended this to the TabBar also. The <include-menu> tabbar has been removed from the screen decorators and replaced with the two tabBarMenuName/tabBarMenuLocation setting. A minor update is to remove the word "Application" from the label. This makes the breadcrumbs shorter and does not take away any information. IMO the user should think to use a SINGLE application named OFBiz. At the moment, the only application that has been updated to use this new Menu system is the Catalog. I am more than sure that we could have a simpler implementation with less changes but this is what I have right now and I think it is much better to share as it is in order to leverage on the community to spedd things up. > Drop-down Applications Bar > -------------------------- > > Key: OFBIZ-2118 > URL: https://issues.apache.org/jira/browse/OFBIZ-2118 > Project: OFBiz > Issue Type: New Feature > Components: ALL COMPONENTS > Reporter: Bruno Busco > Attachments: AppMenuDropDown.patch, screenshot1.jpg, screenshot2.jpg, > screenshot3.jpg, screenshot4.jpg, screenshot5.jpg, vt_bluelight.zip > > > Hi all, > we have discussed several times about a new backoffice layout with drop-down > menus to have less crowded screens. > I am experimenting some solutions and I would like to show you what I came to > in order to discuss about it. > What you can see in the screenshots attached is based on an new visual-theme > but also on several changes in the decorators. > The idea is to have a breadcrumbs that is a drop-down menu also. > The leftmost Item is always "Home" and when the user hover on it the > applications menu is shown up. > Then the user can select an application and the application name is shown in > the second position of the breadcrumbs. > If the user hovers on it the selected application menu is shown and the user > can select an option that is shown in third position on breadcrumbs. > The idea is to have the breadcrumbs to incorporate both the applications > menu, the single application menu and the tab bars. > At the right ent of the same line of the breadcrumbs (in the white background > region) the actual screen name should be visible. > I think that this way of navigating offers to the user a complete view of all > applications as a whole. > For the moment I only attach screenshots to this jira because I need to clean > my code to make a presentable patch. I just want to hear if you think this is > a model that we can go through. If the community agrres on this that I will > spend more time to clean the code and submit a patch. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.