Implement Excel-style filters (SKU, ASIN, Title, Line) across GRID, WEEKLY SALES, and FC26 tabs

This commit is contained in:
Christian Vidal Wolf
2026-02-09 12:00:39 +01:00
parent 827135a517
commit ac791b5265
6 changed files with 574 additions and 28 deletions
+10
View File
@@ -27,6 +27,16 @@ export interface FilterState {
vendorStock: string[]; // Added Vendor Stock filter
woc: string[]; // Added Weeks of Coverage filter
bulkSearch: string; // Added Bulk Search support
columnFilters: Record<string, ColumnFilterCondition>; // Added Excel-style column filters
}
export interface ColumnFilterCondition {
textFilter?: {
operator: 'equals' | 'notEquals' | 'contains' | 'notContains' | 'startsWith' | 'notStartsWith' | 'endsWith' | 'notEndsWith';
value: string;
};
selectedValues?: string[];
sort?: 'asc' | 'desc';
}
export interface GrowthMetric {