Skip to content

Commit aa2dfc5

Browse files
Merge pull request #2110 from devtron-labs/v19-sync-to-v20
chore: V19-sync-to-v20
2 parents 88d219c + 13ad4fe commit aa2dfc5

File tree

5 files changed

+74
-8
lines changed

5 files changed

+74
-8
lines changed

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": "4.0.2",
7+
"@devtron-labs/devtron-fe-common-lib": "0.4.4",
88
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
99
"@rjsf/core": "^5.13.3",
1010
"@rjsf/utils": "^5.13.3",

src/components/v2/appDetails/sourceInfo/environmentStatus/EnvironmentStatus.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ const EnvironmentStatusComponent = ({
202202
{renderLastUpdatedBlock()}
203203
{renderChartUsedBlock()}
204204
{renderUpgraderChartBlock()}
205-
{isScanV2Enabled && <SecurityVulnerabilityCard cardLoading={cardLoading} installedAppId={appDetails?.installedAppId} />}
205+
{isScanV2Enabled && appDetails?.appType === AppType.DEVTRON_HELM_CHART && <SecurityVulnerabilityCard cardLoading={cardLoading} installedAppId={appDetails?.installedAppId} />}
206206
</div>
207207
)}
208208
{showAppStatusDetail && (

src/components/v2/chartDeploymentHistory/ChartDeploymentHistory.component.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const ChartDeploymentHistory = ({
116116
DEPLOYMENT_HISTORY_TAB.SOURCE,
117117
DEPLOYMENT_HISTORY_TAB.VALUES_YAML,
118118
DEPLOYMENT_HISTORY_TAB.HELM_GENERATED_MANIFEST,
119-
(ChartSecurityTab && isScanV2Enabled && DEPLOYMENT_HISTORY_TAB.SECURITY),
119+
(ChartSecurityTab && isScanV2Enabled && !isExternal && DEPLOYMENT_HISTORY_TAB.SECURITY),
120120
]
121121
if (installedAppInfo?.deploymentType === DeploymentAppTypes.GITOPS) {
122122
tabs.unshift(DEPLOYMENT_HISTORY_TAB.STEPS)
@@ -632,7 +632,7 @@ const ChartDeploymentHistory = ({
632632

633633
return (
634634
<div className="trigger-details pb-20">
635-
<div className="flex dc__content-space trigger-details__summary">
635+
<div className="flex dc__content-space trigger-details__summary py-10 px-20">
636636
<div className="flex left py-10 px-20 dc__gap-8">
637637
<Rocket className="scn-6 icon-dim-20" />
638638
<div className="cn-9 fs-14 fw-6" data-testid="deployed-at-heading">

src/css/base.scss

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4941,3 +4941,69 @@ textarea::placeholder {
49414941
animation-iteration-count: infinite;
49424942
animation-timing-function: linear;
49434943
}
4944+
4945+
.security-policy--whitelist,
4946+
.security-policy--whitelisted {
4947+
color: var(--G500);
4948+
text-transform: capitalize;
4949+
}
4950+
4951+
.security-policy--block {
4952+
color: var(--R500);
4953+
text-transform: capitalize;
4954+
}
4955+
.dc__transparent-div {
4956+
position: fixed;
4957+
background: transparent;
4958+
top: 0px;
4959+
left: 0px;
4960+
right: 0;
4961+
height: 100vh;
4962+
z-index: var(--transparent-div-index);
4963+
}
4964+
4965+
@-webkit-keyframes pulse {
4966+
0% {
4967+
-webkit-box-shadow: 0 0 0 0 rgba(255, 131, 0, 0.4);
4968+
}
4969+
4970+
70% {
4971+
-webkit-box-shadow: 0 0 0 10px rgba(255, 131, 0, 0.4);
4972+
}
4973+
4974+
100% {
4975+
-webkit-box-shadow: 0 0 0 0 rgba(255, 131, 0, 0.4);
4976+
}
4977+
}
4978+
4979+
@keyframes pulse {
4980+
0% {
4981+
-moz-box-shadow: 0 0 0 0 rgba(255, 131, 0, 0.4);
4982+
box-shadow: 0 0 0 0 rgba(255, 131, 0, 0.4);
4983+
}
4984+
4985+
70% {
4986+
-moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
4987+
box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
4988+
}
4989+
4990+
100% {
4991+
-moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
4992+
box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
4993+
}
4994+
}
4995+
4996+
.badge {
4997+
font-size: 10px;
4998+
border-radius: 10px;
4999+
background-color: var(--B500);
5000+
font-weight: 600;
5001+
font-style: normal;
5002+
font-stretch: normal;
5003+
line-height: 1.4;
5004+
letter-spacing: normal;
5005+
text-align: center;
5006+
color: var(--white);
5007+
padding: 2px 10px;
5008+
margin-left: 10px;
5009+
}

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,10 +1346,10 @@
13461346
dependencies:
13471347
"@jridgewell/trace-mapping" "0.3.9"
13481348

1349-
"@devtron-labs/devtron-fe-common-lib@4.0.2":
1350-
version "4.0.2"
1351-
resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-4.0.2.tgz#0de79353aacc52d9f7dbcd8636a1b1ff6b4ce2cd"
1352-
integrity sha512-0wEAPHeKwLKZxAEyJOmPHSIFEmCVZZX7SiAukfLROrnnui5+jGOU+zy+CVhxtkGdzBULMWQ2DrcToPeB7aR3sw==
1349+
"@devtron-labs/devtron-fe-common-lib@0.4.4":
1350+
version "0.4.4"
1351+
resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-0.4.4.tgz#2b2dbe17d82628017334ea0c3292127563dba863"
1352+
integrity sha512-G8QRY+gHN9IH1NG7L8+1etDjbbdgy2Waw344xOJcebEgFuN8ZBTtIREzgAC+QZp2qUiYmn4wA2fNWf30A1ywhw==
13531353
dependencies:
13541354
"@types/react-dates" "^21.8.6"
13551355
ansi_up "^5.2.1"

0 commit comments

Comments
 (0)