DAR-1Chat ADarrylDeploy laneP1done
Shop filter fix (shipped v224–v227)
Element: FilterSidebar 'On sale only' + facet predicates
Source: Darryl Allen · Jun 10 (meeting)Target build: v224–v227Depends on: none
● Current state — verified on live v230
Darryl's Jun 10 ask. SHIPPED & Chrome-verified in v224–v227.
◎ Target outcome
'On sale only' filters correctly (shared isOnSale predicate between facet count + filter); ON-state styling; scoped to .fs-toggle; sidebar stays white when active (v228); dynamic THC/CBD ranges (v229).
Assets, colours & references
Reference: Darryl's Jun 10 verbal review (shop filter). Shipped & Chrome-verified across v224–v227.
Technical steps to achieve it
- DONE — shared productPredicates.isOnSale; .fs-toggle scoping; light-theme sidebar.
Files to change
src/utils/productPredicates.jssrc/components/shop/FilterSidebar.jsxsrc/pages/ShopPage.jsx
Testing
- DONE — 22 vitest green; canary verified toggle → 3 on-sale London products.
Milestones
✓Spec'd from feedback
✓Source located
✓Code change
✓Local test (vitest + vite preview)
✓Canary verify + ship v224–v227
Verify live
Progress URL updates here when this task ships to its target /vN/. Current column always points at the live baseline.