Abdo
becac3f764
Simplify loadNote() arg passing
2025-08-27 03:30:19 +03:00
Abdo
2ff2ad6bca
Formatting
2025-08-27 03:06:01 +03:00
Abdo
6b5729ce18
Implement field copying on notetype change
2025-08-27 03:05:49 +03:00
Abdo
52254d40ac
Merge branch 'main' into editor-3830
2025-08-27 02:40:11 +03:00
Abdo
f57c41bf3c
Clear lastAddedNote on notetype change
2025-08-27 02:36:39 +03:00
Abdo
466306a0f6
Move defaultsForAdding handling to start of loadNote
2025-08-27 02:33:37 +03:00
Abdo
8b144ca238
Fix default_deck_for_notetype handling
2025-08-27 02:32:42 +03:00
Abdo
800144dc67
Do not fire initial onChange
...
This causes the note type to revert back to the first item after initial
note load
2025-08-27 02:26:13 +03:00
Abdo
efe76a24dc
Only reload note on reopen if empty
2025-08-27 02:08:27 +03:00
Abdo
ba881d4e90
Fix selected notetype/deck reverting back to defaults
2025-08-27 02:01:10 +03: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
Abdo
b4f14cf29b
Use default_deck_for_notetype()
2025-08-16 20:47:56 +03:00
Abdo
18d3400cbb
Add missing loadNewNote arg
2025-08-16 20:46:56 +03:00
Abdo
829da5a84a
Use defaults_for_adding()
2025-08-16 20:39:21 +03:00
Abdo
9d1ecc3ed9
Fix lint errors
2025-08-14 09:34:33 +03:00
Abdo
2e573727ed
Do not show selectors in legacy mode
2025-08-14 09:25:41 +03:00
Abdo
c7a9471343
Add selector tooltips
2025-08-14 09:00:02 +03:00
Abdo
4444942b46
Add selector shortcuts
2025-08-14 08:57:03 +03:00
Abdo
0137ca6c27
Only show selectors in Add mode
2025-08-14 08:52:11 +03:00
Abdo
b17bfb2658
Pass selected notetype/deck to editor
2025-08-14 08:50:38 +03:00
Abdo
d054e0f078
Use translations
2025-08-14 08:38:08 +03:00
Abdo
25f51345d5
Implement Deck/Notetype selectors in Svelte
2025-08-14 07:48:02 +03:00
Abdo
fbb9e606eb
Fix TextInputModal not closing when OK is clicked
2025-08-13 11:54:10 +03:00
Abdo
e80829f282
Fix Modal event handlers not working
2025-08-13 11:53:33 +03: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
Abdo
3f6d904236
Reduce duplication across modal components
2025-08-09 05:27:51 +03:00
Abdo
93f38924a6
Merge branch 'main' into editor-3830
2025-08-09 03:25:42 +03: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
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
Abdo
9a054d6924
Complete noteCanBeAdded()
2025-07-28 10:17:12 +03:00
Abdo
0c98a68528
Fix lint errors
2025-07-27 18:49:21 +03:00
Abdo
958599ed09
Debounce loadNote() calls
2025-07-27 18:43:32 +03:00
Abdo
986ca6e252
Hide IO toast on note change
2025-07-27 18:24:09 +03:00
Abdo
aa493f8293
Fix Toast component mounting
2025-07-27 17:36:53 +03:00
Abdo
543f97eb10
Merge branch 'main' into editor-3830
2025-07-27 01:41:08 +03:00
Abdo
0f062563a6
Add hack for buttons position in IO mode
2025-07-27 01:34:27 +03:00
Abdo
1ce564adf0
Fix bottom editor buttons not shown in IO editor
...
Positioning needs to be fixed.
2025-07-26 23:23:52 +03:00