From 72e862cceac9eaad874980e4c1e3847bd280dd11 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Wed, 4 Nov 2026 18:04:42 +0000 Subject: [PATCH] fix(ui): show the search filters only while a search runs The filter row of the chat search showed from the first typed character, when a search has not started yet, so a change of a filter did nothing. It now shows from two characters, or while a filter is on. Assisted-by: Claude:claude-sonnet-5-5 --- core/http/react-ui/src/components/ChatsList.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/http/react-ui/src/components/ChatsList.jsx b/core/http/react-ui/src/components/ChatsList.jsx index d2ea6714c7..81472ab693 100644 --- a/core/http/react-ui/src/components/ChatsList.jsx +++ b/core/http/react-ui/src/components/ChatsList.jsx @@ -188,7 +188,7 @@ export default function ChatsList({ } const listId = `${idPrefix}-menu-list` - const showFilters = Boolean(onSearch) && search.trim().length > 0 + const showFilters = searching || (Boolean(onSearch) && filtersActive(filters) && search.trim().length > 0) const meta = searching && found.status === 'ready' ? found.meta : null // The words under the list while a search runs or ends.