* add dropdown menu to change rows count in events table in cluster dashboard + e2e test
* Tweaks and PR feedback
---------
Co-authored-by: Neil MacDougall <nmacdougall@suse.com>
* update installed tooltip
* fix tests
* display last updated on tools cards
* wrap subheader items on cards
* update data-testid and fix e2e test
* update type and add optional chaining
* add more optional chaining
* one more optional chaining
---------
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
* 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 long repo names + update filters color
* revert filters text color change
* minor refactor
---------
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
- previously only completely generic lists were supported in extensions (i.e. no custom list component or custom headers)
- now we allow extensions to explicetely state a resource type is enabled
- this type MUST have pagination settings applied either via product or component config
- Apply SSP sort order with generic `:desc` notation,
- Allow headers to provide default sort order
- Ensure SSP first seen and last seen column sorts behave the same
- Provisioner column now correctly shown and users can switch between grouping by provisioner or not
- This should in theory be done by the type-map resource config, however shell/store/type-map.js optionsFor fails to find the CC options
- So it's done inline instead
- This probably came in with the work to get vai and group by working (which fixed a number of things)
- Before the list abused some of the properties to always group by providerDisplay however not show the group options at top or provider column
* fix deprecated charts not being returned from store
* revert
* add missing deprecation flag to 'catalog/version' getter
* add missing query parameter
* update unit test
---------
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
* hide date for appco charts
* handle charts zero time
* minor refactor + update translations
* fix tooltip overlapping with scrollbar
---------
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
* chart detail page
* rename css classes
* update repo link to the detail page
* accessibility improvements
* fix e2e test
* add e2e tests
* tooltip for zero date
* fix e2e tests
* fix e2e tests
* fix e2e test
* use RcButton
* version date tooltip
* add icon to upgrade button
* replace anchor tag with router-link
* fix e2e test
---------
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
* rename variables
* change button names + fix import
* apply pagination to secrets
* Major Changes
- secrets and project scoped secrets are now two pages
- this fixes the issue where resource-fetch and associated mixins just fail with two of the same type on page
- incremental loading would have been broken for both
- project scoped secrets
- now correct lists upstream secrets that a project scoped based and on the target cluster
- lots of work to get CRUD for management secrets in explore/cluster world
- also includes a specific page to override the store for create/edit/view
- these are now correctly grouped by project
- updated to work with SSP enabled
- secrets list
- shows if the secrets comes from a project
- shows if the secret is a project scoped secret (only used on upstream cluster)
- updated to work with SSP enabled
- disabled update/delete of secrets created from project scoped (these just reset when sync runs again)
- disabled new detail view
- this is broken, it ignores both storeOverride and currentStore, always going to `cluster` store
TODO:
- mostly testing
- blocked on some BE issues (bugs, additional indexed field)
* ... progress. will update commit message
* Revert "Merge pull request #14748 from richard-cox/revert-project-secrets"
This reverts commit be3962261d, reversing
changes made to 62d80084d9.
* tidy, and remove e2e
* test fixes
* fix vai group by
* Fix for grouping (secrets --> group by namespace --> pss --> table is incorrectly grouped but toggle is correct
* fix warning
* fix clone/yaml, fix default/system pss
* don't fetch projects, it wipes out header. this means in upstream we won't show project names for pss downstream
* fix lint
* fix ts complain
* Tweak column tooltips
* Add cypress logs for failing tests
* pipe in `inStore`
* tweaks to cypress logs process
- better name
- log http requests
- only create logs if run failed
* Secret selector improvements and test fixes
- don't cache or watch secrets if we're showing multiple selectors on a page
- ensure we classify secrets (make it into an instance of a model)
---------
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
Co-authored-by: momesgin <mo.mesgin@suse.com>
* add new component to support rich translation
* add test + minor refactor
* add whitelist for tags + fix test
* use new translation component for charts empty state
* fix docs message
* remove unused prop
* remove weak test
* fix tag
* fix tag
* revert removing root tag as prop
* fix type
* minor refactor
* sanitization
* replace escapeHtml with purifyHTML
* use rich translation for no charts docs message
---------
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
* 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