Commit graph

12028 commits

Author SHA1 Message Date
TheFefel
b86e9f4fa2
Merge branch 'main' into accessibility-color-blind 2025-08-14 16:44:21 +02:00
TheFefel
dddc490713 fix: copyright issue and contributors 2025-08-14 16:26:46 +02:00
TheFefel
32f39ead77 edited contributors file 2025-08-14 16:25:21 +02:00
TheFefel
9f16a92056 format: formatted some code 2025-08-14 16:13:40 +02:00
David Brenn
bd9854c80e fix: ninja test errors 2025-08-14 16:03:52 +02:00
TheFefel
5f3aa818f7 deleted some irrelevant comments in buttons.ts 2025-08-14 13:47:39 +02:00
Matthis
03234de5de Merge branch 'accessibility-color-blind' of https://github.com/David-Brenn/anki into accessibility-color-blind 2025-08-14 13:22:29 +02:00
Matthis
8e3180e446 chaged hard coded true retention colors to dynamic colorBlindColors 2025-08-14 13:22:07 +02:00
TheFefel
82494d6949 feat: colorBlindMode added to answer buttons and added cards statistics 2025-08-14 12:58:47 +02:00
David Brenn
efa3b2f4de chore: remove the gradient selector
Signed-off-by: David Brenn <davidbrenn@t-online.de>
2025-08-12 15:35:54 +02:00
David Brenn
c530a024e2 feat: add color blind colors to reviews graph
Signed-off-by: David Brenn <davidbrenn@t-online.de>
2025-08-12 15:30:29 +02:00
David Brenn
8d6d8dc6c8 Merge branch 'accessibility-color-blind' of https://github.com/David-Brenn/anki into accessibility-color-blind 2025-08-12 14:18:43 +02:00
David Brenn
660868df06 feat: add gradent selector 2025-08-12 14:18:12 +02:00
OblivionSword
f2d499e1ef remove commented codes 2025-08-12 11:22:29 +02:00
OblivionSword
2e339b7557 Merge branch 'accessibility-color-blind' of https://github.com/David-Brenn/anki into accessibility-color-blind 2025-08-11 23:47:58 +02:00
OblivionSword
7584d824b8 remove unused color in card count 2025-08-11 23:47:31 +02:00
Matthis
f92cb2edb5 Merge branch 'accessibility-color-blind' of https://github.com/David-Brenn/anki into accessibility-color-blind 2025-08-11 23:47:30 +02:00
Matthis
d01c1c5075 edit: true retention colorblind selection is now viridis 2025-08-11 23:47:06 +02:00
OblivionSword
806553b23e change card count color blind pallete to tol colors 2025-08-11 23:41:18 +02:00
OblivionSword
14856062d3 Merge branch 'accessibility-color-blind' of https://github.com/David-Brenn/anki into accessibility-color-blind 2025-08-11 22:08:05 +02:00
OblivionSword
5dc9557fef change the color for ease and intervals to viridis 2025-08-11 22:07:57 +02:00
Matthis
aaaa52028d feat: true retention colorblind selection 2025-08-11 20:35:16 +02:00
Matthis
f817358ec2 feat: hours colorblind selection 2025-08-11 20:02:01 +02:00
OblivionSword
4fead000c2 remove unused color 2025-08-11 18:10:02 +02:00
OblivionSword
339520b119 slight change to the colorblind friendly color pallete for card count 2025-08-11 17:26:11 +02:00
OblivionSword
13ea189be0 colorblind friendly colors for card ease, card counts, and card intervals 2025-08-11 16:04:21 +02:00
David Brenn
8b99a550cd feat: future-due colorblind selection
Signed-off-by: David Brenn <davidbrenn@t-online.de>
2025-08-11 15:01:03 +02:00
David Brenn
8c1bbe0632 refactore: remove pycache files from repo 2025-08-11 14:12:16 +02:00
Luc Mcgrady
f3b4284afb
Fix/System locale for simulator percentages (#4260)
Co-authored-by: Ross Brown <rbrownwsws@googlemail.com>
2025-08-11 06:44:11 +03:00
Matthis
f268517355 made colorBlindMode global var for graphs 2025-08-10 17:26:30 +02:00
Damien Elmes
fb2e2bd37a
Revert "Fix/Retention help button bounds (#4253)" (#4258)
This reverts commit 5462d99255.
2025-08-09 16:46:25 +10:00
user1823
a0c1a398f4
Improve elapsed seconds calculation for learning cards in browser table (#4255)
* Improve calculation of elapsed seconds for learning cards in browser_table.rs

https://github.com/ankitects/anki/pull/4231/files#r2257105522

* Format
2025-08-09 16:16:36 +10:00
Damien Elmes
d4862e99da Bump version 2025-08-08 20:37:53 +10:00
Damien Elmes
34ed674869 Update translations 2025-08-08 20:31:05 +10:00
Damien Elmes
8c7cd80245 Support socks proxies when fetching versions 2025-08-08 20:30:51 +10:00
Damien Elmes
68bc4c02cf Add mirror option to launcher; stop downloading automatically
To give users a chance to choose a mirror first, we have to give up
the automatic downloading on first run.

Closes #4226
2025-08-08 20:30:51 +10:00
Luc Mcgrady
f4266f0142
Feat/Neaten dr graph x-axis (#4251)
* Remove "Plotted on x axis"

* Add: X tick format

* fix formatx

* Fix: Regular simualtor x axis
2025-08-08 20:30:10 +10:00
user1823
d3e8dc6dbf
Fix/Exclude new cards from is_due_in_days (#4249)
https://github.com/ankitects/anki/pull/4231/files#r2238901958
2025-08-08 20:28:13 +10:00
Luc Mcgrady
5462d99255
Fix/Retention help button bounds (#4253)
* Move onTitleClick

* rename variable

* Fix: Tabbing issues
2025-08-08 10:56:50 +03:00
Luc Mcgrady
2d60471f36
Use space-around for tabbed values (#4252)
* space-around

* have your cake and eat it
2025-08-07 06:36:53 +03:00
David Brenn
77649c4a89 chore: get preferences into ts files 2025-08-06 18:34:55 +02:00
David Brenn
cdeaf3875a feat: add color blind mode to preferences 2025-08-06 16:12:07 +02:00
David Brenn
d3dad32067 chore: test how color can be changed 2025-08-06 15:42:33 +02:00
Jarrett Ye
62e01fe03a
Fix Cards with Missing Last Review Time During Database Check (#4237)
* Fix Cards with Missing Last Review Time During Database Check

* clippy

* Apply suggestions from code review

Co-authored-by: Luc Mcgrady <lucmcgrady@gmail.com>

* Apply suggestions from code review

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

* Add is_reset method to RevlogEntry and update scheduling logic

This commit introduces the `is_reset` method to the `RevlogEntry` struct, which identifies entries representing reset operations. Additionally, the scheduling logic in `memory_state.rs` and `params.rs` has been updated to utilize this new method, ensuring that reset entries are handled correctly during review scheduling.

* Implement is_cramming method in RevlogEntry and update scheduling logic

This commit adds the `is_cramming` method to the `RevlogEntry` struct, which identifies entries representing cramming operations. The scheduling logic in `params.rs` has been updated to utilize this new method, improving the clarity and maintainability of the code.

* Refactor rating logic in RevlogEntry and update related scheduling functions

This commit introduces a new `has_rating` method in the `RevlogEntry` struct to encapsulate the logic for checking if an entry has a rating. The scheduling logic in `params.rs` and the calculation of normal answer counts in `card.rs` have been updated to use this new method, enhancing code clarity and maintainability.

* update revlog test helper function to assign button_chosen correctly

* Refactor card property fixing logic to use CardFixStats struct

* Add one-way sync trigger for last review time updates in dbcheck

* Update documentation for is_reset method in RevlogEntry to clarify ease_factor condition

* Apply suggestions from code review

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

* Minor wording tweak

---------

Co-authored-by: Luc Mcgrady <lucmcgrady@gmail.com>
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
2025-08-06 19:49:30 +10:00
user1823
5c6e2188e2
Limit time studied today to minutes (#4242)
* Limit time studied today to minutes

* Update timespan.rs

* Update today.rs

* Update timespan.rs

* Update today.rs

* Update today.rs

* Update time.ts

* Update time.ts

* Update timespan.rs

* Update timespan.rs

* Update timespan.rs

* Update today.rs
2025-08-06 19:30:44 +10:00
llama
ab55440a05
Fix show_exception's messagebox always formatting as plaintext (#4246)
* fix show_exception's messagebox always formatting as plaintext

* Revert "fix show_exception's messagebox always formatting as plaintext"

This reverts commit aec6dd9be8.

* convert SearchError msg to markdown when in browser
2025-08-06 19:07:32 +10:00
llama
aae9f53e79
set min height for simulator graph (#4248) 2025-08-06 18:22:43 +10:00
Thomas Rixen
a77ffbf4a5
Statistics "Reviews" graph, make the color of "New" and "Learning" cards consistent with the color of card count (#4245)
* Statistics Reviews graph, make the color of New and Learning cards consistent with the color of card count

* removing bleu warning

* contributors
2025-08-06 18:07:10 +10:00
Luc Mcgrady
402008950c
Feat/expected_workload_with_existing_cards implementation (#4243)
* https://github.com/open-spaced-repetition/fsrs-rs/pull/355

* add is_included card

* bump version

* ./check

* update package.lock

* parallellify

* bump fsrs
2025-08-06 18:01:06 +10:00
Luc Mcgrady
f7e6e9cb0d
Feat/Card stats update review time (#4236)
* Feat/Card stats update review time

* Update rslib/src/stats/card.rs

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

* fix

* self.storage.update_card

---------

Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
2025-08-06 17:55:50 +10:00