Anki/qt/aqt
Luc Mcgrady f29bcb743b
Feat/Desired retention warning improvements (#3995)
* Feat/90% desired retention warning

* Update ftl/core/deck-config.ftl

* show on newly enabled

* Show warning on focus

* Never hide warning

* Display relative change

* Add: Separate warning for too long and short

* Revert unchanged text changes

* interval -> workload

* Remove dead code

* fsrs-rs/@L-M-Sherlock's workload calculation

* Added: delay

* CONSTANT_CASE

* Fix: optimized state

* Removed "Processing"

* Remove dead code

* 1 digit precision

* bump fsrs-rs

* typo

* Apply suggestions from code review

Co-authored-by: Damien Elmes <dae@users.noreply.github.com>

* Improve rounding

* improve comment

* rounding <1%

* decrease rounding precision

* bump ts-fsrs

* use actual cost values

* ./check

* typo

* include relearning

* change factor wording

* simplify sql

* ./check

* Apply suggestions from code review

Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>

* Fix: missing search_cids

* @dae's style patch

* Fix: Doesn't update on arrow keys change

* force two lines

* center two lines

---------

Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
2025-05-27 13:07:21 +10:00
..
browser fix onNote potentially discarding editor field changes (#4001) 2025-05-15 16:48:56 +10:00
data Revert "Fix ease button alignment (#3474)" (#3522) 2024-10-26 18:50:02 +10:00
forms Add URL scheme whitelist (#3994) 2025-05-15 15:37:49 +10:00
import_export Add Cmd+W close shortcut (on Mac) to more dialogs (#3905) 2025-04-24 18:53:01 +10:00
operations Fix unescaped deck names missing from tooltips when deleted (#3960) 2025-04-29 02:18:56 +03:00
qt Revert "Qt 6.8.1" 2025-01-25 21:41:33 +11:00
__init__.py FIX borken support link (#4019) 2025-05-22 21:40:13 +10:00
_macos_helper.py Update type annotations (#3322) 2024-07-26 17:57:25 +07:00
about.py ADD myself to about.py (#4026) 2025-05-22 22:55:37 +10:00
addcards.py only change notetype/deck when reopening if no changes to discard (#3798) 2025-02-09 15:58:21 +03:00
addons.py Add Cmd+W close shortcut (on Mac) to more dialogs (#3905) 2025-04-24 18:53:01 +10:00
ankihub.py Integrate AnkiHub Sign-in (#3232) 2024-08-17 10:58:23 +07:00
changenotetype.py Add Cmd+W close shortcut (on Mac) to more dialogs (#3905) 2025-04-24 18:53:01 +10:00
clayout.py Add Cmd+W close shortcut (on Mac) to more dialogs (#3905) 2025-04-24 18:53:01 +10:00
colors.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
customstudy.py Add Cmd+W close shortcut (on Mac) to more dialogs (#3905) 2025-04-24 18:53:01 +10:00
dbcheck.py Ensure DB check tooltip appears in main window 2024-04-30 23:21:41 +10:00
debug_console.py Remove unused import 2025-05-05 18:08:31 +10:00
deckbrowser.py Add title for some dialogs and avoid hardcoding the text of the discard changes dialog (#3846) 2025-03-10 15:53:43 +07:00
deckchooser.py Allow choosing filtered decks in stats (#3687) 2025-01-04 17:39:16 +03:00
deckconf.py Improve exception handling (#3290) 2024-08-04 20:51:13 +07:00
deckdescription.py Add Cmd+W close shortcut (on Mac) to more dialogs (#3905) 2025-04-24 18:53:01 +10:00
deckoptions.py Add Cmd+W close shortcut (on Mac) to more dialogs (#3905) 2025-04-24 18:53:01 +10:00
editcurrent.py Add Cmd+W close shortcut (on Mac) to more dialogs (#3905) 2025-04-24 18:53:01 +10:00
editor.py Cloze button get disabled outside of cloze field (#3879) 2025-04-24 18:37:41 +10:00
emptycards.py Fix AnkiWebPage not being initialized for default web view kinds (e.g. in add-ons) (#3933) 2025-04-22 21:22:40 +10:00
errors.py Prompt user to apply Windows updates when SSL connection fails 2025-02-06 22:57:15 +07:00
exporting.py Add Cmd+W close shortcut (on Mac) to more dialogs (#3905) 2025-04-24 18:53:01 +10:00
fields.py Add Cmd+W close shortcut (on Mac) to more dialogs (#3905) 2025-04-24 18:53:01 +10:00
filtered_deck.py Enable strict_optional for aqt/deckoptions, editcurrent, filtered_deck (#3556) 2024-11-07 08:33:41 +10:00
flags.py Use default flag name when flag is renamed to empty string (#3826) 2025-02-21 16:38:04 +07:00
gui_hooks.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
importing.py update error message (#3612) 2024-12-06 03:05:49 +03:00
legacy.py Import submodules directly (#1662) 2022-02-13 13:40:47 +10:00
log.py Add support for python logging (#2969) 2024-02-11 16:41:50 +10:00
main.py Clear notetypes cache on import (#3969) 2025-05-08 23:11:47 +10:00
mediacheck.py Enable strict_optional for aqt/mediacheck, theme, toolbar (#3569) 2024-11-12 19:47:04 +03:00
mediasrv.py Feat/Desired retention warning improvements (#3995) 2025-05-27 13:07:21 +10:00
mediasync.py Enable strict_optional for aqt/mediasync, package, progress (#3577) 2024-11-15 16:24:50 +03:00
modelchooser.py Enable strict_optional for aqt/modelchooser.py (#3539) 2024-10-28 14:19:31 +10:00
models.py Fix "Note Types" dialog moving down each time it is opened (#3718) 2025-01-12 15:33:37 +11:00
mpv.py Skip ytdl flag on macOS ARM 2025-05-15 19:04:26 +10:00
notetypechooser.py Enable strict_optional for aqt/notetypechooser, stats, switch (#3558) 2024-11-08 13:42:42 +03:00
overview.py Fix mypy errors 2024-10-26 19:07:43 -07:00
package.py Enable strict_optional for aqt/mediasync, package, progress (#3577) 2024-11-15 16:24:50 +03:00
preferences.py Add URL scheme whitelist (#3994) 2025-05-15 15:37:49 +10:00
profiles.py Make URL schemes dialog more ergonomic (#4002) 2025-05-15 16:17:33 +10:00
progress.py feat: add title to some of the sync dialogs (#3838) 2025-03-03 15:03:28 +03:00
props.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
py.typed mark anki and aqt modules as having typing info 2020-01-13 13:03:37 +10:00
reviewer.py Fix/Leech suspended tooltip (#3992) 2025-05-15 15:14:10 +10:00
schema_change_tracker.py Add ability to restore a notetype to its original configuration (#2472) 2023-04-18 14:07:51 +10:00
sound.py Disable YouTube DL in mpv 2025-05-10 19:31:06 +10:00
stats.py Add Cmd+W close shortcut (on Mac) to more dialogs (#3905) 2025-04-24 18:53:01 +10:00
studydeck.py Add Cmd+W close shortcut (on Mac) to more dialogs (#3905) 2025-04-24 18:53:01 +10:00
stylesheets.py Use platform-native button layout in dialogs and messageboxes (#3725) 2025-01-13 14:24:21 +11:00
switch.py Remove hardcoded note/card colours from switch.py (#3629) 2024-12-14 21:30:28 +11:00
sync.py Add Cmd+W close shortcut (on Mac) to more dialogs (#3905) 2025-04-24 18:53:01 +10:00
tagedit.py Enable strict_optional for aqt/tagedit, utils, sync (#3578) 2024-11-15 16:29:19 +03:00
taglimit.py Fix mypy errors 2024-10-26 19:33:04 -07:00
taskman.py fix: Task manager exception handling (#3839) 2025-03-10 14:17:50 +07:00
theme.py Use platform-native button layout in dialogs and messageboxes (#3725) 2025-01-13 14:24:21 +11:00
toolbar.py Refactoring and comments (#3721) 2025-01-12 15:46:20 +11:00
tts.py Don't parse TTS text as XML (#3651) 2024-12-22 11:09:00 +10:00
undo.py Dependency updates (#3040) 2024-02-28 16:28:04 +07:00
update.py Fix UI hanging when update check stalls 2024-10-15 21:32:46 +10:00
url_schemes.py Make URL schemes dialog more ergonomic (#4002) 2025-05-15 16:17:33 +10:00
utils.py Add URL scheme whitelist (#3994) 2025-05-15 15:37:49 +10:00
webview.py Add URL scheme whitelist (#3994) 2025-05-15 15:37:49 +10:00
widgetgallery.py Improve debug console (#2435) 2023-03-15 15:29:05 +10:00
winpaths.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00