diff --git a/.circleci/config.yml b/.circleci/config.yml index c2d4c72a9f..349c4c5d3c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -349,21 +349,21 @@ workflows: filters: branches: only: - - csp-headers + - free # This is alternate dev env for parallel testing - "build-qa": context : org-global filters: branches: only: - - thrive-rss + - free # This is beta env for production soft releases - "build-prod-beta": context : org-global filters: branches: only: - - csp-headers + - free # This is stage env for production QA releases - "build-prod-staging": context : org-global 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/package.json b/package.json index da9928d998..5dc9b22e2e 100644 --- a/package.json +++ b/package.json @@ -153,7 +153,7 @@ "supertest": "^3.1.0", "tc-core-library-js": "github:appirio-tech/tc-core-library-js#v2.6.3", "tc-ui": "^1.0.12", - "topcoder-react-lib": "1.2.5", + "topcoder-react-lib": "1.2.6", "topcoder-react-ui-kit": "2.0.1", "topcoder-react-utils": "0.7.8", "turndown": "^4.0.2", 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 {
- +
(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) => (
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 ; }