Commit Graph

62 Commits

Author SHA1 Message Date
Neil MacDougall 7dd2692b55 Fix minor issue where changing filter collapsed side nav 2021-12-07 12:20:09 +00:00
Nancy Butler f299272250 account for hash in nav item : current route comparison 2021-11-30 08:55:45 -07:00
Nancy Butler 434ae90d3a fix default nav group expansion 2021-11-24 08:56:45 -07:00
Nancy Butler ee0b1c16a7 fix nav group expand 2021-11-22 09:16:14 -07:00
Nancy Butler e38f9ed8e2 cypress sessions
nav tests
2021-11-03 14:34:54 -07:00
Nancy Butler aaaf76bd1e fix group overview selection
remove group slot usage from default layout

pr feedback
2021-10-13 09:39:18 -07:00
Richard Cox 0ccf555427 Improve fix
- Basically, don't auto-select first group entry if we're already expanded
  - covers cases where group is pseudo expanded (root, always open)
- this removes almost all nav warnings
- Tested
  - Auth and Settings products (top level, no visual group root)
  - auth providers double click
  - cluster explorer all sections ('More Resource' doesn't autoselct as before)
  - cluster manager embedded pages
  - resource search (on click this doesn't auto-expand host group as before)
2021-08-25 09:28:20 +01:00
Richard Cox 6a60cc6cec Fix mighty confused routing
- Core Problem
  - Type component selects an item in the side menu... which then fires off groupSelected in Groups component
  - Group component groupSelected then replaces route with first item in group, regardless of the route Type that was just selected
  - Page however still stays on the Type's route and not what the $route now thinks is the current one
  - This leads to all sorts of errors when clicking around types in a group
- Problem from Issue #3989
  - There is a guard in Type that normally prevents the groupSelected from firing if you're on the same page
  - However for the auth provider, where we change the route to a configured provider on click, this compares '/c/local/auth/config' with '/c/local/auth/config/github'
  - This means we try to change the page, and GlobalLoading somehow gets stuck (we never receive the `finish` call, or even `failure` - https://nuxtjs.org/docs/2.x/features/loading#using-a-custom-loading-component
- Fix
  - Fixed for this specific issue by avoiding groupSelected when the group is the root (which means it's not a true group where the first should be selected)
  - This fixes the error, but also the error logs for the auth and setting products
  - This does not fix the error logs in groups where it's not root
- Future Fix?
  - Break the link between Type select and Group groupSelected. I have a feeling this is very situational and to do with automatic selection rather than user clicking on a specific type
2021-08-24 19:15:09 +01:00
Nancy Butler f9bddf5141 compare route fullPath instead of href 2021-08-05 07:34:41 -07:00
Neil MacDougall f05c22edde Fix broken resource search 2021-07-15 14:30:37 +01:00
Neil MacDougall 83ccd7206a Fix various side navigation bugs 2021-07-06 14:37:23 +01:00
Neil MacDougall 4c8408a175 Remove Cluster Manager 2021-06-25 08:18:47 +01:00
codyrancher 36ee60a536
Merge pull request #3289 from codyrancher/starred-and-permission
Adding another custom permission option for cluster members and allow virtualtypes to be favorited
2021-06-21 12:21:47 -07:00
Cody Jackson aaf9735cc1 Adding another custom permission option for cluster members and allow virtualtypes to be favorited
https://github.com/rancher/dashboard/issues/3247
2021-06-21 08:57:29 -07:00
Neil MacDougall d82b27487d Improve colour of sub-headings in nav 2021-06-17 16:00:11 +01:00
Neil MacDougall a1cee4ed56 Address PR feedback 2021-06-10 11:15:11 +01:00
Neil MacDougall d4869359cb Navigation: Allow default child for a group to be configured 2021-06-09 21:19:15 +01:00
Neil MacDougall ac5b2679cf Remove debug json in side navigation 2021-05-24 11:15:41 +01:00
Vincent Fiduccia a083312b00
Support showing ui.cattle.io.navlinks in the nav 2021-05-22 01:45:42 -07:00
Richard Cox f353773f25 Port Ember Version Modal & Minor Changes
Port the Ember Version Modal
- Previously this was reached via clicking on the version text in the footer, now it's reached via the user menu top right
- This also previously was a modal whereas now it's a page as per other user menu items

Minor Changes
- i10n - User menu text
- Fix - Size of side menu's group menu down arrow now fills menu hover area (no more thin hover colour below down arrow when in dark mode)
- Fix - Cluster Dashboard - Hide metrics Tabbed element if there are no Tabs (no more empty faded square at bottom when no metrics)
- Update support links
  - Home Page - Commercial Support - Link now goes to support page
  - Support Page - Contains links to both rancher support info and contact pages
2021-05-12 12:37:04 +01:00
Neil MacDougall d990e2e928 Side-navigation improvements 2021-04-29 13:56:20 +01:00
Neil MacDougall a157a44c5c
Merge pull request #2812 from nwmac/fix-nav-styling
Fix side-nav styling issues
2021-04-27 16:24:19 +01:00
Richard Cox f812b1864b Discussed with Neil, bringing back selected colour for icons 2021-04-27 14:00:40 +01:00
Neil MacDougall ae06ff8f30 Address PR Feedback 2021-04-27 12:12:26 +01:00
Neil MacDougall 89929c2ae8 Fix issue where root nav group can disappear 2021-04-26 13:24:53 +01:00
Neil MacDougall 5fdb3ada81 Fix side-nav styling issues 2021-04-23 12:10:33 +01:00
Neil MacDougall ce25ea07f7 Address PR feedback 2021-04-21 14:59:09 +01:00
Neil MacDougall 3619a2dde1 Merge branch 'resource-search' 2021-04-21 10:47:04 +01:00
Neil MacDougall 35cf9cef1d Collapse nav when going to Cluster Tools 2021-04-21 09:30:26 +01:00
Neil MacDougall 4238c96874 Tweak nav UI 2021-04-21 09:11:14 +01:00
Neil MacDougall 4e1b086c61 [2.6] Add Resource search into top nav 2021-04-20 17:37:58 +01:00
Vincent Fiduccia 3106dd4876
Merge pull request #2650 from vincent99/tools-product
[2.6] Cluster Tools & inline cluster product nav
2021-04-20 08:49:51 -07:00
Neil MacDougall bccf1bd3c6 Improvements to new navigation 2021-04-20 12:14:01 +01:00
Vincent Fiduccia 19947f5887
Use isExplorer to determine nav instead of selected productId 2021-04-20 02:51:41 -07:00
Neil MacDougall e31b232fb0
WIP: Navigation and other UI changes 2021-04-20 01:23:37 -07:00
Neil MacDougall 9f00271828
Tweaks 2021-04-20 01:02:15 -07:00
Neil MacDougall aafb2f5007
Experiment with different nav behaviour 2021-04-20 00:56:29 -07:00
Neil MacDougall cfef2ea1ca
Nav presentation minor tweaks 2021-04-20 00:49:58 -07:00
Neil MacDougall 29d8c07b86
Fix some lint issues 2021-04-20 00:49:58 -07:00
Neil MacDougall 8c44642fb7
WIP: Navigation and other UI changes 2021-04-20 00:49:55 -07:00
Neil MacDougall ce8c2cc89e
Tweaks 2021-04-20 00:47:28 -07:00
lvuch 8ee8660c09
rebase fix 2021-04-20 00:47:27 -07:00
lvuch b43dc1d40b rm transition request by vince 2021-02-10 14:39:48 -07:00
lvuch 2ed4a6e9dd 1823 2020-12-17 13:38:35 -07:00
Cody Jackson 30e119eaa9 Having parseSi handle increment null/undefined in the same way
- Also fixed a nav warning that showed up in the console by updating the expected prop type of expanded

rancher/dashboard#2023
2020-12-08 17:06:46 -07:00
Vincent Fiduccia efb6b2510f
Alignment of active item 2020-10-03 13:27:19 -07:00
lvuch 65872fa6f8
side nave active state 2020-10-03 13:20:17 -07:00
Vincent Fiduccia d824261315
Start latest round of catalog redesign 2020-09-03 20:59:50 -07:00
Vincent Fiduccia 6a5ce6f492
Left nav focus outline 2020-08-31 15:28:53 -07:00
lvuch c41b4a4660 nav spacing 2020-08-17 14:00:41 -07:00