Skip to content

Commit 776fea5

Browse files
committed
Set Maximum zoom level for logs
1 parent f34b951 commit 776fea5

File tree

22 files changed

+435
-380
lines changed

22 files changed

+435
-380
lines changed

api/.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
],
2929
"func-names": [0],
3030
"no-console": ["error", { "allow": ["warn", "error", "info"] }],
31-
"@typescript-eslint/no-explicit-any": "off"
31+
"@typescript-eslint/no-explicit-any": "warn"
3232
}
3333
}

ui/.eslintrc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
"{}": false
3030
}
3131
}
32-
]
32+
],
33+
"@typescript-eslint/no-explicit-any": "warn",
34+
"no-console": ["error", { "allow": ["warn", "error", "info"] }]
3335
}
3436
}

ui/src/components/AccountPage/index.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323

2424
&__intro {
25-
background-image: url("../../../public/images/login_bg.webp");
25+
background-image: url('../../../public/images/login_bg.webp');
2626
background-repeat: no-repeat;
2727
background-size: cover;
2828
height: 100vh;
@@ -61,7 +61,7 @@
6161
-webkit-box-direction: normal;
6262
-webkit-box-align: center;
6363
-ms-flex-align: center;
64-
grid-row-gap: .5rem;
64+
grid-row-gap: 0.5rem;
6565
align-items: center;
6666
display: -webkit-box;
6767
display: -ms-flexbox;
@@ -70,7 +70,7 @@
7070
flex-direction: column;
7171
left: 8%;
7272
position: absolute;
73-
row-gap: .5rem;
73+
row-gap: 0.5rem;
7474
top: 30%;
7575
z-index: 10;
7676

@@ -79,7 +79,7 @@
7979
font-family: $font-family-secondary;
8080
font-size: 3.8rem;
8181
font-weight: $font-weight-extra-bold;
82-
letter-spacing: .04em;
82+
letter-spacing: 0.04em;
8383
line-height: 3.625rem;
8484
// max-width: $px-260;
8585
text-transform: uppercase;

ui/src/components/AdvancePropertise/index.scss

Lines changed: 22 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
margin-bottom: 20px;
1818
grid-template-columns: 1fr;
1919
gap: 20px;
20-
}
20+
}
2121
/**
2222
* Styles for the option label in the AdvancePropertise component.
2323
*
@@ -51,15 +51,15 @@
5151
margin-bottom: 0.75rem;
5252
}
5353
.Radio {
54-
width: calc(33.33333% - .66667rem);
55-
padding: .5rem;
54+
width: calc(33.33333% - 0.66667rem);
55+
padding: 0.5rem;
5656
margin: 0 !important;
5757
}
5858
.FieldLabel {
5959
margin-bottom: $px-8;
6060
}
6161
.info-style {
62-
margin-top: .75rem;
62+
margin-top: 0.75rem;
6363
margin-bottom: 1.5rem;
6464
.Info__border {
6565
border-left-color: #0469e3;
@@ -73,11 +73,11 @@
7373
font-size: $size-font-large;
7474
line-height: $line-height-default;
7575
margin-left: 2.75rem;
76-
margin-top: -.25rem !important;
76+
margin-top: -0.25rem !important;
7777
}
7878
.ToggleWrap {
7979
margin-top: 0.5rem;
80-
padding: 0 0.5rem
80+
padding: 0 0.5rem;
8181
}
8282
.Field {
8383
margin-bottom: $px-24;
@@ -97,10 +97,10 @@
9797
.Checkbox__label {
9898
height: auto;
9999
}
100-
}
100+
}
101101
}
102-
}
103-
}
102+
}
103+
}
104104
.Select__menu {
105105
position: relative;
106106
z-index: 10000;
@@ -109,49 +109,44 @@
109109
position: relative;
110110
border: 2px solid red;
111111
z-index: 10000;
112-
}
112+
}
113113
}
114-
.Radio-class{
114+
.Radio-class {
115115
display: flex;
116116
flex-direction: column;
117117
justify-content: space-between;
118118
align-items: flex-start;
119119
margin-bottom: 20px;
120120
grid-template-columns: 1fr;
121-
122121
}
123-
.dropdown-choices-wrapper{
122+
.dropdown-choices-wrapper {
124123
height: auto;
125124
width: auto;
126125
border: 1px solid #dde3ee;
127126
margin: 10px 10px;
128127
}
129-
.element-wrapper{
128+
.element-wrapper {
130129
margin: 20px 10px;
131130
display: flex;
132131
justify-content: space-between;
133132
align-items: center;
134133
transition: opacity 0.2s ease, border 0.2s ease;
135134
position: relative;
136-
137-
138135
}
139136
.element-wrapper.dragging {
140-
opacity: 0.4;
141-
137+
opacity: 0.4;
142138
}
143139

144-
145-
.dropdown-filter-wrapper{
140+
.dropdown-filter-wrapper {
146141
background-color: $color-brand-white-base;
147142
border-radius: $px-4;
148-
box-shadow: 0 $px-4 $px-30 rgba(0,0,0,.25);
143+
box-shadow: 0 $px-4 $px-30 rgba(0, 0, 0, 0.25);
149144
position: absolute;
150145

151146
top: 45px;
152147
right: -9px;
153148
width: auto;
154-
z-index:99;
149+
z-index: 99;
155150
li {
156151
button {
157152
align-items: center;
@@ -160,7 +155,7 @@
160155
font-size: $size-font-medium;
161156
padding: $px-8 $px-12;
162157
}
163-
158+
164159
&:hover {
165160
background-color: $color-base-white-10;
166161
color: $color-brand-primary-base;
@@ -177,16 +172,13 @@
177172
}
178173
}
179174
}
180-
.button-filter-wrapper{
175+
.button-filter-wrapper {
181176
margin: 20px 10px;
182177
display: flex;
183178
justify-content: space-between;
184179
align-items: center;
185-
186180
}
187-
.read-only-text{
188-
189-
font-size: 14px;
190-
color: $color-stepper-title;
191-
181+
.read-only-text {
182+
font-size: 14px;
183+
color: $color-stepper-title;
192184
}

ui/src/components/Card/card.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
transition: box-shadow 0.3s ease;
1111
width: 20rem;
1212
&:hover {
13-
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .12), 0 0 2px 0 rgba(0, 0, 0, .14);
13+
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.12),
14+
0 0 2px 0 rgba(0, 0, 0, 0.14);
1415
cursor: pointer;
1516
}
1617
}
@@ -43,9 +44,9 @@
4344
line-height: $line-height-default;
4445
overflow: hidden;
4546
padding: 0;
46-
white-space: normal;
47+
white-space: normal;
4748
-webkit-line-clamp: 2;
48-
line-clamp: 2;
49+
line-clamp: 2;
4950
-webkit-box-orient: vertical;
5051
}
5152

ui/src/components/Common/Card/card.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
.action_list,
4343
.trigger_list {
4444
//border: 1px solid $color-base-gray-40;
45-
border: 1px solid #6C5CE766;
45+
border: 1px solid #6c5ce766;
4646
border-radius: $px-6;
4747
flex: 0 10%;
4848
cursor: pointer;
@@ -76,7 +76,7 @@
7676
* @cssproperty box-shadow - The box shadow effect to apply.
7777
* @cssvalue 0 3px $px-5 $px-2 rgb(215 215 215) - The specific box shadow values.
7878
*/
79-
.connector_list:hover {
79+
.connector_list:hover {
8080
box-shadow: 0 3px $px-5 $px-2 rgb(215 215 215);
8181
}
8282

@@ -156,7 +156,7 @@
156156
color: $color-stepper-title;
157157
}
158158
}
159-
.Card__disabled{
159+
.Card__disabled {
160160
cursor: not-allowed;
161-
opacity: .5;
162-
}
161+
opacity: 0.5;
162+
}

ui/src/components/Common/ProgressBar/progressBar.scss

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,18 @@
1010
*
1111
*/
1212
.ProgressBar {
13-
border-radius: $space-4;
14-
15-
overflow: hidden;
16-
&__bar {
17-
18-
border-radius: inherit;
19-
height: inherit;
20-
transition: width 100ms linear;
21-
}
22-
&__circle{
23-
stroke-width: 5%;
24-
transform: rotate(-90deg);
25-
transform-origin: 50% 50%;
26-
transition: stroke-dashoffset 1s;
27-
}
28-
}
13+
border-radius: $space-4;
14+
15+
overflow: hidden;
16+
&__bar {
17+
border-radius: inherit;
18+
height: inherit;
19+
transition: width 100ms linear;
20+
}
21+
&__circle {
22+
stroke-width: 5%;
23+
transform: rotate(-90deg);
24+
transform-origin: 50% 50%;
25+
transition: stroke-dashoffset 1s;
26+
}
27+
}

ui/src/components/Common/Settings/Settings.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
.PageLayout {
1212
width: 100%;
1313
}
14-
.PageLayout__head, .PageLayout__leftSidebar {
14+
.PageLayout__head,
15+
.PageLayout__leftSidebar {
1516
border-top: 0 none;
1617
}
1718
.PageLayout--primary {
@@ -21,8 +22,8 @@
2122
margin-left: 15rem;
2223
padding-top: $px-8;
2324
}
24-
}
25-
}
25+
}
26+
}
2627
.action-component-title {
2728
justify-content: space-between;
2829
width: calc(100vw - 326px);

ui/src/components/ContentMapper/index.scss

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
.Search__v2 {
3434
background-color: $color-brand-white-base;
3535
height: 2.5rem;
36-
width: 100%!important;
36+
width: 100% !important;
3737
.Search-input-show {
38-
width: 100%!important;
38+
width: 100% !important;
3939
}
4040
}
4141
// svg {
@@ -98,15 +98,16 @@
9898
width: 20px;
9999
}
100100
}
101-
&:hover, &.active-ct {
101+
&:hover,
102+
&.active-ct {
102103
background-color: $color-brand-white-base;
103104
.cms-title {
104105
span {
105106
color: $color-brand-primary-base;
106107
}
107108
}
108109
}
109-
}
110+
}
110111
}
111112
.mapped-icon {
112113
circle {
@@ -117,7 +118,7 @@
117118
.Dropdown__menu--primary {
118119
right: 0;
119120
top: 1.5rem;
120-
}
121+
}
121122
}
122123
.content-type-list {
123124
padding-left: $px-12;
@@ -202,7 +203,7 @@ div .select {
202203
width: 100%;
203204
max-width: 100% !important;
204205
}
205-
}
206+
}
206207
div .table-row {
207208
display: flex;
208209
justify-content: space-between;
@@ -249,7 +250,7 @@ div .table-row {
249250
.filter-wrapper {
250251
background-color: $color-brand-white-base;
251252
border-radius: $px-4;
252-
box-shadow: 0 $px-4 $px-30 rgba(0,0,0,.25);
253+
box-shadow: 0 $px-4 $px-30 rgba(0, 0, 0, 0.25);
253254
position: absolute;
254255
right: $px-12;
255256
top: $px-50;
@@ -262,7 +263,7 @@ div .table-row {
262263
font-size: $size-font-medium;
263264
padding: $px-8 $px-12;
264265
}
265-
266+
266267
&:hover {
267268
background-color: $color-base-white-10;
268269
color: $color-brand-primary-base;
@@ -288,12 +289,12 @@ div .table-row {
288289
background-color: $color-brand-fail-light;
289290
cursor: pointer;
290291
}
291-
.mapper-emptystate{
292+
.mapper-emptystate {
292293
padding: 10px 10px;
293294
}
294295
.Checkbox .Checkbox__tick svg {
295296
display: block;
296297
}
297298
.advanced-setting-button {
298299
padding: 5px;
299-
}
300+
}

0 commit comments

Comments
 (0)