Commit Graph

620 Commits

Author SHA1 Message Date
Alexandre Alves 0f967a9692
Session Idle feature refactor (#15509)
* redoing PR without changes

* fix stash apply

* fine tuning inactivity logic + add missing change to deprecate inactivity  performance setting

* update inactivity utils module to a singleton + fix e2e test

* fix e2e test

* fix e2e test

* fix e2e test

* finally fix session idle e2e testsg

* update PR based on comments

* update PR based on comments

* updating logic to inactivity

* fix broken e2e test + remove console logs
2025-10-22 10:07:09 +01:00
Alexandre Alves 8215d6d3f4
add dropdown menu to change rows count in events table in cluster dashboard (#14622)
* 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>
2025-10-15 11:20:58 +01:00
momesgin ba4b4726c4
Chart Card Updates (#15560)
* 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>
2025-10-10 12:19:41 -07:00
Richard Cox 966a7a4c46
Merge pull request #15534 from richard-cox/pagination-extensions-resource-enable
Allow extensions to enable server-side pagination for new resource types
2025-10-07 13:39:35 +01:00
Richard Cox d58e8182d0
Merge pull request #15392 from richard-cox/update-event-sort-order
Table Sort Improvements
2025-10-07 11:00:30 +01:00
Richard Cox 4305bcb0ba Merge remote-tracking branch 'upstream/master' into pagination-extensions-resource-enable 2025-10-06 11:20:05 +01:00
momesgin 6f251c8bf9
Extensions page design changes (#15522)
* 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>
2025-10-03 09:09:52 -07:00
Richard Cox c87d218c36 Merge remote-tracking branch 'upstream/master' into pagination-extensions-resource-enable 2025-10-03 09:25:12 +01:00
momesgin 43437c1e2e
Apps & Marketplace - Long repo names (#15563)
* 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>
2025-10-02 16:55:05 -07:00
Richard Cox 539d61dbd9 Allow extensions to enable server-side pagination for new resource types
- 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
2025-09-29 15:06:43 +01:00
momesgin cba962d494
update icons lib and use new icon for downgrade (#15501)
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2025-09-23 12:20:49 -07:00
momesgin 9f87df2386
Charts actions on detail/wizard/tools pages (#15351)
* separate edit and upgrade on chart detail page

* separate edit and upgrade on tools page + fix tests + lint

* unit tests

* fix e2e test

* downgrade action + selected version on header + statuses order + banners position

* update actions

* wizard header

* actions on tools page

* unit tests

* fix header items click issue

* update downgrade icon

* rename property

* update selector

---------

Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2025-09-18 14:20:43 -07:00
Richard Cox da2484b0cb Sort Improvements + Fix Events SSP sort
- 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
2025-09-11 11:16:46 +01:00
momesgin 61af7ee162
fix mistakenly removed default icon (#15385)
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2025-09-10 10:15:09 -07:00
momesgin 6e18b11a97
make extensions progress statuses consistent (#15357)
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2025-09-09 09:07:33 -07:00
momesgin 21efb164fe
add back deploys on windows tag (#15372)
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2025-09-08 14:25:50 -07:00
Neil MacDougall 3a7c0a2147
Show Ember deprecation banner on kontainer drivers page only when admin (#15263)
* Show Ember deprecation banner on kontainer drivers page only when admin

* Use existing isAdmin function
2025-09-03 19:44:00 +01:00
momesgin ef6d0a8ffb
15200 extensions page (#15224)
* update uiplugins page to use rc-item-card

* update tests

* fix tests

* fix selector

* fix visibility checks

* fix tests

* hide banner when loading

* remove wrong v-once

* styling

* fix import

* fix header actions alignment

* styling

* minor refactor

* unit tests

* minor refactor

* fix error statuses

* replace non-working useAttrs with a prop

* fix panel getting closed immediately

* consider footerItem type being optional when it's used

---------

Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2025-08-29 17:59:32 -07:00
Richard Cox 61ff54ddd2 Change cc group by provider icon from service to folder 2025-08-28 10:53:28 +01:00
Richard Cox 80c497fc72 Fix Cloud Credentials group-by provisioner
- 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
2025-08-28 10:53:28 +01:00
momesgin a0c057817d
Fix deprecated charts not being returned from store (#15149)
* 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>
2025-08-22 09:13:09 -07:00
momesgin 39661989bf
Cluster tools page (#15164)
* cluster tools page new design

* fix failing unit tests

* fix e2e tests

* overwrite actions icon styling

* rename variable

* change install icon

* remove extra line

---------

Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2025-08-21 15:53:10 -07:00
momesgin 3b978a2e7e
Handle charts zero date (#14820)
* 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>
2025-08-14 12:00:57 -07:00
codyrancher bdb6a8d441
Remove the concept of legacy/latest detail pages (#15076)
* Remove the concept of legacy/latest detail pages

* Update the padding for explorer pages

* Fixing an issue found with the outlet padding change
2025-08-07 16:36:56 -07:00
momesgin 8192430a5a
charts filtering tooltips (#15102)
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2025-08-07 15:53:03 -07:00
momesgin 6b73646157
Keywords on chart detail page (#15075)
* fix broken keyword comma + remove extra space

* fix dashed border color

* fix keywords alignment + remove unnecessary styling

---------

Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2025-08-06 17:02:40 -07:00
Nancy 0e445a4a81
Merge pull request #14460 from mantis-toboggan-md/install-button
Add a button to quickly install helm charts outside the apps and marketplace
2025-08-01 07:22:22 -07:00
Jiri Tomasek c5b4d8114e
Handle UI plugins with chart version and appVersion not matching (#14207)
* 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
2025-07-31 14:52:21 +01:00
momesgin 08ab4dbe8b
Chart Detail Page (#14918)
* 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>
2025-07-30 10:52:13 -07:00
Richard Cox 788db6edd7
Merge pull request #14468 from richard-cox/remove-cred-expiration
Reverts features that work around expiring harvester credentials
2025-07-28 09:04:11 +01:00
Francesco Torchia 8b62abaf55
Merge pull request #14859 from torchiaf/14752-search-filter
Fleet add `search` input to filter Dashboard's cards
2025-07-28 09:29:43 +02:00
Richard Cox 0d21048c6b Reverts features that revolve and work around expiring harvester credentials
- Given harvester tokens will now not expire revert features around expiring tokens
  - https://github.com/SUSE/rancher-architecture/pull/4
- Warn users when creating harvester tokens that they expires
  - https://github.com/rancher/dashboard/pull/11313
- Warn users that an existing harvester token is about to/has expired and let them renew it
  - https://github.com/rancher/dashboard/pull/12157
2025-07-25 10:20:30 +01:00
Nancy Butler 9e3ea66ec8 fix btn visibility 2025-07-24 10:41:56 -07:00
Nancy Butler 3bb8850949 translations, bugs 2025-07-24 10:41:56 -07:00
Nancy Butler d0d374a84a button 2025-07-24 10:41:55 -07:00
codyrancher 20f1b32848
Resolving some z-index issues around tooltips and slide-ins (#14840)
Fixes #14833
2025-07-23 15:17:42 -07:00
Francesco Torchia 6c66be73bd
Fleet search input style fix
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-22 18:02:31 +02:00
Francesco Torchia e0b5180e2a
Fleet implement search input tests; add more Dashboard unit tests; Fix FLEET.REPO typo
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-22 14:04:33 +02:00
Francesco Torchia 59da30875c
Fleet debounce dashboard search input update
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-21 18:21:54 +02:00
Francesco Torchia 1a16f3b7e3
Fleet add search input in dashboard - workspace panels
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-21 17:38:20 +02:00
Francesco Torchia b8750fc366
Fleet clean-up dashboard filter methods
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-21 17:36:33 +02:00
Richard Cox eb1c08032f
Project Scoped Secrets (#14772)
* 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>
2025-07-15 08:27:26 +01:00
momesgin c9744d1da5
RichTranslation component for embedding components in translations and fix repositories causing refresh (#14736)
* 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>
2025-07-10 12:02:06 -07:00
Alexandre Alves faa7fe3b60
A11y report fixes (#14530)
* 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
2025-07-10 10:09:09 +01:00
Francesco Torchia 400889fa09
Fleet fix dashboard class name conflicts
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-09 12:09:32 +02:00
Siva Kanakala 38d02a4548 fix-clipping-graphs 2025-07-08 22:42:32 +05:30
edenhernandez-suse bdc5036a8f
Charts spacings adjusted 2025-07-08 17:09:31 +02:00
edenhernandez-suse 0419eae02d
Gaps to 16px 2025-07-08 17:09:31 +02:00
edenhernandez-suse 25a36a1c70 Lint fixes 2025-07-07 17:22:03 +02:00
edenhernandez-suse f88adc9a8f Min width to H2 parent, not child 2025-07-07 17:03:06 +02:00