Skip to content

Extract default filter preferences behind StorageService - #75

Draft
ghbarker wants to merge 1 commit into
varunsalian:webdav-syncfrom
ghbarker:codex/refactor-default-filters
Draft

ghbarker wants to merge 1 commit into
varunsalian:webdav-syncfrom
ghbarker:codex/refactor-default-filters

Conversation

@ghbarker

Copy link
Copy Markdown
Contributor

Moves the five default torrent-filter JSON encodings into a focused owner, retaining the existing StorageService APIs. Reset still captures one profile and removes the five filter keys followed by the provider key through that same preferences instance, even if the active profile changes during a write.

Validated independently against webdav-sync at 75b53ef3: 69 tests passed, four behavioral mutations caught, and no scoped analyzer diagnostics. Independent review reran all 69 tests and proved a provider-profile reacquisition mutation fails the reset assertions.

The related profile-preferences suite retains its identical upstream subtitle save-receipt failure. No Settings layout, filter policy or provider behavior changes. This independent draft replaces only the default-filter storage slice of retired #61.

Move ten unchanged JSON preference methods into a filter owner. Retain one captured profile across all five filter removals and the final provider removal, preserving failure order and public APIs.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant