Skip to content

feat: snoozed until filter#257

Merged
williscool merged 5 commits intomasterfrom
feat/snoozed_until_filter
Mar 5, 2026
Merged

feat: snoozed until filter#257
williscool merged 5 commits intomasterfrom
feat/snoozed_until_filter

Conversation

@williscool
Copy link
Copy Markdown
Owner

@williscool williscool commented Mar 5, 2026

  • docs: plan
  • docs: new features
  • feat: draw the rest of the fucking owl
  • fix: better with off
  • feat: include unsnoozed

Note

Medium Risk
Adds new filtering logic and state serialization for Active events plus a new bottom-sheet UI, which could change which events are shown or cause UI edge-case bugs. Risk is mitigated by extensive unit tests for matching and Bundle round-tripping.

Overview
Adds a new “Snoozed Until” filter for the Active events tab, including a chip in MainActivityModern that opens a new SnoozedUntilFilterBottomSheet with preset intervals, custom duration, specific date/time selection, an Off/Before/After direction toggle, and an include unsnoozed option.

Extends FilterState with SnoozedUntilFilterConfig (new enums, matching logic, Bundle serialization, display string updates) and updates default active-event filtering to apply FilterType.SNOOZED_UNTIL.

Adds configurable preset management in Settings (snoozedUntilPresetsRaw/snoozedUntilPresets + new SnoozedUntilPresetPreferenceX + new “Active Events” settings category) and accompanying resources/strings/docs, plus comprehensive FilterStateTest coverage for the new filter behavior.

Written by Cursor Bugbot for commit c5c26ca. This will update automatically on new commits. Configure here.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 5, 2026

Build artifacts for PR #257 (commit c5c26ca) are available:

You can download these artifacts from the "Artifacts" section of the workflow run.

@williscool williscool changed the title feat/snoozed until filter feat: snoozed until filter Mar 5, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 5, 2026

Code Coverage Report

Overall Project 27.19% -1.81%
Files changed 20.56%

File Coverage
FilterState.kt 94.54% -0.93% 🍏
MainActivityModern.kt 50.39% -4.53%
Settings.kt 29.45% -2.89%
NavigationSettingsFragmentX.kt 0% -19.69%
SnoozedUntilPresetPreferenceX.kt 0% -85.67%
SnoozedUntilFilterBottomSheet.kt 0% -98.64%

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 5, 2026

📊 Code Coverage Summary

Coverage Type Coverage
Overall 27.19
Changed Files 39.21

View detailed coverage report

@williscool williscool merged commit b139db3 into master Mar 5, 2026
15 of 17 checks passed
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