From 01ed60e2d5d7a130f69dfbf6dadfc153dbfecba2 Mon Sep 17 00:00:00 2001 From: Maurice Date: Sat, 18 Apr 2026 01:16:18 +0200 Subject: [PATCH] refactor(vacay,journey): drop redundant buttons from the new toolbar Vacay: remove the filter-sidebar toggle from the desktop bar and shift the breakpoint so the pre-existing mobile/tablet header (which still has the toggle) handles everything below the lg threshold where the sidebar is always visible anyway. Journey: drop the desktop search toggle and inline search input from the bar. Mobile search UI is untouched. --- client/src/pages/JourneyPage.tsx | 31 ------------------------------- client/src/pages/VacayPage.tsx | 24 ++++-------------------- 2 files changed, 4 insertions(+), 51 deletions(-) diff --git a/client/src/pages/JourneyPage.tsx b/client/src/pages/JourneyPage.tsx index c0638322..31da4b9a 100644 --- a/client/src/pages/JourneyPage.tsx +++ b/client/src/pages/JourneyPage.tsx @@ -168,37 +168,6 @@ export default function JourneyPage() {
- {searchOpen && ( - setSearchQuery(e.target.value)} - onKeyDown={e => { if (e.key === 'Escape') { setSearchQuery(''); setSearchOpen(false) } }} - placeholder={t('journey.search.placeholder')} - autoFocus - className="w-52 px-3 py-2 rounded-[10px] text-[13px] bg-white dark:bg-zinc-800 text-zinc-900 dark:text-white focus:outline-none" - style={{ border: '1px solid var(--border-primary)' }} - /> - )} -