Skip to content

Commit e305bf4

Browse files
authored
Merge branch 'main' into fix-webhook-ci-redirection
2 parents d745797 + 603fdf9 commit e305bf4

File tree

16 files changed

+982
-53
lines changed

16 files changed

+982
-53
lines changed

.env

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ HIDE_GITOPS_OR_HELM_OPTION=true
2424
CONFIGURABLE_TIMEOUT=
2525
HIDE_APPLICATION_GROUPS=true
2626
REACT_APP_K8S_CLIENT=false
27-
USE_V2=false
2827
CLUSTER_TERMINAL_CONNECTION_POLLING_INTERVAL=7000
2928
CLUSTER_TERMINAL_CONNECTION_RETRY_COUNT=7
3029
ENABLE_CHART_SEARCH_IN_HELM_DEPLOY=false

config.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
| SENTRY_PERFORMANCE_ENABLED | false | To send persormance sentry |
1616
| SENTRY_DSN | '' | SENTRY Data Source Name |
1717
| SENTRY_TRACES_SAMPLE_RATE | 0.2 | Rate at which data send to sentry.(min=0 max=1)|
18-
| USE_V2 | "true" | Use the v2 APIs |
1918
| ENABLE_RESTART_WORKLOAD | "false" | Show restart pods option in app details page |
2019
| ENABLE_BUILD_CONTEXT | "true" | Enable build context in Devtron UI |
2120
| FORCE_SECURITY_SCANNING | "false" | Force security scanning |

src/assets/icons/ic-lines.svg

Lines changed: 3 additions & 0 deletions
Loading

src/components/app/service.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,7 @@ let stageMap = {
2424
}
2525

2626
export const getAppList = (request, options?) => {
27-
let URL = Routes.APP_LIST
28-
if (window._env_.USE_V2) {
29-
URL += `/${Routes.APP_LIST_V2}`
30-
} else {
31-
URL += `/${Routes.APP_LIST_V1}`
32-
}
33-
return post(URL, request, options)
27+
return post(Routes.APP_LIST, request, options)
3428
}
3529

3630
export function getCITriggerInfo(params: { envId: number | string; ciArtifactId: number | string }) {

src/components/common/DatePickers/Calender.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const selectedSpanStyles = {
4040
},
4141
}
4242

43-
const customDayStyles = {
43+
export const customDayStyles = {
4444
selectedStartStyles: selectedStyles,
4545
selectedEndStyles: selectedStyles,
4646
hoveredSpanStyles: hoveredSpanStyles,

src/components/v2/appDetails/k8Resource/nodeDetail/NodeDetailTabs/CustomLogsModal/CustomLogsModal.tsx

Lines changed: 376 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
.custom-logs-modal {
2+
margin: auto;
3+
display: flex;
4+
flex-direction: column;
5+
margin-top: 40px;
6+
background-color: white;
7+
}
8+
9+
.custom-logs-radio-group {
10+
display: flex;
11+
flex-direction: column;
12+
align-self: stretch;
13+
border: none;
14+
border-radius: 0;
15+
width: 180px;
16+
padding: 16px 12px;
17+
border-right: 1px solid var(--N100);
18+
19+
.form__radio-item {
20+
border: none;
21+
flex-grow: 0;
22+
}
23+
24+
.form__radio-item-content {
25+
display: flex;
26+
align-items: center;
27+
padding: 6px 8px;
28+
.radio__title{
29+
line-height: 20px;
30+
}
31+
}
32+
33+
.form__radio-item-content:hover {
34+
background-color: var(--N50);
35+
}
36+
}
37+
38+
.option-input-container {
39+
align-self: flex-start;
40+
padding: 16px 18px;
41+
flex-grow: 1;
42+
}
43+
44+
.input-focus-none {
45+
width: 175px;
46+
padding: 8px;
47+
border-radius: 4px 0 0 4px;
48+
border-width: 1px 0 1px 1px;
49+
border-style: solid;
50+
border-color: var(--N200);
51+
color: var(--N900);
52+
font-size: 13px;
53+
line-height: 20px;
54+
55+
&:focus,
56+
&:hover {
57+
outline: none;
58+
}
59+
}
60+
61+
.logs-date-picker {
62+
display: flex;
63+
padding: 8px;
64+
justify-content: flex-start;
65+
width: 160px;
66+
margin-right: 8px;
67+
border-radius: 4px;
68+
height: 38px;
69+
border: 1px solid var(--N200);
70+
background-color: var(--N50);
71+
72+
}
73+
74+
.SingleDatePickerInput {
75+
display: flex;
76+
width: 169px;
77+
height: 38px;
78+
padding: 8px 11px 4px;
79+
border: 1px solid var(--N200);
80+
background: var(--N50);
81+
margin-right: 8px;
82+
83+
}
84+
85+
.SingleDatePickerInput_calendarIcon {
86+
padding: 0;
87+
margin: 0;
88+
margin-right: 8px
89+
}
90+
91+
.SingleDatePickerInput__withBorder .DateInput {
92+
height: max-content;
93+
background: var(--N50)
94+
}
95+
96+
.DateInput_input {
97+
font-size: 13px;
98+
color: var(--N900);
99+
padding: 0px;
100+
background: var(--N50);
101+
102+
&.DateInput_input__focused {
103+
border: none
104+
}
105+
}
106+
107+
.DateInput_fang {
108+
display: none;
109+
}

0 commit comments

Comments
 (0)