Damien Elmes
8c6db5d1b7
Some wording tweaks
2024-12-17 23:30:30 +11:00
Damien Elmes
51d2d61f8b
Add extra unit test
2024-12-17 22:12:49 +11:00
Damien Elmes
1e6207d45d
More renaming/comment tweaks
...
- non_manual_entries -> first_user_grade_idx
- change comments to reflect the fact that we're working backwards
- Use "user-graded" rather than "non-manual"
2024-12-17 20:16:48 +11:00
Damien Elmes
10c5304aa7
Minor refactoring
...
- fsrs_items_for_memory_state - fsrs_items_for_memory_states
- single_card_revlog_to_item -> fsrs_item_for_memory_state
(to match fsrs_items_for_training)
- single_card_revlog_to_items -> reviews_for_fsrs
- Use struct instead of tuple for reviews_for_fsrs output
- Don't return count, since we're already returning the filtered list
2024-12-17 15:24:49 +11:00
Jarrett Ye
80facd0c5a
shorten the comment
2024-12-17 00:32:22 +08:00
Jarrett Ye
72821d878f
update ignore_before_date_between_learning_steps_when_reviewing
2024-12-17 00:29:36 +08:00
Jarrett Ye
417cd19738
pass ci
2024-12-17 00:18:06 +08:00
Jarrett Ye
afafc31445
fallback to non_manual_entries if the first learning step is before the ignore date
2024-12-17 00:00:38 +08:00
Jarrett Ye
5414aebaa9
only pick non_manual_entries after ignore date
2024-12-16 23:21:21 +08:00
Jarrett Ye
ba57c8d0d0
skip cram entry
2024-12-16 22:57:39 +08:00
Jarrett Ye
53dd619a04
remove first_relearn_entries
2024-12-16 18:53:31 +08:00
Jarrett Ye
f91dec44ee
move comment line
2024-12-16 18:13:53 +08:00
Jarrett Ye
35fa731b75
update unit test of bypassed_learning_is_handled
2024-12-15 19:54:19 +08:00
Jarrett Ye
e6e7a58300
refactor single_card_revlog_to_item(s)
2024-12-15 19:40:57 +08:00
Jarrett Ye
e04b382666
Fix/fallback to non-manual entry when first_of_last_learn_entries non found
2024-12-15 16:45:46 +08:00
Damien Elmes
d900506003
Fix 'type error: failed to fetch' in congrats screen
...
The previously-added catch was not working due to the implicit error
handling of the proto methods.
Closes #2895
2024-12-14 22:51:13 +11:00
llama
b726e28229
Remove use of window.location.href in CardInfoDialog ( #3621 )
...
* Replace window.location in CardInfoDialog with load_sveltekit_page
* Fix format
* Fix ForgettingCurve's reactivity
* Props' default args aren't reactive
* Add global _updateCardId fn to card-info
* Use _updateCardId to reactively update card-info
* Fix format
* Fix type
* Use dummy form instead of window global for client-side nav
* Fallback to window.location in case form hasn't been rendered
* Use window.postMessage instead of dummy <form>
2024-12-14 22:45:54 +11:00
Jarrett Ye
adcac61b44
Update to FSRS-rs v1.4.4 (clipping post-lapse stability) ( #3628 )
...
* Update to FSRS-rs v1.4.4 (clipping post-lapse stability)
* ./ninja fix:minilints
2024-12-14 22:01:34 +11:00
OuOu2021
008edbba28
I18n: Improve i18n and multi-platform display of FSRS Simulator ( #3611 )
...
* Improve i18n and multi-platform display of FSRS Simulator
* Tweak the graph bounds to avoid overlapping of the y-axis tick values and the y-axis title
* Update CONTRIBUTORS
* I18n for 4 more strings
* Reduce TitledContainer wrapper of fsrs simulator graph to maximize content display area
* Clean unused variables
* Update ftl/core/deck-config.ftl
* Update ftl/core/deck-config.ftl
2024-12-14 21:59:00 +11:00
a.r
1fb5e99efc
typeanswer: [type:nc] - use nfkd again ( #3627 )
2024-12-14 21:53:48 +11:00
llama
a2ad0bce55
Fix CardInfoPlaceholder not showing when card id is invalid ( #3631 )
...
* Catch bigint parsing error
* Modify CONTRIBUTORS
2024-12-14 21:32:51 +11:00
llama
2d207ff5ba
Remove hardcoded note/card colours from switch.py ( #3629 )
...
* Remove hardcoded note/card colours in switch.py
* Modify CONTRIBUTORS
* Switch to None as a safe default value
2024-12-14 21:30:28 +11:00
Bart Louwers
36d0fddd38
[Qt 6.7] Set ForceDarkMode attribute in AnkiWebView ( #3622 )
...
* Set ForceDarkMode attribute in AnkiWebView
* Use hasattr for backward compatibility
* Make mypy happy
2024-12-14 21:29:30 +11:00
Damien Elmes
d014f72377
Update url crate to fix idna vuln
2024-12-14 21:03:02 +11:00
Damien Elmes
9c3f89466d
Fix glibc tag for AMD build
2024-12-09 19:40:16 +11:00
OuOu2021
cee04bf20c
Apply gradient effect to forgetting curve ( #3604 )
...
* Add gradient color for forgetting curve
* Add desiredRetention prop for CardInfo
* update CONTRIBUTORS
* Formatting
* Tweak range of gradient
* Tweak: salmon -> tomato
* Get desired retention of the card from backend
* Add a reference line for desired retention
* Fix: Corrected the steel blue's height & Hide desired retention line when yMin is higher than desiredRetentionY
* Add y axis title
* Show desired retention in the tooltip
* I18n: improve translation and vertical text display
* Revert rotatation&writing-mode of vertical title
* Tweak font-size of y axis title
* Fix: delete old desired retention line when changing duration
* Update ftl/core/card-stats.ftl
---------
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
2024-12-09 17:44:05 +11:00
BlueGreenMagick
3b99ae4b91
Fix deck options button twitching on hover ( #3623 )
...
* Fix options page tab button text twitching on hover
* Fix options help modal button layout shifting on hover
2024-12-09 16:12:36 +11:00
Ross Brown
d1032d86a7
Make sure Anki resets the QtMessageHandler as it is exiting ( #3620 )
2024-12-09 15:39:45 +11:00
Ben Nguyen
128f54ed90
Fix reuse internal clipboard for primary selection pasting ( #3613 )
...
* Pass down clipboard mode
* Add type annotation
2024-12-09 15:38:52 +11:00
Luc Mcgrady
d6ffaa921f
Add "No reviews to optimize" message ( #3610 )
...
* Separate failed message from optimal
* No reviews only
* Fix: Can't block optimize if not optimal
* Wording change
* Update ftl/core/deck-config.ftl
* Simplify code (dae)
2024-12-09 15:21:58 +11:00
hideo aoyama
039c7fc0a9
Snap: keep LD_LIBRARY_PATH when in snap environment ( #3618 )
2024-12-07 00:42:03 +11:00
Ben Nguyen
a4626bf48e
Remove infinite spinning icon for reset parameters dropdown and add a question mark ( #3603 )
...
* Add question mark to popup words
* Remove spinning icon
* Formatting
2024-12-07 00:41:34 +11:00
user1823
f345517dcc
Change font of debug console to Consolas ( #3606 )
2024-12-07 00:37:43 +11:00
Luc Mcgrady
6524a24a89
Slider easy day gui ( #3605 )
...
* Slider easy day gui
* Removed: Borders
* Added: Bottom borders
2024-12-07 00:34:56 +11:00
sorata
d897b4588e
update error message ( #3612 )
...
Co-authored-by: Abdo <abdo@abdnh.net>
2024-12-06 03:05:49 +03:00
Ben Nguyen
496d76e478
Hide progress text when done ( #3609 )
2024-12-06 02:53:24 +03:00
Sawan Sunar
f6a3e98ac3
fix deck button not clickable in stats screen ( #3602 )
...
Changed z-index of the underlying spinner
2024-12-02 19:34:39 +03:00
Damien Elmes
87ccd24efd
Update translations
2024-11-26 22:00:20 +10:00
Jarrett Ye
6874440cda
Fix/incorrect memory state inference for incomplete review history ( #3599 )
...
make ci happy
2024-11-26 21:57:09 +10:00
dependabot[bot]
67e7bf1660
Bump @sveltejs/kit from 2.7.3 to 2.8.3 ( #3598 )
...
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit ) from 2.7.3 to 2.8.3.
- [Release notes](https://github.com/sveltejs/kit/releases )
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md )
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.8.3/packages/kit )
---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-26 20:54:19 +10:00
Damien Elmes
13865dc0bb
Rust updates for CVE and yanked package
2024-11-26 20:53:05 +10:00
Abdo
2cd6b1c3b7
Fix congrats screen not refreshing ( #3594 )
2024-11-24 20:52:56 +10:00
Jarrett Ye
9a013d8601
Fix/FSRS progress sometime shows 0 reviews ( #3591 )
...
* Fix/FSRS progress sometime shows 0 reviews
* wait for progress_thread
* set 200ms timeout
2024-11-24 20:52:12 +10:00
Damien Elmes
69ac450098
"Fields for ..."
...
https://forums.ankiweb.net/t/add-note-type-name-to-the-fields-editor/52263
2024-11-23 22:45:19 +11:00
dependabot[bot]
3c20b49cca
Bump cross-spawn from 7.0.3 to 7.0.6 ( #3590 )
...
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn ) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6 )
---
updated-dependencies:
- dependency-name: cross-spawn
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-19 15:31:41 +10:00
Damien Elmes
4486227178
Bump mimalloc for CVE
2024-11-19 15:27:39 +10:00
Damien Elmes
01c368654b
Remove remaining remnants of unused error; fix CI
2024-11-19 15:26:02 +10:00
Jean Khawand
15fde04264
Bump rust base image 1.80.1
to 1.82.0
( #3587 )
2024-11-18 23:42:24 +10:00
Jarrett Ye
e992d6d462
Fix/inconsistent retrievability calculations between normal/filtered decks and display/sorting ( #3582 )
2024-11-18 01:24:04 +10:00
user1823
1c3754f6c7
Improve wording of optimal retention tooltip ( #3579 )
...
The previous wording was tautological.
Originally reported in https://forums.ankiweb.net/t/retrievability-vs-retention/51764/11
2024-11-18 01:20:58 +10:00