Skip to content

Commit 42ed3e0

Browse files
Merge branch 'master' into SAN-6094
* master: (79 commits) 5.20.0 use shortnames add ; Fixed left-nav issues with compose parents already existing and clobbering each other. 5.19.18 SAN-6097 Code review change Typo fix 5.19.17 Updated navigation logic for branch syncing. add events for all settings tabs add events for all settings buttons fix button width in safari fix PR bot button alignment add event for private registry "back" button add events for accounts popover buttons add events for settings modal tabs update adding private registry event add ssh key events add private registry events add documentation link ...
2 parents 4e6f2a9 + 3bbf364 commit 42ed3e0

34 files changed

Lines changed: 632 additions & 110 deletions

client/assets/styles/scss/components/wells.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@
6767
box-shadow: inset 0 0 0 1px $red;
6868
}
6969

70+
&.invalid {
71+
border-color: $red;
72+
box-shadow: inset 0 0 0 1px $red;
73+
}
74+
7075
.label-checkbox {
7176
height: 36px;
7277
line-height: 36px;

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,13 @@ input {
8080

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

8787
// sizes
8888
.input {
89+
color: $gray-dark;
8990
height: $input-md;
9091
line-height: $input-line-height-md;
9192

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

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
&.padding-md,
55
> .padding-md {
66
@include media(xxs) {
7-
padding: 15px;
7+
padding: $sm;
88
}
99

1010
@include media(xxxs) {
@@ -15,17 +15,12 @@
1515
.well-payment {
1616

1717
// if server side error
18-
&.invalid {
19-
border-color: $red;
20-
box-shadow: inset 0 0 0 1px $red;
21-
22-
> .red {
23-
margin-bottom: 15px;
24-
}
18+
&.invalid > .red {
19+
margin-bottom: $sm;
2520
}
2621

2722
> .grid-block + .grid-block {
28-
margin-top: 15px;
23+
margin-top: $sm;
2924
}
3025

3126
// payment summary
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
.form-registry {
2+
3+
// error msg
4+
.red {
5+
padding: $sm $sm 0;
6+
}
7+
8+
.well {
9+
border-radius: $input-border-radius-lg;
10+
11+
> .label {
12+
margin-bottom: 0;
13+
14+
+ .label {
15+
margin-top: 0;
16+
padding-top: 0;
17+
}
18+
}
19+
}
20+
21+
.footer {
22+
border-top: 1px solid $gray-lighter;
23+
}
24+
}

client/assets/styles/scss/index.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
@import "forms/forms-github";
108108
@import "forms/forms-payment";
109109
@import "forms/forms-plan";
110+
@import "forms/forms-registry";
110111
@import "forms/forms-table-vars";
111112
@import "forms/forms-trial";
112113
@import "forms/forms-whitelist";
@@ -151,6 +152,7 @@
151152
@import "modals/modals-repository-details";
152153
@import "modals/modals-server-select";
153154
@import "modals/modals-settings";
155+
@import "modals/modals-ssh-auth";
154156

155157
// popovers
156158
@import "popover/popover";

client/assets/styles/scss/modals/modals-empty.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464

6565
// submit buttons (like for api token)
6666
.green {
67-
display: table;
6867
margin-left: auto;
6968
margin-right: auto;
7069
}

client/assets/styles/scss/modals/modals-settings.scss

Lines changed: 109 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,18 @@
1010
min-height: 32px;
1111
}
1212

13-
.modal-header .orange {
14-
border: 0;
15-
border-radius: 15px;
16-
font-size: 11px;
17-
font-weight: $weight-normal;
18-
height: 15px;
19-
padding: 0 5px;
13+
.modal-header {
14+
padding-left: 0;
15+
padding-right: 0;
16+
17+
.orange {
18+
border: 0;
19+
border-radius: 15px;
20+
font-size: 11px;
21+
font-weight: $weight-normal;
22+
height: 15px;
23+
padding: 0 5px;
24+
}
2025
}
2126

2227
.modal-body {
@@ -89,7 +94,6 @@
8994
}
9095

9196
.list-teammates-pending {
92-
background-image: repeating-linear-gradient(60deg, #f9f9f9, #f9f9f9 18px, transparent 18px, transparent 36px);
9397

9498
+ .list-teammates-pending {
9599
margin-top: 15px;
@@ -134,3 +138,100 @@
134138
}
135139
}
136140
}
141+
142+
.form-ssh {
143+
144+
.list-item {
145+
font-size: 13px;
146+
min-height: 90px;
147+
padding: $sm;
148+
149+
@include media(xxs) {
150+
align-items: flex-start;
151+
flex-direction: column;
152+
min-height: 0;
153+
}
154+
155+
&.recently-added {
156+
background-color: $blue-lighter;
157+
border-color: transparent;
158+
box-shadow: inset 0 0 0 $input-border-lg $blue-light;
159+
margin: -$input-border;
160+
min-height: 90px + $input-border * 2;
161+
padding: $sm + $input-border;
162+
z-index: 1;
163+
164+
@include media(xxs) {
165+
.icons-key {
166+
bottom: $sm + $input-border;
167+
right: $sm + $input-border;
168+
}
169+
}
170+
}
171+
172+
> .icons-key,
173+
> .spinner-wrapper {
174+
height: 24px;
175+
padding: 3px;
176+
width: 24px;
177+
178+
@include media(xxs) {
179+
bottom: $sm;
180+
position: absolute;
181+
right: $sm;
182+
}
183+
}
184+
}
185+
186+
.p {
187+
padding: 0 $sm;
188+
189+
@include media(xxs) {
190+
max-width: 100%;
191+
padding: 0;
192+
}
193+
}
194+
195+
.btn-xs:not(.btn-create-key) {
196+
flex: 0 0 114px;
197+
198+
@include media(xxs) {
199+
flex: 0 0 auto;
200+
margin-top: 9px;
201+
}
202+
}
203+
204+
// a.btn.gray
205+
.gray {
206+
color: $gray-dark;
207+
208+
.spinner-wrapper {
209+
height: 12px;
210+
margin-right: 3px;
211+
width: 12px;
212+
}
213+
}
214+
215+
.btn-authorized {
216+
background-color: transparent;
217+
border-color: transparent;
218+
color: $gray;
219+
pointer-events: none;
220+
221+
@include media(xxs) {
222+
padding: 0;
223+
}
224+
}
225+
226+
.icons-check,
227+
.icons-octicons-github {
228+
flex: 0 0 18px;
229+
margin-right: 2px;
230+
}
231+
232+
.icons-link-external-alt {
233+
height: 9px;
234+
margin-left: 4px;
235+
width: 9px;
236+
}
237+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.modal-ssh-auth {
2+
3+
.padding-md {
4+
@include media(xxs) {
5+
padding: $sm;
6+
}
7+
}
8+
9+
.runnabear {
10+
left: 0;
11+
margin: 0 auto;
12+
position: absolute;
13+
right: 0;
14+
top: -119px;
15+
z-index: 1;
16+
}
17+
}

client/assets/styles/scss/views/views-new-service.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@
5353
border-top: 1px solid $gray-lighter;
5454
}
5555

56+
&:not(:first-child) + .label {
57+
padding-top: 0;
58+
}
59+
5660
+ .label {
5761
margin-top: 0;
5862
}

client/directives/accountsSelect/popoverAccountMenu/viewPopoverAccountMenu.jade

Lines changed: 36 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@
2323
)
2424
li.list-item.popover-list-item.small.disabled {{data.currentOrg.github.oauthName()}} Settings
2525
li.list-item.popover-list-item(
26-
ng-if = "data.currentOrg.isBillingVisible()"
26+
data-event-name = "Clicked to Open Billing Settings"
2727
ng-click = "actions.openSettingsModal('billing')"
28+
ng-if = "data.currentOrg.isBillingVisible()"
2829
)
2930
svg.iconnables
3031
use(
@@ -37,22 +38,26 @@
3738
)
3839
| {{data.currentOrg.poppa.trialDaysRemaining() + ' days left'}}
3940
li.list-item.popover-list-item(
40-
ng-click = "actions.openSettingsModal('teamManagement')"
41+
data-event-name = "Clicked to Open PR Bot Settings"
42+
ng-click = "actions.openSettingsModal('githubIntegration')"
4143
)
4244
svg.iconnables
4345
use(
44-
xlink:href = "#icons-team"
46+
xlink:href = "#icons-octicons-github-gray"
4547
)
46-
| Teammates
48+
| PR Bot
4749
li.list-item.popover-list-item(
48-
ng-click = "actions.openSettingsModal('githubIntegration')"
50+
data-event-name = "Clicked to Open Private Registry Settings"
51+
ng-click = "actions.openSettingsModal('privateRegistry')"
52+
ng-if = "$root.featureFlags.privateRegistry"
4953
)
5054
svg.iconnables
5155
use(
52-
xlink:href = "#icons-octicons-github-gray"
56+
xlink:href = "#icons-private-registry"
5357
)
54-
| PR Bot
58+
| Private Registry
5559
li.list-item.popover-list-item(
60+
data-event-name = "Clicked to Open Slack Integration Settings"
5661
ng-click = "actions.openSettingsModal('slackIntegration')"
5762
)
5863
img.iconnables(
@@ -61,6 +66,25 @@
6166
width = "24"
6267
)
6368
| Slack Integration
69+
li.list-item.popover-list-item(
70+
data-event-name = "Clicked to Open SSH Keys Settings"
71+
ng-click = "actions.openSettingsModal('SSHKeys')"
72+
ng-if = "$root.featureFlags.composeSSHKeys"
73+
)
74+
svg.iconnables
75+
use(
76+
xlink:href = "#icons-key"
77+
)
78+
| SSH Keys
79+
li.list-item.popover-list-item(
80+
data-event-name = "Clicked to Open Teammates Settings"
81+
ng-click = "actions.openSettingsModal('teamManagement')"
82+
)
83+
svg.iconnables
84+
use(
85+
xlink:href = "#icons-team"
86+
)
87+
| Teammates
6488
ul.list.popover-list(
6589
ng-class = "{'list-secondary': !data.currentOrg.isPersonalAccount()}"
6690
)
@@ -153,3 +177,8 @@
153177
ng-if = "flag === 'gitHubScope'"
154178
style = "position: absolute; right: 9px; top: 6px;"
155179
) Go
180+
button.btn.btn-xs.gray(
181+
internal-modal-helper = "composeSSHAuthView"
182+
ng-if = "flag === 'composeSSHAuthView'"
183+
style = "position: absolute; right: 9px; top: 6px;"
184+
) Go

0 commit comments

Comments
 (0)