File tree 4 files changed +4
-19
lines changed
components/ChallengeEditor
4 files changed +4
-19
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ workflows:
150
150
context : org-global
151
151
filters : &filters-dev
152
152
branches :
153
- only : ['develop']
153
+ only : ['develop', 'Oct_2022_Release' ]
154
154
155
155
# Production builds are exectuted only on tagged commits to the
156
156
# master branch.
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ import {
24
24
REVIEW_TYPES ,
25
25
CONNECT_APP_URL ,
26
26
PHASE_PRODUCT_CHALLENGE_ID_FIELD ,
27
- MULTI_ROUND_CHALLENGE_TEMPLATE_ID ,
28
27
DS_TRACK_ID
29
28
} from '../../../config/constants'
30
29
import PhaseInput from '../../PhaseInput'
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import {
27
27
MILESTONE_STATUS ,
28
28
PHASE_PRODUCT_CHALLENGE_ID_FIELD ,
29
29
QA_TRACK_ID , DESIGN_CHALLENGE_TYPES , ROUND_TYPES ,
30
- MULTI_ROUND_CHALLENGE_TEMPLATE_ID , DS_TRACK_ID
30
+ DS_TRACK_ID
31
31
} from '../../config/constants'
32
32
import { PrimaryButton , OutlineButton } from '../Buttons'
33
33
import TrackField from './Track-Field'
@@ -976,9 +976,6 @@ class ChallengeEditor extends Component {
976
976
tags . push ( challengeType )
977
977
}
978
978
let timelineTemplateId = defaultTemplate . id
979
- if ( roundType === ROUND_TYPES . TWO_ROUNDS ) {
980
- timelineTemplateId = MULTI_ROUND_CHALLENGE_TEMPLATE_ID
981
- }
982
979
983
980
const newChallenge = {
984
981
status : 'New' ,
Original file line number Diff line number Diff line change @@ -18,8 +18,7 @@ export const {
18
18
QA_TRACK_ID ,
19
19
CHALLENGE_TYPE_ID ,
20
20
MARATHON_TYPE_ID ,
21
- SEGMENT_API_KEY ,
22
- MULTI_ROUND_CHALLENGE_TEMPLATE_ID
21
+ SEGMENT_API_KEY
23
22
} = process . env
24
23
export const CREATE_FORUM_TYPE_IDS = typeof process . env . CREATE_FORUM_TYPE_IDS === 'string' ? process . env . CREATE_FORUM_TYPE_IDS . split ( ',' ) : process . env . CREATE_FORUM_TYPE_IDS
25
24
@@ -288,14 +287,4 @@ export const MILESTONE_STATUS = {
288
287
BLOCKED : 'paused' ,
289
288
COMPLETED : 'completed' ,
290
289
CANCELLED : 'cancelled'
291
- }
292
-
293
- export const MULTI_ROUND_CHALLENGE_DESC_TEMPLATE = '\n\n### ROUND 1\n' +
294
- '**Submit your initial designs for checkpoint feedback**\n\n' +
295
- '### ROUND 2\n' +
296
- '**Submit your final designs with all checkpoint feedback implemented**\n\n' +
297
- '### CHALLENGE DESCRIPTION'
298
-
299
- export const MAX_CHECKPOINT_PRIZE_COUNT = 8
300
- export const DEFAULT_CHECKPOINT_PRIZE = 50
301
- export const DEFAULT_CHECKPOINT_PRIZE_COUNT = 5
290
+ }
You can’t perform that action at this time.
0 commit comments