Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit 75ccbd94e9f74328deadcb3a0bb1eade148d66c0
parent 9870719b90e3cbf0a3f0fc324e1c4de93b8917f8
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Wed, 14 Oct 2026 10:56:18 -0400

umtool: the Media tab's a / r act from the field list, never from another control on the tab (P4b)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Mumtool/components/projects/MediaDrafts.tsx | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/umtool/components/projects/MediaDrafts.tsx b/umtool/components/projects/MediaDrafts.tsx @@ -285,7 +285,11 @@ export function MediaFields({ project, view, act, provenance, heads, only = null if (!hydrated) return; const onKey = (e: KeyboardEvent) => { if (e.defaultPrevented || e.metaKey || e.ctrlKey || e.altKey) return; - if ((e.target as HTMLElement | null)?.closest?.("input, textarea, select, video, audio, [contenteditable='true'], dialog[open]")) return; + const t = e.target as HTMLElement | null; + if (t?.closest?.("input, textarea, select, video, audio, [contenteditable='true'], dialog[open]")) return; + // From the list itself or from nowhere in particular -- never from a + // control elsewhere on the tab (the on-screen panel's). + if (t && t !== document.body && !box.current?.contains(t)) return; if (e.key !== "a" && e.key !== "r") return; const row = rows.find((r) => r.address === lit); if (!row) return;