Abdo
b13a1d1639
Merge branch 'main' into editor-3830
2025-06-02 02:41:47 +03:00
Damien Elmes
757247d424
Use more secure API key
...
https://github.com/ankitects/anki/pull/3925#discussion_r2051494659
2025-05-31 16:01:03 +07:00
Damien Elmes
6cdebd7638
Fix inverted margin logic
...
https://github.com/ankitects/anki/pull/4040#issuecomment-2921626962
2025-05-30 22:48:31 +07:00
Abdo
79f803c4e7
Use orjson helpers
2025-05-30 10:52:55 +03:00
llama
f9f0894162
Add left margin to browser when sidebar is closed ( #4040 )
...
* add left margin to browser when sidebar is closed
* listen for event instead of explicit user action
* refresh sidebar on visibility change
* Add a margin on macOS even when not collapsed
---------
Co-authored-by: Damien Elmes <gpg@ankiweb.net>
2025-05-30 13:35:06 +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
Marvin Kopf
7a8b4a193f
offload mpv callback registration to background thread to avoid UI blocking ( #4038 )
...
Instantiating `MPV(MPVBase)` triggers multiple synchronous `command()` calls to the mpv process during callback registration. These calls block the main thread and degrade startup performance. This change defers registration via `taskman.run_in_background`.
2025-05-30 13:05:06 +07:00
Abdo
7dbbbad914
Fix lint errors
2025-05-28 16:51:29 +03:00
Abdo
2ee708f9d9
Formatting
2025-05-28 11:41:15 +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
0198a58a1c
Fix wrong exception being catched in get_config_json()
2025-05-28 11:37:46 +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
Jarrett Ye
1e6d12b830
Set Due Date: Set interval to actual elapsed days when FSRS is enabled ( #4035 )
2025-05-26 23:33:39 +10:00
Jarrett Ye
dfee38898d
calculate accurate retrievability in card info ( #4034 )
2025-05-26 23:25:27 +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
8a87e6496c
Remove legacy editor tagedit functions
2025-05-25 21:20:22 +03:00
Abdo
3073ef02b5
Remove editorReady()
...
bridgeCommand() looks cleaner here
2025-05-25 21:14:10 +03:00
Abdo
48fb272700
Fix error on late editor_update_note() call
2025-05-25 21:10:02 +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
12e222b66e
Fix encodeIriPaths() not allowed
2025-05-25 15:21:42 +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
6a1d55ae75
ADD myself to about.py ( #4026 )
2025-05-22 22:55:37 +10:00
Luc Mcgrady
8694b3b410
Use non breaking spaces for names on about page ( #4025 )
...
* use non breaking spaces for names on about page
* Update qt/aqt/about.py
Co-authored-by: llama <gh@siid.sh>
---------
Co-authored-by: llama <gh@siid.sh>
2025-05-22 22:55:15 +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
GithubAnon0000
e989564be2
FIX borken support link ( #4019 )
...
https://github.com/ankitects/anki/issues/4017
2025-05-22 21:40:13 +10:00
Damien Elmes
3b7f21e50e
Update translations
2025-05-22 21:25:33 +10:00
Lukas Sommer
28e9c5a630
Fix URL schemes translation ( #4004 )
2025-05-22 21:24:48 +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
dependabot[bot]
150683ebe2
Bump vite from 5.4.18 to 5.4.19 ( #4018 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.4.18 to 5.4.19.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.19/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.19/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 5.4.19
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-19 13:38:53 +10:00
Damien Elmes
7b4a7dcf18
Bump flask-cors for latest CVEs
2025-05-19 13:34:59 +10:00
Emmanuel Ferdman
8a61a5470c
Resolve Python regex library warnings ( #4012 )
...
* Resolve Python regex library warnings
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
* Add CONTRIBUTORS
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-05-19 13:29:54 +10:00