Skip to content

Commit 667acde

Browse files
Merge branch 'master' into SAN-6094
* master: (88 commits) 5.19.16 Fix on-prem falg 5.19.15 SAN-6074 Making logic more clear SAN-6074 Code review changes and fixes unit tests. SAN-6074 Reroute to pause if no billing. SAN-6074 Work so far. use fancy select alphabetize attributes set default tab...but better fix textoverflow update feature flag add k8 table add comments 5.19.14 SAN-6072 Missed comma 5.19.13 setup kubernetes view remove apostrophe add env validation ...
2 parents bcca7bf + b784c99 commit 667acde

61 files changed

Lines changed: 590 additions & 125 deletions

File tree

Some content is hidden

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

Gruntfile.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,9 @@ module.exports = function(grunt) {
293293
commitHash: require('./client/config/json/commit.json').commitHash,
294294
commitTime: require('./client/config/json/commit.json').commitTime,
295295
apiHost: require('./client/config/json/api.json').host,
296-
mixpanelProxyUrl: require('./client/config/json/api.json').mixpanelProxyUrl
296+
mixpanelProxyUrl: require('./client/config/json/api.json').mixpanelProxyUrl,
297+
disableMixpanel: require('./client/config/json/api.json').disableMixpanel,
298+
disableAnalytics: require('./client/config/json/api.json').disableAnalytics
297299
};
298300
locals.rollbarEnv = locals.env;
299301
if (locals.apiHost.indexOf('runnable-beta.com') > -1) {
@@ -446,6 +448,8 @@ module.exports = function(grunt) {
446448
configObj.stripeToken = process.env.STRIPE_TOKEN || 'pk_test_sHr5tQaPtgwiE2cpW6dQkzi8';
447449
configObj.siftApiKey = process.env.SIFT_API_KEY || 'eea9746dff';
448450
configObj.githubUrl = process.env.GITHUB_URL || 'https://api.github.com';
451+
configObj.disableMixpanel = process.env.DISABLE_MIXPANEL || false;
452+
configObj.disableAnalytics = process.env.DISABLE_ANALYTICS || false;
449453

450454
if (configObj.host.charAt(configObj.host.length - 1) === '/') {
451455
configObj.host = configObj.host.substr(0, configObj.host.length - 1);

client/assets/styles/scss/components/buttons/buttons.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
transition: none;
2525
}
2626

27-
&[disabled] {
27+
&[disabled],
28+
&.disabled {
2829
cursor: not-allowed;
2930
opacity: .5;
3031
}
@@ -53,6 +54,11 @@
5354
&:last-child {
5455
margin-left: 5px;
5556
}
57+
58+
&:only-child {
59+
margin-left: auto;
60+
margin-right: auto;
61+
}
5662
}
5763

5864
// fancy select
@@ -352,7 +358,7 @@
352358
border-color: $purple-darkest;
353359
color: $white;
354360

355-
&:not([disabled]) {
361+
&:not([disabled]):not(.disabled) {
356362

357363
&:hover,
358364
&.hover {

client/assets/styles/scss/components/icons.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,9 @@
166166
&.failed {
167167
background: transparent;
168168
border: 0;
169+
height: 11px;
169170
overflow: visible;
171+
width: 11px;
170172

171173
&::before {
172174
background-position: center;
@@ -180,7 +182,7 @@
180182
}
181183
}
182184

183-
&.complete {
185+
&.completed {
184186
background-color: transparent;
185187
border: 1px solid $gray-light;
186188
}

client/assets/styles/scss/deprecated/demo-personal-only.scss renamed to client/assets/styles/scss/deprecated/service-cta.scss

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
//- ************************
22
//- deprecated file, delete with $root.featureFlags.demoPersonalOnly
3-
.service-cta .demo-progress {
4-
width: calc(100% + 30px);
5-
}
3+
.service-cta {
4+
5+
&:not(.deprecated) {
6+
margin-top: -4px;
7+
}
68

7-
.popover-demo.service-cta {
8-
margin-bottom: 9px;
9-
margin-top: 5px;
9+
&.deprecated {
10+
margin-top: 4px;
11+
}
1012
}
1113
//- end deprecated file
1214
//- ************************

client/assets/styles/scss/forms/forms-inputs.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ input {
8080

8181
// placeholder
8282
&::placeholder {
83-
color: $gray-light;
83+
color: $gray;
8484
}
8585
}
8686

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
.table-vars {
2+
width: 100%;
3+
4+
.tr {
5+
6+
&:first-child {
7+
background: $gray-lightest;
8+
height: $lg;
9+
padding: 0;
10+
11+
.cell {
12+
height: 100%;
13+
}
14+
15+
.input {
16+
font-size: 13px;
17+
height: 30px;
18+
line-height: 30px - ($input-border * 2);
19+
width: 100%;
20+
}
21+
}
22+
23+
&:last-child:not(.empty) {
24+
padding-bottom: 0;
25+
}
26+
27+
&.empty {
28+
padding-bottom: $md;
29+
30+
.svg {
31+
filter: grayscale(1);
32+
height: $xl;
33+
opacity: .5;
34+
}
35+
36+
.small {
37+
color: $gray;
38+
max-width: 240px;
39+
text-indent: 0;
40+
}
41+
}
42+
43+
+ .tr {
44+
text-indent: 9px;
45+
}
46+
}
47+
48+
.cell {
49+
50+
&:first-child {
51+
border-right: 1px solid $gray-lighter;
52+
}
53+
54+
.icons-alert {
55+
color: $orange;
56+
height: 12px;
57+
pointer-events: auto;
58+
width: 12px;
59+
}
60+
}
61+
62+
.cell-action {
63+
flex: 0 0 66px;
64+
padding: 0 6px 0 0;
65+
66+
> .btn {
67+
height: 30px;
68+
line-height: 30px - ($input-border * 2);
69+
}
70+
}
71+
72+
.icons-add {
73+
height: 100%;
74+
max-width: 15px;
75+
}
76+
}

client/assets/styles/scss/forms/forms-table.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@
310310
.icons-alert,
311311
.icons-close,
312312
.icons-link {
313-
height: 38px;
313+
height: 36px;
314314
pointer-events: auto;
315315
width: 18px;
316316
}

client/assets/styles/scss/index.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,15 @@
107107
@import "forms/forms-github";
108108
@import "forms/forms-payment";
109109
@import "forms/forms-plan";
110+
@import "forms/forms-table-vars";
110111
@import "forms/forms-trial";
111112
@import "forms/forms-whitelist";
112113

113114
// views
114115
@import "views/views";
115116
@import "views/views-dockerfile-setup";
116117
@import "views/views-file-tree";
118+
@import "views/views-kubernetes-setup";
117119
@import "views/views-new-service";
118120
@import "views/views-panel";
119121
@import "views/views-prompt";
@@ -213,6 +215,7 @@
213215
@import "deprecated/connections";
214216
@import "deprecated/deleted-commit";
215217
@import "deprecated/demo-org-select";
218+
@import "deprecated/service-cta";
216219
@import "deprecated/instance-sidebar";
217220
@import "deprecated/popover-container-menu";
218221

client/assets/styles/scss/layout/instance.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
overflow: hidden;
77
position: relative;
88

9+
// debug view
10+
&.instance-body {
11+
height: auto;
12+
max-width: 100vw;
13+
}
14+
915
> .spinner-wrapper {
1016
background: $ace-bg;
1117

client/assets/styles/scss/layout/instances-list.scss

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,8 @@
3535

3636
.failed,
3737
.passed {
38-
height: 11px;
3938
margin-left: -1px;
4039
margin-right: $xxs - 1px; // normal .icons-status margin, -1px to accomodate larger size
41-
width: 11px;
4240
}
4341
}
4442

@@ -222,6 +220,16 @@
222220

223221
&.orange {
224222
color: $white;
223+
font-size: 11px;
224+
height: $input-xxs;
225+
line-height: $input-xxs - $input-border * 2;
226+
padding: 0 3px;
227+
228+
.iconnables {
229+
height: $xs;
230+
margin-right: 3px;
231+
width: $xs;
232+
}
225233
}
226234

227235
.iconnables {

0 commit comments

Comments
 (0)