From 681e2bf8655209f66856ed2990597af703c94d7a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 15 Jul 2025 14:52:46 +0000 Subject: [PATCH 1/2] Initial plan From 120be56192bcb40cd85124ab6809635d98747739 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 15 Jul 2025 14:59:27 +0000 Subject: [PATCH 2/2] Add "Report an Issue" menu link to open GitHub issues page in new tab Co-authored-by: horner <6094599+horner@users.noreply.github.com> --- client/main.html | 1 + client/main.js | 11 ++++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/client/main.html b/client/main.html index 9a48ecc..c6843e3 100644 --- a/client/main.html +++ b/client/main.html @@ -16,6 +16,7 @@

TimeHarbor

Home Teams Projects + Report an Issue
diff --git a/client/main.js b/client/main.js index 8cae6f5..4d1a729 100644 --- a/client/main.js +++ b/client/main.js @@ -32,9 +32,14 @@ Template.mainLayout.helpers({ Template.mainLayout.events({ 'click nav a'(event) { - event.preventDefault(); - const target = event.currentTarget.getAttribute('href').substring(1); - currentTemplate.set(target || 'home'); + const href = event.currentTarget.getAttribute('href'); + // Only handle internal navigation links (starting with /) + // Let external links (starting with http) work normally + if (href && href.startsWith('/')) { + event.preventDefault(); + const target = href.substring(1); + currentTemplate.set(target || 'home'); + } }, });