Commit graph

2277 commits

Author SHA1 Message Date
Luc Mcgrady
e2a95c722e
center two lines 2025-05-26 18:18:00 +01:00
Luc Mcgrady
4ec35ce480
force two lines 2025-05-26 16:44:29 +01:00
Luc Mcgrady
bb59156b17
Fix: Doesn't update on arrow keys change 2025-05-26 16:07:58 +01:00
Luc Mcgrady
ea13c74aaf
@dae's style patch 2025-05-26 15:53:47 +01:00
Luc Mcgrady
cc3eb832a2
Merge remote-tracking branch 'upstream/main' into Feat/90%-dr-message 2025-05-26 15:45:00 +01:00
Luc Mcgrady
2a5fe775dd
change factor wording 2025-05-25 14:13:41 +01:00
Luc Mcgrady
8282a1ec55
use actual cost values 2025-05-23 22:50:14 +01:00
Luc Mcgrady
627214512b
decrease rounding precision 2025-05-23 16:22:00 +01:00
Luc Mcgrady
0ba35cb57d
rounding <1% 2025-05-23 15:25:19 +01:00
Luc Mcgrady
c709cef165
improve comment 2025-05-23 15:18:20 +01:00
Luc Mcgrady
65a31b7b95
Improve rounding 2025-05-23 15:15:26 +01:00
Luc Mcgrady
c0cd197cac
1 digit precision 2025-05-23 00:40:26 +01:00
Luc Mcgrady
ee711d9601
Remove dead code 2025-05-23 00:32:08 +01:00
Luc Mcgrady
46ce8afd41
Removed "Processing" 2025-05-23 00:20:51 +01:00
Luc Mcgrady
03b42a97d8
Fix: optimized state 2025-05-22 23:23:32 +01:00
Luc Mcgrady
c6eeaa0e8a
CONSTANT_CASE 2025-05-22 23:21:57 +01:00
Luc Mcgrady
ee1419b726
Added: delay 2025-05-22 23:17:33 +01:00
Luc Mcgrady
d9dd4d45bc
fsrs-rs/@L-M-Sherlock's workload calculation 2025-05-22 23:04:39 +01:00
Luc Mcgrady
b1488e4484
Remove dead code 2025-05-22 15:12:33 +01:00
llama
16c5eaf00a
don't show "double click to expand" when it's not possible (#4030) 2025-05-22 23:21:08 +10:00
llama
420cd237df
fix io undo logic error (#4027) 2025-05-22 23:11:04 +10:00
GithubAnon0000
ec513dfde7
Fix DR not being in percent in the forgetting curve (#4024)
* FIX DR not displayed as % in forgetting curve

* Run ./check and fix errors found by it

* Round DR to full number
2025-05-22 22:54:35 +10:00
Luc Mcgrady
5376b5a3ae
interval -> workload 2025-05-22 13:00:28 +01:00
llama
d39284e101
Fix IO masks not saving when scaled (#4021)
* trigger save after modifying object

* remove redundant save

already called by undoStack.onObjectModified or setShapePosition
2025-05-22 21:43:38 +10:00
Luc Mcgrady
8d13f63151
Merge branch 'main' into Feat/90%-dr-message 2025-05-22 12:39:54 +01:00
Luc Mcgrady
4641b1d003
Add: Separate warning for too long and short 2025-05-22 12:30:46 +01:00
Luc Mcgrady
6538645446
Display relative change 2025-05-22 12:07:28 +01:00
Luc Mcgrady
989494c1f7
Never hide warning 2025-05-22 11:29:25 +01:00
Luc Mcgrady
8171fae448
Show warning on focus 2025-05-22 11:26:08 +01:00
Luc Mcgrady
51d9ab51e2
show on newly enabled 2025-05-19 14:47:24 +01:00
llama
31d877f20d
place caret after mathjax element on overlay close event (#4016) 2025-05-19 13:43:01 +10:00
spiritualfather
63fd1ffbff
upgrade esbuild versions (#4011)
* upgrade esbuild versions

* Update license file
2025-05-19 13:25:05 +10:00
Luc Mcgrady
ed13a351b9
Fix/Prevent manual resize of params input (#4008) 2025-05-19 13:10:47 +10:00
Luc Mcgrady
3e1d95b24c
Merge branch 'main' into Feat/90%-dr-message 2025-05-15 13:52:31 +01:00
llama
97b12b420a
Resize fsrs params input to fit content (#3999)
* resize param input on value change

* resize on window resize
2025-05-15 16:41:30 +10:00
llama
a2a1f597be
Style the fsrs params input (#3997)
* style textarea and date inputs

* remove redundant date input styling
2025-05-15 16:30:17 +10:00
llama
4e1a901738
Clarify field separator being a guess when importing csv (#3996)
* clarify that the initially selected field separator is a guess

* explain why the field seperator setting might be locked
2025-05-15 16:26:51 +10:00
GithubAnon0000
37dfbca094
UPDATE answer button graph tooltip to include I) answer button name and II) description of what "correct" means (#3979)
* ADD name of the button after button number (1 → again...)

* ADD info string to explain what 'correct' means

* Run ./check and make it happy

* Apply suggestion from @dae to make text shorter
2025-05-15 14:54:51 +10:00
llama
1c69333210
don't scale border width along with existing masks (#3991) 2025-05-12 01:49:29 +03:00
Luc Mcgrady
37b932f032 Feat/90% desired retention warning 2025-05-11 12:17:11 +01:00
llama
c33974f6ab
Fix polygons closing when clicking existing masks while editing IO (#3990)
* fix polygons closing when clicking existing masks while editing io

* disallow selecting new polygons

* update CONTRIBUTORS

* preserve ids when pushing canvas state to undo stack

* rehandle tool changes after undoing/redoing

the polygon tool makes all objects unselectable, which isn't
preserved when restoring the canvas state after an undo/redo
2025-05-10 16:32:44 +10:00
llama
573f59fab1
Allow rotating IO masks (#3987)
* Revert "Disable rotation globally"

This reverts commit 22736238c1.

* alt. impl for hiding rotation marker when selecting/ungrouping

* (de)serialise angles

* rotate masks in reviewer

* update bounds checking

* floats.ts -> lib.ts

* add convenience fns

* store mask angles (deg) in steps of 10000

* update CONTRIBUTORS
2025-05-10 16:21:33 +10:00
llama
5cc44b3f68
Make IO polygon markers centred and transparent (#3989)
* make polygon markers centred and transparent

* centre active line

* set perPixelTargetFind per object, and not on the canvas

otherwise it can't be overridden for a specific object
see 4c305baae6/src/canvas.class.js (L786)
2025-05-09 00:20:00 +10:00
GithubAnon0000
dcc6000f70
Properly align label and radio input in the stats window (#3977)
* Properly align label and radio input in the stats window

* use margin-inline-end instead of margin-right to support RTL
2025-05-05 18:10:58 +10:00
Luc Mcgrady
a66f8b2b5f
Fix/Layout shift on CardCounts button hover (#3971) 2025-05-05 17:24:34 +10:00
Damien Elmes
c70e9d26c5 Add the ability to hide the forgetting curve from card info 2025-05-05 17:04:15 +10:00
GithubAnon0000
57ecfbe562
REMOVE percentages of x-axis in the answer buttons graph (#3952)
* Allow linebreak between kind and percentage in answer buttons graph. This is BROKEN!

* FIX: percentage is not below kind

* FIX: y-axis wrongly had percentages

* REMOVE debugging console

* run ./check and fix errors

* REMOVE unused comment (commented out code)

* FIX: Percentage Text is cutoff (this removes transition as well)

* FIX: incorrect alignment

* UPDATE variable names to make them more meaningful

* UNDO removing transition

* REMOVE percentage from x-axis

* Revert "UNDO removing transition"

This reverts commit 2652b16bd7.

* RESTORE transition in x-axis
2025-05-05 15:37:24 +10:00
llama
6ff023f6a1
apply min-height to anki-editable directly (#3957) 2025-04-28 06:41:00 +10:00
Luc Mcgrady
ad073ab10c
Feat/CMRR uses simulate config (#3947)
* Added: simulate_request_to_config

* Use SimulateConfig for CMRR

* ./check

* Fix: ComputingRetention

* Use actual cards for optimal_retention
2025-04-27 21:02:37 +10:00
Jarrett Ye
e096c462fa
Feat/FSRS-6 (#3929)
* Feat/FSRS-6

* update comment

* add decay to Card

* ./ninja fix:minilints

* pass check

* fix NaN in evaluation

* remove console

* decay should fallback to 0.5 when it's None.

* Update SimulatorModal.svelte

* Update a few comments

* Update FSRS decay defaults to use constants for better maintainability and clarity

* Update rslib/src/storage/card/data.rs
2025-04-25 16:44:34 +10:00