Luc Mcgrady
2e0a75ed83
fix: "card" class included bottombar
2025-09-03 23:38:28 +01:00
Luc Mcgrady
45793b3b64
Added: Todo
2025-09-03 23:36:29 +01:00
Luc Mcgrady
0acc8d14e0
Fix: Card style
2025-09-03 23:14:19 +01:00
Luc Mcgrady
f35b2cf5d2
bodyclass
2025-09-03 23:07:04 +01:00
Luc Mcgrady
d0d1c519e6
Naive reviewer
2025-09-03 22:57:49 +01:00
Luc Mcgrady
eac356139c
Added: Reviewer framework
2025-09-03 22:48:51 +01:00
Luc Mcgrady
7805b1b426
Fix: Wrong function name
2025-09-03 22:34:26 +01:00
Luc Mcgrady
c64dd6c959
Neaten bottom code
2025-09-03 22:29:23 +01:00
Luc Mcgrady
1ec9f4902e
Merge branch 'main' into svelte-reviewer-bottom
2025-09-03 22:08:20 +01:00
Luc Mcgrady
e46d98e2e0
./check
2025-09-03 22:05:35 +01:00
Luc Mcgrady
4bf38ec2af
Added: Reviewer entrypoint
2025-09-03 18:40:37 +01: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
fac5d64558
Manually specify height
2025-08-26 16:12:03 +01:00
Luc Mcgrady
860a8b4295
./check
2025-08-26 02:08:24 +01:00
Luc Mcgrady
6c540c89f1
./check
2025-08-26 02:03:13 +01:00
Luc Mcgrady
a365369562
align items: center
2025-08-26 01:58:52 +01:00
Luc Mcgrady
28402c548d
Fix: Id not class
2025-08-26 01:58:00 +01:00
Luc Mcgrady
b256e88b1d
Fix: Large font size
2025-08-26 01:56:30 +01:00
Luc Mcgrady
9dbb7abdbb
Remove unneeded globals
2025-08-26 01:46:27 +01:00
Luc Mcgrady
992c8ad731
Added: Remaining
2025-08-26 00:45:58 +01:00
Luc Mcgrady
7e92c40169
Added: More bridge command
2025-08-25 23:35:22 +01:00
Luc Mcgrady
f4eb7e0ff9
Use sveltekit
2025-08-25 23:32:33 +01:00
Luc Mcgrady
8c0d1d1720
More i18n
2025-08-25 22:30:28 +01:00
Luc Mcgrady
5d536f2f8e
Added: edit button
2025-08-25 22:01:48 +01:00
Luc Mcgrady
7788aa7785
Answer buttons
2025-08-25 21:55:21 +01:00
Luc Mcgrady
758cfa2693
Buttons template
2025-08-25 21:03:40 +01:00
Luc Mcgrady
34c1dfd849
Added: Svelte component
2025-08-25 20:34:26 +01:00
Luc Mcgrady
244aade836
Fix: Showquestion is not defined
2025-08-25 18:46:35 +01:00
Luc Mcgrady
6869e9fd36
reviewer-bottom entrypoint
2025-08-25 18:42:20 +01: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
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
llama
1f3d03f7f8
add io mask rotation snapping ( #4214 )
2025-07-22 14:32:42 +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
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
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
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
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
GithubAnon0000
a587343f29
FIX: Margin between icon was selectable but shouldn't be ( #4122 )
2025-06-28 21:47:29 +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
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
user1823
5cc3a2276b
Fix repeated ticks in reviews graph ( #4108 )
...
Regressed in #4086
2025-06-21 19:17:18 +07: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
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
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
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
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
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
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
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