From fa2cb457faca26101eb9e383e6f7d2e00097d1f1 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Thu, 16 Oct 2025 14:27:59 +0200 Subject: [PATCH] Move 'Filters are being saved automatically' message to bottom left - Relocated message from top center to bottom left next to script count - Positioned alongside 'Clear all filters' button for better layout - Maintains green checkmark icon and styling consistency --- src/app/_components/FilterBar.tsx | 47 ++++++++++++++++--------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/src/app/_components/FilterBar.tsx b/src/app/_components/FilterBar.tsx index 2a03642..a48696d 100644 --- a/src/app/_components/FilterBar.tsx +++ b/src/app/_components/FilterBar.tsx @@ -93,17 +93,6 @@ export function FilterBar({ )} - {/* Filter Persistence Status */} - {!isLoadingFilters && saveFiltersEnabled && ( -
-
- - - - Filters are being saved automatically -
-
- )} {/* Filter Header */} {!isLoadingFilters && ( @@ -391,18 +380,30 @@ export function FilterBar({ {/* Filter Summary and Clear All */}
-
- {filteredCount === totalScripts ? ( - Showing all {totalScripts} scripts - ) : ( - - {filteredCount} of {totalScripts} scripts{" "} - {hasActiveFilters && ( - - (filtered) - - )} - +
+
+ {filteredCount === totalScripts ? ( + Showing all {totalScripts} scripts + ) : ( + + {filteredCount} of {totalScripts} scripts{" "} + {hasActiveFilters && ( + + (filtered) + + )} + + )} +
+ + {/* Filter Persistence Status */} + {!isLoadingFilters && saveFiltersEnabled && ( +
+ + + + Filters are being saved automatically +
)}