File tree Expand file tree Collapse file tree 7 files changed +21
-9
lines changed
SubmissionManagement/Submission Expand file tree Collapse file tree 7 files changed +21
-9
lines changed Original file line number Diff line number Diff line change @@ -245,7 +245,6 @@ workflows:
245
245
filters :
246
246
branches :
247
247
only :
248
- - milestone-20200917
249
248
- develop
250
249
# This is beta env for production soft releases
251
250
- " build-prod-beta " :
@@ -262,6 +261,7 @@ workflows:
262
261
branches :
263
262
only :
264
263
- develop
264
+ - tcx-202010
265
265
# Production builds are exectuted
266
266
# when PR is merged to the master
267
267
# Don't change anything in this configuration
Original file line number Diff line number Diff line change 137
137
"tc-accounts" : " git+https://github.com/appirio-tech/accounts-app.git#dev" ,
138
138
"tc-core-library-js" : " github:appirio-tech/tc-core-library-js#v2.6.3" ,
139
139
"tc-ui" : " ^1.0.12" ,
140
- "topcoder-react-lib" : " 1.0.6 " ,
140
+ "topcoder-react-lib" : " 1000.22.12 " ,
141
141
"topcoder-react-ui-kit" : " 2.0.1" ,
142
142
"topcoder-react-utils" : " 0.7.8" ,
143
143
"turndown" : " ^4.0.2" ,
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ class ChallengeTile extends React.Component {
108
108
{ underscoreReplace ( type ) }
109
109
</ p >
110
110
< p styleName = "date-completed" >
111
- { formatDate ( challenge . submissionEndDate ) }
111
+ { challenge . submissionEndDate && formatDate ( challenge . submissionEndDate ) }
112
112
</ p >
113
113
{ challenge . wonFirst && ! challenge . isPrivate
114
114
&& (
Original file line number Diff line number Diff line change @@ -9,13 +9,18 @@ import Option from './Option';
9
9
import './style.scss' ;
10
10
11
11
export default function Header ( {
12
- numChallenges,
12
+ // numChallenges,
13
13
numCommunities,
14
14
switchTab,
15
15
tab,
16
16
} ) {
17
+ /**
18
+ * Temporary hide My Active Challenges - community-app#5004
19
+ */
20
+ /*
17
21
let myChallengesTitle = 'My Active Challenges';
18
22
if (numChallenges) myChallengesTitle += ` (${numChallenges})`;
23
+ */
19
24
20
25
let myCommunitiesTitle = 'My Communities' ;
21
26
if ( numCommunities ) myCommunitiesTitle += ` (${ numCommunities } )` ;
@@ -25,11 +30,13 @@ export default function Header({
25
30
< Carousel
26
31
alignItems = "start"
27
32
>
33
+ { /* {/* Temporary hide My Active Challenges - community-app#5004
28
34
<Option
29
35
selected={tab === TABS.MY_ACTIVE_CHALLENGES}
30
36
select={() => switchTab(TABS.MY_ACTIVE_CHALLENGES)}
31
37
title={myChallengesTitle}
32
38
/>
39
+ */ }
33
40
< Option
34
41
selected = { tab === TABS . COMMUNITIES }
35
42
select = { ( ) => switchTab ( TABS . COMMUNITIES ) }
@@ -46,7 +53,7 @@ export default function Header({
46
53
}
47
54
48
55
Header . propTypes = {
49
- numChallenges : PT . number . isRequired ,
56
+ // numChallenges: PT.number.isRequired,
50
57
numCommunities : PT . number . isRequired ,
51
58
switchTab : PT . func . isRequired ,
52
59
tab : PT . string . isRequired ,
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import _ from 'lodash';
15
15
import moment from 'moment' ;
16
16
import React from 'react' ;
17
17
import { config } from 'topcoder-react-utils' ;
18
- import { COMPETITION_TRACKS } from 'utils/tc' ;
18
+ import { COMPETITION_TRACKS , CHALLENGE_STATUS } from 'utils/tc' ;
19
19
20
20
import PT from 'prop-types' ;
21
21
@@ -85,7 +85,8 @@ export default function Submission(props) {
85
85
onClick={() => onDownload(submissionObject.id)}
86
86
><DownloadIcon /></button>
87
87
*/ }
88
- { status !== 'COMPLETED'
88
+ { status !== CHALLENGE_STATUS . COMPLETED
89
+ && track !== COMPETITION_TRACKS . DESIGN
89
90
&& (
90
91
< button
91
92
styleName = "delete-icon"
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ function create(state = {}) {
93
93
[ a . switchTab ] : onSwitchTab ,
94
94
} , _ . defaults ( state , {
95
95
challengeFilter : '' ,
96
- tab : TABS . MY_ACTIVE_CHALLENGES ,
96
+ tab : TABS . COMMUNITIES , // Temporary hide MY ACTIVE CHALLENGES - community-app#5004
97
97
showAnnouncement : true ,
98
98
showChallengeFilter : false ,
99
99
xlBadge : '' ,
Original file line number Diff line number Diff line change @@ -10,7 +10,11 @@ import { config, isomorphy } from 'topcoder-react-utils';
10
10
11
11
import { tc } from 'topcoder-react-lib' ;
12
12
13
- export const { COMPETITION_TRACKS , REVIEW_OPPORTUNITY_TYPES } = tc ;
13
+ export const {
14
+ COMPETITION_TRACKS ,
15
+ CHALLENGE_STATUS ,
16
+ REVIEW_OPPORTUNITY_TYPES ,
17
+ } = tc ;
14
18
15
19
/**
16
20
* Possible phase types (at the moment, this map does not cover all
You can’t perform that action at this time.
0 commit comments