* 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
* 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
* 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
* 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>
* Initial Example
* Add toggle expand all
* Add panel resize
* Fix close and open after resize
* Fix expand all
* POC: Kubectl explain interface
* Fix some lint issues
* First version of the kubectl explain UI
* Improvements
* Fix lint
* Tidy up Open API data fetch
* Tidy up code for parsing OpenAPI
* Many tidy ups and simplifications
* Add error message if we can't load Open API Data
* Ensure action appears only when there is a resource
* Fix lint issue
* Test e2e
* e2e
* e2e
* USe canary browser
* Use firefox
* Try chrome version
* Auto accept prompt
* Accept
* Last try
* Install Chrome
* Run as root
* Fix paths
* Add quiet flag, fix paths
* Use browser path
* Try debugging port
* Further attempts
* Set path
* Add debug env var
* Try edge
* Use specific version
* Add allow downgrades
* Use Chrome
* Remove WIP
* Adderss PR feedback
* Fix for no cluster
* Address PR feedback
* Fix lint issue
* Fix position with banners enabled. Restrict products for which this is shown
* Fix lint issue
---------
Co-authored-by: Richard Cox <richard.cox@suse.com>
* add logic to display message on installed extension card to warn user when kube version for installed extension is not met + add logic to disable version buttons on info side panel
* add code comment
* minor cleanup
---------
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
* fix issue where extension versions appeared as duplicated
* remove force option
---------
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
* add logic around limiting extensions to a specific ui-version
* fix semver version comparison to use rancher version
* fix version fetching for ui-rancher annotation on extensions
* ignore checks for head versions (hash) on ui-version annotation for extensions
---------
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>