Skip to content

Conversation

@ericli3690
Copy link
Member

@ericli3690 ericli3690 commented Aug 29, 2025

Purpose / Description

Add a group of new advanced review reminder options: count new cards, count cards in learning, and count cards in review. When the review reminder is about to send a notification and checks to see if the amount of cards in the deck is greater than the card trigger threshold, it examines these options to check if it should count and consider new cards, cards in learning, and cards in review.

Adds three new checkboxes to the AddEditReminderDialog to toggle these booleans on or off. Edits some logic in NotificationService to add up cards only from selected card type when determining whether the card trigger threshold is met.

Adds three new boolean fields to store the states of these settings to ReviewReminder. Adds unit tests.

UI

image

Fixes

  • GSoC 2025: Review Reminders

Approach

One of the two planned review reminder advanced options! Just needs some extra checks when handling the Count objects.

How Has This Been Tested?

  • Unit tests pass.
  • Builds and runs on a physical Samsung S23, API 34.
  • Based on my own personal testing, it seems the feature works! I created a few review reminders, reviewed a few cards, etc.

Checklist

  • You have a descriptive commit message with a short title (first line, max 50 chars).
  • You have commented your code, particularly in hard-to-understand areas
  • You have performed a self-review of your own code
  • UI changes: include screenshots of all affected screens (in particular showing any new or changed strings)
  • UI Changes: You have tested your change using the Google Accessibility Scanner

@ericli3690 ericli3690 added Needs Review GSoC Pull requests authored by a Google Summer of Code participant [Candidate/Selected], for GSoC mentors Blocked by dependency Currently blocked by some other dependent / related change labels Aug 29, 2025
@ericli3690 ericli3690 force-pushed the ericli3690-review-reminders-new-lrn-rev branch from 1ca08cc to 0793e7a Compare September 5, 2025 21:46
@ericli3690 ericli3690 marked this pull request as draft September 5, 2025 22:56
@ericli3690 ericli3690 force-pushed the ericli3690-review-reminders-new-lrn-rev branch from 0793e7a to f2c9dde Compare September 6, 2025 05:01
@ericli3690 ericli3690 marked this pull request as ready for review September 6, 2025 05:21
@ericli3690
Copy link
Member Author

  • Rebased.

@ericli3690 ericli3690 force-pushed the ericli3690-review-reminders-new-lrn-rev branch 3 times, most recently from 5a3ddeb to a390cfb Compare September 7, 2025 17:20
@ericli3690
Copy link
Member Author

  • Rebased.

@ericli3690 ericli3690 force-pushed the ericli3690-review-reminders-new-lrn-rev branch from a390cfb to 9a53408 Compare September 9, 2025 04:49
@ericli3690
Copy link
Member Author

  • Rebased.

@ericli3690 ericli3690 force-pushed the ericli3690-review-reminders-new-lrn-rev branch from 9a53408 to ae683e5 Compare September 9, 2025 05:23
@ericli3690
Copy link
Member Author

Forgot to stage some code. Fixed.

@ericli3690 ericli3690 marked this pull request as draft September 26, 2025 04:11
GSoC 2025: Review Reminders

Add a group of new advanced review reminder options: count new cards, count cards in learning, and count cards in review. When the review reminder is about to send a notification and checks to see if the amount of cards in the deck is greater than the card trigger threshold, it examines these options to check if it should count and consider new cards, cards in learning, and cards in review.

Adds three new checkboxes to the AddEditReminderDialog to toggle these booleans on or off. Edits some logic in NotificationService to add up cards only from selected card type when determining whether the card trigger threshold is met.

Adds three new boolean fields to store the states of these settings to ReviewReminder. Adds unit tests.
@ericli3690 ericli3690 force-pushed the ericli3690-review-reminders-new-lrn-rev branch from ae683e5 to e128d8a Compare November 25, 2025 06:31
@ericli3690 ericli3690 removed Blocked by dependency Currently blocked by some other dependent / related change Has Conflicts labels Nov 25, 2025
@ericli3690 ericli3690 marked this pull request as ready for review November 25, 2025 06:58
@ericli3690
Copy link
Member Author

Rebased, fully unblocked, and ready for review!

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

Labels

GSoC Pull requests authored by a Google Summer of Code participant [Candidate/Selected], for GSoC mentors Needs Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant