From 4f548eb1110c3d28a03859d9553dc6796f36869b Mon Sep 17 00:00:00 2001
From: rashmi73
Date: Fri, 17 Apr 2020 02:46:56 +0530
Subject: [PATCH 1/5] issue 4234 fix
---
config/default.js | 6 +++---
config/production.js | 4 ++--
.../components/challenge-detail/Specification/index.jsx | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/config/default.js b/config/default.js
index 1560f0f112..b75a877f94 100644
--- a/config/default.js
+++ b/config/default.js
@@ -117,7 +117,7 @@ module.exports = {
BLOG_FEED: 'https://www.topcoder.com/blog/feed/',
COMMUNITY: 'https://community.topcoder-dev.com',
FORUMS: 'https://apps.topcoder-dev.com/forums',
- HELP: 'https://www.topcoder.com/thrive/tracks?track=Topcoder',
+ HELP: 'https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles',
THRIVE: 'https://www.topcoder.com/thrive',
@@ -134,7 +134,7 @@ module.exports = {
DESIGN_CHALLENGE_CHECKPOINTS: 'https://help.topcoder.com/hc/en-us/articles/219240807-Multi-Round-Checkpoint-Design-Challenges',
DESIGN_CHALLENGE_SUBMISSION: 'http://help.topcoder.com/hc/en-us/articles/219122667-Formatting-Your-Submission-for-Design-Challenges',
DESIGN_CHALLENGE_TYPES: 'http://help.topcoder.com/hc/en-us/articles/217481388-Choosing-a-Design-Challenge',
- RELIABILITY_RATINGS_AND_BONUSES: 'https://help.topcoder.com/hc/en-us/articles/219240797-Development-Reliability-Ratings-and-Bonuses',
+ RELIABILITY_RATINGS_AND_BONUSES: 'https://www.topcoder.com/thrive/articles/Development%20Reliability%20Ratings%20and%20Bonuses',
STOCK_ART_POLICY: 'http://help.topcoder.com/hc/en-us/articles/217481408-Policy-for-Stock-Artwork-in-Design-Submissions',
STUDIO_FONTS_POLICY:
'http://help.topcoder.com/hc/en-us/articles/217959447-Font-Policy-for-Design-Challenges',
@@ -382,7 +382,7 @@ module.exports = {
{ separator: true },
{
title: 'Help',
- href: 'https://community-app.topcoder-dev.com/thrive/tracks?track=Topcoder',
+ href: 'https://community-app.topcoder-dev.com/thrive/tracks?track=Topcoder&tax=Help%20Articles',
},
{ separator: true },
{
diff --git a/config/production.js b/config/production.js
index b8a9602743..026bfd4de6 100644
--- a/config/production.js
+++ b/config/production.js
@@ -30,7 +30,7 @@ module.exports = {
HOME: '/my-dashboard',
COMMUNITY: 'https://community.topcoder.com',
FORUMS: 'https://apps.topcoder.com/forums',
- HELP: 'https://www.topcoder.com/thrive/tracks?track=Topcoder',
+ HELP: 'https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles',
MEMBER: 'https://member.topcoder.com',
ONLINE_REVIEW: 'https://software.topcoder.com',
PAYMENT_TOOL: 'https://payment.topcoder.com',
@@ -189,7 +189,7 @@ module.exports = {
{ separator: true },
{
title: 'Help',
- href: 'https://www.topcoder.com/thrive/tracks?track=Topcoder',
+ href: 'https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles',
},
{ separator: true },
{
diff --git a/src/shared/components/challenge-detail/Specification/index.jsx b/src/shared/components/challenge-detail/Specification/index.jsx
index 266418090c..3f425545c8 100644
--- a/src/shared/components/challenge-detail/Specification/index.jsx
+++ b/src/shared/components/challenge-detail/Specification/index.jsx
@@ -475,11 +475,11 @@ export default function ChallengeDetailsView(props) {
please refer to
- https://help.topcoder.com/hc/en-us/articles/217482038-Payment-Policies-and-Instructions
+ https://www.topcoder.com/thrive/articles/Payment%20Policies%20and%20Instructions
)
From 8f348f5cbe196542dacec33a53c2074a54c94e78 Mon Sep 17 00:00:00 2001
From: rashmi73 <41687423+rashmi73@users.noreply.github.com>
Date: Fri, 17 Apr 2020 04:01:17 +0530
Subject: [PATCH 2/5] Update TopcoderFooter.jsx.snap
---
.../shared/components/__snapshots__/TopcoderFooter.jsx.snap | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/__tests__/shared/components/__snapshots__/TopcoderFooter.jsx.snap b/__tests__/shared/components/__snapshots__/TopcoderFooter.jsx.snap
index 4f93109c1e..7a86aa7a06 100644
--- a/__tests__/shared/components/__snapshots__/TopcoderFooter.jsx.snap
+++ b/__tests__/shared/components/__snapshots__/TopcoderFooter.jsx.snap
@@ -28,7 +28,7 @@ exports[`Matches shallow shapshot 1`] = `
className="src-shared-components-TopcoderFooter-___style__link___3-nzm"
>
HELP CENTER
From 0b9e4468f77fa7840eefcad4593bba4d4662b916 Mon Sep 17 00:00:00 2001
From: rashmi73
Date: Fri, 17 Apr 2020 12:17:25 +0530
Subject: [PATCH 3/5] tests fix
---
__tests__/shared/components/Header/__snapshots__/index.jsx.snap | 2 +-
.../shared/components/__snapshots__/TopcoderFooter.jsx.snap | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/__tests__/shared/components/Header/__snapshots__/index.jsx.snap b/__tests__/shared/components/Header/__snapshots__/index.jsx.snap
index 6b5aa4f6bc..65b3670dee 100644
--- a/__tests__/shared/components/Header/__snapshots__/index.jsx.snap
+++ b/__tests__/shared/components/Header/__snapshots__/index.jsx.snap
@@ -143,7 +143,7 @@ exports[`Default render 1`] = `
"separator": true,
},
Object {
- "href": "https://community-app.topcoder-dev.com/thrive/tracks?track=Topcoder",
+ "href": "https://community-app.topcoder-dev.com/thrive/tracks?track=Topcoder&tax=Help%20Articles",
"title": "Help",
},
Object {
diff --git a/__tests__/shared/components/__snapshots__/TopcoderFooter.jsx.snap b/__tests__/shared/components/__snapshots__/TopcoderFooter.jsx.snap
index 7a86aa7a06..26aeddb4cb 100644
--- a/__tests__/shared/components/__snapshots__/TopcoderFooter.jsx.snap
+++ b/__tests__/shared/components/__snapshots__/TopcoderFooter.jsx.snap
@@ -28,7 +28,7 @@ exports[`Matches shallow shapshot 1`] = `
className="src-shared-components-TopcoderFooter-___style__link___3-nzm"
>
HELP CENTER
From 9e2bb77a5b5c997feaa90e5105f7b7a6d552f5a8 Mon Sep 17 00:00:00 2001
From: Guiqiang Zhang
Date: Mon, 20 Apr 2020 13:15:54 +0800
Subject: [PATCH 4/5] revert back change
---
__tests__/shared/components/Header/__snapshots__/index.jsx.snap | 2 +-
config/default.js | 2 +-
config/production.js | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/__tests__/shared/components/Header/__snapshots__/index.jsx.snap b/__tests__/shared/components/Header/__snapshots__/index.jsx.snap
index 6d3344946a..65b3670dee 100644
--- a/__tests__/shared/components/Header/__snapshots__/index.jsx.snap
+++ b/__tests__/shared/components/Header/__snapshots__/index.jsx.snap
@@ -143,7 +143,7 @@ exports[`Default render 1`] = `
"separator": true,
},
Object {
- "href": "/thrive/tracks?track=Topcoder&tax=Help%20Articles",
+ "href": "https://community-app.topcoder-dev.com/thrive/tracks?track=Topcoder&tax=Help%20Articles",
"title": "Help",
},
Object {
diff --git a/config/default.js b/config/default.js
index 1df5d38a26..b75a877f94 100644
--- a/config/default.js
+++ b/config/default.js
@@ -382,7 +382,7 @@ module.exports = {
{ separator: true },
{
title: 'Help',
- href: '/thrive/tracks?track=Topcoder&tax=Help%20Articles',
+ href: 'https://community-app.topcoder-dev.com/thrive/tracks?track=Topcoder&tax=Help%20Articles',
},
{ separator: true },
{
diff --git a/config/production.js b/config/production.js
index 8f98f60808..026bfd4de6 100644
--- a/config/production.js
+++ b/config/production.js
@@ -189,7 +189,7 @@ module.exports = {
{ separator: true },
{
title: 'Help',
- href: '/thrive/tracks?track=Topcoder&tax=Help%20Articles',
+ href: 'https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles',
},
{ separator: true },
{
From 35751fd0eed2d9d2ca097ff7e52570d38fa09464 Mon Sep 17 00:00:00 2001
From: Guiqiang Zhang
Date: Mon, 20 Apr 2020 13:38:12 +0800
Subject: [PATCH 5/5] revise test
---
.../__snapshots__/TopcoderFooter.jsx.snap | 47 -------------------
1 file changed, 47 deletions(-)
diff --git a/__tests__/shared/components/__snapshots__/TopcoderFooter.jsx.snap b/__tests__/shared/components/__snapshots__/TopcoderFooter.jsx.snap
index 76dcd9e3cc..6b3d2bb144 100644
--- a/__tests__/shared/components/__snapshots__/TopcoderFooter.jsx.snap
+++ b/__tests__/shared/components/__snapshots__/TopcoderFooter.jsx.snap
@@ -5,53 +5,6 @@ exports[`Matches shallow shapshot 1`] = `
className="src-shared-components-TopcoderFooter-___style__footer___28yQ6"
role="contentinfo"
>
-
- -
-
- ABOUT US
-
-
- -
-
- CONTACT US
-
-
- -
-
- HELP CENTER
-
-
- -
-
- PRIVACY POLICY
-
-
- -
-
- TERMS
-
-
-