From e7806d19034ac1665b2471248ba1e840e1e5a774 Mon Sep 17 00:00:00 2001 From: "PolicyEngine[bot]" Date: Mon, 17 Jun 2024 15:52:31 +0200 Subject: [PATCH 1/2] fix: Update CPS link --- src/pages/policy/output/Display.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/policy/output/Display.jsx b/src/pages/policy/output/Display.jsx index 59ce8281b..bfc3744cc 100644 --- a/src/pages/policy/output/Display.jsx +++ b/src/pages/policy/output/Display.jsx @@ -281,6 +281,7 @@ export function LowLevelDisplay(props) { bottomText = bottomText.concat( "These calculations utilize enhanced CPS data, a beta feature. ", ); + bottomLink = "/us/research/enhanced-cps-beta"; } } else if (metadata.countryId === "uk") { bottomText = `PolicyEngine UK v${selectedVersion} estimates reform impacts using microsimulation. `; From 4a3055436185ca984405debe17bc881bc74da8c4 Mon Sep 17 00:00:00 2001 From: "PolicyEngine[bot]" Date: Wed, 19 Jun 2024 17:12:52 +0200 Subject: [PATCH 2/2] fix: Remove old link --- src/pages/policy/output/Display.jsx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/pages/policy/output/Display.jsx b/src/pages/policy/output/Display.jsx index bfc3744cc..94f5c033c 100644 --- a/src/pages/policy/output/Display.jsx +++ b/src/pages/policy/output/Display.jsx @@ -270,12 +270,10 @@ export function LowLevelDisplay(props) { }); let bottomText = ""; - let bottomLink = ""; + let bottomLink = null; if (metadata.countryId === "us") { bottomText = `PolicyEngine US v${selectedVersion} estimates reform impacts using microsimulation. `; - bottomLink = - "/us/research/enhancing-the-current-population-survey-for-policy-analysis"; if (region === "enhanced_us") { bottomText = bottomText.concat( @@ -285,8 +283,6 @@ export function LowLevelDisplay(props) { } } else if (metadata.countryId === "uk") { bottomText = `PolicyEngine UK v${selectedVersion} estimates reform impacts using microsimulation. `; - bottomLink = - "/uk/research/how-machine-learning-tools-make-policyengine-more-accurate"; } const embed = new URLSearchParams(window.location.search).get("embed"); @@ -300,9 +296,11 @@ export function LowLevelDisplay(props) { }} > {bottomText} - - Learn more - + {bottomLink && ( + + Learn more + + )}

);