File tree 4 files changed +17
-0
lines changed
4 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -231,6 +231,7 @@ workflows:
231
231
branches :
232
232
only :
233
233
- develop
234
+ - submission-review
234
235
# This is alternate dev env for parallel testing
235
236
- " build-test " :
236
237
context : org-global
@@ -260,6 +261,7 @@ workflows:
260
261
branches :
261
262
only :
262
263
- develop
264
+ - submission-review
263
265
# Production builds are exectuted
264
266
# when PR is merged to the master
265
267
# Don't change anything in this configuration
Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ module.exports = {
112
112
COMMUNITY : 'https://community.topcoder-dev.com' ,
113
113
FORUMS : 'https://apps.topcoder-dev.com/forums' ,
114
114
HELP : 'https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles' ,
115
+ SUBMISSION_REVIEW : 'https://submission-review.topcoder-dev.com' ,
115
116
116
117
THRIVE : 'https://www.topcoder.com/thrive' ,
117
118
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ module.exports = {
32
32
COMMUNITY : 'https://community.topcoder.com' ,
33
33
FORUMS : 'https://apps.topcoder.com/forums' ,
34
34
HELP : 'https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles' ,
35
+ SUBMISSION_REVIEW : 'https://submission-review.topcoder.com' ,
35
36
MEMBER : 'https://member.topcoder.com' ,
36
37
ONLINE_REVIEW : 'https://software.topcoder.com' ,
37
38
PAYMENT_TOOL : 'https://payment.topcoder.com' ,
Original file line number Diff line number Diff line change @@ -160,6 +160,18 @@ export default function ChallengeViewSelector(props) {
160
160
</ a >
161
161
) : null
162
162
}
163
+ {
164
+ ( hasRegistered && mySubmissions . length > 0 ) && (
165
+ < a
166
+ href = { `${ config . URL . SUBMISSION_REVIEW } /challenges/${ challenge . legacyId } ` }
167
+ styleName = "challenge-selector-common challenge-unselected-view"
168
+ target = "_blank"
169
+ rel = "oopener noreferrer"
170
+ >
171
+ SUBMISSION REVIEW
172
+ </ a >
173
+ )
174
+ }
163
175
{
164
176
numWinners ? (
165
177
< a
@@ -225,6 +237,7 @@ ChallengeViewSelector.defaultProps = {
225
237
ChallengeViewSelector . propTypes = {
226
238
isLoggedIn : PT . bool ,
227
239
challenge : PT . shape ( {
240
+ legacyId : PT . string ,
228
241
legacy : PT . shape ( {
229
242
forumId : PT . number ,
230
243
} ) ,
You can’t perform that action at this time.
0 commit comments