From 3deafcccdc024b885b951d8c1f00ad9f9ccf8cf2 Mon Sep 17 00:00:00 2001 From: frostyfan109 Date: Thu, 17 Oct 2024 14:56:05 -0400 Subject: [PATCH 1/4] remove take a tour btn for non heal deploys --- src/views/search.js | 2 +- src/views/support.js | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/views/search.js b/src/views/search.js index cb1811bd..fbc97f88 100644 --- a/src/views/search.js +++ b/src/views/search.js @@ -26,7 +26,7 @@ export const SearchView = () => { {context.workspaces_enabled === 'true' && Search} - + { context.brand === "heal" && } diff --git a/src/views/support.js b/src/views/support.js index fb42c855..5307f8a6 100644 --- a/src/views/support.js +++ b/src/views/support.js @@ -116,9 +116,12 @@ export const SupportView = () => { {context.support.help_portal_url && } {(context.support.user_guide_url || context.support.faqs_url) && } - - - + { context.brand === "heal" && ( + + + + + ) } ) } From 6dcc97a6a8324bd92b27b042d151f95da35a2aff Mon Sep 17 00:00:00 2001 From: frostyfan109 Date: Thu, 17 Oct 2024 15:09:09 -0400 Subject: [PATCH 2/4] tweak wordings --- src/components/search/concept-modal/concept-modal.js | 2 +- src/components/search/concept-modal/tabs/explanation.js | 2 +- src/contexts/tour-context/context.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/search/concept-modal/concept-modal.js b/src/components/search/concept-modal/concept-modal.js index 0c00a387..44670d53 100644 --- a/src/components/search/concept-modal/concept-modal.js +++ b/src/components/search/concept-modal/concept-modal.js @@ -151,7 +151,7 @@ export const ConceptModalBody = ({ result }) => { tooltip:
The Knowledge Graphs tab displays the knowledge graph - portion connected to the concept and containing the search terms. This section highlights + portion connected to the concept and containing your search terms. This section highlights potential interesting knowledge graph relationships and shows terms (e.g., synonyms) that would be returned as related concepts.
diff --git a/src/components/search/concept-modal/tabs/explanation.js b/src/components/search/concept-modal/tabs/explanation.js index 81c85c15..c06f30c6 100644 --- a/src/components/search/concept-modal/tabs/explanation.js +++ b/src/components/search/concept-modal/tabs/explanation.js @@ -182,7 +182,7 @@ export const ExplanationTab = ({ result }) => { fontSize: 15, fontWeight: 500 }}> - Explanation for this concept's relation to search term + Explanation for this concept's relation to your search
What does the total score returned by the search mean? diff --git a/src/contexts/tour-context/context.tsx b/src/contexts/tour-context/context.tsx index 2ffe887d..40b1a642 100644 --- a/src/contexts/tour-context/context.tsx +++ b/src/contexts/tour-context/context.tsx @@ -233,7 +233,7 @@ export const TourProvider = ({ children }: ITourProvider ) => { title: "Enter search query", text: renderToStaticMarkup(
- You can enter your search query here. In this example, we'll be looking at "chronic pain." + You can enter your search query here. In this example, we'll be searching for "chronic pain."
), beforeShowPromise: async function() { From 08a753220aaf6c1c2043d178abedf0bdd2681ffb Mon Sep 17 00:00:00 2001 From: frostyfan109 Date: Thu, 17 Oct 2024 15:11:31 -0400 Subject: [PATCH 3/4] fix wording --- src/contexts/tour-context/context.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contexts/tour-context/context.tsx b/src/contexts/tour-context/context.tsx index 40b1a642..5252891a 100644 --- a/src/contexts/tour-context/context.tsx +++ b/src/contexts/tour-context/context.tsx @@ -492,7 +492,7 @@ export const TourProvider = ({ children }: ITourProvider ) => { text: renderToStaticMarkup(
You can click on each of the tabs in the side bar for more detailed information, such as - associated studies, CDEs (common data elements), knowledge graphs, and an explanation + associated studies, common data elements (CDEs), knowledge graphs, and an explanation about why the concept was included in the search result.
), From a67de467102cecde07f7f2a93b0fbf2e05baa2ef Mon Sep 17 00:00:00 2001 From: Hina Shah Date: Fri, 18 Oct 2024 16:15:08 -0400 Subject: [PATCH 4/4] add suggested text --- src/components/search/concept-modal/concept-modal.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/search/concept-modal/concept-modal.js b/src/components/search/concept-modal/concept-modal.js index 44670d53..49d14d6b 100644 --- a/src/components/search/concept-modal/concept-modal.js +++ b/src/components/search/concept-modal/concept-modal.js @@ -149,9 +149,8 @@ export const ConceptModalBody = ({ result }) => { icon: , content: , tooltip:
- The Knowledge Graphs tab displays the - knowledge graph - portion connected to the concept and containing your search terms. This section highlights + The Knowledge Graphs tab displays relevant edges from the ROBOKOP Knowledge Graph + portion connected to the concept and containing your search terms. This section highlights potential interesting knowledge graph relationships and shows terms (e.g., synonyms) that would be returned as related concepts.