feat(FN-1326): externalize search filter from ListView

- Remove internal search filter from ListView, use searchQuery prop instead
- Show header search bar in list view for consistent filtering
- Remove obsolete list-filter styles (63 lines removed)
- Update tests to reflect new searchQuery prop behavior
This commit is contained in:
gsxdsm
2026-04-09 14:02:35 -07:00
parent 7d484dd972
commit 8b8439a400
6 changed files with 40 additions and 151 deletions

View File

@@ -285,7 +285,7 @@ export function Header({
<div className="header-actions">
{/* Desktop Search - only show in board view */}
{onSearchChange && view === "board" && !isMobile && (
{onSearchChange && (view === "board" || view === "list") && !isMobile && (
<div className="header-search">
<Search size={14} className="header-search-icon" />
<input
@@ -308,7 +308,7 @@ export function Header({
)}
{/* Mobile Search Trigger - show in board and list views when mobile nav is hidden (hideFullNav) or in board view when mobile nav is visible */}
{onSearchChange && isMobile && (hideFullNav || view === "board") && (
{onSearchChange && isMobile && (hideFullNav || view === "board" || view === "list") && (
<>
{!shouldShowMobileSearch ? (
<button