mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Show message if current FSRS parameters are optimal (#3014)
* Show message if current FSRS parameters are optimal * Fix message shown with default parameters * Use alert()
This commit is contained in:
parent
8b18a08b3b
commit
00c67fc0c7
2 changed files with 7 additions and 0 deletions
|
@ -431,6 +431,7 @@ deck-config-percent-of-reviews =
|
||||||
}
|
}
|
||||||
deck-config-optimizing-preset = Optimizing preset { $current_count }/{ $total_count }...
|
deck-config-optimizing-preset = Optimizing preset { $current_count }/{ $total_count }...
|
||||||
deck-config-fsrs-must-be-enabled = FSRS must be enabled first.
|
deck-config-fsrs-must-be-enabled = FSRS must be enabled first.
|
||||||
|
deck-config-fsrs-params-optimal = The FSRS parameters currently appear to be optimal.
|
||||||
|
|
||||||
deck-config-wait-for-audio = Wait for audio
|
deck-config-wait-for-audio = Wait for audio
|
||||||
deck-config-show-reminder = Show Reminder
|
deck-config-show-reminder = Show Reminder
|
||||||
|
|
|
@ -116,6 +116,12 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
ignoreRevlogsBeforeMs: getIgnoreRevlogsBeforeMs(),
|
ignoreRevlogsBeforeMs: getIgnoreRevlogsBeforeMs(),
|
||||||
currentWeights: $config.fsrsWeights,
|
currentWeights: $config.fsrsWeights,
|
||||||
});
|
});
|
||||||
|
if (
|
||||||
|
$config.fsrsWeights.length &&
|
||||||
|
$config.fsrsWeights.every((n, i) => n === resp.weights[i])
|
||||||
|
) {
|
||||||
|
alert(tr.deckConfigFsrsParamsOptimal());
|
||||||
|
}
|
||||||
if (computeWeightsProgress) {
|
if (computeWeightsProgress) {
|
||||||
computeWeightsProgress.current = computeWeightsProgress.total;
|
computeWeightsProgress.current = computeWeightsProgress.total;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue