feat: added 'Apply to summaries' toggle to blocklist feature#1003
Merged
spacecowboy merged 4 commits intoFeb 17, 2026
Merged
Conversation
Adds an optional toggle to the blocklist settings that allows filtering articles based on their summaries/descriptions in addition to titles. - Toggle defaults to OFF (title-only filtering, less aggressive) - When enabled, checks both article titles and RSS descriptions - Settings state persists across app restarts - Includes 11 passing tests (unit and instrumented) The feature uses SQLite glob pattern matching and integrates with the existing BlocklistUpdateJob to re-apply filters when toggle changes.
spacecowboy
requested changes
Jan 27, 2026
spacecowboy
left a comment
Owner
There was a problem hiding this comment.
👍 I think it is a good change
See one comment about parameter ordering though. Otherwise LGTM
(Sorry for the delay, I've been without a proper computer for a while)
Comment on lines
+52
to
+60
| showToggle: Boolean = false, | ||
| toggleValue: Boolean = false, | ||
| toggleLabel: String = "", | ||
| onToggleChange: (Boolean) -> Unit = {}, |
Owner
There was a problem hiding this comment.
This breaks conventional order of arguments for compose
The order should be values, lambdas, modifier
items: ImmutableHolder<List<String>>,
showToggle: Boolean = false,
toggleValue: Boolean = false,
toggleLabel: String = "",
onDismiss: () -> Unit,
onRemoveItem: (String) -> Unit,
onAddItem: (String) -> Unit,
onToggleChange: (Boolean) -> Unit = {},
modifier: Modifier = Modifier,
Move value parameters before lambdas, and modifier to end in EditableListDialog and ListDialogSetting. Follows Compose convention of: values -> lambdas -> modifier.
Contributor
Author
|
I appreciate the work you put into this. |
Owner
|
You can see the output of the EditableListDialog.kt:50Settings.kt:1008 |
Completes the parameter reordering from the previous commit by moving required lambda parameters before the modifier, as required by the ktlint compose rules. All optional parameters now follow the modifier. Co-authored-by: Cursor <[email protected]>
Owner
|
thanks @linuxhd0 ! |
jenningsloy318
added a commit
to jenningsloy318/Feeder
that referenced
this pull request
Mar 30, 2026
Incorporate upstream changes from master (v2.17.0, v2.18.0) while preserving all AI features developed on ai-features branch. Upstream features incorporated: - Paging mode with volume buttons and tap zones (spacecowboy#1062) - Home screen widget support (spacecowboy#1018) - Blocklist apply-to-summaries toggle (spacecowboy#1003) - AGP 9.0.0 + OkHttp 5.3.2 upgrade (spacecowboy#1051) - LazyColumn to Column migration for text selection crash fix (spacecowboy#1045) - Read item opacity (spacecowboy#996) - Bug fixes: sync deletion, compact layout scroll, network crash - 20+ language i18n updates via Weblate AI features preserved: - Multi-provider AI architecture (OpenAI + Anthropic) - Per-paragraph translation with circular progress - Mikepenz markdown rendering for summaries - Text selection menu customization - Summary/translation cancellation support Resolved 10 merge conflicts (3 HIGH, 3 MEDIUM, 4 LOW). Deleted superseded openai/ package and LeakCanary references. Re-indexed SettingsViewModel combine() params (35 total). Added mainActivityViewModel parameter to all 13 navigation destinations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an optional toggle to the blocklist settings that allows filtering articles based on their summaries/descriptions in addition to titles.
The feature uses SQLite glob pattern matching and integrates with the existing BlocklistUpdateJob to re-apply filters when toggle changes.