dashboard/shell/components/__tests__
momesgin 52ba43a636
FilterPanel Component (#14406)
* app card component

* cover upgradable and installed statuses

* support tags

* comment out handle clicks

* add matching chart logic

* add unit tests

* add unit tests for chart model

* fix e2e tests

* fix e2e test

* add secondary text link in css

* change AppCard to a generic ItemCard

* continue making itemcard more generic

* fix reference issue

* title slot + variant styling

* code cleanup + minor refactor

* new icons

* update icon lib + minor refactor and styling

* unit tests

* more unit tests for chart model

* refactor some slots + finishing touches

* some accessibility updates

* minor styling

* move image div inside slot

* uncomment e2e tests

* fix charts selector

* fix test

* fix statuses alignment

* more robust header styling

* remove PropType

* updated translation key

* update key

* rename

* improve aria labels + minor cleanup

* fix import

* replace deep targetting lazyimage css with style attr

* remove deep for actions + fix small header alignment

* rename component

* remove extra check

* add comments

* add comments to model

* use id instead of chartName

* remove todos

* fix matching app logic not including the latest version

* create RcFilterPanel component and use it in charts page

* fix repo click + minor styling

* update checkbox styling + fix unnecessary render for extra slot

* revert checkbox styling changes

* wrapper styling

* imporve performance

* debounce search query

* update e2e tests

* support actions as prop

* resolve conflicts

* update filter component + add statuses filter

* dynamic card layout when variant is not set

* fixed unit tests + lint

* removed unnecessary default props

* fix e2e test

* improve aria label message + remove unnecessary ones

* move component

* separate status filtering

* status tooltips

* fix export component

* Only calc variant twice

* lint

* fix unset debouncedSearchQuery

* resolve conflict

* add requestAnimationFrame to optimize observer

* fix resolve conflicts

* support both v-model and value + fix sluggish checkboxes + comments

* move RcFilterPanel to pkg

* unit tests

* remove unused carousel related code

* remove unused carousel related code

* remove unused carousel related code

* update card po and its usage

* rename

* resolve merge conflicts

* replace .no-card-click with RcItemCardAction component

* minor styling

* add po for rc-filter-panel and update e2e tests

* update unit tests

* refactor e2e test for disabled repo

* accessibility changes

* add translation + minor refactor

* add keydown handlers + minor refactor

* Revert ResizeObserver, also cache filteredCharts map result

* fix resolve conflicts

* fix resolve conflicts

* revert removed data-testid

* minor styling

* remove unused code

* update css space variables

* fix e2e test

* remove type description + minor styling

* update index.d.ts

* update logic to remove value prop

* rename footer item click

* add screen reader message for opening on a new tab

* check for option.label

* revert space variable changes and update .outlet padding instead

* revert spacing change

* fix using modelValue

* fix checkbox value type

* converted rc component to regular

* fix import

* fix type

* fix item card focus styling

---------

Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
Co-authored-by: Richard Cox <ricox@suse.com>
2025-06-13 15:16:13 -07:00
..
AppModal.test.ts Update unit tests 2024-08-22 16:09:54 -07:00
AsyncButton.test.ts improve a11y in some of our most used components in Rancher Dashboard (#14343) 2025-06-04 08:50:48 +01:00
BackLink.test.ts Update unit tests 2024-08-22 16:09:54 -07:00
ButtonGroup.test.ts Resolve a batch of unit test failures 2024-08-22 16:09:54 -07:00
ButtonMultiAction.test.ts Unit test `ButtonMultiAction.vue` 2024-09-26 16:28:40 -07:00
Carousel.test.ts add test + minor refactor 2025-02-11 09:57:03 -08:00
Certificates.test.ts Unit test: Migrate unit tests with the script 2024-08-22 16:07:03 -07:00
ClusterBadge.test.ts Unit test: Migrate unit tests with the script 2024-08-22 16:07:03 -07:00
CodeMirror.test.ts Vue3 fix unit tests (#11776) 2024-09-10 08:07:21 -07:00
Collapse.test.ts Fix users e2e tests 2 2025-02-28 12:46:55 +01:00
CollapsibleCard.test.ts Unit test: Migrate unit tests with the script 2024-08-22 16:07:03 -07:00
ConsumptionGauge.test.ts Vue3 fix unit tests (#11776) 2024-09-10 08:07:21 -07:00
ContainerResourceLimit.test.ts Feature/11881 unit input type fix (#11939) 2024-09-18 17:02:28 +02:00
CopyCode.test.ts [INT] Replaced vue-clipboard2 library with clipboard-polyfill (#10072) 2023-11-30 16:31:35 -08:00
CruResource.test.ts Fixed error message when received from Norman (#14413) 2025-05-29 14:31:03 -07:00
EtcdInfoBanner.test.ts Unit test: Migrate unit tests with the script 2024-08-22 16:07:03 -07:00
FilterPanel.test.ts FilterPanel Component (#14406) 2025-06-13 15:16:13 -07:00
FixedBanner.test.ts Fix FixedBanner so that we can show the appropriate stylized text also fix multi-line functionality 2025-03-17 14:41:53 -07:00
GrowlManager.test.ts Update unit tests 2024-08-22 16:09:54 -07:00
ModalManager.spec.ts Initial `$shell` api - add `ModalManager` and `SlideInPanelManager` (#13840) 2025-04-16 15:09:05 -04:00
NamespaceFilter.test.ts Vue3 fix unit tests (#11776) 2024-09-10 08:07:21 -07:00
PercentageBar.test.ts Update unit tests 2024-08-22 16:09:54 -07:00
PodSecurityAdmission.test.ts Unit test updates 2024-08-22 16:09:54 -07:00
ProjectRow.test.ts Rebase fixes 2024-08-22 16:09:56 -07:00
PromptModal.test.ts RKE1 Clusters unsupported (#14226) 2025-05-29 13:07:00 +01:00
PromptRestore.test.ts Unit test updates 2024-08-22 16:09:56 -07:00
SimpleBox.spec.ts Persistent deployment data (#6852) 2023-02-10 15:14:20 +01:00
SlideInPanelManager.spec.ts Initial `$shell` api - add `ModalManager` and `SlideInPanelManager` (#13840) 2025-04-16 15:09:05 -04:00
TabTitle.test.ts Unit test updates 2024-08-22 16:09:56 -07:00