diff --git a/.env b/.env index 440db6f552..b083c1b9c4 100644 --- a/.env +++ b/.env @@ -44,9 +44,7 @@ SIDEBAR_DT_LOGO= ENABLE_EXTERNAL_ARGO_CD=false API_BATCH_SIZE=20 SERVICE_WORKER_TIMEOUT=3 -ENABLE_RESOURCE_SCAN=false FEATURE_USER_DEFINED_GITOPS_REPO_ENABLE=false -ENABLE_RESOURCE_SCAN_V2=false HIDE_RELEASES=true HIDE_RESOURCE_WATCHER=true ORGANIZATION_NAME= @@ -61,8 +59,10 @@ FEATURE_CONFIG_DRIFT_ENABLE=false FEATURE_PROMO_EMBEDDED_BUTTON_TEXT= FEATURE_PROMO_EMBEDDED_MODAL_TITLE= FEATURE_PROMO_EMBEDDED_IFRAME_URL= +FEATURE_SWAP_TRAFFIC_ENABLE=false FEATURE_RB_SYNC_CLUSTER_ENABLE=false FEATURE_BULK_RESTART_WORKLOADS_FROM_RB=deployment,rollout,daemonset,statefulset FEATURE_DEFAULT_MERGE_STRATEGY= -FEATURE_CLUSTER_MAP_ENABLE=false +FEATURE_CLUSTER_MAP_ENABLE=true FEATURE_DEFAULT_LANDING_RB_ENABLE=false +FEATURE_ACTION_AUDIOS_ENABLE=true diff --git a/.eslintignore b/.eslintignore index c6bd608b42..b3aefee832 100755 --- a/.eslintignore +++ b/.eslintignore @@ -104,7 +104,6 @@ src/components/app/details/appDetails/AppStatusCard.tsx src/components/app/details/appDetails/DeploymentStatusDetailModal.tsx src/components/app/details/appDetails/GraphsModal.tsx src/components/app/details/appDetails/IssuesCard.tsx -src/components/app/details/appDetails/SecurityVulnerabilityCard.tsx src/components/app/details/appDetails/SourceInfo.tsx src/components/app/details/appDetails/__tests__/GenericInfo.test.tsx src/components/app/details/appDetails/index.tsx @@ -246,7 +245,6 @@ src/components/common/DatePickers/DayPickerRangeController.tsx src/components/common/DeprecatedUpdateWarn.tsx src/components/common/Description/GenericDescription.tsx src/components/common/DynamicTabs/__tests__/DynamicTabs.test.tsx -src/components/common/ExportToCsv/ExportToCsv.tsx src/components/common/FloatingVariablesSuggestions/FloatingVariablesSuggestions.tsx src/components/common/FloatingVariablesSuggestions/SuggestionItem.tsx src/components/common/FloatingVariablesSuggestions/Suggestions.tsx diff --git a/config.md b/config.md index ed4f66c93c..074952806f 100644 --- a/config.md +++ b/config.md @@ -49,5 +49,6 @@ | SERVICE_WORKER_TIMEOUT | "1" | Timeout value (in minutes) to fetch update for dashboard, change it cautiously as might hamper your update cycle | | TRIGGER_API_TIMEOUT | 60000 | Default timeout for all API requests for Trigger calls (Deploy artifacts, charts) in DASHBOARD | | FEATURE_HIDE_USER_DIRECT_PERMISSIONS_FOR_NON_SUPER_ADMINS | "true" | Would hide the user direct permissions for non-super admin users in User Permissions | +| FEATURE_ACTION_AUDIOS_ENABLE | true | Would enable audios in dashboard | # DASHBOARD CONFIG SECRET diff --git a/package.json b/package.json index 10c8f37a77..2717d26114 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "dashboard", - "version": "1.3.0", + "version": "1.4.0", "private": true, "homepage": "/dashboard", "dependencies": { - "@devtron-labs/devtron-fe-common-lib": "1.3.0-patch-4", + "@devtron-labs/devtron-fe-common-lib": "1.4.0-patch-1", "@esbuild-plugins/node-globals-polyfill": "0.2.3", "@rjsf/core": "^5.13.3", "@rjsf/utils": "^5.13.3", @@ -68,7 +68,8 @@ "jest": "jest", "lint-staged": "lint-staged", "storybook": "IS_STORYBOOK=true storybook dev -p 6006", - "build-storybook": "IS_STORYBOOK=true storybook build" + "build-storybook": "IS_STORYBOOK=true storybook build", + "postinstall": "patch-package" }, "browserslist": [ ">0.2%", @@ -117,6 +118,8 @@ "jest-junit": "^13.0.0", "lint-staged": "12.5.0", "mock-socket": "^9.2.1", + "patch-package": "^8.0.0", + "postinstall-postinstall": "^2.1.0", "prettier": "^3.1.1", "react-test-render": "^1.1.2", "sass": "^1.69.7", diff --git a/patches/react-select+5.8.0.patch b/patches/react-select+5.8.0.patch new file mode 100644 index 0000000000..5faf1727a6 --- /dev/null +++ b/patches/react-select+5.8.0.patch @@ -0,0 +1,137 @@ +diff --git a/node_modules/react-select/.DS_Store b/node_modules/react-select/.DS_Store +new file mode 100644 +index 0000000..5008ddf +Binary files /dev/null and b/node_modules/react-select/.DS_Store differ +diff --git a/node_modules/react-select/dist/declarations/src/components/Input.d.ts b/node_modules/react-select/dist/declarations/src/components/Input.d.ts +index e5f6741..c78fd13 100644 +--- a/node_modules/react-select/dist/declarations/src/components/Input.d.ts ++++ b/node_modules/react-select/dist/declarations/src/components/Input.d.ts +@@ -13,6 +13,8 @@ export interface InputSpecificProps