Commit Graph

367 Commits

Author SHA1 Message Date
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
Vincent Fiduccia 4e8d114be1
Look for PUT instead of PATCH 2021-08-18 14:09:57 -07:00
Richard Cox 3ad4d0d641 Fix a number of issues around having no access to a cluster 2021-08-09 13:55:24 +01:00
Nancy Butler 5460cc548a fix selecting currently-active nav item 2021-08-06 06:17:03 -07:00
Nancy Butler f9bddf5141 compare route fullPath instead of href 2021-08-05 07:34:41 -07:00
Vincent Fiduccia c00707244a
Cluster search contains, not startswith 2021-08-04 01:14:19 -07:00
Vincent Fiduccia 5b01c41633
Fix shell when nodes aren't readable (#3498) 2021-07-19 01:58:09 -07:00
Neil MacDougall f05c22edde Fix broken resource search 2021-07-15 14:30:37 +01:00
Richard Cox 355c6b4f7f
Merge pull request #3440 from richard-cox/blank-local-cluster
Default to a blank cluster when the user does not have access to any
2021-07-14 10:53:39 +01:00
Vincent Fiduccia 10e694fbe9
Send terminal resize on interval to keep connection alive (#33468) 2021-07-13 15:59:50 -07:00
Nancy 30c183864e
Merge pull request #3425 from mantis-toboggan-md/bugfix-brand
ui branding issues
2021-07-13 07:12:26 -07:00
Neil MacDougall 116ce8ba28
Merge pull request #3438 from nwmac/iframe-wm-height
IFrame height should take into account the window manager when shown
2021-07-13 13:46:14 +01:00
Richard Cox 272e32550d Fix first set of issues related to blank cluster 2021-07-09 17:43:57 +01:00
Richard Cox 4019302243 Default to a blank cluster when the user does not have access to any
- Normally this is the local cluster for admins
- For non-admins (restricted-admins, standard users, etc) who don't have access to the local cluster this causes this causes 403 errors
- So for cases where we don't have a cluster default to a 'blank' one which we don't fetch
- Still need to check places where we assume 'local' cluster, including in routes, where we should use the new blank cluster... and pages/components that assume we have a currentCluster
2021-07-09 15:48:57 +01:00
Neil MacDougall 2b93a9e30e IFrame height should take in account the window manager when shown 2021-07-09 14:38:11 +01:00
Nancy Butler 527a42923e fix community links
support link visibility tweaks
2021-07-08 07:05:59 -07:00
Neil MacDougall 83ccd7206a Fix various side navigation bugs 2021-07-06 14:37:23 +01:00
Neil MacDougall 3f9d35cbd5
Merge pull request #3302 from nwmac/remove-cluster-manager
Remove Cluster Manager
2021-06-28 13:53:16 +01:00
Neil MacDougall 8dd0f6d2fc Tweak tooltip hover on cluster name 2021-06-25 15:09:29 +01:00
Neil MacDougall 4c8408a175 Remove Cluster Manager 2021-06-25 08:18:47 +01:00
Vincent Fiduccia f2cc17437c
Merge pull request #3294 from westlywright/bug.windows.shell
Windows Shell Bug
2021-06-21 15:24:02 -07:00
Westly Wright a236122bd3
check node and node info for os in container shell
to ensure the command is correct for windows nodes

rancher/dashboard#3157
2021-06-21 15:13:41 -07: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
Richard Cox a094f88f89
Merge pull request #3254 from richard-cox/local-cluster-menu-colour
Remove primary/branded colour of local cluster side menu item
2021-06-17 11:32:28 +01:00
Richard Cox 2bc1b7e085 Remove primary/branded colour of local cluster side menu item 2021-06-17 09:55:39 +01:00
Neil MacDougall f3cc824d0a Add tootip when cluster name is truncated 2021-06-16 13:35:58 +01:00
Neil MacDougall d0e9ea708b Fix text overflow for cluster name 2021-06-15 13:04:57 +01:00
Westly Wright 2bc63dab15
change shell command for windows clusters
rancher/dashboard#3157
2021-06-11 14:31:45 -07:00
Neil MacDougall a9831a872e
Merge pull request #3204 from nwmac/group-default-type
Navigation: Allow default child for a group to be configured
2021-06-10 14:15:09 +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
Richard Cox 175ee7d477 Show error/transition state description in resource lists
- for resources in error or transitioning states show the associated message underneath the row
- message is placed as default content in list's sub-row (currently only used for cis reports)
- also allow override of resource state object used to determine resource state and state message
  - only used in provisioning cluster to swap state with management cluster if not rke2
  - this will be reverted once backend correctly syncs state of legacy/rke1 clusters correctly

Also fixed indentation of unconnected clusters in side nav
2021-06-09 15:20:42 +01:00
Vincent Fiduccia c7c15455cc
Configure addon charts when deploying cluster 2021-06-08 15:14:44 -07:00
Neil MacDougall 5e55882b8e Address minor issues in side menu 2021-06-03 13:52:00 +01:00
Nancy Butler a45596926c hide support link for non-admins 2021-06-01 07:58:00 -07:00
Neil MacDougall 46c0a1e81c Minor visual tweaks to top menu/header 2021-05-28 21:28:23 +01:00
Neill Somerville d6dbbaa795
Merge pull request #3067 from neillsom/neill/2360/kubectl-shell-connecting-ux
kubectl shell connection status update
2021-05-27 09:32:54 -07:00
Neil MacDougall 20cb1fd137
Merge pull request #3031 from nwmac/unified-ui
Ember page embedding enhancements
2021-05-27 16:31:24 +01:00
Neil MacDougall 256cc40279 Address PR feedback 2021-05-26 20:44:31 +01:00
Neil MacDougall 3a031d7ec7 Fix issue with scroll showing for local cluster 2021-05-26 14:45:18 +01:00
Neil MacDougall 9a5a277463 Fix feedback followign review 2021-05-26 13:58:45 +01:00
Neil MacDougall a156beed09 FIx feedback from review 2021-05-25 16:16:50 +01:00
Neil MacDougall ca5a02acc9 Allow number of clusters shown in slide-in menu to be configurable 2021-05-25 16:16:50 +01:00
Neil MacDougall 8699cc71be Changes to add v1 charts to cluster tools 2021-05-25 10:42:19 +01:00
Neill Somerville 9a2841efe8 move connection message to be in view, change color for light mode visibility 2021-05-24 09:37:48 -07:00
Neil MacDougall 8c062fa808
Merge pull request #3039 from neillsom/neill/2942/icon-for-local-cluster
Update icon for local cluster to blue cow
2021-05-24 17:24:37 +01:00
Neil MacDougall 52c25c7074
Merge pull request #3046 from nwmac/branding-tweaks
Branding refinements
2021-05-24 16:43:44 +01:00