Skip to content

Commit

Permalink
Change “Submission Review” tab to “My Submissions” instead
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgasper committed Sep 19, 2023
1 parent f41d6b8 commit ff03154
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ workflows:
only:
- PROD-4183
- changelog
- remove_submission_review
# This is alternate dev env for parallel testing
- "build-test":
context : org-global
Expand Down
1 change: 0 additions & 1 deletion config/backup-default.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ module.exports = {
FORUMS: 'https://apps.topcoder-dev.com/forums',
FORUMS_VANILLA: 'https://vanilla.topcoder-dev.com',
HELP: 'https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles',
SUBMISSION_REVIEW: 'https://submission-review.topcoder-dev.com',

THRIVE: 'https://community-app.topcoder-dev.com/thrive',

Expand Down
1 change: 0 additions & 1 deletion config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ module.exports = {
FORUMS: 'https://apps.topcoder-dev.com/forums',
FORUMS_VANILLA: 'https://vanilla.topcoder-dev.com',
HELP: 'https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles',
SUBMISSION_REVIEW: 'https://submission-review.topcoder-dev.com',

THRIVE: 'https://community-app.topcoder-dev.com/thrive',

Expand Down
1 change: 0 additions & 1 deletion config/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ module.exports = {
FORUMS: 'https://apps.topcoder.com/forums',
FORUMS_VANILLA: 'https://discussions.topcoder.com',
HELP: 'https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles',
SUBMISSION_REVIEW: 'https://submission-review.topcoder.com',
MEMBER: 'https://member.topcoder.com',
ONLINE_REVIEW: 'https://software.topcoder.com',
PAYMENT_TOOL: 'https://payment.topcoder.com',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import React, { useState } from 'react';
import PT from 'prop-types';
import cn from 'classnames';
import { TABS as DETAIL_TABS } from 'actions/page/challenge-details';
import { config } from 'topcoder-react-utils';
import { config, Link } from 'topcoder-react-utils';
import { useMediaQuery } from 'react-responsive';
import ArrowIcon from 'assets/images/ico-arrow-down.svg';
import CloseIcon from 'assets/images/icon-close-green.svg';
Expand Down Expand Up @@ -248,14 +248,12 @@ export default function ChallengeViewSelector(props) {
}
{
(hasRegistered && mySubmissions.length > 0) && (
<a
href={`${config.URL.SUBMISSION_REVIEW}/challenges/${challenge.id}`}
<Link
to={`/challenges/${challenge.id}/my-submissions`}
styleName="challenge-selector-common challenge-unselected-view"
target="_blank"
rel="oopener noreferrer"
>
SUBMISSION REVIEW
</a>
MY SUBMISSIONS
</Link>
)
}
{
Expand Down

0 comments on commit ff03154

Please sign in to comment.