mention new limit bound by reviews in tooltip

This commit is contained in:
Damien Elmes 2021-05-24 19:04:00 +10:00
parent f56c241702
commit f91f00a542
2 changed files with 11 additions and 1 deletions

View File

@ -27,6 +27,11 @@ deck-config-limit-deck-v3 =
When studying a deck that has subdecks inside it, the limits set on each
subdeck control the maximum number of cards drawn from that particular deck.
The selected deck's limits control the total cards that will be shown.
deck-config-limit-new-bound-by-reviews =
The review limit affects the new limit. For example, if your review limit is
set to 200, and you have 190 reviews waiting, a maximum of 10 new cards will
be introduced. If your review limit has been reached, no new cards will be
shown.
## New Cards section

View File

@ -12,7 +12,12 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
let defaults = state.defaults;
let parentLimits = state.parentLimits;
const v3Extra = state.v3Scheduler ? "\n\n" + tr.deckConfigLimitDeckV3() : "";
const v3Extra = state.v3Scheduler
? "\n\n" +
tr.deckConfigLimitNewBoundByReviews() +
"\n\n" +
tr.deckConfigLimitDeckV3()
: "";
$: newCardsGreaterThanParent =
!state.v3Scheduler && $config.newPerDay > $parentLimits.newCards