You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace the SearchFilterService indirection and centralize search filter operations in DatabaseManager. Handlers now call DatabaseManager.get_and_touch_user_filters / get_user_filters / upsert_user_filters / reset_user_filters directly; upsert_user_filters now accepts a SearchFilter and JSON-serializes it internally. Deleted the old services/search_filter/search_filter_service.py module and updated imports across many handlers and clip/search/semantic handlers. Also adjusted return types and SQL in database_manager.get_user_filters to return a SearchFilter (or None) and updated callers accordingly. Additional small refactors: renamed internal parser methods in FilterParser to use private names, renamed _format_filter to __format_filter and updated usages, removed some explicit typing annotations and cleaned up list initializations. These changes centralize filter persistence logic and simplify handler code.
0 commit comments