From 7e24c99d125e8a640f02cc2248f4064cb1dad95f Mon Sep 17 00:00:00 2001 From: Slesa Adhikari Date: Mon, 11 Sep 2023 17:55:16 -0500 Subject: [PATCH 1/8] Open hub in new tab --- app/scripts/components/common/page-header.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/scripts/components/common/page-header.tsx b/app/scripts/components/common/page-header.tsx index 152b108df..562cbf68c 100644 --- a/app/scripts/components/common/page-header.tsx +++ b/app/scripts/components/common/page-header.tsx @@ -426,6 +426,7 @@ function PageHeader() {
  • From d77d174037106abb0f451eaf2e09aba07a0831d6 Mon Sep 17 00:00:00 2001 From: Slesa Adhikari Date: Mon, 11 Sep 2023 18:04:52 -0500 Subject: [PATCH 2/8] Open dataset uasage links in a new tab --- app/scripts/components/common/notebook-connect.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/components/common/notebook-connect.tsx b/app/scripts/components/common/notebook-connect.tsx index 174c403f4..0de5eab91 100644 --- a/app/scripts/components/common/notebook-connect.tsx +++ b/app/scripts/components/common/notebook-connect.tsx @@ -134,7 +134,7 @@ export function NotebookConnectModal(props: { {datasetUsagesWithIcon.map((datasetUsage) => (
  • - + {IconByType[datasetUsage.type]}

    {datasetUsage.title}

    From 474e2f45882874fd4b91698fd6b58e9cac18cd2a Mon Sep 17 00:00:00 2001 From: Slesa Adhikari Date: Mon, 11 Sep 2023 18:17:37 -0500 Subject: [PATCH 3/8] Add banner image to Development page --- app/scripts/components/development/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/scripts/components/development/index.tsx b/app/scripts/components/development/index.tsx index 837365c60..0c493fec5 100644 --- a/app/scripts/components/development/index.tsx +++ b/app/scripts/components/development/index.tsx @@ -34,6 +34,10 @@ function Development() { developmentContent?.data.description || 'Visualization, Exploration, and Data Analysis (VEDA): Scalable and Interactive System for Science Data.' } + coverSrc={developmentContent?.data.media?.src} + coverAlt={developmentContent?.data.media?.alt} + attributionAuthor={developmentContent?.data.media?.author?.name} + attributionUrl={developmentContent?.data.media?.author?.url} /> From c34484ba375517afe950fc72669b66cb330d4d90 Mon Sep 17 00:00:00 2001 From: Slesa Adhikari Date: Mon, 11 Sep 2023 18:51:10 -0500 Subject: [PATCH 4/8] Allow specifying banner image for About page --- app/scripts/components/about/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/scripts/components/about/index.tsx b/app/scripts/components/about/index.tsx index c431d3105..3323ee772 100644 --- a/app/scripts/components/about/index.tsx +++ b/app/scripts/components/about/index.tsx @@ -18,6 +18,10 @@ function About() { description={ aboutContent?.data.description || 'This is the default description' } + coverSrc={aboutContent?.data.media?.src} + coverAlt={aboutContent?.data.media?.alt} + attributionAuthor={aboutContent?.data.media?.author?.name} + attributionUrl={aboutContent?.data.media?.author?.url} /> From d50c04ea455079470508988aa654338b1012db94 Mon Sep 17 00:00:00 2001 From: Slesa Adhikari Date: Tue, 12 Sep 2023 13:12:16 -0500 Subject: [PATCH 5/8] Add rel noopener to data usage links Co-authored-by: Daniel da Silva --- app/scripts/components/common/notebook-connect.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/components/common/notebook-connect.tsx b/app/scripts/components/common/notebook-connect.tsx index 0de5eab91..87a9dac06 100644 --- a/app/scripts/components/common/notebook-connect.tsx +++ b/app/scripts/components/common/notebook-connect.tsx @@ -134,7 +134,7 @@ export function NotebookConnectModal(props: { {datasetUsagesWithIcon.map((datasetUsage) => (
  • - + {IconByType[datasetUsage.type]}

    {datasetUsage.title}

    From 5ddd5b33ad35d27c02acc2447ccb4820703c297f Mon Sep 17 00:00:00 2001 From: Slesa Adhikari Date: Tue, 12 Sep 2023 13:12:30 -0500 Subject: [PATCH 6/8] Add rel noopener to hub link Co-authored-by: Daniel da Silva --- app/scripts/components/common/page-header.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/scripts/components/common/page-header.tsx b/app/scripts/components/common/page-header.tsx index 562cbf68c..509336ab2 100644 --- a/app/scripts/components/common/page-header.tsx +++ b/app/scripts/components/common/page-header.tsx @@ -427,6 +427,7 @@ function PageHeader() { From 18484353b12dd46f36b5e8e3459320ec492a76e1 Mon Sep 17 00:00:00 2001 From: Daniel da Silva Date: Wed, 13 Sep 2023 14:20:58 -0400 Subject: [PATCH 7/8] Rename feedback button --- app/scripts/components/common/google-form.tsx | 2 +- app/scripts/components/common/page-header.tsx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/scripts/components/common/google-form.tsx b/app/scripts/components/common/google-form.tsx index 2fdb46c2d..99163b5aa 100644 --- a/app/scripts/components/common/google-form.tsx +++ b/app/scripts/components/common/google-form.tsx @@ -53,7 +53,7 @@ function GoogleForm() { onClick={show} style={{ color: 'white' }} > - Feedback + Contact Us @@ -435,7 +435,6 @@ function PageHeader() {
  • )} - From 68f9a3620b586088cb315559783b388b2162fd41 Mon Sep 17 00:00:00 2001 From: Daniel da Silva Date: Wed, 13 Sep 2023 14:59:24 -0400 Subject: [PATCH 8/8] Update analysis nav button --- app/scripts/components/common/page-header.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/components/common/page-header.tsx b/app/scripts/components/common/page-header.tsx index 0aef5b863..8274d3176 100644 --- a/app/scripts/components/common/page-header.tsx +++ b/app/scripts/components/common/page-header.tsx @@ -408,7 +408,7 @@ function PageHeader() { to={ANALYSIS_PATH} onClick={closeNavOnClick} > - Analysis + Data Analysis