From 4c9c1f0d623f6877a14aa8ef29cb84eac0d77781 Mon Sep 17 00:00:00 2001 From: John Westhoff Date: Tue, 2 Dec 2025 19:55:05 -0800 Subject: [PATCH 1/3] Updates. Add escape to close modals. --- static/index.xhtml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/index.xhtml b/static/index.xhtml index acad048..186a3cb 100644 --- a/static/index.xhtml +++ b/static/index.xhtml @@ -1312,6 +1312,13 @@ credentials = results; }); } + + window.onkeydown = ((e) => { + if (e.key === "Escape") { + hideProjectSettings(); + hideTaskLogs(); + } + }); From 403c31b407adf3b5ee0cb3eff0748f8b45979ff6 Mon Sep 17 00:00:00 2001 From: John Westhoff Date: Wed, 17 Dec 2025 00:53:07 -0800 Subject: [PATCH 2/3] Updates. --- templates/index.xhtml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/index.xhtml b/templates/index.xhtml index 0cda562..a1283bd 100644 --- a/templates/index.xhtml +++ b/templates/index.xhtml @@ -1347,6 +1347,12 @@ } connectEvents(); + window.onkeydown = ((e) => { + if (e.key === "Escape") { + hideProjectSettings(); + hideTaskLogs(); + } + }); From a53dbdbff015c9f449327ed970f0b80581fc4a57 Mon Sep 17 00:00:00 2001 From: John Westhoff Date: Wed, 17 Dec 2025 00:53:46 -0800 Subject: [PATCH 3/3] Updates. --- static/index.xhtml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/static/index.xhtml b/static/index.xhtml index 186a3cb..acad048 100644 --- a/static/index.xhtml +++ b/static/index.xhtml @@ -1312,13 +1312,6 @@ credentials = results; }); } - - window.onkeydown = ((e) => { - if (e.key === "Escape") { - hideProjectSettings(); - hideTaskLogs(); - } - });