Skip to content

Commit 7ef5be1

Browse files
committed
Merge branch 'develop' of github.com:devtron-labs/dashboard into feat/filter-chip-variants
ot push
2 parents d86d320 + c8b4591 commit 7ef5be1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+2303
-1363
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ FEATURE_SWAP_TRAFFIC_ENABLE=false
6060
FEATURE_RB_SYNC_CLUSTER_ENABLE=true
6161
FEATURE_BULK_RESTART_WORKLOADS_FROM_RB=deployment,rollout,daemonset,statefulset
6262
FEATURE_DEFAULT_MERGE_STRATEGY=
63-
FEATURE_CLUSTER_MAP_ENABLE=true
6463
FEATURE_DEFAULT_LANDING_RB_ENABLE=false
6564
FEATURE_ACTION_AUDIOS_ENABLE=true
6665
FEATURE_APPLICATION_TEMPLATES_ENABLE=true
@@ -76,3 +75,4 @@ FEATURE_INFRA_PROVISION_INFO_BLOCK_HIDE=false
7675
FEATURE_GROUPED_APP_LIST_FILTERS_ENABLE=false
7776
FEATURE_FLUX_DEPLOYMENTS_ENABLE=false
7877
FEATURE_LINK_EXTERNAL_FLUX_ENABLE=false
78+
FEATURE_CANARY_ROLLOUT_PROGRESS_ENABLE=true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"homepage": "/dashboard",
66
"dependencies": {
7-
"@devtron-labs/devtron-fe-common-lib": "1.18.0-alpha-5",
7+
"@devtron-labs/devtron-fe-common-lib": "1.18.0-alpha-7",
88
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
99
"@rjsf/core": "^5.13.3",
1010
"@rjsf/utils": "^5.13.3",

src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DTChartSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const ChartSelectorDropdown = ({
120120
/>
121121
</div>
122122
</PopupMenu.Button>
123-
<PopupMenu.Body rootClassName="dc__overflow-auto mxh-350 w-400 dc__border br-4">
123+
<PopupMenu.Body noBackDrop rootClassName="dc__overflow-auto mxh-350 w-400 dc__border br-4">
124124
<>
125125
{customCharts.length > 0 && (
126126
<div

src/Pages/GlobalConfigurations/Authorization/Shared/components/AppPermissions/AppOrJobSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const AppOrJobSelector = ({
7070
_permission.entityName.filter((option) => option.value !== SELECT_ALL_VALUE).map((app) => app.label) ??
7171
[]
7272
const { appIdWorkflowNamesMapping } = await getUserAccessAllWorkflows({
73-
appIds: jobNames,
73+
appNames: jobNames,
7474
options: { abortControllerRef },
7575
})
7676
const workflowOptions = getWorkflowOptions(appIdWorkflowNamesMapping)

src/Pages/GlobalConfigurations/Authorization/Shared/components/AppPermissions/AppPermissions.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ const AppPermissions = () => {
345345
async function setAllWorkflows(jobOptions) {
346346
const jobNames = jobOptions.filter((job) => job.value !== SELECT_ALL_VALUE).map((job) => job.label)
347347
try {
348-
const result = await getUserAccessAllWorkflows(jobNames)
348+
const result = await getUserAccessAllWorkflows({ appNames: jobNames })
349349

350350
const workflowOptions = getWorkflowOptions(result?.appIdWorkflowNamesMapping)
351351
return [

src/Pages/GlobalConfigurations/Authorization/authorization.service.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,10 +312,10 @@ export const getUserAccessClusterList = () =>
312312
payload: { entity: EntityTypes.CLUSTER },
313313
})
314314

315-
export const getUserAccessAllWorkflows = ({ appIds, options }: GetUserAccessAllWorkflowsParams) =>
315+
export const getUserAccessAllWorkflows = ({ appNames, options }: GetUserAccessAllWorkflowsParams) =>
316316
getUserResourceOptions<AppIdWorkflowNamesMapping>({
317-
kind: UserAccessResourceKind.JOBS,
318-
payload: { entity: EntityTypes.JOB, appIds },
317+
kind: UserAccessResourceKind.WORKFLOW,
318+
payload: { entity: EntityTypes.JOB, appNames },
319319
options,
320320
})
321321

src/Pages/GlobalConfigurations/Authorization/types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ export interface GetUserPermissionResourcesPayload
347347
accessType?: ACCESS_TYPE_MAP.DEVTRON_APPS | ACCESS_TYPE_MAP.HELM_APPS
348348
teamIds?: number[]
349349
appIds?: string[]
350+
appNames?: string[]
350351
}
351352

352353
export interface GetUserResourceOptionsProps {
@@ -356,5 +357,5 @@ export interface GetUserResourceOptionsProps {
356357
}
357358

358359
export interface GetUserAccessAllWorkflowsParams
359-
extends Pick<GetUserPermissionResourcesPayload, 'appIds'>,
360+
extends Pick<GetUserPermissionResourcesPayload, 'appNames'>,
360361
Pick<GetUserResourceOptionsProps, 'options'> {}

src/Pages/GlobalConfigurations/ClustersAndEnvironments/ClusterComponent.tsx

Lines changed: 0 additions & 271 deletions
This file was deleted.

0 commit comments

Comments
 (0)