Abdo
dc261fdf2b
Fix future due search missing cards on last day ( #3206 )
2024-05-24 10:46:38 +01:00
Abdo
0f9ce774bc
Call profile_did_open hook at the end of loadProfile ( #3202 )
2024-05-24 09:23:29 +01:00
Damien Elmes
f91788e201
Honor night mode when switching between cards in card info
2024-05-22 17:07:01 +07:00
Damien Elmes
93174771c1
Revert "Use SplashScreen flag for all aqt tooltips ( #3194 )"
...
This reverts commit 192dfffba9 .
This appears to have caused a regression with keyboard shortcuts
https://forums.ankiweb.net/t/anki-24-06-release-candidate/44926/14
2024-05-22 17:06:37 +07:00
Damien Elmes
5ffc90c75c
Add missing full stop
2024-05-22 15:38:07 +07:00
Damien Elmes
34df4bae4b
Latest requests CVE
2024-05-21 23:51:32 +07:00
Damien Elmes
cfb0e6c8b3
Probable fix for crash when syncing from preferences
...
https://forums.ankiweb.net/t/windows-anki-24-04-1-crashes-with-self-hosted-sync-server/44849/6
2024-05-21 23:08:08 +07:00
Damien Elmes
44842376b1
Fix import order
2024-05-17 17:11:28 +07:00
Damien Elmes
1bde208675
Enable svelte preprocess
2024-05-17 17:01:49 +07:00
Damien Elmes
6df5f9ab92
Bump version to 24.06
2024-05-17 16:40:22 +07:00
Damien Elmes
c9be84c09a
Tweaks to the 'optimize all presets' progress
...
https://forums.ankiweb.net/t/visual-bugs-with-optimization/44873
2024-05-17 15:00:01 +07:00
Damien Elmes
28bfb45502
Mnemosyne importer now handles float values for due date and interval
2024-05-17 12:34:01 +07:00
Damien Elmes
d9eb63a1cd
Fix Mnemosyne importer clobbering source file
2024-05-17 12:34:01 +07:00
Jarrett Ye
54efd6d36c
update to fsrs-rs v0.6.4 ( #3200 )
...
* update to fsrs-rs v0.6.3
* update to fsrs-rs v0.6.4
2024-05-17 06:26:06 +01:00
Abdo
5cae1651b2
Do not show media auto sync errors ( #3197 )
...
* Do not show media auto sync errors
* is_autosync -> is_periodic_sync
* More wording improvements; fix periodic sync depending on auto sync setting (dae)
2024-05-17 06:25:10 +01:00
Jarrett Ye
d5fa187ca8
Fix/ignore revlogs when there is not learn entry after the last forget entry ( #3199 )
2024-05-17 06:07:15 +01:00
Damien Elmes
4a75d7c5e9
flask-cors CVE
2024-05-17 11:59:19 +07:00
Damien Elmes
fe6c3b0c97
Revert "Revert "Revert "Preserve HTML formatting inside clozes ( #3038 )"""
...
This reverts commit d11f9318f8 .
2024-05-17 11:51:09 +07:00
Voczi
192dfffba9
Use SplashScreen flag for all aqt tooltips ( #3194 )
...
* Set custom tooltip flag as SplashScreen
Prevents tooltip from showing when parent is out of focus
* Update CONTRIBUTORS
2024-05-15 13:13:53 +01:00
Jarrett Ye
64f2eb9f17
Fix/exclude suspended cards when optimize all presets ( #3198 )
2024-05-15 13:12:52 +01:00
Abdo
5f3f7973a3
Fix finished preview learning cards being repeated ( #3196 )
2024-05-15 12:55:25 +01:00
Abdo
9a62f815a0
Fix IO event handlers being run on normal notes ( #3195 )
2024-05-15 12:48:58 +01:00
Damien Elmes
c0d6e0ab07
Bump some Python deps with CVEs
2024-05-07 21:54:48 +10:00
Abdo
349d32d4d7
Fix '366 of 365 days studied' ( #3182 )
...
* Fix '366 of 365 days studied'
* Apply nicing when GraphRange.AllTime is selected
2024-05-06 23:50:27 +10:00
Abdo
9d3dfc87d5
Do not clear unused parent tags ( #3174 )
...
* Do not clear unused parent tags
* Update rslib/src/storage/note/mod.rs (dae)
2024-05-06 23:49:59 +10:00
Jarrett Ye
0ebaf167a0
Use median in calculating cost and remove outliers ( #3181 )
...
* Use median in calculating cost and remove outliers
* extract fn median_secs
2024-05-02 20:16:04 +10:00
RumovZ
83888f0289
Clean up #3167 ( #3186 )
...
* Revert changes to ButtonToolbar from #3167
Flex gap is still not fully supported.
Keeps a small margin increase.
* Add margin to deck config header
* Move StickyHeader into import-page
2024-05-01 20:08:19 +10:00
Mani
a9eb6b3594
fix polygon tool draw ( #3184 )
2024-05-01 20:03:27 +10:00
Jarrett Ye
c8b256786f
update to fsrs-rs v0.6.2 ( #3171 )
2024-05-01 17:55:14 +10:00
RumovZ
4c8e118f4f
Improve and unify web dialog styling ( #3167 )
...
* Rework ChangeNotetypePage with existing components
* Use disabled Select instead of LabelButton
* Don't use button for unclickable arrow
* Rework ImportLogPage with existing components
* Improve deck options styling
* Align spacing in ChangeNotetypePage further
* Use StickyContainer on ImportPage
* Format
2024-05-01 17:49:57 +10:00
Abdo
977709947b
Show review count for Evaluate/Optimize button ( #3170 )
...
* Revert "Show review count with FSRS evaluation results (#3165 )"
This reverts commit 12ef38ae52 .
* Show review count for Evaluate/Optimize button
2024-05-01 17:02:59 +10:00
Abdo
caafb170f8
Use key instead of code in type-in field ( #3166 )
...
* Use key instead of code in type-in field
* Use event.key for Enter
2024-05-01 16:59:11 +10:00
Damien Elmes
8b57f9243c
Ensure DB check tooltip appears in main window
...
https://forums.ankiweb.net/t/is-this-bug-or-the-new-modification-in-anki-desktop/44072
2024-04-30 23:21:41 +10:00
Pedro Schreiber
41cdf72e1a
Add keyboard shortcuts for empty cards and toggle mask on image occlusion ( #3136 )
...
* Add keyboard shortcuts for empty cards and toggle mask on image occlusion
- add shortcut for empty cards
- add shortcut for toggle mask
- set tooltips with shortcuts
use unused shortcut for empty cards
* remove unnecessary shortcut added in main.py
* change empty cards shortcut and try to fix CI error in CONTRIBUTORS
* change shortcut for empty cards for universal support
2024-04-25 17:19:38 +10:00
Abdo
12ef38ae52
Show review count with FSRS evaluation results ( #3165 )
2024-04-25 17:10:41 +10:00
Lucas Scharenbroch
8c8885b6bc
Add number truncation before back-end translation ( #3162 )
...
* Add number-truncation before backend translation
* Round instead of truncate (conform to testcases)
* Add test-case for plural rounding-to-one corner-case
* Move rounding into generated translation code
* Change unit test to test generated function
* Round any number in generation, ignore (int vs float)
(it seems that that type distinction is frequently inaccurate)
* Update formatting
2024-04-24 02:41:40 +01:00
Jarrett Ye
63d6c3c989
update optimal retention and parameters tooltip ( #3148 )
...
* update optimal retention and parameters tooltip
* Revert "update optimal retention and parameters tooltip"
This reverts commit 32fdc5c1c3 .
* update optimal retention and parameters tooltip
* check num of revlogs at first
* use new translation string
* Update deck-config.ftl
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
* Update deck-config.ftl
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
* Update deck-config.ftl
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
* Update ftl/core/deck-config.ftl
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
* fix position of translation string
* Update deck-config.ftl
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
* Update deck-config.ftl
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
* Update deck-config.ftl
---------
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
2024-04-24 02:38:52 +01:00
RumovZ
0239f79c53
Svg icon ( #3135 )
...
* Add sveltekit-svg plugin to fix svg icon styling
Closes #3127 .
* Unify svg icon usage
Moves all icons into ts/lib/components/icons.ts and uses a single component to render
them both with eslint and svelte-kit.
* Fix spinning revert icon not being centered
* Use svg earth icon for global label
* Add tooltip to global label icon
* Remove eslint-plugin-simple-import-sort
Imports are already sorted by dprint with conflicting rules.
2024-04-24 02:37:31 +01:00
Mani
cd7564adf5
fix io draw in mobile client ( #3160 )
2024-04-23 22:39:26 +10:00
Harvey R
800de0401e
Add minimalist mode tooltip ( #3155 )
...
* Add preferences-minimalist-mode-tooltip
* Update preferences.ui
* Update preferences.ui
* Add preferences_minimalist_mode_tooltip
* Update preferences.ui
* Update preferences.ui
2024-04-23 00:32:55 +10:00
Abdo
b1a0b58ddc
Fix auto sync not working on Windows shutdown ( #3153 )
...
* Fix auto sync not working on Windows shutdown
* Fix mypy error
* Use translated string
2024-04-23 00:32:00 +10:00
Damien Elmes
fa441e9e67
Fix adding/saving I/Os on mobile
2024-04-22 20:58:26 +10:00
Damien Elmes
16a22a5b6e
Update rustls for security issue
2024-04-22 19:37:11 +10:00
Abdo
0061b9c203
Avoid locale.getdefaultlocale() if possible ( #3143 )
...
* Avoid locale.getdefaultlocale() if possible
* Suppress warning
* Add comment
* Apply suggestions from code review
2024-04-19 19:52:02 +10:00
Abdo
f14e35c73a
Fix spacebar causing stutter when editing cards ( #3150 )
...
* Fix spacebar causing stutter when editing cards
* Remove IO toolbar event handlers on unmount
* Remove nested keydown handlers
2024-04-19 19:13:56 +10:00
RumovZ
db2384a0c8
HMR on Windows ( #3144 )
...
* Enable hot module reloading on Windows
* Update VSC launch.json and tasks.json
* Bind vite server to 127.0.0.1 (dae)
Our frontend connects via IP, and on Windows, this fails if the server
is bound to 'localhost' instead.
2024-04-17 21:23:34 +10:00
Abdo
e7f55a380d
Ignore errors in do_window_cleanup to fix shutdown issue ( #3142 )
...
* Ignore errors in do_window_cleanup to fix shutdown issue
* Only catch RuntimeError
2024-04-17 20:50:41 +10:00
Abdo
52a6fe9458
Fix IO text size in review screen ( #2986 )
...
* Store relative font size
* Handle multi-line text
Thanks to @glutanimate
2024-04-17 20:45:40 +10:00
Damien Elmes
7255663585
Ensure runner gets rebuilt in Mac CI
2024-04-17 20:23:50 +10:00
Jarrett Ye
816c3e11ce
Return current weights if fsrs items is zero & handle error in evaluation and optimal retention ( #3141 )
...
* return current weights if fsrs_items is zero
* handle error of evaluation if items.is_empty()
* TODO: handle error of optimal retention
* Revert "TODO: handle error of optimal retention"
This reverts commit 80a5b3803e .
* Revert "handle error of evaluation if items.is_empty()"
This reverts commit 7f0a5570e7 .
2024-04-17 20:18:00 +10:00