From 85af8ac4e9fb9785c11a6a85b2d1e2d7ec642aa7 Mon Sep 17 00:00:00 2001 From: Benjamin Toby Date: Sun, 22 Nov 2026 08:01:29 +0100 Subject: [PATCH] Focus an ask_user card's typed answer as soon as it opens An "Other" box on a question card is the one thing waiting on the user, so it takes the cursor instead of needing a click first. --- src/pages/admin/bots/[bot_id]/(partials)/bot-question-field.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/admin/bots/[bot_id]/(partials)/bot-question-field.tsx b/src/pages/admin/bots/[bot_id]/(partials)/bot-question-field.tsx index ade54657..dae3c6c1 100644 --- a/src/pages/admin/bots/[bot_id]/(partials)/bot-question-field.tsx +++ b/src/pages/admin/bots/[bot_id]/(partials)/bot-question-field.tsx @@ -145,6 +145,7 @@ export default function BotQuestionField({ onChange={(e) => onChange({ ...draft, other: e.target.value }) } + autoFocus /> ) : null}