Commit Graph

206 Commits

Author SHA1 Message Date
Richard Cox 506edbb5a4 WIP Fix routing
- includes project/namespace and namespace pages
2022-08-24 14:57:21 +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
Nancy Butler 11d6a4b3e5 fix conflict 2022-08-19 12:29:30 -07:00
Nancy Butler 7f8d00f8e2 fix harvester members 2022-08-19 12:28:45 -07:00
Nancy Butler 8c6566e396 plugin validators dynamic import - not working 2022-08-19 12:28:35 -07:00
Nancy Butler c2497df37b Revert "remove nested edit views"
This reverts commit e835835943d63e74c50942884fec3706f8703047.
2022-08-19 12:25:28 -07:00
Nancy Butler cbeda4071c fix harvester manager->harvester routing 2022-08-19 12:21:43 -07:00
Nancy Butler ef800a881e fix harvester custom dialogs 2022-08-19 12:21:24 -07:00
Nancy Butler e18bf6598e fixes for build-pkg 2022-08-19 12:21:24 -07:00
Nancy Butler e10cccaf8a harvester custom routes 2022-08-19 12:20:53 -07:00
Nancy Butler b8f57a5fbb remove nested edit views 2022-08-19 12:20:01 -07:00
Nancy Butler a88ea801c9 routing maybe 2022-08-19 12:18:48 -07:00
Phillip Rak be087fe6e9
Merge branch 'master' into feature/toggle-switch 2022-08-19 09:34:01 -07:00
Neil MacDougall c1a4528b15
Prefer non-istio image when showing main image for a workload (#6691) 2022-08-19 14:23:44 +01:00
Neil MacDougall 684bdc93ff
On Resource Tab, only fetch events when events tab is active (#6683) 2022-08-19 09:46:32 +01:00
Neil MacDougall e1c62c56aa
Add feedback that kube config has been copied to clipboard (#6693) 2022-08-19 09:46:03 +01:00
Giuseppe Leo 698194fea3
Create E2E tests for cluster CRUD operations (#6284)
* Set data test id and allow complex component to have default and inherited values for all the actions

* Create cluster tests with steps; Create cluster E2E test

* Extend command to use selector matchers

* Create test for cluster navigation and deletion

* Extend commands to find by id as in get method

* Extend documentation with guidelines and info about E2E

* Correct cluster delete and details tests to get menu within speciftc cluster row

* Add remaining E2E tests for the cluster

* Add baseUrl to the paths

* Add RKE2 selection on cluster creation for CI

* Add E2E debugging information

* Rename clluster manager E2E for consistency

* Correct data test ID after rebase

* Prevent cluster provider errors if no management parameter is provided

* Prevent accessing objects in mutation if none is provided

* Remove imported cluster sample due discarded logic

* Reset RKE2 switch on cluster creation

* Adjust test naming for cluster manager

* Group tests under scoped cases
2022-08-17 20:48:20 +02:00
Phillip Rak 5d5e38a251 Move ToggleSwitch to @rancher/components
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2022-08-16 15:49:56 -07:00
Richard Cox 22ffb31bf4 Ensure live/delayed column update when user filters list
- fixes https://github.com/rancher/dashboard/issues/6653
2022-08-15 18:20:19 +01:00
Alexandre Alves 22d2df0d16
run condition to set page if the total pages are at least 1 in order to prevent resetting the current page (#6645)
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
2022-08-12 14:54:20 +01:00
Richard Cox f49c6bd006 Fix package script and visibility of incremental loading indicator
Script Changes
- fixed `require` errors
- ensure dashboard ignores output of scripts (useful for local dev)

Dashboard Changes
- only show the resource loading indicator if incremental loading is enabled
2022-08-10 12:52:28 +01:00
Richard Cox 84ebe845d0
Merge pull request #6599 from richard-cox/namespaces-not-in-groups
For certain roles hide concept of namespace outside of groups
2022-08-05 14:48:31 +01:00
Nancy Butler fbd7274aad do not attempt to filter-by-namespace for unnamespaced harvester resources 2022-08-04 10:35:08 -07:00
Richard Cox 6ceae93a75 For certain roles hide concept of namespace outside of groups
Users who have no overaching view of the cluster (non-rancher admins, non-cluster owners)
- shouldn't see namespaces outside of their projects
- shouldn't be able to create namespaces outside of their projects (specifically not in a project)
2022-08-04 12:39:03 +01:00
Richard Cox 29e74a0e35 Tweaks to the performance settings & loading indicator
- Following UX review this is the first set of changes
- The text on the settings page has been improved
- The background of the incremental loader has been removed
- Fixed a typo (`UI_PERFORNMANCE`)
2022-08-04 11:39:21 +01:00
Nancy 55b0564490
Merge pull request #6560 from n313893254/pr
HARVESTER: Fix HARVESTER v1.0.3 VM issues
2022-08-03 10:34:46 -07:00
Nancy Butler f0e16d7f78 default podaffinity namespaces prop to null instead of empty array 2022-08-03 10:29:14 -07:00
Catherine Luse 4b2a35b1e6
Merge pull request #6570 from catherineluse/filter 2022-08-03 07:23:39 -07:00
Alexandre Alves 94d8becc64
Incremental loading and manual refresh features (#6543)
- Add manual refresh experimental feature to specific list views
- Add incremental loading experimental feature to specific list views

Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
Co-authored-by: Richard Cox <richard.cox@suse.com>
2022-08-03 12:02:19 +01:00
yuzeng 3ad5318d94 Harvester: move harvester specific code out of PodAffinity 2022-08-03 18:17:08 +08:00
Richard Cox e3b0409c25
Merge pull request #6563 from richard-cox/fix-web-worker
Add in web-worker again, fix chrome in `-head` builds
2022-08-03 09:54:14 +01:00
Catherine Luse adf8c473bf Namespace filters apply on first page load 2022-08-03 01:22:17 -07:00
yuzeng 542ca71216 Harvester: typology field is inputable if get nodes failed 2022-08-03 00:37:45 +08:00
Nancy Butler f1c2715e91 fix azure warning banner link 2022-08-01 17:13:03 -07:00
Richard Cox 6d20772b78 Handle changes in sort field or order
- also created convenience method watcherUpdateLiveAndDelayed
2022-08-01 16:50:05 +01:00
Richard Cox ce939a27c7 Fix activeNamespaceCache given change in master 2022-08-01 16:49:19 +01:00
Neil MacDougall e12907be51 Fix live and delayed columns not updating 2022-08-01 16:04:53 +01:00
Richard Cox 7a03119c5c Revert "Merge pull request #6553 from mantis-toboggan-md/revert-6421"
This reverts commit c86abfae23, reversing
changes made to 57f9a3706c.
2022-08-01 12:04:41 +01:00
Nancy 46401c0ecd Revert "Use web worker to throttle counts and schema changes (#6421)"
This reverts commit 4687fbca17.
2022-07-29 16:23:54 -07:00