Skip to content

Commit 9efe0ba

Browse files
authored
Merge pull request #268 from devtron-labs/chore/sync-packet-17
chore: sync packet 17
2 parents 730088a + abb54e9 commit 9efe0ba

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "0.2.16",
3+
"version": "0.2.17",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,9 @@
2020
&__main-content {
2121
height: calc(100vh - 122px);
2222
overflow: auto;
23+
24+
&__comparison {
25+
margin: 16px 0 0;
26+
}
2327
}
2428
}

src/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffMain.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,20 +147,20 @@ export const DeploymentConfigDiffMain = ({
147147
/>
148148
</>
149149
) : (
150-
<>
151-
<div className="bcn-1 deployment-diff__upper dc__top-radius-4 mt-16 ml-16 mr-16 dc__border-right dc__border-left dc__border-top">
150+
<div className="p-16">
151+
<div className="bcn-1 deployment-diff__upper dc__top-radius-4 dc__border-right dc__border-left dc__border-top">
152152
<div className="px-12 py-6 dc__border-right">{primaryHeading}</div>
153153
<div className="px-12 py-6">{secondaryHeading}</div>
154154
</div>
155155
<DeploymentHistoryDiffView
156156
baseTemplateConfiguration={secondaryList}
157157
currentConfiguration={primaryList}
158158
previousConfigAvailable
159-
rootClassName="m-16 mt-0-imp dc__no-top-radius dc__no-top-border"
160-
comparisonBodyClassName="m-16"
159+
rootClassName="m-0 dc__no-top-radius dc__no-top-border"
160+
comparisonBodyClassName="deployment-config-diff__main-content__comparison"
161161
sortOrder={sortingConfig?.sortOrder}
162162
/>
163-
</>
163+
</div>
164164
)}
165165
</DeploymentConfigDiffAccordion>
166166
)

src/Shared/constants.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,3 +469,5 @@ export enum SelectAllGroupedResourceIdentifiers {
469469
allExistingAndFutureProdEnvironments = '-2',
470470
allExistingAndFutureEnvironments = '-3',
471471
}
472+
473+
export const TRIGGER_STATUS_PROGRESSING = ['progressing', 'initiating', 'running', 'starting']

0 commit comments

Comments
 (0)