* update extensions tabs
* update version on cards + display date + update tooltips
* taking care of actions
* taking care of PluginInfoPanel
* update unit test file format
* unit tests
* add icon to the action button on the modals
* fix the modal's title and subtitle messages
* display tags on the info panel
* capitalize built-in
* remove unused code + update comments
* minor refactor
* keep active tab on refresh + rename
* fix spinning icon on the modal
* fix uninstalling icon
* update extensions po and e2e tests
* fix test
* fix import
* fix test
* fix flickering
* update installed tooltip
* fix test
* add back tests and fix warnings
---------
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
* Handle UI plugins with chart version and appVersion not matching
This change adds handling for UIPlugins which are installed from charts
where chart version and chart appVersion don't match.
- Determine plugin upgradability by comparing UIPlugin version with chart appVersion
with a fallback to chart version if appVersion is not available
- Update PluginInfoPanel to handle plugin version not matching chart version by checking
appVersion first
- Update InstallDialog to handle plugin version not matching chart version by checking
appVersion first
- Display plugin versions in `appVersion (chart version)` format if appVersion differs
from chart version
Fixes issue https://github.com/rancher/dashboard/issues/14204
* Add tests for uiplugins chartversion utils
* fix item 2: All page content should be contained by landmarks
* fix item 4. Elements must only use permitted ARIA attributes
* fix item 6. ARIA attributes must conform to valid values
* fix bug on item 6. and fix item 7. <ul> and <ol> must only directly contain <li>, <script> or <template> elements
* fix item 8. Interactive controls must not be nested
* fix item 10. ARIA toggle fields must have an accessible name
* fix item 11. autocomplete attribute must be used correctly
* fix item 12. Form elements must have labels
* fix item 14. ARIA input fields must have an accessible name
* fix item 15. Buttons must have discernible text
* fix item 16. Images must have alternative text
* working on item 17
* finish fix item 17. ARIA role should be appropriate for the element
* fix wrong role in hidden inputs
* address pr comments
- labelSelector has two primary applicators
- matching utils function
- this should normally NOT be cached and not receive updates over sockets
- this is done by stipulating transient = true
- findLabelSelector
- this should normally be cached and receive updates
- this is done by stipulating transient = false
- when applicable (workload and services detail page) we want live updates whilst we're on the page
- we don't when we leave, so unwatch
- fix and align these two and their usages
- ensure each input (transient) is correct for context
- ensure response is in the correct format and handled correctly
- improved typing
Additionally
- Improve labelling for network policy ingress/egress label selectors
- Replace empty table with 'no details' in cis report detail page's list's sub row
- On services page handle the very weird use case of no visibility on pods
- Fix issue where extension catalog was not showing when refreshing on extension catalog page list
- Fixed an issue where we would ALWAYS show false positive invalid field warning in console
- Bump up default page size from 10k to 100k
- this is for requests we make to the new vai cache outside of pages
- it matches the default they use when proxying requests to target kube cluster
* refactor catalog install and uninstall extension modals as a prompt modal + add unit tests
* remove todos
* address merge conflicts + revert change to structuredClone + update unit test
* refactor add repos and developer load extension modals as a prompt modal + add unit tests
* fix broken unit test
* remove unused prop
* remove todos
* code cleanup
* Assign route resources in `created()` hook
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Move init logic go `created()` hook
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Remove constants from data props
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Move init logic to `fetch()` hook
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Move vuex getters into computed props
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
---------
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* working on focus trap composable
* working on slide in panel refactor
* add change so that we dont have a change on the component diff
* fix slidein extension details panel key nav
* fine tune cluster badge trigger btn
* finish work on extensions page
* fix lint errors
* address pr comments
* fix problems of propagation
* update return focus for some modals in the extensions main screen
* remove dead code + fix focus selector return for add extensions repo and developer install modals
* remove $set from AKS validators
* fix cruGKE not rendering
* fix most aks unit tests
* fix crueks and eks config unit tests
* fix eks networking and nodegroup unit tests
* fix gke unit tests
* fix consumption gauge test
* fix namespacefilter tests
* fix command and taints unit tests
* fix questions unit tests
* fix hpa and service unit tests
* fix registryconfigs unit tests
* fix job unit tests
* fix longhorn unit tests
* fix addextensionsrepos unit tests
* fix rke2 basics unit tests
* fix container shell unit tests
* fix last aks pool test
* fix mount tests
* fix namespace and pv unit tests
* fix codemirror unit tests
* clean up aks, boolean, namespacefilter unit tests
* fix namespacefilter test
* remove redundant test case
* Support built-in plugin operator with feature flag
Update unit tests to account for feature flag
* remove waitForPage from addExtensionsRepository
* adjust before and beforeEach hooks in kubewarden spec
* adjust beforeEach hook on KW spec so that it matches what is on the extension spec, which is working as expected
* Add catchTargetPageException
---------
Co-authored-by: Alexandre Alves <alexandre.alves@suse.com>
* Only add Rancher UI Extension repository if prime
* minor changes to logic for rancher prime and display of rancher repos checkbox + add unit tests
---------
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>