* 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
* 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
* 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>
* 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>
* Prevent ESLint to format generated paths
* Add HTML ESLint Rules
* Format all the Vue HTML templates except Harvester
* Exclude Harvester package from linting HTML, keeping old formatting rules
* Various fixes
* Error handling
* Fix lint
* Limit description length
* Only use system registry for Rancher images
* Change way we set defautl system registry
* Minor tweaks
* Fix bad rebase on this file
* Fix rebase issue
* Add link to manage repos
* Minor improvements
* Various fixes
* Fix developer load of plugins with '-' character in name
* IImprove installation detecttion and extensions naming
* Fix one more string
* Update placeholder icon
* Change pref string to Extensions
* Change icon and error handlers
* Error handling
* Fix lint
* Limit description length
* Ensure info panel readme info scrolls vertically for content
* Fix lint
* Fix bug where plugins don't load on fresh login or a login after logout
* Add chart compatbility filtering
* PR feedback
* Add check for access to ui plugin schema
* Update string following PR feedback
* Fix GitHub auth
* Fix lint
* Write in default system registry when we are installing the operator
* Fix issue where stuck installing on upgrade/rollback
* Fix bugs and tidy up plugin install/uninstall feedback in UI
* Only use system registry for Rancher images
* One more tweak to fix status on upgrade operation
* Fix extensions page reloading plugins
* Add message to reload the browser
* Fix reload notice for uninstall
* Change way we set defautl system registry
* WIP: Working version
* Further refinement
* Working version
* Refactor to a product
* i18n
* Fix lint and tidy comments
* Empty-Commit
* Bump e2e
* Latest fixes, i18n
* Fix lint
* Fix lint issues
* Fix imports for standlone plugin build
* Only load plugins in dev
* Fix lint issue
* Fix template errors
* Fix operator setup
* Fix menu actions
* Address PR feedback
* Address PR feedback
* Add new preference for plugin developer
* Update icon support
* Add third-party and experimental banners to slide-in
* Add support for update/rollback of a plugin
* Address PR feedback - i18n
* i18n - one more string localised
* i18n - one more string localised
* Minor visual tidy ups
* Use banner for install warning
* Fix saefMode
* Fix lint
* Add some responsiveness to the cards page
* Fix lint
* Bump PR
* Add debug to list coverage reports