dashboard/shell/utils
momesgin 970817704f
Improve handling of addon config changes on kube upgrade (#15445)
* populate old addon config values

* finalize preserveAddonConfigs + unit tests

* move preserve addon methods to util file

* add safeguard against the 'none' case

* better naming

* minor refactor

* revert refactor

* display warning banner conditionally

* update messages on addon tab and addon confirm modal

* rename helpers + refactor passing args

* jsdoc comments

* lint

* simplify selectedVersion watcher

* add optional chaining when accessin liveValue

* fix passing wrong old version to compare + improve addonConfigPreserve

* minor refactor + revert mistakenly removed translation

* unit tests

---------

Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2025-10-22 09:38:01 -07:00
..
__mocks__ Update AppModal, PromptModal and focusTrap (#14186) 2025-04-30 09:16:48 +01:00
__tests__ Improve handling of addon config changes on kube upgrade (#15445) 2025-10-22 09:38:01 -07:00
crypto Add Notification Center (#14419) 2025-06-19 19:47:50 +01:00
dynamic-content Dynamic content (Part 1) (#15343) 2025-10-22 11:05:46 +01:00
gatekeeper Add recommended lint rules globally (#8997) 2023-06-23 17:02:55 +02:00
gc Add harvester features 2024-11-13 15:38:36 +01:00
unit-tests Allow extensions to enable server-side pagination for new resource types 2025-09-29 15:06:43 +01:00
validators fix-fleet-appbundle-ssh-url-validation (#15477) 2025-10-06 09:17:46 -07:00
alertmanagerconfig.js Fix three console errors, add comments 2025-07-29 15:47:27 +01:00
array.ts Generic OIDC group scope is not sent in the request formed by the UI (#13514) 2025-02-26 10:49:48 +01:00
async.ts Integrate new schemaDefinitions endpoint (#10141) 2024-02-28 17:08:35 +00:00
auth.js Merge pull request #15424 from codyrancher/cookies 2025-09-22 10:55:53 -07:00
axios.js Remove Nuxt reference in extensions and creator (#11420) 2024-08-07 18:42:08 +02:00
azure.js AKS provisioning extension (#9669) 2024-01-11 07:52:45 -08:00
back-off.ts Improve support with Vai on and Rancher HA - Lite (#15134) 2025-08-14 15:11:50 +01:00
banners.js Fix FixedBanner so that we can show the appropriate stylized text also fix multi-line functionality 2025-03-17 14:41:53 -07:00
clipboard.js [INT] Replaced vue-clipboard2 library with clipboard-polyfill (#10072) 2023-11-30 16:31:35 -08:00
cluster.js Improve handling of addon config changes on kube upgrade (#15445) 2025-10-22 09:38:01 -07:00
color.js Set keyboard focus color for suse/prime theme 2025-03-20 15:02:07 -07:00
computed.js Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
config.js Clean up entry logic for vue.config (#11048) 2024-05-29 11:09:43 +02:00
create-yaml.js Add ability to configure commentFieldsOptions on resource model for createYaml (#10396) 2025-07-11 09:19:49 -07:00
cspAdaptor.ts fix 2025-01-07 10:35:54 +00:00
custom-validators.js Validating server url on Setup & Global Settings pages (#9701) 2023-10-26 11:17:45 -07:00
dom.js dom util, getParent function refactoring for readability 2023-04-19 16:18:19 +02:00
download.js Fixing the dynamic import of file-saver 2024-08-22 16:09:54 -07:00
duration.js Add toSeconds() utils; Move duration.js utils to shell/utils folder 2025-03-10 18:36:52 +01:00
dynamic-importer.js Adding the Show Configuration action to all resource availableActions (#14825) 2025-07-29 17:56:19 -07:00
ember-page.js Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
error.js Just testing 2024-08-22 16:09:54 -07:00
favicon.js Add harvester features 2024-11-13 15:38:36 +01:00
fleet-types.ts Fleet HelmOps various fixes 2025-06-18 11:16:01 +02:00
fleet.ts Fleet fix dashboard charts tooltip 2025-07-04 10:11:07 +02:00
formatter.js Remove usages of findAll for types supported by server-side pagination (#10795) 2024-06-05 09:15:43 +01:00
git.ts Reintroduce "Replace `Vue.extend` with `defineComponent` in shell" 2024-03-13 10:10:26 -07:00
grafana.js Hide the newly added timepicker/refresh controls from grafana dashboard 2025-05-28 13:48:08 -07:00
inactivity.ts Session Idle feature refactor (#15509) 2025-10-22 10:07:09 +01:00
ingress.ts Tidying up ready to review 2025-01-09 13:55:55 +00:00
kontainer.ts enable diffUpstream spec in gke, aks; improve handling of empty objects/arrays in local cluster spec 2025-07-30 05:19:18 -07:00
kube.js Extension support for custom provisioning (#9246) 2023-07-11 22:17:57 +01:00
monitoring.js remove v1 monitoring code (#10539) 2024-03-22 17:39:32 +00:00
namespace-filter.js Fix linting 2023-05-18 14:28:28 +01:00
object.js Added GCE support (#14694) 2025-07-09 16:34:29 -07:00
pagination-utils.ts v4 2025-10-14 11:49:13 +01:00
pagination-wrapper.ts Merge remote-tracking branch 'upstream/master' into pagination-extensions-resource-enable 2025-10-06 11:20:05 +01:00
parse-externalid.js Apply linter auto-fixes 2022-11-16 18:38:20 -07:00
perf-setting.utils.ts Initial commit 2025-04-09 17:06:16 +01:00
platform.js Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
pod-security-admission.ts Wire in pagination to LabeledSelect and use for pods, secrets and configmaps (#10786) 2024-05-30 10:49:29 +01:00
poller-sequential.js New Epinio pkg, and updates to dashboard (core, pkg process) (#5637) 2022-05-10 10:04:04 +01:00
poller.js Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
position.js jquery from position.js, select.js 2023-02-22 13:05:42 +01:00
product.ts Reorganizing some code that was left inside our auth util 2025-09-18 08:16:08 -07:00
promise.js Address PR feedback 2022-08-04 16:42:21 +01:00
queue.js Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
release-notes.ts Dynamic content (Part 1) (#15343) 2025-10-22 11:05:46 +01:00
resource.ts Reorganizing some code that was left inside our auth util 2025-09-18 08:16:08 -07:00
router.js Removing all of middleware merged from my other prs 2024-07-29 14:19:38 -07:00
select.js Remove onClickOption to avoid duplicate update:value emit from LabeledSelect.vue and Select.vue 2025-09-09 18:51:31 +02:00
selector-typed.ts Primary change - Fix and improve labelSelectors and vai auto updates 2025-07-03 14:25:37 +01:00
selector.js Integrate new label select filtering (#12919) 2025-05-28 11:17:25 +01:00
settings.ts Handle new vai-on updates to resources (#13150) 2025-06-11 18:11:35 +01:00
socket.js Handle resources that cannot be watched 2024-03-26 16:00:08 +00:00
sort.js Sort Improvements + Fix Events SSP sort 2025-09-11 11:16:46 +01:00
stream.js Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
string.js Fleet add GitRepo paths unit tests 2025-06-19 12:55:53 +02:00
style.ts Improve performance in apps/charts page by optimizing LazyImage component (#14906) 2025-08-08 16:57:56 -07:00
svg-filter.js Add support for svg icons (#7769) 2023-01-13 12:59:59 +00:00
time.ts Implement CRD logic for SCC registration online (#14615) 2025-07-03 17:13:21 +02:00
title.ts More informative page titles 2024-02-12 20:11:45 -07:00
type-helpers.ts Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
uiplugins.ts fix: do not show repository missing warning if installed from catalog image 2025-08-05 15:40:31 +08:00
units.js Plugins: Rejig files to new shell locations (#5623) 2022-05-10 10:04:02 +01:00
url.ts AKS provisioning extension (#9669) 2024-01-11 07:52:45 -08:00
v-sphere.ts Ensure vai-on requests use the correct equality filter 2025-05-08 15:21:54 +01:00
version.js set empty string as fallback for undefined version 2024-11-05 13:53:39 -08:00
versions.ts Singleton versions fetcher to reduce changes and fix dup versions request on log in 2024-10-02 12:49:39 +01:00
width.js HARVESTER: filter labels 2022-07-15 09:16:07 -07:00
window.js Add auth provider config page for Amazon Cognito (#14422) 2025-06-06 17:01:01 +01:00