From 90e61bb33309d8557a0fafbe31b01b830be190aa Mon Sep 17 00:00:00 2001 From: JakeBreath Date: Thu, 17 Sep 2026 19:38:49 -0500 Subject: [PATCH] Palette: keep focus in the search input so Enter only searches Clicking the + follow toggle used to move focus onto that button, so the next Enter re-triggered the follow instead of searching the highlighted tag. The toggle now prevents the mouse-down focus steal, and the footer hint spells out that Enter searches while + follows. --- frontend/src/components/CommandPalette.tsx | 2 +- frontend/src/features/follows/TagFollowToggle.tsx | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/CommandPalette.tsx b/frontend/src/components/CommandPalette.tsx index 70ebb99..4c38a26 100644 --- a/frontend/src/components/CommandPalette.tsx +++ b/frontend/src/components/CommandPalette.tsx @@ -423,7 +423,7 @@ function CommandPaletteDialog({ onClose }: { onClose: () => void }) {
Enter searches the - highlighted tag · + follows it + highlighted tag — the + button only follows/unfollows ↑↓ · Esc
diff --git a/frontend/src/features/follows/TagFollowToggle.tsx b/frontend/src/features/follows/TagFollowToggle.tsx index 581a8f6..bbeda0b 100644 --- a/frontend/src/features/follows/TagFollowToggle.tsx +++ b/frontend/src/features/follows/TagFollowToggle.tsx @@ -66,6 +66,11 @@ export function TagFollowToggle({ tag }: { tag: string }) {