Abdo
1662ff440b
Set a different shortcut for Mac
2025-07-25 14:43:33 +03:00
Abdo
f379aa742e
Implement History button
2025-07-25 14:41:27 +03:00
Damien Elmes
20b7bb66db
Fix 'limits start from top' link
2025-07-25 14:45:04 +07:00
Abdo
f2e7504270
Add missing await
2025-07-24 13:40:11 +03:00
Abdo
53095731fc
Fix empty field's height in legacy editor
2025-07-24 13:36:09 +03:00
Abdo
63052e7fb9
Add a legacy switch to NoteEditor
2025-07-24 13:14:27 +03:00
Abdo
a05f3dd38a
Restore old editor entrypoint
2025-07-24 11:49:10 +03:00
llama
1f3d03f7f8
add io mask rotation snapping ( #4214 )
2025-07-22 14:32:42 +03:00
Abdo
c91f943f29
Merge branch 'main' into editor-3830
2025-07-21 21:24:50 +03:00
Damien Elmes
278a84f8d2
Fix 'same cloze' shortcut on macOS
...
https://forums.ankiweb.net/t/mac-shortcut-for-cloze-deletion-same-card/63785
2025-07-18 18:12:30 +07:00
llama
0375b4aac0
fix default-coloured io masks not following css var ( #4202 )
2025-07-14 01:22:14 +03:00
Bradley Szoke
58a8aa7353
fix: set cursor to pointer when on range ( #4197 )
...
* set cursor to pointer when on range
* chore: white space removal
* chore: update contributors file
2025-07-13 22:29:23 +03:00
GithubAnon0000
c56fd3ee28
FIX Graph Tooltip uses wrong font ( #4193 )
2025-07-12 13:41:22 +07:00
Abdo
8e9cc5c382
Implement add button
2025-07-10 00:14:58 +03:00
Jarrett Ye
1f7f7bc8a3
Fix/FSRS simulator fallback to memory_state_from_sm2 when converting cards ( #4189 )
...
* Fix/FSRS simulator fallback to memory_state_from_sm2 for after setting “Ignore cards reviewed before”
* add comment to fsrs_item_for_memory_state
* Add historical retention field to FSRS review request and update related logic
- Added `historical_retention` field to `SimulateFsrsReviewRequest` in `scheduler.proto`.
- Updated `simulator.rs` to use `req.historical_retention` instead of the removed `desired_retention`.
- Modified `FsrsOptions.svelte` to include `historicalRetention` in the options passed to the component.
* Update rslib/src/scheduler/fsrs/memory_state.rs
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
* Update rslib/src/scheduler/fsrs/simulator.rs
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
* pass ci
* Update rslib/src/scheduler/fsrs/simulator.rs
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
* format
* Update rslib/src/scheduler/fsrs/simulator.rs
Co-authored-by: Luc Mcgrady <lucmcgrady@gmail.com>
* format
* Fix condition in is_included_card function to check CardType instead of CardQueue
---------
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
Co-authored-by: Luc Mcgrady <lucmcgrady@gmail.com>
2025-07-09 16:22:59 +07:00
Abdo
c2374dcc24
Implement help button
2025-07-09 06:29:06 +03:00
Abdo
a8a2e4ee32
Implement close button
2025-07-09 05:32:46 +03:00
Abdo
01fd4df9cb
Replace svelte-contextmenu with a custom implementation
...
Keyboard navigation is to be handled.
2025-07-09 04:47:03 +03:00
Abdo
b1771895c5
Merge branch 'main' into editor-3830
2025-07-09 03:33:30 +03:00
llama
11c3e60615
Debounce mathjax rendering via cooldown instead ( #4173 )
...
* add cooldown timer
* debounce mathjax rendering via cooldown instead
2025-07-08 00:56:13 +07:00
GithubAnon0000
3d9fbfd97f
Use system font for webviews instead of bootstrap font stack and add exception for note editor ( #4163 )
...
* Revert "Revert "Use system font for webviews instead of bootstrap font stack …"
This reverts commit d1793550b0 .
* Update editor-base.scss
2025-07-08 00:51:44 +07:00
llama
80ff9a120c
Allow creating deck via #deck:... if non-existent when importing ( #4154 )
...
* add deck name field to metadata protobuf msg
* fallback to creating new deck specified in `#deck:...`
* update tests
* create deck if it doesn't exist
* plumbing
* allow creating deck via `#deck:...`
* apply suggestion for protobuf
2025-07-08 00:46:04 +07:00
Luc Mcgrady
8a3b72e6e5
Fix/Help modal appears behind simulator modal ( #4171 )
...
* Fix/Help modal appears behind simulator modal
* Correct help modal keys (Doesn't work)
2025-07-07 16:21:46 +07:00
Luc Mcgrady
d3e1fd1f80
Feat/Replace easy day table with display:grid ( #4179 )
...
* Feat/Replace easy day table with grid
* Add max width
2025-07-07 15:46:52 +07:00
GithubAnon0000
1ca31413f7
FIX revert button is visible for screenreaders ( #4174 )
2025-07-07 15:23:39 +07:00
Luc Mcgrady
b16439fc9c
Feat/Confirmation box for save options to preset ( #4172 )
2025-07-07 15:10:24 +07:00
Damien Elmes
d1793550b0
Revert "Use system font for webviews instead of bootstrap font stack ( #4147 )" ( #4159 )
...
This reverts commit 0b5218706a .
2025-07-04 21:22:30 +07:00
Luc Mcgrady
f5285f359a
Feat/Add legacy evaluate config bool ( #4149 )
...
* Feat/Add legacy evaluate config bool
* Minor tweaks based on PR suggestions (dae)
New enabling command:
from anki.config import Config
mw.col.set_config_bool(Config.Bool.FSRS_LEGACY_EVALUATE, True)
2025-07-04 15:32:09 +07:00
Luc Mcgrady
4232185735
Feat/Add globe to help tooltip ( #4148 )
...
* Add global option to HelpItem
* Fix: Spacing
* add to more sections
* Fix: Spacing again
2025-07-04 14:42:40 +07:00
GithubAnon0000
0b5218706a
Use system font for webviews instead of bootstrap font stack ( #4147 )
2025-07-04 14:41:58 +07:00
Abdo
d0bb1ffd9a
Tweak naming
2025-07-03 11:03:03 +03:00
Abdo
dbd8737f0a
Fix undo ops of add_note/update_notetype
2025-07-03 10:58:30 +03:00
Abdo
5a7832b16d
Rewrite empty check
2025-07-03 07:44:30 +03:00
Abdo
966801fbe7
Fix misaligned sticky badge
2025-07-03 07:25:52 +03:00
Damien Elmes
9e1690774c
Update svelte/vite/esbuild for CWEs
2025-07-01 18:01:48 +07:00
Damien Elmes
bf36e10519
Hide CMRR
...
https://forums.ankiweb.net/t/anki-25-06-beta/62271/156
2025-07-01 11:20:28 +07:00
Damien Elmes
b22b3310d6
Revert "Feat/Cmrr target selector ( #4116 )"
...
This reverts commit ad0dbb563a .
https://forums.ankiweb.net/t/anki-25-06-beta/62271/156
2025-07-01 11:20:20 +07:00
Abdo
1f002134fe
Add a basic fieldsAreBlank()
2025-06-30 11:50:26 +03:00
Abdo
a32ef31382
Fix lint errors
2025-06-29 22:03:58 +03:00
Abdo
939d833e12
Merge branch 'main' into editor-3830
2025-06-29 22:01:28 +03:00
llama
58dfb9cdd3
fix deck options page being scrollable while simulator modal is open ( #4133 )
2025-06-29 14:42:52 +07:00
GithubAnon0000
185fdebb63
Followup to #4122 (make text selectable) ( #4132 )
2025-06-29 14:42:19 +07:00
Luc Mcgrady
0739ea58f8
Add disclaimer to workload tooltip ( #4131 )
2025-06-29 14:41:35 +07:00
Damien Elmes
5c23ac5a86
Revert "Fix/unapplied scss ( #4103 )" ( #4136 )
...
This reverts commit ae6cf98f40 .
2025-06-29 14:40:56 +07:00
Abdo
24913d1a64
Fix context menu input field focus handling
2025-06-29 05:26:37 +03:00
Abdo
77466b2a6c
Formatting
2025-06-28 23:06:02 +03:00
Abdo
014247b70f
Merge branch 'main' into editor-3830
2025-06-28 21:49:24 +03:00
GithubAnon0000
a587343f29
FIX: Margin between icon was selectable but shouldn't be ( #4122 )
2025-06-28 21:47:29 +03:00
Abdo
70264bd23f
Fix lint errors
2025-06-28 16:56:54 +03:00
Abdo
dd673851db
Go back to using QClipboard
2025-06-28 16:46:13 +03:00
Abdo
0bdeab974f
Trim leading/trailing whitespace from URL
...
Windows likes to add extra newlines...
2025-06-28 16:42:12 +03:00
Abdo
33fb6bf400
Handle image occlusion drops
2025-06-28 14:51:53 +03:00
Abdo
91bba5f429
Add missing allowedSuffixes arg
2025-06-28 13:46:21 +03:00
Abdo
5bfae11aa9
Merge branch 'main' into editor-3830
2025-06-28 13:22:15 +03:00
Luc Mcgrady
ad0dbb563a
Feat/Cmrr target selector ( #4116 )
...
* backend
* Add: Frontend
* us
* Added: Loss aversion
* change proto format
* Added: Loss aversion
* Added: Future retention targets
* update default fail cost multiplier
* Future Retention -> Post Abandon Memorized
* superfluous as const
* Fix: Wrong default
* Fix: Wrong import order
2025-06-27 16:44:19 +07:00
Luc Mcgrady
ae6cf98f40
Fix/unapplied scss ( #4103 )
...
* deck options + change notetype
* graphs
* image occlusion
* congrats
* imports
* ./check
* style
* $lib
* delete unused index.ts files
2025-06-27 16:28:35 +07:00
Abdo
0241113e2c
Merge branch 'main' into editor-3830
2025-06-25 17:01:24 +03:00
Luc Mcgrady
630bdd3189
Fix/Optimize button alignment ( #4117 )
...
* Fix/Button alignment
* add hr
2025-06-25 16:44:47 +03:00
llama
06195d1268
add bottom and right margins to account for focus outline ( #4115 )
2025-06-25 14:15:45 +03:00
llama
a73f1507ba
use KeyboardEvent.key instead of code ( #4114 )
2025-06-25 14:08:25 +03:00
Abdo
0bc06d6c1a
Fix lint error
2025-06-24 17:06:25 +03:00
Abdo
2ffcbc9c5d
Focus field input on drop
2025-06-24 16:06:30 +03:00
Abdo
bc26b283a0
Reimplement sticky field saving
2025-06-24 15:51:05 +03:00
user1823
5cc3a2276b
Fix repeated ticks in reviews graph ( #4108 )
...
Regressed in #4086
2025-06-21 19:17:18 +07:00
Abdo
c4a9ba254e
Remove editor.note refs and fix some lint errors
2025-06-21 10:08:45 +03:00
Abdo
dabd0def55
Formatting
2025-06-21 09:43:23 +03:00
Abdo
e0120309fa
Fix Cards/Fields buttons
2025-06-21 09:32:14 +03:00
Abdo
fa0c4b11ab
Merge branch 'main' into editor-3830
2025-06-20 21:33:31 +03:00
user1823
bbf533b172
Update the default value of FSRS-6 decay in forgetting curve ( #4096 )
...
Changed in 037345fd57
2025-06-19 13:25:30 +07:00
Abdo
f8ce1c3526
Fix lint errors
2025-06-18 23:57:19 +03:00
Abdo
f4293c1f9e
Remove mediaPromise
2025-06-18 23:55:33 +03:00
Abdo
cf099ea508
Move Record Audio button
2025-06-18 23:55:33 +03:00
Abdo
e48a2a5b6a
Move Attach Media button
2025-06-18 23:55:33 +03:00
Abdo
70a69cfdbe
Move context menu logic
2025-06-18 23:55:26 +03:00
user1823
44f3bbbbc9
Limit study time to hours in reviews graph ( #4086 )
...
* Add maxUnit argument to naturalUnit
* Limit study time to hours in reviews graph
Relevant discussions:
- https://forums.ankiweb.net/t/reviews-graph-units-of-total-time-studied-suggestion/61237
- https://forums.ankiweb.net/t/why-does-anki-display-study-time-in-months/37722
- https://forums.ankiweb.net/t/poll-use-hours-in-total-time-stats/62076
- https://github.com/ankitects/anki/pull/3901#issuecomment-2973161601
* Use the new approach for native stability in Card Info
* Use a simpler approach
2025-06-18 14:34:58 +07:00
llama
5cb191d624
Fix IO text labels' fill attr being saved even if default colour ( #4083 )
...
* move exporting of fill attr to subclasses
* set text colour for new labels
2025-06-16 13:07:05 +03:00
Luc Mcgrady
6004616672
Feat/Health check tooltip ( #4068 )
...
* Feat/Health check tooltip
* Update ftl/core/deck-config.ftl
* split deckConfigHealthCheckTooltip
* wording change
* separate "(slow)"
* Add title to health check messages
2025-06-13 10:42:47 +07:00
Abdo
d585916313
Fix lint errors
2025-06-12 05:00:33 +03:00
Abdo
13c2dd201a
Move more image occlusion calls
2025-06-12 04:33:29 +03:00
Abdo
3b42cd0e54
Handle internal pastes
2025-06-11 19:42:16 +03:00
Abdo
4567c721ad
Use wantsExtendedPaste() for paste event
2025-06-11 19:02:42 +03:00
Abdo
2239bf9b02
Use wantsExtendedPaste() for drop event
2025-06-11 18:47:32 +03:00
Luc Mcgrady
83131cb48e
Feat/Message at 100% progress for optimize ( #4069 )
2025-06-11 13:31:17 +07:00
sorata
fe750dba9f
style hr element ( #4067 )
2025-06-11 13:02:08 +07:00
Sunong2008
ccc9d9027a
Delay retention workload info display after FSRS optimization alerts ( #4066 )
...
* Update FsrsOptions.svelte
* Update CONTRIBUTORS
* Make it full width too, so it doesn't resize when transitioning past 90
* Make sure the Warning appears after the alert
* Update FsrsOptions.svelte
* Update FsrsOptions.svelte
* Update FsrsOptions.svelte
2025-06-11 13:01:47 +07:00
Abdo
99396e5811
Start work on copy & paste handling
2025-06-09 18:04:57 +03:00
sorata
e5d34fbb18
Update default styles ( #4060 )
...
* add margin for hr
* add line height to default styles
* update my email
* change margin to 1em
2025-06-08 11:24:46 +07:00
Abdo
545d3dbfed
Move IO/cloze button toggles
2025-06-08 05:46:31 +03:00
Luc Mcgrady
55ecbc1125
Feat/Health check ( #4047 )
...
* Message on low log loss
* make console.log permanent
* Added: Health check option
* disable button
* change health check conditions
* i18n
* ./check
* Apply suggestions from code review
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
* delete shadowed fsrs
* Update ts/routes/deck-options/FsrsOptions.svelte
Co-authored-by: llama <gh@siid.sh>
* Update ftl/core/deck-config.ftl
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
* anon's suggestions
* snake_case
* capital slow
* make global
* on by default
* Adjusted loss values
* Show message on pass
* ./check
* ComputeParamsRequest
* update coefficients
* update thresholds
* fix thresholds
* Apply suggestions from code review
---------
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
Co-authored-by: llama <gh@siid.sh>
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
2025-06-06 12:43:33 +07:00
llama
174b199164
Add IO mask colour fill tool ( #4048 )
...
* add fill tool
* add fill tool logic
* open colour picker on fill tool activation
* refactor/add fill attr to io clozes
* fill masks in editor
* fill text and inactive masks in reviewer
* fix lint
* remove debug option
2025-06-04 11:45:34 +07:00
GithubAnon0000
27c1ed1899
FIX diacrititcs being cutoff in input card templates ( #4049 )
2025-06-03 16:27:32 +07:00
Luc Mcgrady
bbac90d97d
Fix/Invalid parameter counts saveable ( #4052 )
...
* Add frontend check for parameters
* Fix backend
* ./check
* Fix: Wrong type
2025-06-03 16:27:04 +07:00
Jarrett Ye
2de0c79ba5
Feat/evaluate FSRS with time series split ( #3962 )
2025-06-03 15:26:33 +07:00
Abdo
07d3b6d2b5
Fix lint errors
2025-06-02 06:14:15 +03:00
Abdo
05360e2d19
Add a temporary workaround for addcards
2025-06-02 06:04:17 +03:00
Abdo
795aef09ee
Move fields_check()
2025-06-02 03:59:29 +03:00
Abdo
8391761bc2
Move showDupes()
2025-06-02 03:42:23 +03:00
Abdo
0966cd4552
Move setupMaskEditor() calls
2025-06-02 02:59:24 +03:00
Abdo
b13a1d1639
Merge branch 'main' into editor-3830
2025-06-02 02:41:47 +03:00
Luc Mcgrady
06c0e4c14a
Fix/CMRR style ( #4043 )
2025-06-01 13:18:35 +07:00
Abdo
14b8a8ad0d
Fix new card sort order not reacting to changes in gather order ( #4039 )
2025-05-30 13:05:36 +07:00
Abdo
7dbbbad914
Fix lint errors
2025-05-28 16:51:29 +03:00
Abdo
a45add60df
Move setCloseHTMLTags()
2025-05-28 11:40:45 +03:00
Abdo
4ab3970cd6
Move setShrinkImages()
2025-05-28 11:38:05 +03:00
Abdo
544b5f54d7
Move setMathjaxEnabled()
2025-05-28 11:28:36 +03:00
Abdo
15cbbeea24
Move setTagsCollapsed()
2025-05-28 10:35:43 +03:00
Abdo
51fcb86521
Fix color hint not changing
...
Due to IDs such as `mdi-color-helper` being removed.
2025-05-28 09:39:51 +03:00
Abdo
9395b89b92
Move setColorButtons()
2025-05-28 09:25:47 +03:00
Abdo
3ae7484610
Merge branch 'main' into editor-3830
2025-05-28 06:40:53 +03:00
Abdo
423393107d
Move fontMungeHack()
2025-05-28 06:36:40 +03:00
Luc Mcgrady
f29bcb743b
Feat/Desired retention warning improvements ( #3995 )
...
* Feat/90% desired retention warning
* Update ftl/core/deck-config.ftl
* show on newly enabled
* Show warning on focus
* Never hide warning
* Display relative change
* Add: Separate warning for too long and short
* Revert unchanged text changes
* interval -> workload
* Remove dead code
* fsrs-rs/@L-M-Sherlock's workload calculation
* Added: delay
* CONSTANT_CASE
* Fix: optimized state
* Removed "Processing"
* Remove dead code
* 1 digit precision
* bump fsrs-rs
* typo
* Apply suggestions from code review
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
* Improve rounding
* improve comment
* rounding <1%
* decrease rounding precision
* bump ts-fsrs
* use actual cost values
* ./check
* typo
* include relearning
* change factor wording
* simplify sql
* ./check
* Apply suggestions from code review
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
* Fix: missing search_cids
* @dae's style patch
* Fix: Doesn't update on arrow keys change
* force two lines
* center two lines
---------
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
2025-05-27 13:07:21 +10:00
Abdo
436d76a81e
Move setSticky() call
2025-05-26 02:53:53 +03:00
Abdo
35f0bc5af6
Reimplement editor_will_munge_html callbacks
2025-05-26 02:51:02 +03:00
Abdo
8a9baca554
Fix anki-editable styles not applying
2025-05-26 02:26:59 +03:00
Abdo
0a3710e967
Replace note save call for saveTags cmd
2025-05-25 21:24:17 +03:00
Abdo
3073ef02b5
Remove editorReady()
...
bridgeCommand() looks cleaner here
2025-05-25 21:14:10 +03:00
Abdo
1809e793e6
Move note saving to TS
2025-05-25 19:23:55 +03:00
Abdo
75bc67608a
Remove console.log() statement
2025-05-25 17:32:35 +03:00
Abdo
2576a5bb75
Move screen-specific functionality back NoteEditor
2025-05-25 16:27:37 +03:00
Abdo
053bd4380f
Move some JS calls in loadNote()
2025-05-25 14:54:01 +03:00
Abdo
0ace032dc6
Merge branch 'main' into editor-3830
2025-05-24 03:28:49 +03: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
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
Abdo
f453e3790c
Fix scss paths
2025-05-22 02:59:12 +03:00
Abdo
5cbb5242c8
Move editor code to ts/routes
2025-05-22 02:46:01 +03:00
Abdo
6e22ce9f41
Add ts/routes/editor
2025-05-20 03:43:55 +03: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
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
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
llama
b5f15491a0
carry over tags when refetching csv metadata ( #3938 )
2025-04-24 19:18:57 +10:00
Luc Mcgrady
a2e0060470
Chore/Simulator modal i18n ( #3927 )
...
* Chore: Simulator i18n
* Buttons should be Title Case (dae)
2025-04-24 19:17:04 +10:00
Arthur Milchior
efaaae8ce4
Cloze button get disabled outside of cloze field ( #3879 )
...
* NF: replace `disabled` by `enabled`
This allows to remove the negations and, in my opinion, make the code
easier to understand and edit.
* Cloze button get disabled outside of cloze field
More specifically, if the user focus in a field that is not a cloze
field, the button are still there but appear as disabled. The shortcut
instead of adding the cloze context shows an alert explaining why this
can't be done.
While this message is already displayed when the user tries to add a
note with cloze in non-cloze field, I suspect it will save time to
stop the user as soon as possible from making mistake. This should
make very clear what is authorized and what is not.
It'll also be a reminder of whether the current field is a cloze or
not.
In order to do this, I added a back-end method (that I expect we may
reuse in ankidroid) to get the index of the fields used in cloze. This
set is sent to the note editor, which propagates it where needed.
In mathjax, the cloze symbol is removed when the selected field is not
a cloze field.
2025-04-24 18:37:41 +10:00
GithubAnon0000
aacf8ec774
Add help modal to TR table ( #3874 )
...
* Update TrueRetention.svelte adding description
* Update statistics.ftl to add additional info
* Swap TR with DR
* Change string to 'Is expected to'
* Add help modal to TR table
* Add tooltip slot to Graph.svelte (thanks @Luc-Mcgrady)
* Fix lint warning and failing test
* Remove unused code
* removedd on:mount to make eslint happy
* ADD back on:mount
* ADD back code needed for on:mount
* REMOVE openHelpModal() as I couldn't figure out how to make the title clickable
* attempt to ADD clickable title (BROKEN\!)
* Update ts/lib/components/TitledContainer.svelte
Co-authored-by: Luc Mcgrady <lucmcgrady@gmail.com>
* Update ts/routes/graphs/Graph.svelte
Co-authored-by: Luc Mcgrady <lucmcgrady@gmail.com>
* Update ts/routes/graphs/TrueRetention.svelte
Co-authored-by: Luc Mcgrady <lucmcgrady@gmail.com>
* ADD exported onTitleClick as @Luc-Mcgrady suggested
* REMOVE vite.config.ts file
---------
Co-authored-by: Luc Mcgrady <lucmcgrady@gmail.com>
2025-04-24 18:31:45 +10:00