Bugfix: How should preview stub filter methods work?

Documentation for Sessions

🐛 Bugfix: How should preview stub filter methods work?

Date: 2026-03-23
Time: 16:26:47 UTC
Session: gspace1-261.2
Agent: angular
Confidence: 95%
Status: ✅ Documented


📋 Decision Context

Question:

How should preview stub filter methods work?

Task: S257: Platform generation pipeline fixes


🎯 Decision Made

Chosen:

Replaced noop filter methods (setFilter, removeFilter, clearFilters, setFilters) with real state management that updates activeFilters signal, resets page to 1, and triggers doLoad(). Also added filters to the loadFn request object so backend receives them.

Options Considered:


💭 Reasoning

Filters appeared in UI but did nothing — activeFilters signal never changed, no reload triggered, and filters weren't sent to backend. Real SDK composable implements all four methods with state update + refresh + URL sync. Stub now matches.


📁 Files Involved


🔗 Related


Auto-generated by MCP Smart Consolidation