Skip to content

Commit 587fc0f

Browse files
Merge pull request #6333 from topcoder-platform/develop
Release v1.15.3
2 parents f7b8420 + 7e01e56 commit 587fc0f

File tree

4 files changed

+37
-2
lines changed

4 files changed

+37
-2
lines changed

.circleci/config.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -363,14 +363,15 @@ workflows:
363363
filters:
364364
branches:
365365
only:
366-
- free
366+
- thrive-discord-button
367367
# This is stage env for production QA releases
368368
- "build-prod-staging":
369369
context : org-global
370370
filters: &filters-staging
371371
branches:
372372
only:
373373
- develop
374+
- stat_marathon_match_link
374375
# Production builds are exectuted
375376
# when PR is merged to the master
376377
# Don't change anything in this configuration
Loading

src/shared/components/Contentful/Article/Article.jsx

+15
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,15 @@ import {
2525
import qs from 'qs';
2626
import LoginModal from 'components/LoginModal';
2727
import modalStyle from 'components/LoginModal/modal.scss';
28+
import { PrimaryButton } from 'topcoder-react-ui-kit';
29+
import tc from 'components/buttons/themed/tc.scss';
2830
// SVGs and assets
2931
import GestureIcon from 'assets/images/icon-gesture.svg';
3032
import ReadMoreArrow from 'assets/images/read-more-arrow.svg';
3133
import IconFacebook from 'assets/images/icon-facebook.svg';
3234
import IconTwitter from 'assets/images/icon-twitter.svg';
3335
import IconLinkedIn from 'assets/images/icon-linkedIn.svg';
36+
import DiscordIconWhite from 'assets/images/tc-edu/discord-icon-white.svg';
3437

3538
const htmlToText = require('html-to-text');
3639

@@ -335,6 +338,18 @@ class Article extends React.Component {
335338
<span>{downvotes}</span>
336339
</div>
337340
</div>
341+
{/* Discord */}
342+
<div className={theme.actionContainer}>
343+
<PrimaryButton
344+
to="https://discord.gg/topcoder?ref=thrive-article"
345+
openNewTab
346+
theme={{
347+
button: tc['primary-green-md'],
348+
}}
349+
>
350+
<DiscordIconWhite style={{ marginRight: '5px' }} /> Chat on Discord
351+
</PrimaryButton>
352+
</div>
338353
</div>
339354
</div>
340355
{/* Recommended */}

src/shared/components/ProfilePage/Stats/HistoryGraph/index.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ export default class HistoryGraph extends React.Component {
212212
}
213213
if (track === 'DATA_SCIENCE') {
214214
if (subTrack === 'MARATHON_MATCH') {
215-
return `${config.URL.COMMUNITY}/tc?module=MatchDetails&rd=${challengeId}`;
215+
return `${config.URL.CHALLENGES_URL}/${challengeId}`;
216216
}
217217
if (subTrack === 'SRM') {
218218
return `${config.URL.COMMUNITY}/stat?c=round_overview&rd=${challengeId}`;

0 commit comments

Comments
 (0)