Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/preset level easy days #502

Merged
merged 8 commits into from
Dec 1, 2024
Merged

Conversation

L-M-Sherlock
Copy link
Member

@L-M-Sherlock L-M-Sherlock commented Nov 30, 2024

Because the smart fuzz has been built-in, so the load balance option has been removed. The load balance and easy days are always applied when rescheduling via the helper add-on.

Patch: fsrs4anki-helper.ankiaddon.zip

After this PR, I will release a new branch in Ankiweb.

image

The new branch will only support Anki 24.11+ versions.

tooltip("Please enable load balance first")
return
if (
all([r == 1 for r in config.easy_days_review_ratio_list])
Copy link
Contributor

Choose a reason for hiding this comment

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

We need something to replace this. In the current patch, if I click "Apply easy days now" without selecting any easy day, I don't get any error.

Copy link
Member Author

Choose a reason for hiding this comment

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

As I mentioned before, I have to check deck by deck to know whether user selects any easy days.

And it's reasonable to not get any error without selecting any easy days because the user may just want to reset their changes in easy days.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, makes sense

schedule/easy_days.py Show resolved Hide resolved
schedule/reschedule.py Outdated Show resolved Hide resolved
schedule/reschedule.py Outdated Show resolved Hide resolved
Copy link
Contributor

@user1823 user1823 left a comment

Choose a reason for hiding this comment

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

Code-wise LGTM. Please ask someone else to verify if it works correctly for them. (I don't use Easy Days.)

@Expertium
Copy link
Contributor

I don't use Easy Days either

@L-M-Sherlock L-M-Sherlock merged commit 71fd6ab into main Dec 1, 2024
2 checks passed
@L-M-Sherlock L-M-Sherlock deleted the Feat/preset-level-easy-days branch December 1, 2024 15:23
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.

3 participants