From 9dcf03c332d41017c16684f7cdb62cf5160cd4e8 Mon Sep 17 00:00:00 2001 From: FoxxMD Date: Fri, 9 Oct 2026 16:38:38 +0000 Subject: [PATCH] feat(ui): default to search context mode --- src/client/components/play/MetadataResults.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/components/play/MetadataResults.tsx b/src/client/components/play/MetadataResults.tsx index eb6ecf09..f91ab1e3 100644 --- a/src/client/components/play/MetadataResults.tsx +++ b/src/client/components/play/MetadataResults.tsx @@ -93,7 +93,7 @@ export const MetadataSearchCombobox = (props: Me // a ref, not state: combobox captures onInteractOutside when the popup opens so state read there is stale const rawInput = useRef(initialInput === '' ? undefined : initialInput); - const [contextMode, setContextMode] = useState(props.searchContext ?? false); + const [contextMode, setContextMode] = useState(props.searchContext ?? true); const [open, setOpen] = useState(false); // typing would otherwise search on every keystroke // flush on unmount: a parent may remount this after a selection and still wants the search for the selected text