Skip to content

fix: fast follow bug fixes and refactors from upcoming time pill#253

Merged
williscool merged 4 commits intomasterfrom
fix/upcoming_time_filter_fast_follows
Feb 25, 2026
Merged

fix: fast follow bug fixes and refactors from upcoming time pill#253
williscool merged 4 commits intomasterfrom
fix/upcoming_time_filter_fast_follows

Conversation

@williscool
Copy link
Owner

@williscool williscool commented Feb 24, 2026

fast follow from #252


Note

Medium Risk
Changes how user-entered preset strings are parsed/normalized and how durations are rendered in the UI; mistakes could silently alter stored settings or display incorrect intervals, but scope is limited to preference/UI flows.

Overview
Improves preset handling by centralizing comma-separated preset parsing/normalization in PreferenceUtils.normalizePresetInput, including optional filtering and tracking of dropped invalid values.

Updates the snooze and upcoming-lookahead preset preference dialogs to use the shared normalization logic; upcoming presets now filter out invalid/out-of-range values and warn when entries are removed.

Makes upcoming lookahead labels localizable by adding a Context-based formatPresetHumanReadable that uses new plurals resources, and wires it into the upcoming time chip and bottom sheet; also tweaks bottom-sheet radio/divider sizing via new dimens.

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

@github-actions
Copy link

Build artifacts for PR #253 (commit c1e0e5a) are available:

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

@github-actions
Copy link

github-actions bot commented Feb 24, 2026

Code Coverage Report

Overall Project 34.69% -0.46% 🍏
Files changed 10.28%

Module Coverage
app 42.25% -0.46%
x8664Debug 27.29% -0.45%
Files
Module File Coverage
app MainActivityModern.kt 50.75% 🍏
SnoozePresetPreferenceX.kt 31.6% -22.3%
PreferenceUtils.kt 29.13% -35.83%
UpcomingTimePresetPreferenceX.kt 0% -24.22%
UpcomingTimeFilterBottomSheet.kt 0% -10%
x8664Debug MainActivityModern.kt 50.45% 🍏
PreferenceUtils.kt 48.75% -35.83%
SnoozePresetPreferenceX.kt 31.6% -22.3%
UpcomingTimePresetPreferenceX.kt 0% -24.22%
UpcomingTimeFilterBottomSheet.kt 0% -10%

@github-actions
Copy link

📊 Code Coverage Summary

Coverage Type Coverage
Overall 27.31
Changed Files 40.57

View detailed coverage report

@github-actions
Copy link

Build artifacts for PR #253 (commit 3d54026) are available:

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

@github-actions
Copy link

📊 Code Coverage Summary

Coverage Type Coverage
Overall 27.31
Changed Files 40.35

View detailed coverage report

Copy link

@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.

@williscool williscool enabled auto-merge (squash) February 25, 2026 03:59
@github-actions
Copy link

Build artifacts for PR #253 (commit a4e8046) are available:

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

@github-actions
Copy link

Build artifacts for PR #253 (commit c3d38db) are available:

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

@williscool williscool merged commit d977e7f into master Feb 25, 2026
14 checks passed
@github-actions
Copy link

📊 Code Coverage Summary

Coverage Type Coverage
Overall 34.63
Changed Files 38.35

View detailed coverage report

@github-actions
Copy link

📊 Code Coverage Summary

Coverage Type Coverage
Overall 34.69
Changed Files 38.39

View detailed coverage report

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