Commit Graph

913 Commits

Author SHA1 Message Date
Richard Cox 01219b751e
Merge pull request #10761 from richard-cox/pagination-node
Update Node list to support server-side pagination
2024-05-02 11:54:01 +01:00
Francesco Torchia c434fdbc33
Merge pull request #10911 from torchiaf/10906-vgpus-validations-2-9
Validate allocatable vGPUs number in Harvester clusters creation
2024-05-02 10:39:16 +02:00
Cody Jackson 6f7c29626c Removing the unauthenticated middleware 2024-04-30 13:36:40 -07:00
Francesco Torchia fc4051f4fa
Validate allocatable vGPUs number in Harvester clusters creation
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-04-30 16:30:26 +02:00
Richard Cox f0c397c001 Update Node list to support server-side pagination
- Setup pagination headers for the node type
- Define a pattern for fetching custom list secondary resources
- Major improvements to the way pagination settings are defined and created
- Lots of docs improvements
- Handle calling fetch again once fetch is in progress (nuxt caches running request)
- Validate filter fields (not all are supported by the vai cache
- General pagination fixes
2024-04-30 11:04:06 +01:00
Cody Jackson a9e9ceae68 Removing asyncData references and unused hot module reload code 2024-04-29 10:45:44 -07:00
Sorin 08f11a5d81
fixes i18n, new Cluster Appearance UX (#10677)
* fixes i18n and small UX
* new layout design for the modal
* enables edit badge from cluster explorer

---------

Signed-off-by: scures <scurescu@suse.com>
2024-04-29 17:12:16 +02:00
Phillip Rak 519559304e
Merge pull request #10801 from rak-phillip/feature/10774-plugins-i18n
Refactor the i18n plugin to use an install function
2024-04-29 08:10:28 -07:00
Nancy 557d0280fb
EKS Provisioning (#10581)
* eks initial

* k8s options

* eks node group component

* add config and networking components

* fix default region on initial load

* use .sync modifier in network tab

* launch templates

* node group styling

* spot instances/launch template instance type

* fix selectcredential footer when not showing the rest of the form

* cluster name description and options

* iam listRoles

* subnets

* k8s version dropdown custom

* logging tab

* agent deployment customization, labels and annotations

* working default values

* fix edit eks/aks

* instance types dropdown improvements and spot instance type filtering

* validation;

localization

* todos

* tests

* move diffUpstreamSpec

* clean up

* improve launch template loading appearance

* fix kms key fetch

* fix custom role radio

* fix failing nodegroup test

* fix lint

* fix typescript errors in crueks

* nodegroup ts

* cache ec2 instance types

* cache instance types in vuex

* nodegroup ts

* ts errors in eks networking

* eks config ts errors

* tweak nodegroup input sizing

* reset nodegroup default values if the launch template is cleared

* add tooltips and userdata file upload button to node groups

* add networking tooltips; make credential dropdown half width when not showing credential form controls

* fix rancher managed launch template detection

* fix networking tooltip

* show when a node group has a rancher-managed launch template

* fix error filtering for ec2 iam roles

* add system labels and annotations for norman clusters

* lint

* lint

* fix labels and annotations getters in norman cluster model

* added tests for norman cluster system labels and annotations

* fix some eks typescript and hide cluster name when no credential

* fix userdata sublabel link

* fix networking info banner translation typo

* node group size labels and tags should be editable
2024-04-26 09:06:48 -07:00
Phillip Rak 6940a250b8 Remove uneeded directives
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-04-25 08:18:55 -07:00
Giuseppe Leo 793f7c6023
Initial migration of Vue3 for compatible fixes (#10858)
* Correct file naming and small TS issues

Correct TS related issues

* Manual replacement of :is on standard HTML tags

* Add missing required in the code dependencies

* Correct SCSS import

* Correct test file naming

* Correct typo in markup

* Use alias for types import
2024-04-23 20:16:46 +02:00
Francesco Torchia 2c6711b3c0
Merge pull request #10657 from torchiaf/10588-harvester-vgpus
Add vGpus field in Harvester clusters provision
2024-04-22 17:53:38 +02:00
Giuseppe Leo c298d64d95
Replace default values of props using global variables with computed case (#10848)
* Replace store global var with i18n global var for props default value

* Replace props default values using i18n from state to computed values

* Added empty default value

* Add linting corrections not automatically triggered on save

* Fix typo
2024-04-22 11:03:07 +02:00
Alexandre Alves 7be2f2e81a
add mgmt cluster description to prov cluster description as fallback in home cluster list and main side nav clusters (#10782)
* add mgmt cluster description to prov cluster description as fallbacks in home cluster list and main side nav clusters

* address pr comments

* add e2e to test description for rke1 cluster in home page

* address pr comments
2024-04-20 10:03:18 +01:00
Richard Cox 2fe2c6be7e
Merge pull request #10828 from richard-cox/certificates-list-ns-agnostic
Make cluster dashboard certificates list ns filter agnostic
2024-04-19 08:55:04 +01:00
Francesco Torchia 523ef8830d
Add vGpus ArrayList props
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-04-18 15:24:36 +02:00
Cody Jackson e205b568ee Updating <router-link> to no longer use the deprecated :tag property 2024-04-18 04:23:04 -07:00
Francesco Torchia b487acbca1
Add vGpus field in Harvester clusters provision
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-04-18 12:46:40 +02:00
momesgin d5cc8072e0
Merge pull request #10710 from momesgin/10667-badge-color-position
Fix cluster's badge position
2024-04-17 12:01:55 -07:00
Richard Cox cc8f64267c Make cluster dashboard certificates list ns filter agnostic
- We don't really have a pattern for filtering lists within overview pages (outside of detail pages)
- For this one, it felt weird going to the local cluster and seeing no certificates (as we default to only show resources in user namespaces)
2024-04-17 13:39:28 +01:00
Mo Mesgin a017d44772 Merge branch 'master' of github.com:momesgin/dashboard into 10667-badge-color-position 2024-04-15 08:56:16 -07:00
Francesco Torchia be3ce0c7ee
Add column sublabel to SortableTable component
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-04-15 13:05:18 +02:00
Alexandre Alves 764fa6087d
add e2e tests for #10389 and #9926 (#10745)
* add e2e tests for #10389 and #9926

* disable eslint for massive blueprint schema file

* fix e2e test issue + sneaky improvement for carousel unit test

* uncomment missing e2e test

* simplify schemas data and logic to generate a V2 monitoring on a local cluster for e2e tests

* minor code cleanup
2024-04-10 08:41:18 +01:00
Alexandre Alves e6c4d0194e
Don't show state column on import yaml dialog (#10730)
* remove state col and subrows from import YAML action success screen + add tests

* fix e2e test issue

* address pr comments

* address pr comments
2024-04-09 09:04:30 +01:00
Alexandre Alves 7cc94dcf44
fix visual bug with cluster description on main side nav (#10767) 2024-04-08 16:22:05 +01:00
Alexandre Alves cfa8f469d5
4600: add e2e test (#10739)
* add e2e test

* simplify logic around generating an Opa-Gatekeeper app for e2e
2024-04-08 09:55:12 +01:00
Francesco Torchia c122c28b4f
Merge pull request #10502 from torchiaf/10423-background-settings
Branding settings: Login Background & Banner
2024-04-08 10:18:38 +02:00
Richard Cox 7108e56e66
Merge pull request #10349 from richard-cox/pagination
Server-side pagination - First, limited change, disabled in code
2024-04-05 10:03:37 +01:00
Alexandre Alves c7ffa7477c
10153: add e2e test (#10731)
* add e2e test

* fix e2e test issue

* fix e2e test issue
2024-04-04 09:50:40 +01:00
Alexandre Alves 00e4f83c34
code cleanup + fix breaking logic on unit test with non-existance of nodes to clone + add unit test (#10737) 2024-04-02 17:19:29 +01:00
Richard Cox 0862b80433 Changes following review
- General changes following review comments
- Fix issue where in local cluster the systen classed namespace associated with a project would get muddled with selecting user resources in mathing project
  - Part of this is a big refacture, most of the code to create pag filter params is now in a helper filer
  - Added much improved typing
- Fixed issue where the dynamic namespaces (c-, p-, etc) weren't correctly hidden
- Move user to previous page if last entry on last page deleted (and there is a previous page)
- Fix confusing preference to hide dynamic namespaces (c-, p-, etc)
2024-04-02 14:22:24 +01:00
Richard Cox 1dfe72af03 external-pagination prop to external-pagination-enabled 2024-04-02 13:34:36 +01:00
Richard Cox 09614b0136 Server-side pagination
Polish and fixes from alpha
2024-04-02 13:34:36 +01:00
Richard Cox ae7eb102ad Pagination Alpha 2024-04-02 13:34:36 +01:00
Alexandre Alves bf435d691d
add missing translation to hardcoded string and adjust of copy + change key shortcut to ALT key only + remove lodash usage (#10707) 2024-04-01 17:00:59 +01:00
Phillip Rak 6206f9763c
Merge pull request #10716 from rak-phillip/chore/remove-nuxt-link
Replace `nuxt-link` with `router-link`
2024-04-01 08:00:12 -07:00
Neil MacDougall 0770ab76e5
Add unit tests for etcd banner fix (#10692)
* Add unit tests for etcd banner fix

* Fix lint issues
2024-03-28 16:58:39 +00:00
Francesco Torchia 274391f838
Add e2e tests - login backgrounds and banners
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-03-28 17:52:39 +01:00
Francesco Torchia 2a7174b698
Remove login settings from computed values to avoid settings reset on login
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-03-28 13:26:10 +01:00
Francesco Torchia ad99902eb3
Add new settings: Branding/Banner
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-03-28 12:30:42 +01:00
Francesco Torchia 75e11e70c8
Add new settings: Branding/Login background
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-03-28 12:29:30 +01:00
Neil MacDougall f6c80b295f
Add root product to improve performance of nav change within inExplorer products (#10447)
* Fix race condition in loadCluster

* Revert new error and comments

* Improve navigation performance for products within the explorer product

* Remove unused getter

* Fix issue with not loading nwe cluster when changing clusters

* Fix bug where sidenav take a short time to update (was using queueUpdate)

* Fix lint issues

* Address PR feedback
2024-03-28 09:28:23 +00:00
Phillip Rak fdc415d437 Use correct stubs in unit tests
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-03-27 14:29:55 -07:00
Phillip Rak 7e703b4c74 Replace `nuxt-link` & `n-link` with `router-link`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-03-27 14:04:17 -07:00
Phillip Rak 5ac36f3268 Replace `nuxt-link` with an alias
`nuxt-link` will be removed from Dashboard and will print a deprecation warning when it is used.

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-03-27 14:03:36 -07:00
codyrancher ba94731a93
Merge pull request #10702 from codyrancher/workload-title-fix
Making sure tabTitle updates if the content of a slot updates
2024-03-27 09:07:06 -07:00
Phillip Rak 6e9f80c8c2
Merge pull request #10689 from rak-phillip/chore/simple-store
Replace `createNamespace` pattern with a simple store for sharing data
2024-03-27 07:59:46 -07:00
Mo Mesgin fae0bce0b1 Merge branch 'master' of github.com:momesgin/dashboard into 10667-badge-color-position 2024-03-27 07:57:15 -07:00
Richard Cox 89d4eab4ca
Merge pull request #10455 from richard-cox/fix-dup-mgmt-setting-requests
Remove duplicate calls to mgmt settings on fresh load
2024-03-27 11:03:21 +00:00
Francesco Torchia 294e7bc741
Merge pull request #10596 from torchiaf/10561-navlinks
Remove Vue `getMatchedComponents`
2024-03-27 11:13:23 +01:00