[Kimchi-devel] [RFC] Wok / Ginger sidebar

Samuel Henrique De Oliveira Guimaraes samuel.guimaraes at eldorado.org.br
Mon Jul 4 19:02:42 UTC 2016


Hi team,

We currently have an issue with Ginger/Gingerbase navigation bar in small screen resolutions and we also have huge tables in System Services page. Since working on the navigation bar involves editing Wok styles, I'm sending this e-mail to Wok mailing list instead of Ginger group.
I looked for successful combinations of sidebar + horizontal navigation bars and so far I couldn't find any example that would exactly fit with Wok and its plugins. The majority of examples I'm listing below are very good with traditional pages with deep subcategories and the navigation bars can work as sitemaps and replace breadcrumbs:


*         http://www.worldwildlife.org/ - https://vimeo.com/166812605


*         https://www.theguardian.com/us - https://vimeo.com/166812599


*         https://next.ft.com/fastft - https://vimeo.com/166812597

Wok currently has two navigation levels. Kimchi doesn't have multiple sections but Ginger and Gingerbase uses collapsible panel groups to separate sections that could be third level elements on a sidebar. This was already discussed when we moved some features from Ginger to Gingerbase but I think we could achieve a functional sidebar with up to three levels without using a "landing page" for second-level elements.

In the attached screenshots ginger_sidebar1 and ginger_sidebar2 are mockups for an off-canvas menu that would slide the main content and hide itself once an option is clicked. It would also hide the other panel accordions. Here are two off-canvas menu in action:

*         http://codepen.io/SitePoint/full/uIemr/



*         https://codepen.io/benske/full/cxrta/


Since this would require a change in Wok tabs and ginger/gingerbase tab-ext.xml, I think we could implement something entirely different that would with Wok and all plugins. This site menu only have first-level options on the sidebar but I think we could add collapsible links like a tree-table menu: https://www.sitepoint.com/
In addition to the sidebar, we could put a search/filter input on the top that would allow the user to type the desired option and show its position on the menu. Please take a look at the remaining attached screenshots. I did one variation with the content aligned to the center and another one aligned to the left.

Regards,
Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20160704/9a18e328/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ginger_storage2.png
Type: image/png
Size: 48022 bytes
Desc: ginger_storage2.png
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20160704/9a18e328/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ginger_sidebar_1.png
Type: image/png
Size: 43918 bytes
Desc: ginger_sidebar_1.png
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20160704/9a18e328/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wok_left.png
Type: image/png
Size: 10331 bytes
Desc: wok_left.png
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20160704/9a18e328/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wok_left_sidebar.png
Type: image/png
Size: 13695 bytes
Desc: wok_left_sidebar.png
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20160704/9a18e328/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wok_centered.png
Type: image/png
Size: 10375 bytes
Desc: wok_centered.png
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20160704/9a18e328/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wok_centered_sidebar.png
Type: image/png
Size: 16318 bytes
Desc: wok_centered_sidebar.png
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20160704/9a18e328/attachment-0005.png>


More information about the Kimchi-devel mailing list