Skip to content

Commit a5c0cc6

Browse files
Merge pull request #5180 from topcoder-platform/tcx-202011
Smoke Testing 2020/11/10 - TCX issues
2 parents e3d9f3d + 6d0f941 commit a5c0cc6

File tree

3 files changed

+84
-13
lines changed

3 files changed

+84
-13
lines changed

.circleci/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,6 @@ workflows:
260260
branches:
261261
only:
262262
- develop
263-
- bug-bash-develop-sync
264263
# Production builds are exectuted
265264
# when PR is merged to the master
266265
# Don't change anything in this configuration

src/shared/components/Settings/Account/MyAccount/index.jsx

Lines changed: 46 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,8 @@ export default class MyAccount extends ConsentComponent {
362362
newEmail,
363363
currentEmail,
364364
btnChangeEmailVisible,
365-
btnVerifiEmailVisible,
366-
btnVerifiAgainlVisible,
365+
// btnVerifiEmailVisible,
366+
// btnVerifiAgainlVisible,
367367
focus,
368368
hasLength,
369369
hasLetter,
@@ -377,11 +377,11 @@ export default class MyAccount extends ConsentComponent {
377377
isMobileView,
378378
showRePasswordTips,
379379
rePasswordValid,
380-
isValidEmail,
380+
// isValidEmail,
381381
isOpen,
382382
} = this.state;
383383

384-
const { updatingPassword, updatingProfile, isEmailConflict = false } = profileState;
384+
const { updatingPassword, /* updatingProfile, */ isEmailConflict = false } = profileState;
385385
const { incorrectPassword } = settingsPageState;
386386

387387
return (
@@ -481,16 +481,25 @@ export default class MyAccount extends ConsentComponent {
481481
</div>
482482
)
483483
}
484+
{ /* TEMPORARY DISABLE CHANGE E-MAIL - community-app#5107
484485
<div styleName="row">
485-
<div styleName={`button-change-email ${btnChangeEmailVisible ? 'active' : 'hide'}`}>
486+
<div
487+
styleName={
488+
`button-change-email ${btnChangeEmailVisible ? 'active' : 'hide'}`
489+
}
490+
>
486491
<PrimaryButton
487492
styleName="white-label"
488493
onClick={this.onChangeEmail}
489494
>
490495
Change Email
491496
</PrimaryButton>
492497
</div>
493-
<div styleName={`button-verification-email ${btnVerifiEmailVisible ? 'active' : 'hide'}`}>
498+
<div
499+
styleName={
500+
`button-verification-email ${btnVerifiEmailVisible ? 'active' : 'hide'}`
501+
}
502+
>
494503
<PrimaryButton
495504
styleName="white-label"
496505
disabled={!isValidEmail || updatingProfile}
@@ -499,7 +508,11 @@ export default class MyAccount extends ConsentComponent {
499508
Send Verification Email
500509
</PrimaryButton>
501510
</div>
502-
<div styleName={`button-verification-again ${btnVerifiAgainlVisible ? 'active' : 'hide'}`}>
511+
<div
512+
styleName={
513+
`button-verification-again ${btnVerifiAgainlVisible ? 'active' : 'hide'}`
514+
}
515+
>
503516
<PrimaryButton
504517
styleName="white-label"
505518
disabled={!isValidEmail || updatingProfile}
@@ -508,7 +521,11 @@ export default class MyAccount extends ConsentComponent {
508521
Send Verification Email Again
509522
</PrimaryButton>
510523
</div>
511-
<div styleName={`button-cancel-change-email ${btnVerifiEmailVisible ? 'active' : 'hide'}`}>
524+
<div
525+
styleName={
526+
`button-cancel-change-email ${btnVerifiEmailVisible ? 'active' : 'hide'}`
527+
}
528+
>
512529
<PrimaryButton
513530
styleName="white-label"
514531
onClick={this.onCancelVerificationEmail}
@@ -517,6 +534,7 @@ export default class MyAccount extends ConsentComponent {
517534
</PrimaryButton>
518535
</div>
519536
</div>
537+
*/}
520538
</form>
521539
) : (
522540
<form name="email-form-default" styleName="form-default" noValidate autoComplete="off">
@@ -582,16 +600,23 @@ export default class MyAccount extends ConsentComponent {
582600
</div>
583601
)
584602
}
603+
{/* TEMPORARY DISABLE CHANGE E-MAIL - community-app#5107
585604
<div styleName="row button-group">
586-
<div styleName={`button-change-email ${btnChangeEmailVisible ? 'active' : 'hide'}`}>
605+
<div
606+
styleName={`button-change-email ${btnChangeEmailVisible ? 'active' : 'hide'}`}
607+
>
587608
<PrimaryButton
588609
styleName="white-label"
589610
onClick={this.onChangeEmail}
590611
>
591612
Change Email
592613
</PrimaryButton>
593614
</div>
594-
<div styleName={`button-verification-email ${btnVerifiEmailVisible ? 'active' : 'hide'}`}>
615+
<div
616+
styleName={
617+
`button-verification-email ${btnVerifiEmailVisible ? 'active' : 'hide'}`
618+
}
619+
>
595620
<PrimaryButton
596621
styleName="white-label"
597622
disabled={!isValidEmail || updatingProfile}
@@ -600,7 +625,11 @@ export default class MyAccount extends ConsentComponent {
600625
Send Verification Email
601626
</PrimaryButton>
602627
</div>
603-
<div styleName={`button-verification-again ${btnVerifiAgainlVisible ? 'active' : 'hide'}`}>
628+
<div
629+
styleName={
630+
`button-verification-again ${btnVerifiAgainlVisible ? 'active' : 'hide'}`
631+
}
632+
>
604633
<PrimaryButton
605634
styleName="white-label"
606635
disabled={!isValidEmail || updatingProfile}
@@ -609,7 +638,11 @@ export default class MyAccount extends ConsentComponent {
609638
Send Verification Email Again
610639
</PrimaryButton>
611640
</div>
612-
<div styleName={`button-cancel-change-email ${btnVerifiEmailVisible ? 'active' : 'hide'}`}>
641+
<div
642+
styleName={
643+
`button-cancel-change-email ${btnVerifiEmailVisible ? 'active' : 'hide'}`
644+
}
645+
>
613646
<PrimaryButton
614647
styleName="white-label"
615648
onClick={this.onCancelVerificationEmail}
@@ -618,6 +651,7 @@ export default class MyAccount extends ConsentComponent {
618651
</PrimaryButton>
619652
</div>
620653
</div>
654+
*/}
621655
</form>
622656
)
623657
}

src/shared/components/Terms/TermDetails.scss

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,44 @@
4040
br + br {
4141
display: none;
4242
}
43+
44+
ol {
45+
margin: 0 0 5px;
46+
counter-reset: item;
47+
font-size: 15px;
48+
color: $tc-gray-90;
49+
line-height: 25px;
50+
display: table;
51+
52+
li {
53+
list-style-type: none;
54+
font-weight: 400;
55+
counter-increment: item;
56+
display: table-row;
57+
white-space: normal;
58+
59+
&::before {
60+
display: table-cell;
61+
font-weight: 700;
62+
text-align: right;
63+
content: counter(item) ".";
64+
padding: 0 10px 0 0;
65+
width: 32px;
66+
}
67+
}
68+
}
69+
70+
ul {
71+
margin: 0 0 5px 20px;
72+
font-size: 15px;
73+
color: $tc-gray-90;
74+
line-height: 25px;
75+
list-style: disc outside none;
76+
77+
li {
78+
font-weight: 400;
79+
}
80+
}
4381
}
4482

4583
.frame {

0 commit comments

Comments
 (0)