Commit Graph

243 Commits

Author SHA1 Message Date
Jordon Leach cec1bb8aff
Change side-nav cluster order to sort by name (#6942) 2022-09-26 08:12:37 -04:00
Neil MacDougall 332f7309ba
Plugins: Move formatter cache loading out of Sortable Table (#6978) 2022-09-24 09:57:24 +01:00
Shavindra f4ce24754e
Check status.conditions exists before getting bundle lastUpdateTime (#6818)
* Check status.conditions exists before getting bundle lastUpdateTime - #6771 

* Check property existance when returning lastUpdateTime.

* Fix the conditions for row.status

* Fix status undefined.
2022-09-23 17:37:01 +01:00
richa 6794bd7e97
Move locale user preferences (#6828)
* Created LocaleSelector component

* Updated backend on lacal changes

* Hide none option in language list

* Fixed hovered state and added down arrow to dropdown list

* Fixed preferences error on login screen

* Corrected order of check

* Added variable to stor value before login

* Fix locale saving when not logged in

* Removed commented code and add comments for variable

* Added local in user-preferences page

* Added loginc in commit for settign user Preference

* Changes local selector template as per the login and user preference page

* Removed extra class, fixed tags closing

Co-authored-by: Neil MacDougall <nmacdougall@suse.com>
2022-09-22 16:49:59 +02:00
Richard Cox 4ca8d98e7d
Merge pull request #6934 from DaiYuzeng/resource-table
add ignoreFilter property to avoid filtering resource rows
2022-09-20 12:10:25 +01:00
Richard Cox a520f6a1d8
Merge pull request #6747 from aalves08/fix-issue-manual-refresh-live-and-update-delayed
Live and Delayed columns don't update after manual refresh
2022-09-20 10:39:05 +01:00
yuzeng b6f824cc65 add ignoreFilter property to avoid filtering resource rows 2022-09-20 14:06:10 +08:00
Alexandre Alves 8490dd4b59 remove check for timeout clearance 2022-09-19 14:52:32 +01:00
Jordon Leach c9a993f197
Add overflow-wrap to principle member name/loginName (#6909) 2022-09-19 08:58:45 -04:00
Alexandre Alves b26af7d738 bump timeout 2022-09-19 10:53:55 +01:00
Alexandre Alves 9938f0a7ba revert changes and increase timeout for applying watcherUpdateLiveAndDelayed with manual refresh 2022-09-19 10:53:55 +01:00
Alexandre Alves c33dea688b fix issue where where manual refresh wasnt triggering live and update of delayed cols in sortable table 2022-09-19 10:53:55 +01:00
Catherine Luse c30a39e5af
Merge pull request #6853 from catherineluse/create-ns
Only attempt to create namespace if it does not already exist
2022-09-16 01:56:18 -07:00
Richard Cox b5ca4919c3 Ensure roles that inherit from many many other roles can be edited
- For roles that inherit from 1000s of roles the edit experience becomes horrible
  - Getting to the detail/edit page of the role is a bit sluggish
  - Viewing the 'inherit from' tab in edit view is sluggish
  - Leaving the page after viewing `inherit from` tab causes dashboard to hang
- Root issue addressed in this commit is performance of the inherit from tab, specifically the tab hang one
- On a system with a cluster role that inherits from 1100 other roles
  - Tab shows one drop down for every role it inherits (1100)
  - Each drop down contains 1100 entries
  - Each slot that shows the drop down is passed 1100 roles as well
- To Address
  - Fix the primary issue of 1000s of selects with 1000s of entries
  - Reduce this to 1000s selects with 1 entry.... except when the user clicks on it
2022-09-14 17:10:51 +01:00
Alexandre Alves dbce9a902f
update initialLoad flag watcher in order to be properly triggered when data is already on the store for a given resource (#6889)
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
2022-09-14 15:11:38 +01:00
Richard Cox 89b8aaf279
Merge pull request #6855 from richard-cox/fix-bulk-collapsed-actions-text
Fix text for list's collapsed bulk action button
2022-09-14 09:57:19 +01:00
Jordon Leach 6965f796c0
Fix Principal member name overlap (#6831) 2022-09-13 07:55:45 -04:00
Richard Cox 3769c84b1f Fix text for list's collapsed bulk action button 2022-09-13 10:59:24 +01:00
Catherine Luse e20de14f51 Only attempt to create namespace if it does not already exist 2022-09-13 01:54:57 -07:00
wujun 0534137d0a
Add harvester feature (#6806)
* HARVESTER: sort setting list

* HARVESTER: refactor host console style

* HARVESTER: enhancement grafana reload

* HARVESTER: fixed edit footer style

* HARVESTER: Fix Hosts page showing incorrect Disk State

* HARVESTER: Fix storage used on dashboard page

* HARVESTER: add deepClone vm action

* HARVESTER: add cluster-registration-url message

* HARVESTER: Fix unable to add addition disks on Host

* Harvester: display more info on deleting namespace dialog

* Harvester: catch host cordon errors

* HARVESTER: set backupTarget s3 endpoint is optional

* HARVESTER: support save cloudInit as clear text

* HARVESTER: Fix storage allowScheduling issue

* HARVESTER: merge clone & cloneTemplate

* HARVESTER: fix use two type to save cloudInit

* HARVESTER: remove harvester mixin

* HARVESTER: Allowing users to download backing images

* HARVESTER: Fix lint

* HARVESTER: Fix harvester dialog

* add question mark to translation string

Co-authored-by: n313893254 <n313893254@126.com>
Co-authored-by: yuzeng <cridequeger@yahoo.com>
Co-authored-by: Nancy Butler <42977925+mantis-toboggan-md@users.noreply.github.com>
2022-09-12 10:23:48 -07:00
Richard Cox 7ecfe879c0 Merge remote-tracking branch 'upstream/master' into test-pluginize-rc-2 2022-09-09 13:19:15 +01:00
Richard Cox 846ee5f273 Remove references to process.client in components that are used in plugins
- this is a nuxt property that's not available in plugins
- these usages were primarily for SSR world which is no longer supported
2022-09-08 14:06:15 +01:00
Richard Cox 1ca68d4d3f
Fix generic prompt and prompt remove plugin overrides (#6819)
* Fix custom dialog components in plugins
- Ensure we check plugins for dialogs before falling back on shell dialogs
- Tested harvester host `enableMaintenanceMode` action and it successfully shows the custom dialog

* Fix custom prompt remove dialog components in plugins
- Ensure we check plugins for custom prompt remove dialog before falling back on shell dialogs
- Tested harvester host remove action and it successfully shows the custom prompt remove dialog

* Fix linting
2022-09-07 10:50:18 -07:00
richa 4134c1a9dd
Locale preference login page (#6597)
* Created LocaleSelector component

* Updated backend on lacal changes

* Hide none option in language list

* Fixed hovered state and added down arrow to dropdown list

* Fixed preferences error on login screen

* Corrected order of check

* Added variable to stor value before login

* Fix locale saving when not logged in

* Removed commented code and add comments for variable

* Added loginc in commit for settign user Preference

Co-authored-by: Neil MacDougall <nmacdougall@suse.com>
2022-09-07 18:01:09 +02:00
Richard Cox d728ddcc58 Fix linting 2022-09-07 11:41:10 +01:00
Richard Cox 2f6c389bb2 Fix custom dialog components in plugins
- Ensure we check plugins for dialogs before falling back on shell dialogs
- Tested harvester host `enableMaintenanceMode` action and it successfully shows the custom dialog
2022-09-07 09:59:00 +01:00
Richard Cox 5572b05380 Merge remote-tracking branch 'upstream/master' into test-pluginize-rc-2 2022-09-06 16:50:50 +01:00
Shavindra 35c51c7f47
Improve workload screens - #6455 (#6632)
* Make container tabs horizontal.

* Update cronjobs, DaemonSets, Jobs, StatefulSets to use same Workload component.

* Fix 6755 - Wrong sidecar config edit not shown in UI.

* Set Persistent Volume claim capacity as required.
2022-09-02 18:12:31 +02:00
Nancy fceec64854
fix azuread banner link 2 electric bugaloo (#6798) 2022-09-02 08:44:50 -07:00
Richard Cox 43d338fac2
Harvester Plugin (#6729)
* routing maybe

* remove nested edit views

* harvester custom routes

* fix loading imported dev cluster

* move harvester-manager hci.cluster type out of harvester pkg

* fixes for build-pkg

* fix harvester custom dialogs

* fix harvester pkg routing

* generateDynamicTypeImport hyphenated dirs

rename cloud_credential and machine_config back to cloud-credential and machine-config

* Appease linting

* Fix epinio pkg build
- Includes fixes for some dashboard component references

* Revert "Receiver credential secrets are deleted when secret is set to none"

This reverts commit 836460e2998959bcda0b14a9f6511f248980b7b5.

* Fix plugin modal cancel button in dark mode

* Ensure correct components loaded when a new version of a plugin is loaded
- The route matcher was never updated with new route-->component values
- This was due to `this.router.options.routes` not containing the result of `router.add`
- See https://github.com/vuejs/vue-router/issues/2280

* Revert "Revert "Receiver credential secrets are deleted when secret is set to none""

This reverts commit e524bb3d40ea7adfe35c38ec7870560625965d25.

* fix harvester manager->harvester routing

* rename dialogs

* move harvester-manager files out of harvester pkg

* Revert "remove nested edit views"

This reverts commit e835835943d63e74c50942884fec3706f8703047.

* plugin validators dynamic import - not working

* fix merge conflict

* fix harvester members

* fix conflict

* custom validators

* harvester table formatters

* members routing

* import path fixes

* harvester mutli load

* Port across tweaks made during dynamic plugin work
- harvester plugin can be bundled with the dashboard until dynamic work has been completed
- Nav directly to virt cluster dashboard instead of via /harvester-c-cluster
- Fix missing bottom border on virt cluster list, hide actions (as they're never populated)

* move config/settings and config/harvester-map

fix hci setting custom components

* fix harvester setting import path

* Move over SerialConsole and Novnc, remove harvester.notifications
- These components were so 1-1 with harvester in the end i moved them over
- Also removed the like-for-like generic.notification `harvester.notification` strings

* Remove isSingleVirtualCluster, most of isMultiVirtualCluster

* Fix two nav issues
- harv cluster members --> prefs --> click on-screen back
- dashboard --> prefs --> click on-screen back

Both of these would be better fixed by an incoming change to the default layout (don't show old content before switching page)

* Fix reload of project/namespace page

* Split out project namespace into it's own component (1 or 2)

* Split out project namespace into it's own component (2 or 2)

* use product hideSystemResources opt instead of isVirtual/product===virtual

* fix missing prop in header

* Move FilterLabel and CloudInitType to harv pkg + two other references

* Move Harvester Upgrade components to harv pkg
- Needs a review with Neil regarding generics

* rebase build+load not working

* fix harvester route in authenticated

* Experimental Changes

* Fix merge conflicts

* WIP Fix routing
- includes project/namespace and namespace pages

* Tidying up

* Move harvester core store to plugin, remove harvester code from authenticated flow
- harvester store is a steve store that now lives in the plugin
- harvester `loadVirtual` replaced with a shortened `loadCluster` in it's own store
- Also fix xterm css import

* Fix three routing related bugs
- Fix project/namespace create/edit/cancel/done flows
- Update harvester's loadCluster to better match loadCluster
- Make edit namespace page project resource agnostic

* Build fixes

* Fix create namespace button and other tweaks

* fix two issues with nav out of imported harvester cluster

* Fix alignment of action menu button
- Used in many places
  - all generic table action menus
  - global settings --> settings
  - rke1 cluster detail page machine pool group actions
  - project/namespace list project group actions
  - resource detail page action menu

* Revert changes to app and pkg creators
- This should fix `check-plugins-build` gate
- It does hide the underlying issue, but that won't have been brought in by this PR?

Co-authored-by: Nancy Butler <42977925+mantis-toboggan-md@users.noreply.github.com>
2022-09-01 08:57:05 -07:00
Richard Cox 1a680cf15f Fix load, added some TODOs 2022-09-01 15:44:45 +01:00
Richard Cox 8dde5bf3f2 Merge remote-tracking branch 'upstream/master' into harvester-plugin-rebased 2022-09-01 11:00:39 +01:00
Richard Cox 8a66d01ee7 Fix alignment of action menu button
- Used in many places
  - all generic table action menus
  - global settings --> settings
  - rke1 cluster detail page machine pool group actions
  - project/namespace list project group actions
  - resource detail page action menu
2022-09-01 10:47:27 +01:00
Jordon Leach c0b225fef1
Restore builtin role actions - disable rules for builtin roles (#6776) 2022-08-31 08:10:23 -04:00
Richard Cox c2cdd6936d Fix create namespace button and other tweaks 2022-08-25 18:14:15 +01:00
Richard Cox 4b1e0b427f Tidying up 2022-08-24 18:16:34 +01:00
Richard Cox 506edbb5a4 WIP Fix routing
- includes project/namespace and namespace pages
2022-08-24 14:57:21 +01:00
Neil MacDougall 42a98b0adc
Show if there is an updated RKE Template available for a cluster (#6671)
* Add notification if update to an RKE template is available

* Add template name and upgrade info to cluster detail page
2022-08-22 15:58:09 +01:00
Richard Cox 29fb3c603e Move Harvester Upgrade components to harv pkg
- Needs a review with Neil regarding generics
2022-08-19 12:35:31 -07:00
Richard Cox 3421a3f2b1 Move FilterLabel and CloudInitType to harv pkg + two other references 2022-08-19 12:35:03 -07:00
Nancy Butler db64bd86e4 fix missing prop in header 2022-08-19 12:35:03 -07:00
Nancy Butler 877d6815c9 use product hideSystemResources opt instead of isVirtual/product===virtual 2022-08-19 12:35:03 -07:00
Richard Cox 9b63888fb2 Split out project namespace into it's own component (1 or 2) 2022-08-19 12:31:52 -07:00
Richard Cox da6467d751 Fix reload of project/namespace page 2022-08-19 12:31:14 -07:00
Richard Cox c091ad178f Fix two nav issues
- harv cluster members --> prefs --> click on-screen back
- dashboard --> prefs --> click on-screen back

Both of these would be better fixed by an incoming change to the default layout (don't show old content before switching page)
2022-08-19 12:31:14 -07:00
Richard Cox 2d85cecd42 Remove isSingleVirtualCluster, most of isMultiVirtualCluster 2022-08-19 12:31:14 -07:00
Richard Cox d26f7e742b Move over SerialConsole and Novnc, remove harvester.notifications
- These components were so 1-1 with harvester in the end i moved them over
- Also removed the like-for-like generic.notification `harvester.notification` strings
2022-08-19 12:31:14 -07:00
Nancy Butler 846af8bc70 move config/settings and config/harvester-map
fix hci setting custom components
2022-08-19 12:31:13 -07:00
Nancy Butler 03c1bb8b0f harvester mutli load 2022-08-19 12:30:47 -07:00
Nancy Butler 770bc21e50 members routing 2022-08-19 12:29:52 -07:00