dashboard/shell/composables
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
..
drawer.ts Add focus trap for the ResourceDetailDrawer 2025-06-25 10:21:07 -07:00
focusTrap.ts Update AppModal, PromptModal and focusTrap (#14186) 2025-04-30 09:16:48 +01:00
resources.test.ts Resolving an issue when DetailText received undefined/null value (#14652) 2025-07-08 16:51:53 -07:00
resources.ts Project Scoped Secrets (#14772) 2025-07-15 08:27:26 +01:00
useClickOutside.ts Create component `PageHeaderActionMenu.vue` 2024-10-02 10:09:39 -07:00
useCompactInput.test.ts Reintroduce "Write tests for `useCompactInput` and `useLabeledFormElement`" 2024-03-13 10:10:26 -07:00
useCompactInput.ts Reintroduce "Write tests for `useCompactInput` and `useLabeledFormElement`" 2024-03-13 10:10:26 -07:00
useI18n.ts Add the card components necessary for the new detail page 2025-06-12 17:14:56 -07:00
useIsNewDetailPageEnabled.ts Resolve new masthead issues in regards to harvester 2025-06-26 16:18:10 -07:00
useLabeledFormElement.test.ts Reintroduce "Write tests for `useCompactInput` and `useLabeledFormElement`" 2024-03-13 10:10:26 -07:00
useLabeledFormElement.ts Adding `emits` to all rancher-components to fix linting rules 2024-12-04 09:04:19 -07:00
useRuntimeFlag.ts Add documentation to `useRuntimeFlag` composable 2025-04-09 12:47:22 -07:00
useUserRetentionValidation.test.ts Replace `useStore` composable with vuex implementation 2024-09-11 09:21:22 -07:00
useUserRetentionValidation.ts Replace `useStore` composable with vuex implementation 2024-09-11 09:21:22 -07:00