Yokan / rebuild
Course 1 8624561

ACTIVITY_FILTERS.md

docs/features/ACTIVITY_FILTERS.md

documentation / design asset41 lines
1# Updates and Upcoming filters23Updates → **Filters** adds independent tri-state Downloaded, Unread/unseen,4Started and unfinished, and Bookmarked filters, plus **Hide excluded scanlators**.5They combine with text search and the media tabs. Downloaded uses completed local6download IDs from the shared library index; queued or remote-only downloads do not7qualify. Started means positive progress on an unfinished chapter or episode. Its8inverse means untouched and unfinished; completed entries are excluded from both.9Invalid/nonfinite legacy progress is treated as no progress. Scanlator matching uses10the same normalization and per-title exclusion lists as title details.1112Updates and Upcoming/Calendar each have category inclusion/exclusion controls.13Off leaves a category unconstrained, Include accepts any included category, and14Exclude rejects an entry in any excluded category. Uncategorized is selectable.15Hidden categories remain available for filtering. Deleted, foreign-media or invalid16category preferences are ignored so stale settings cannot leave activity permanently17empty. **Reset filters** clears only the current screen's selected media preferences.18Updates and Upcoming choices are independent for manga, anime and novels.1920Preferences persist per profile under the existing device-local feature settings.21Changes publish through observed settings/snapshots, including progress, bookmarks,22completed downloads and category changes. Updates resolves chapter IDs once per23title with update records, rather than repeatedly scanning a title's chapter list.24Filter changes reuse those resolved rows and never query the database per row.25Calendar derives titles/categories/update records from one published snapshot.2627All controls and filtering are shared across Android, iOS, desktop and web.28This is the Updates/Upcoming filtering portion of parity stage 4. Smart-update rules29and grouping scope are documented in `SMART_UPDATE_RULES.md`; automatic device/network30constraints and their telemetry limits are documented in `AUTOMATIC_UPDATE_CONSTRAINTS.md`.3132Behavior references at the pinned Animetail revision:33[filter controls](https://github.com/Animetailapp/Animetail/blob/d0eab5d6237dd09ebdb21a63fff5b66097c91087/app/src/main/java/eu/kanade/presentation/updates/UpdatesFilterDialog.kt)34and [query rules](https://github.com/Animetailapp/Animetail/blob/d0eab5d6237dd09ebdb21a63fff5b66097c91087/data/src/main/sqldelight/view/updatesView.sq).3536Verification: 15 desktop checks and 15 Kotlin/Wasm browser tests passed, with no37failures, errors or skipped tests. Desktop, Android, iOS simulator ARM64 and web38compiled. The shared tests cover combinations, category precedence,39Uncategorized, malformed/stale settings, normalized exclusions, persistence and 3,00040updates in one title. ViewModel checks prohibit live per-row repository reads and41exercise preference/progress/download/category changes.42

Search chapters, reference and source filenames.