Skip to content

Commit 3c37902

Browse files
authored
Merge pull request #421 from topcoder-platform/PROD-1982_data-advisory-bugs
Prod 1982 data advisory bugs -> develop
2 parents 3fc58a8 + 7653309 commit 3c37902

File tree

4 files changed

+17
-11
lines changed

4 files changed

+17
-11
lines changed

package-lock.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/constants/index.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ const webWorkProblemStatement = {
338338
duration: "5 Days",
339339
featured: true,
340340
startRoute: "/self-service/work/new/data-advisory/basic-info",
341-
helperBannerTitle: "WHAT WILL I RECEIVE??",
341+
helperBannerTitle: "WHAT WILL I RECEIVE?",
342342
bgImage: imgProductProblemStatement,
343343
helperBannerContent: (
344344
<>
@@ -362,13 +362,11 @@ const webWorkProblemStatement = {
362362
</PageUl>
363363
</>
364364
),
365-
aboutBannerTitle: "ABOUT DATA EXPLORATION",
365+
aboutBannerTitle: "ABOUT PROBLEM STATEMENT & DATA ADVISORY",
366366
aboutBannerContent: (
367367
<p>
368-
In Data Exploration, multiple data science experts uncover the most
369-
significant patterns and relationships in your data. Unlock the full
370-
potential of your data with expert insights presented in an
371-
easy-to-understand format.
368+
Problem Statement &amp; Data Advisory is for those asking themselves: How can I apply data science to this idea or goal?
369+
How will I interpret solutions, and how will that help me take action? What data do I need?
372370
</p>
373371
),
374372
};

src/routes/Products/components/BasicInfoForm/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ const BasicInfoForm = ({
473473
This ensures that when your question is answered, you learn
474474
something valuable and actionable.
475475
</PageP>
476-
<HelpBanner title="Example" styles={["gray"]}>
476+
<HelpBanner title="Description Tips" styles={["gray"]}>
477477
<br />
478478
<PageP>
479479
How can I increase profit? How can I get more customers? How can

src/routes/Review/components/ReviewTable/index.jsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,18 +127,25 @@ const ReviewTable = ({ formData, enableEdit = true }) => {
127127
let redirectPage = ProgressLevels.find(
128128
(item) => item.label === step.label
129129
);
130+
let redirectUrl = redirectPage?.url;
130131
if (formData?.workType?.selectedWorkType === "Find Me Data") {
131-
redirectPage.url = redirectPage?.url.replace(
132+
redirectUrl = redirectPage?.url.replace(
132133
"data-exploration",
133134
"find-me-data"
134135
);
135136
}
136137
if (formData?.workType?.selectedWorkType === "Website Design") {
137-
redirectPage.url = redirectPage?.url.replace(
138+
redirectUrl = redirectPage?.url.replace(
138139
"data-exploration",
139140
"website-design"
140141
);
141142
}
143+
if (formData?.workType?.selectedWorkType === "Problem Statement & Data Advisory") {
144+
redirectUrl = redirectPage?.url.replace(
145+
"data-exploration",
146+
"data-advisory"
147+
);
148+
}
142149
return (
143150
<>
144151
<div
@@ -150,7 +157,7 @@ const ReviewTable = ({ formData, enableEdit = true }) => {
150157
<p styleName="stepLabel">
151158
{step.label}
152159
{enableEdit && (
153-
<Link styleName="link" to={redirectPage?.url}>
160+
<Link styleName="link" to={redirectUrl}>
154161
edit
155162
</Link>
156163
)}

0 commit comments

Comments
 (0)