Commit graph

2356 commits

Author SHA1 Message Date
Junia Mannervik
06f5639195
Merge 8ec68182af into 62252f7216 2025-12-17 05:54:34 +08:00
llama
26751f2207
fix(io): remove incorrect error toast shown when saving twice (#4458) 2025-12-15 19:09:51 +03:00
junlu592
8ec68182af small review changes 2025-12-14 12:17:38 +01:00
junlu592
d1f0ef6dfe suggested changes to minimize difference from main 2025-12-14 10:56:04 +01:00
junlu592
e14c8bf98d merged commits from git 2025-12-12 14:43:18 +01:00
junlu592
d00dc07613 adjusted last bin labeling with xmin 2025-12-12 14:38:23 +01:00
Junia Mannervik
7a883600ab
Update ts/routes/graphs/reviews.ts
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
2025-12-11 21:48:02 +01:00
Junia Mannervik
d737f5da72
Update ts/routes/graphs/reviews.ts
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
2025-12-11 21:47:21 +01:00
junlu592
ce9b087190 corrections from ninja check 2025-12-10 12:52:56 +01:00
junlu592
8ab9e54a62 bin merging logic removed, since totals are correctly calculated anyways 2025-12-10 12:49:40 +01:00
junlu592
722c5a58a5 added comments to review.ts 2025-12-10 10:50:30 +01:00
junlu592
bc6bd05fee ninja check fix, let -> const and removed empty line 2025-12-09 15:01:31 +01:00
junlu592
a2be2b964f fixed even bin sizes (0-4 days and 360-364 days) for year review graph 2025-12-09 14:56:30 +01:00
junlu592
6e341d5e07 fixed labels for bins, and made sure year is 365 days 2025-12-09 13:17:59 +01:00
junlu592
0c2c5c6a1c simplified code in time.ts and review.rs and pass bin boundaries directly to time.ts 2025-12-02 16:28:00 +01:00
junlu592
c457b43a87 reverted unneccessary changes to xMax 2025-12-02 12:18:46 +01:00
junlu592
002b39e89d removed a whitespace 2025-12-02 11:54:05 +01:00
junlu592
8135bc24ee changed xMax, so today is included in month and 3months 2025-12-02 11:53:04 +01:00
junlu592
17c63491d9 Merge remote-tracking branch 'origin/main' into overlapping-ranges-fix 2025-12-02 11:40:39 +01:00
junlu592
6ebe80775e reviewed code and simplified functions in review.ts 2025-12-02 11:29:32 +01:00
Lee Doughty
2d4de33cf3
Ensure trailing spaces are placed outside cloze deletions (#4446) 2025-12-01 21:54:46 +03:00
junlu592
9ff49ce111 fixed structure for ninja checks 2025-12-01 13:21:02 +01:00
junlu592
8a8f07c3c3 bin labels and totals correct for year, review 2025-12-01 13:16:47 +01:00
junlu592
2da59a4768 fixed formating for ninja testing 2025-12-01 12:59:10 +01:00
junlu592
2db3aed716 Fix reviews graph: correct Year range to 365 days 2025-12-01 12:55:16 +01:00
junlu592
e3546ea496 modified youngest bar in reviews to include today aswell 2025-11-21 15:32:16 +01:00
junlu592
a3fc69fe89 oldest bin width modified to match other bins in reviews.ts 2025-11-21 12:52:51 +01:00
junlu592
7692ca6580 reverted changes in calendar.ts 2025-11-21 12:18:43 +01:00
junlu592
e6ed5f6d8d reverted changes in time.ts 2025-11-21 12:17:37 +01:00
junlu592
d0cffd915d fix statistics calendar and review graph range labeling and removed earlier changes 2025-11-20 14:10:58 +01:00
junlu592
a71203c6f1 Fixed overlapping ranges when all history is selected and days calcolation to prevent overlapping labels 2025-11-20 14:09:47 +01:00
junlu592
26e5ae2f67 update graph so that the tooltip day label uses integer day boundaries
and removed earlier fix which didnt work
2025-11-20 14:08:34 +01:00
Lee Doughty
321e23acb2
Replace custom UUID function with crypto.randomUUID (#4384) 2025-10-13 09:37:30 +03:00
Dan
0986af4f81
fix(Occlusion): remember toggle translucency setting (#4366)
* remember translucency

Adding myself to contributors

Added braces surrounding if statement to comply with ninja checks

* ninja fix format
2025-09-30 20:18:26 +03:00
Hanni614
ee664b8fbb
Stats - Retention rate help box links to Deck Options manual page #4198 (#4329)
* stats: link retention help box to "Desired retention" section

* docs: use HTTPS for fsrs and desiredRetention links

* Add Hanna Nilsén to CONTRIBUTORS

* Apply suggestion from @user1823

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

---------

Co-authored-by: Hanna Nilsén <hannanilsen@macbookair.students.netlogon.liu.se>
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
2025-09-27 14:46:11 +10:00
llama
c56e6e55ec
feat: show saved custom colours as options in fill tool colour picker on mobile (#4348)
* add GetCustomColours rpc method

* save colours as rgb instead of argb

* show saved custom colours as possible options in colour picker

this is primarily for mobile clients, as qt currently ignores this

* save custom colours on colour picker change (for desktop)
2025-09-25 06:34:27 +03:00
llama
80cff16250
fix: persist colour picker's custom palette in profile (#4326)
* add SaveCustomColours rpc method

* restore custom colour palette on editor init

* save custom colour palette on colour picker open and input

there doesn't seem to be an event fired when the picker is
cancelled/closed, so it's still possible for work to be lost

* save colours on `change` instead of `input`

`input` is supposed to be fired on every adjustment to the picker
whereas `change` is only fired when the picker is accepted, but qt
seems to treat both as the latter, so this is currently a no-op

* Store colors in the collection

One minor tweak to the logic while I was there: an invalid color no
longer invalidates all the rest.

---------

Co-authored-by: Damien Elmes <gpg@ankiweb.net>
2025-09-17 16:46:53 +10:00
Abdo
75d9026be5
Decode images asynchronously (#4320) 2025-09-17 09:06:42 +03:00
Luc Mcgrady
dda730dfa2
Fix/Invalid memory states in simulator after parameters changed (#4317)
* Fix/Invalid memory states after optimization for simulator

* Update ts/routes/deck-options/FsrsOptions.svelte

* typo

* ./check
2025-09-04 14:35:00 +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
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
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