From 1c49e66905e0a3223588578026455317c613ed0f Mon Sep 17 00:00:00 2001 From: "Luiz R. Rodrigues" Date: Thu, 21 Apr 2022 18:46:03 -0300 Subject: [PATCH 1/6] Fix new password placeholder --- src/shared/components/Settings/Account/MyAccount/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shared/components/Settings/Account/MyAccount/index.jsx b/src/shared/components/Settings/Account/MyAccount/index.jsx index 21f0adeecb..29c6060ec4 100644 --- a/src/shared/components/Settings/Account/MyAccount/index.jsx +++ b/src/shared/components/Settings/Account/MyAccount/index.jsx @@ -782,7 +782,7 @@ export default class MyAccount extends ConsentComponent {
- +
Date: Fri, 22 Apr 2022 20:41:28 -0300 Subject: [PATCH 4/6] Return 404 if member not sACTIVE --- src/shared/containers/Profile.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/containers/Profile.jsx b/src/shared/containers/Profile.jsx index f79e003079..0e5704037a 100644 --- a/src/shared/containers/Profile.jsx +++ b/src/shared/containers/Profile.jsx @@ -96,7 +96,7 @@ class ProfileContainer extends React.Component { handleParam, } = this.props; - if (loadingError) { + if (loadingError || (info && info.status !== 'ACTIVE')) { return ; } From 20fb301d8bdb7815b68f24435e97694a49ac1fae Mon Sep 17 00:00:00 2001 From: "Luiz R. Rodrigues" Date: Fri, 22 Apr 2022 22:45:09 -0300 Subject: [PATCH 5/6] Fix thrive url --- config/default.js | 2 +- config/production.js | 2 ++ src/shared/components/challenge-detail/ThriveArticles/index.jsx | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/default.js b/config/default.js index f52f684b5f..1e4f3b5492 100644 --- a/config/default.js +++ b/config/default.js @@ -117,7 +117,7 @@ module.exports = { HELP: 'https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles', SUBMISSION_REVIEW: 'https://submission-review.topcoder-dev.com', - THRIVE: 'https://www.topcoder.com/thrive', + THRIVE: 'https://community-app.topcoder-dev.com/thrive', COMMUNITIES: { BLOCKCHAIN: 'https://blockchain.topcoder-dev.com', diff --git a/config/production.js b/config/production.js index 6d3142daf7..6f068449ec 100644 --- a/config/production.js +++ b/config/production.js @@ -50,6 +50,8 @@ module.exports = { COMMUNITY_API: 'http://localhost:8000', + THRIVE: 'https://www.topcoder.com/thrive', + COMMUNITIES: { BLOCKCHAIN: 'https://blockchain.topcoder.com', COGNITIVE: 'https://cognitive.topcoder.com', diff --git a/src/shared/components/challenge-detail/ThriveArticles/index.jsx b/src/shared/components/challenge-detail/ThriveArticles/index.jsx index ac214202be..97684c34b4 100644 --- a/src/shared/components/challenge-detail/ThriveArticles/index.jsx +++ b/src/shared/components/challenge-detail/ThriveArticles/index.jsx @@ -20,7 +20,7 @@ export default function ThriveArticles({ articles }) { const getPageUrl = article => (article.externalArticle && article.contentUrl ? article.contentUrl - : `${config.TC_EDU_BASE_PATH}${config.TC_EDU_ARTICLES_PATH}/${article.slug || article.title}`); + : `${config.URL.THRIVE}${config.TC_EDU_ARTICLES_PATH}/${article.slug || article.title}`); const items = map(articles, (a, idx) => (
From 6ac4d917d9229efa7c0dc76a038e5df8f702940a Mon Sep 17 00:00:00 2001 From: "Luiz R. Rodrigues" Date: Sat, 23 Apr 2022 06:07:22 -0300 Subject: [PATCH 6/6] Challenge Details - Fix spec width --- src/shared/components/challenge-detail/Specification/styles.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/components/challenge-detail/Specification/styles.scss b/src/shared/components/challenge-detail/Specification/styles.scss index 2605a43efe..4802a573f1 100644 --- a/src/shared/components/challenge-detail/Specification/styles.scss +++ b/src/shared/components/challenge-detail/Specification/styles.scss @@ -421,6 +421,7 @@ $tc-link-visited: #0c4e98; .challenge-specs-main { @include roboto-regular; + width: 100%; padding: 0 20px; max-width: 720px; align-self: center;