diff --git a/src/components/CentralContainer/Sidebar/SidebarTabs/SearchTabPanel/index.tsx b/src/components/CentralContainer/Sidebar/SidebarTabs/SearchTabPanel/index.tsx index c32b5b2b..96ac122d 100644 --- a/src/components/CentralContainer/Sidebar/SidebarTabs/SearchTabPanel/index.tsx +++ b/src/components/CentralContainer/Sidebar/SidebarTabs/SearchTabPanel/index.tsx @@ -10,6 +10,7 @@ import { LinearProgress, Textarea, ToggleButtonGroup, + Tooltip, } from "@mui/joy"; import UnfoldLessIcon from "@mui/icons-material/UnfoldLess"; @@ -67,6 +68,10 @@ const SearchTabPanel = () => { const [queryOptions, setQueryOptions] = useState([]); const [queryString, setQueryString] = useState(""); + const handleCollapseAllButtonClick = () => { + setIsAllExpanded((v) => !v); + }; + const handleQuerySubmit = (newArgs: Partial) => { startQuery({ isCaseSensitive: getIsCaseSensitive(queryOptions), @@ -92,12 +97,19 @@ const SearchTabPanel = () => { }); }; + const isQueryInputBoxDisabled = isDisabled(uiState, UI_ELEMENT.QUERY_INPUT_BOX); + return ( { setIsAllExpanded((v) => !v); }}> + {isAllExpanded ? : } @@ -108,34 +120,46 @@ const SearchTabPanel = () => {