Skip to content

Commit 081868e

Browse files
committed
Remove some multi-round stuff.
1 parent 70ea47d commit 081868e

File tree

4 files changed

+4
-19
lines changed

4 files changed

+4
-19
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ workflows:
150150
context : org-global
151151
filters: &filters-dev
152152
branches:
153-
only: ['develop']
153+
only: ['develop', 'Oct_2022_Release']
154154

155155
# Production builds are exectuted only on tagged commits to the
156156
# master branch.

src/components/ChallengeEditor/ChallengeView/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import {
2424
REVIEW_TYPES,
2525
CONNECT_APP_URL,
2626
PHASE_PRODUCT_CHALLENGE_ID_FIELD,
27-
MULTI_ROUND_CHALLENGE_TEMPLATE_ID,
2827
DS_TRACK_ID
2928
} from '../../../config/constants'
3029
import PhaseInput from '../../PhaseInput'

src/components/ChallengeEditor/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import {
2727
MILESTONE_STATUS,
2828
PHASE_PRODUCT_CHALLENGE_ID_FIELD,
2929
QA_TRACK_ID, DESIGN_CHALLENGE_TYPES, ROUND_TYPES,
30-
MULTI_ROUND_CHALLENGE_TEMPLATE_ID, DS_TRACK_ID
30+
DS_TRACK_ID
3131
} from '../../config/constants'
3232
import { PrimaryButton, OutlineButton } from '../Buttons'
3333
import TrackField from './Track-Field'
@@ -976,9 +976,6 @@ class ChallengeEditor extends Component {
976976
tags.push(challengeType)
977977
}
978978
let timelineTemplateId = defaultTemplate.id
979-
if (roundType === ROUND_TYPES.TWO_ROUNDS) {
980-
timelineTemplateId = MULTI_ROUND_CHALLENGE_TEMPLATE_ID
981-
}
982979

983980
const newChallenge = {
984981
status: 'New',

src/config/constants.js

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ export const {
1818
QA_TRACK_ID,
1919
CHALLENGE_TYPE_ID,
2020
MARATHON_TYPE_ID,
21-
SEGMENT_API_KEY,
22-
MULTI_ROUND_CHALLENGE_TEMPLATE_ID
21+
SEGMENT_API_KEY
2322
} = process.env
2423
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
2524

@@ -288,14 +287,4 @@ export const MILESTONE_STATUS = {
288287
BLOCKED: 'paused',
289288
COMPLETED: 'completed',
290289
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+
}

0 commit comments

Comments
 (0)