From 363f5a3f4544bc89a3df5dca3540221b9fd90134 Mon Sep 17 00:00:00 2001 From: Conor <95449364+AccessiT3ch@users.noreply.github.com> Date: Mon, 2 Feb 2026 14:54:53 -0800 Subject: [PATCH 1/4] fix: prioritize Share API and ensure resource links open in new tabs Phase 2.3 bug fixes: Bug 1: Share API Detection - Remove mobile/desktop distinction for Share API - Prioritize navigator.share when available (any platform) - Fall back to clipboard API when share not available - Fixes Android apps incorrectly reporting no Share API Bug 2: Resource Modal Links - Add as="a" prop to Button components to ensure proper anchor rendering - All resource links now correctly open in new tabs - Fixes California Rapid Response Networks links opening in same tab Also: - Update all shareHandler tests to reflect new prioritization logic - Renumber Update Strategy section from 2.3 to 2.4 in workplan - Update workplan with Phase 2.3 bug fix details Tests: All 234 tests passing --- src/Components/Header/Header.jsx | 4 +- src/Components/Resources/ResourceModal.jsx | 1 + src/utils.error-handling.test.js | 94 +++++++++++++--------- src/utils.js | 43 +++------- workplan.md | 25 +++++- 5 files changed, 97 insertions(+), 70 deletions(-) diff --git a/src/Components/Header/Header.jsx b/src/Components/Header/Header.jsx index 8d8da98..f4c3ad7 100644 --- a/src/Components/Header/Header.jsx +++ b/src/Components/Header/Header.jsx @@ -109,7 +109,7 @@ function Header({ title, lead, disableTranslate } = {}) { {/* Offline/Online Indicator */} -
{online ? '🟢' : '🔴'} -
+ */}