diff --git a/packages/web/src/javascripts/Components/ContentListView/ContentListView.tsx b/packages/web/src/javascripts/Components/ContentListView/ContentListView.tsx index febe12a7b..c66bbaad8 100644 --- a/packages/web/src/javascripts/Components/ContentListView/ContentListView.tsx +++ b/packages/web/src/javascripts/Components/ContentListView/ContentListView.tsx @@ -172,7 +172,7 @@ const ContentListView: FunctionComponent = ({ return (
diff --git a/packages/web/src/javascripts/Components/Navigation/Navigation.tsx b/packages/web/src/javascripts/Components/Navigation/Navigation.tsx index a106c2e26..766bab154 100644 --- a/packages/web/src/javascripts/Components/Navigation/Navigation.tsx +++ b/packages/web/src/javascripts/Components/Navigation/Navigation.tsx @@ -10,6 +10,7 @@ import SearchBar from '@/Components/SearchBar/SearchBar' import ResponsivePaneContent from '@/Components/ResponsivePane/ResponsivePaneContent' import { AppPaneId } from '@/Components/ResponsivePane/AppPaneMetadata' import { classNames } from '@/Utils/ConcatenateClassNames' +import Icon from '@/Components/Icon/Icon' type Props = { application: WebApplication @@ -19,6 +20,7 @@ const Navigation: FunctionComponent = ({ application }) => { const viewControllerManager = useMemo(() => application.getViewControllerManager(), [application]) const ref = useRef(null) const [panelWidth, setPanelWidth] = useState(0) + const [isPanelExpanded, setIsPanelExpanded] = useState(true) useEffect(() => { const removeObserver = application.addEventObserver(async () => { @@ -47,19 +49,39 @@ const Navigation: FunctionComponent = ({ application }) => { }, [viewControllerManager]) return ( -