-
Notifications
You must be signed in to change notification settings - Fork 357
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
Carbon 10 navbar & menu #6963
Carbon 10 navbar & menu #6963
Commits on Jun 4, 2020
-
Replace MainMenu with a carbon wrapper
and adding a css hack to distinguish sub-sections from sections
Configuration menu - View commit details
-
Copy full SHA for 0a38946 - Browse repository at this point
Copy the full SHA 0a38946View commit details -
Configuration menu - View commit details
-
Copy full SHA for f87c48c - Browse repository at this point
Copy the full SHA f87c48cView commit details -
Navbar component - wraps navbar, menu, notifications/toasts
todo the navbar/notification/toasts parts
Configuration menu - View commit details
-
Copy full SHA for 873fcd9 - Browse repository at this point
Copy the full SHA 873fcd9View commit details -
Menu icons - display, cleanup 2nd level
previous menu only displayed icons for first-level sections, some 2nd level sections have icons which don't exist, or are the same as every other icon in the section, removing
Configuration menu - View commit details
-
Copy full SHA for e143594 - Browse repository at this point
Copy the full SHA e143594View commit details -
check what we need in the individual items and sections, removing the need for overly specific shapes on MainMenu
Configuration menu - View commit details
-
Copy full SHA for e5c4218 - Browse repository at this point
Copy the full SHA e5c4218View commit details -
NotificationDrawer, ToastList - both can live outside Navbar
ToastList renders completely independently NotifiactionDrawer inherits height, so we can either override height and position down to align with the bottom of navbar, or move it outside and position up to align, better.
Configuration menu - View commit details
-
Copy full SHA for 3fe5897 - Browse repository at this point
Copy the full SHA 3fe5897View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d2b1ae - Browse repository at this point
Copy the full SHA 0d2b1aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b1fe79 - Browse repository at this point
Copy the full SHA 7b1fe79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32c46c0 - Browse repository at this point
Copy the full SHA 32c46c0View commit details -
Menu - merge help and settings sections
also adds the Configuration button back to the menu, this time as Application Settings
Configuration menu - View commit details
-
Copy full SHA for 1abac90 - Browse repository at this point
Copy the full SHA 1abac90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0047481 - Browse repository at this point
Copy the full SHA 0047481View commit details -
Notifications - move toggle to breadcrumbs, fix styling
make the breadcrumbs narrower, use the rest for the notification button, the badge styling didn't work, replaced with color for the bell when unread no margins would be nice but we have no such buttons
Configuration menu - View commit details
-
Copy full SHA for f26ea54 - Browse repository at this point
Copy the full SHA f26ea54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63dfcc8 - Browse repository at this point
Copy the full SHA 63dfcc8View commit details -
Remove obsolete styles - masthead, custom_logo, vertical_navigation
and move the menu and notification styling to webpack
Configuration menu - View commit details
-
Copy full SHA for 848608a - Browse repository at this point
Copy the full SHA 848608aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4831f3c - Browse repository at this point
Copy the full SHA 4831f3cView commit details -
Menu - remember collapsed/expanded state, adjust body
using the original patternfly localStorage logic, and added a miq-main-menu-{expanded,collapsed} body class that overrides patternfly default 225 px margin and made the menu component update all those :)
Configuration menu - View commit details
-
Copy full SHA for e9935bb - Browse repository at this point
Copy the full SHA e9935bbView commit details -
Menu - allow & use carbon icons
updated menu definition to use carbon icons where available, and updated carbonizeIcon to recognize `carbon--Foobar` as `<Foobar20 />`
Configuration menu - View commit details
-
Copy full SHA for f2fb918 - Browse repository at this point
Copy the full SHA f2fb918View commit details -
menu styling - rem fix, use SideNavHeader, SideNavItem, chevron icons…
… in the right gray setting the html font size changes the rem units to the actual carbon defaults, so we get some menu sizing for free
Configuration menu - View commit details
-
Copy full SHA for 4d07ab4 - Browse repository at this point
Copy the full SHA 4d07ab4View commit details -
SideNavMenuItem - support renderIcon, same as SideNavMenu
not supported by default, but the logout item needs an icon, and custom items can use it too
Configuration menu - View commit details
-
Copy full SHA for f24d426 - Browse repository at this point
Copy the full SHA f24d426View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cc557b - Browse repository at this point
Copy the full SHA 6cc557bView commit details -
remove custom SideNavMenuItem, use SideNavLink for first level menu i…
…tems that one can do icons by default
Configuration menu - View commit details
-
Copy full SHA for 1c68ca8 - Browse repository at this point
Copy the full SHA 1c68ca8View commit details -
Menu carbonize UserOptions, split into user bit and GroupSwitcher
GroupSwitcher should just be a SideNavSwitcher, except it doesn't handle options where value != label, and the chevron doesn't trigger it
Configuration menu - View commit details
-
Copy full SHA for 944906e - Browse repository at this point
Copy the full SHA 944906eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25c0932 - Browse repository at this point
Copy the full SHA 25c0932View commit details -
leaving first-level sections and items in the first SideNav, but adding a second floaty SideNav when a section is selected, and moved second and third level menu there SideNav SideNavLink (section, level 1) SideNavLink (section, level 1) SideNavLink (item, level 1) SideNav.second SideNavMenu (section, level 2) SideNavMenuItem (item, level 3) SideNavMenuItem (item, level 3) SideNavMenu (section, level 2) SideNavMenuItem (item, level 2) (nothing does `setSection(null)` yet to hide the 2nd level nav)
Configuration menu - View commit details
-
Copy full SHA for 163e943 - Browse repository at this point
Copy the full SHA 163e943View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6373fa - Browse repository at this point
Copy the full SHA a6373faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 251e864 - Browse repository at this point
Copy the full SHA 251e864View commit details -
add new menu logos - expanded and collapsed
manageiq-logo-inverse - logo+manageiq, horizontal, for dark background manageiq-logo-glyph-inverse - just the logo, for dark background brand - original brand, just minified minified through [svgomg](https://jakearchibald.github.io/svgomg/)
Configuration menu - View commit details
-
Copy full SHA for 0d86a04 - Browse repository at this point
Copy the full SHA 0d86a04View commit details -
Menu - replace imagePath with logoLarge & logoSmall; add showLogo, sh…
…owUser we're not using brand.svg in menu anymore, replaced by separate files added showLogo and showUser props, defaulting to true, can be overidden from a plugin
Configuration menu - View commit details
-
Copy full SHA for 8019aa7 - Browse repository at this point
Copy the full SHA 8019aa7View commit details -
Menu - appearExpanded vs expanded
`expanded` is done explicitly by the user expanding or collapsing the whole menu, persisted in storage `appearExpanded` is what gets displayed The menu *appears* expanded when displaying search results, or when a menu section is expanded, even if it would be collapsed otherwise.
Configuration menu - View commit details
-
Copy full SHA for 9b2348d - Browse repository at this point
Copy the full SHA 9b2348dView commit details -
MenuSearch, SearchResults - search and display the results
does a case insensitive substring search on each item title, including parent titles ("compute clouds providers")
Configuration menu - View commit details
-
Copy full SHA for fc7cb69 - Browse repository at this point
Copy the full SHA fc7cb69View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab8c2d5 - Browse repository at this point
Copy the full SHA ab8c2d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 705d54e - Browse repository at this point
Copy the full SHA 705d54eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 145a365 - Browse repository at this point
Copy the full SHA 145a365View commit details -
Menu - add overlay, clicking in menu hides sections
any click in the first level navigation that's not stopped will close the secondary navigation so will any click on the overlay and added the overlay
Configuration menu - View commit details
-
Copy full SHA for 2be83e9 - Browse repository at this point
Copy the full SHA 2be83e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57a05ad - Browse repository at this point
Copy the full SHA 57a05adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ce55c3 - Browse repository at this point
Copy the full SHA 7ce55c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a98a701 - Browse repository at this point
Copy the full SHA a98a701View commit details -
Menu - ignore placement by default
new menu has no concept of placement, but not removing yet
Configuration menu - View commit details
-
Copy full SHA for b961aa2 - Browse repository at this point
Copy the full SHA b961aa2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83fc416 - Browse repository at this point
Copy the full SHA 83fc416View commit details -
menu - simulate hover effect on opened section
be in Overview > Dashboard, click on Compute section, move mouse to secondary menu before: Compute is no longer highlighted, only Overview is after: Overview is active, Compute has a fake hover effect
Configuration menu - View commit details
-
Copy full SHA for d55a9c2 - Browse repository at this point
Copy the full SHA d55a9c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff55409 - Browse repository at this point
Copy the full SHA ff55409View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a9ad77 - Browse repository at this point
Copy the full SHA 5a9ad77View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6b7567 - Browse repository at this point
Copy the full SHA c6b7567View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f99c18 - Browse repository at this point
Copy the full SHA 4f99c18View commit details -
Fix breadcrumbs spec - needs redux for the notification button, updat…
…e snapshot and made isDrawerVisible consistently a bool
Configuration menu - View commit details
-
Copy full SHA for c4ee22c - Browse repository at this point
Copy the full SHA c4ee22cView commit details -
Breadcrumbs - split into original Breadcrumbs + BreadcrumbsBar with N…
…otificationToggle
Configuration menu - View commit details
-
Copy full SHA for a7b37b3 - Browse repository at this point
Copy the full SHA a7b37b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4441de9 - Browse repository at this point
Copy the full SHA 4441de9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f1607c - Browse repository at this point
Copy the full SHA 3f1607cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92fb0d2 - Browse repository at this point
Copy the full SHA 92fb0d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdc9057 - Browse repository at this point
Copy the full SHA fdc9057View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c14fcf - Browse repository at this point
Copy the full SHA 4c14fcfView commit details -
main-menu: change single prop components to oneliners
and set the linter rule accordingly
Configuration menu - View commit details
-
Copy full SHA for dae234f - Browse repository at this point
Copy the full SHA dae234fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12e03ba - Browse repository at this point
Copy the full SHA 12e03baView commit details -
second level menu - hide after clicking on items
needed for about modal & react router routes (because there's no full page reload to hide the secondary menu)
Configuration menu - View commit details
-
Copy full SHA for 50f6bb1 - Browse repository at this point
Copy the full SHA 50f6bb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 858589f - Browse repository at this point
Copy the full SHA 858589fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a875324 - Browse repository at this point
Copy the full SHA a875324View commit details -
Menu - add history support for react router
basically v2v support, but it will work for any plugin which uses `.menu` and `HashRouter` would need different, simpler `currentUrl` logic for `BrowserRouter`
Configuration menu - View commit details
-
Copy full SHA for e2aab96 - Browse repository at this point
Copy the full SHA e2aab96View commit details