ankitects / ankitects/anki

"Set due date" description includes invalid "!" option while FSRS is enabled

Open Beginner friendly
#4,789 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
30.5k
Forks
3.2k
Avg merge
2d 8h
Merged PRs (30d)
72

Description

Ref: https://forums.ankiweb.net/t/bug-set-due-date-issues/69585
> *The following assumes that FSRS is enabled.*
> 1 The exclamation hint is still shown
>
> image
> Image
>
> AnkiDroid hides the option to set the interval to the same value, as was mentioned in [Set Due Date: Hide 'set interval to same value' if FSRS is enabled](https://forums.ankiweb.net/t/set-due-date-hide-set-interval-to-same-value-if-fsrs-is-enabled/53890).

https://github.com/ankitects/anki/blob/0e31efac08cddf0a43ad0b44f05f2a8e6ef0d91a/ftl/core/scheduling.ftl#L166-L169

This is baked into the translation string. Maybe just remove all "!"s from this string if FSRS is enabled to avoid re-translation work? Although this would still be inaccurate because "sets the interval to 1" isn't true if the card wasn't reviewed the same day as the date was set. Maybe delete the line the "!" Marks are on?

Contributor guide

Open the contributing guide

Research direction

Start by reading ft l/core/scheduling.ftl around lines 166-169 and compare the displayed due-date description with the FSRS behavior described in the issue. Verify the wording no longer advertises the invalid "!" option when FSRS is enabled, while preserving an accurate description for other cases.

Written by the indexing model from the issue text.

Assessment

Domain
localization
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.