Commit graph

2346 commits

Author SHA1 Message Date
Damien Elmes
482cab50d4
Merge branch 'main' into accessibility-color-blind 2025-09-02 16:43:04 +10:00
GithubAnon0000
c93e11f343
FIX gap above bury (#4298) 2025-09-01 15:09:42 +10:00
Luc Mcgrady
3521da3ad6
Chore/Remove CMRR from fsrs help modal (#4290)
* Remove cmrr from fsrs help sections

* move other strings
2025-09-01 14:58:20 +10:00
Damien Elmes
d23764b59e Bump devalue for latest CVE 2025-09-01 13:41:00 +10:00
Lee Doughty
2fee6f959b
Replace deprecated $app/stores with $app/state in SvelteKit frontend (#4282)
* Migrate frontend from /stores to /state

* Update CONTRIBUTORS
2025-08-26 21:28:49 +03:00
Luc Mcgrady
562cef1f22
Fix #4253 (#4259)
* Reapply "Fix/Retention help button bounds (#4253)" (#4258)

This reverts commit fb2e2bd37a.

* move div up slots instead of using condition

* Avoid tabbing

---------

Co-authored-by: Abdo <abdo@abdnh.net>
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
2025-08-20 01:19:25 +10:00
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
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
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
Damien Elmes
fb2e2bd37a
Revert "Fix/Retention help button bounds (#4253)" (#4258)
This reverts commit 5462d99255.
2025-08-09 16:46:25 +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
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
d3dad32067 chore: test how color can be changed 2025-08-06 15:42:33 +02: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
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
Jarrett Ye
2b55882cce
Fix/use real step count to simulate (#4240)
* Fix/use real step count to simulate

* Update licenses.json
2025-08-04 16:01:26 +10:00
Luc Mcgrady
0d0c42c6d9
"Workload" variable typo (#4239) 2025-08-04 16:00:27 +10:00
Luc Mcgrady
b76918a217
Feat/Show health check and already optimal at the same time (#4238) 2025-08-04 16:00:02 +10:00
llama
3dc6b6b3ca
Refactor IO fill tool target check logic (#4222)
* populate canvas.targets with subtargets during mouse events

* use canvas.targets instead of findTargetInGroup

* remove unused findTargetInGroup
2025-07-28 19:01:50 +10:00
Luc Mcgrady
c947690aeb
Feat/Use cached workload values (#4208)
* Feat/Use cached workload values

* Fix: Calculation when unchanged

* Modify constants

* Cache clearing logic

* Use function params

* use https://github.com/open-spaced-repetition/fsrs-rs/pull/352

* Revert "use https://github.com/open-spaced-repetition/fsrs-rs/pull/352"

This reverts commit 72efcf230c.

* Reapply "use https://github.com/open-spaced-repetition/fsrs-rs/pull/352"

This reverts commit 49eab2969f.

* ./check

* bump fsrs
2025-07-28 19:00:16 +10:00
Luc Mcgrady
1af3c58d40
Feat/Desired retention info graphs (#4199)
* backend part

* split memorised and cost

* slapdash frontend

* extract some simulator logic

* Add zoomed version of graph

* ./check

* Fix: Tooltip

* Fix: Simulator/workload transition

* remove "time"

* Update ts/routes/graphs/simulator.ts

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

* Added: Mode toggle

* Disable Dr in workload mode

* keep button order consistant between modes

* dont clear points on mode swap

* add review count graph

* Revert "dont clear points on mode swap"

This reverts commit fc89efb1d9.

* "Help me pick" button

* unrelated title case change

* Add translation strings

* fix: missing translation string

* Fix: Layout shift

* Add: Experimental

* Fix Time / Memorized

* per day values

* set review limit to 9999 on open

* keep default at currently set value

* Do DR calculation in parallel (dae)

Approx 5x faster on my machine

---------

Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
Co-authored-by: Damien Elmes <gpg@ankiweb.net>
2025-07-28 18:55:08 +10:00
Jarrett Ye
46bcf4efa6
Feat/per-deck desired retention (#4194)
* Feat/per-deck desired retention

* Refactor desired retention logic in Collection implementation

Updated the logic for retrieving deck-specific desired retention in both `memory_state.rs` and `mod.rs` to handle cases where the deck's normal state may not be available. This change ensures that the default configuration is used when necessary, improving the robustness of the retention handling.

* Refactor desired retention handling in FsrsOptions.svelte

Updated the logic for effective desired retention to use the configuration default instead of the deck-specific value. This change improves consistency in the retention value used throughout the component, ensuring that the correct value is bound to the UI elements.

* refactor the logic for obtaining deck-specific desired retention by using method chaining

* support deck-specific desired retention when rescheduling

* Refactor desired retention logic to use a dedicated method for improved clarity and maintainability.
2025-07-28 18:22:35 +10:00
Damien Elmes
20b7bb66db Fix 'limits start from top' link 2025-07-25 14:45:04 +07:00