Abdo
6ea64bcac5
Fix TS errors
2025-08-27 03:55:21 +03:00
Abdo
603b12967c
Alow passing deck/notetype ID on AddCards init
2025-08-27 03:54:27 +03:00
Abdo
60f7df7210
Fix wrong arg name
2025-08-27 03:39:20 +03:00
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
Abdo
c1a44ce867
Remove legacy addcards selectors from new screen
2025-08-27 02:00:37 +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
Expertium
3d0a408a2b
A small clarification in deck-config.ftl ( #4264 )
...
* A small clarification in deck-config.ftl
* Tweak wording (dae)
https://github.com/ankitects/anki/pull/4264#issuecomment-3188208351
2025-08-22 20:23:29 +10:00
user1823
3e846c8756
Make simulator fill missing values of DR and decay too ( #4269 )
...
* Make simulator fill missing values of DR and decay too
If a card has missing memory states, it will likely have missing DR and decay too. So, it makes sense to simultaneously update them as well.
* Fix error
* Avoid causing sync conflicts when filling in missing memory in sim
https://github.com/ankitects/anki/pull/4269#issuecomment-3201450124
---------
Co-authored-by: Damien Elmes <gpg@ankiweb.net>
2025-08-20 03:03:53 +10:00
Abdo
79932aad41
Fix sync errors not being reported in some cases ( #4281 )
...
* Set parent of sync error dialog
* Explicitly mention parent arg in show_info() functions
2025-08-20 03:02:51 +10:00
Luc Mcgrady
2879dc63c3
Fix/Learn count not included in workload graph ( #4274 )
...
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
2025-08-20 02:58:25 +10:00
Abdo
b92eabf4ae
Replace activeWindow() with activeModalWidget() ( #4267 )
2025-08-20 02:32:54 +10:00
Abdo
1660a22548
Fix Mnemosyne fact ID in error messages ( #4266 )
2025-08-20 02:32:03 +10:00
Siyuan Yan
a3b3b0850d
Hi res microhpone icon for the recording dialog ( #4262 )
...
* Replace media-record.png with SVG icon
- Added SVG version of the microphone icon (from Font Awesome Free v7.0.0)
- Updated sound.py to use QIcon for proper SVG support
- Icon now displays at 60x60 pixels
* Remove obsolete media-record.png icon
The PNG icon has been replaced with an SVG version
* Update CONTRIBUTORS
* Replace icon with AnkiMobile's record icon
CC-BY requires attribution, and we don't currently have a way to describe
those attributions in a way the mobile clients can also include automatically.
For now, I've switched it to an icon I authored myself to avoid the issue.
---------
Co-authored-by: Damien Elmes <gpg@ankiweb.net>
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
2025-08-20 02:31:31 +10: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
Damien Elmes
e676e1a484
Exclude version numbers from cargo/licenses.json
...
Version numbers are not required by the license, and keeping them in means
the build breaks after merging in a dependabot update.
2025-08-19 23:48:04 +10:00
Damien Elmes
37f7872565
Fix crash when disabling FSRS
...
https://forums.ankiweb.net/t/anki-25-08-beta-3/64738/51?u=dae
2025-08-19 23:34:09 +10:00
dependabot[bot]
5c07c899ec
Bump slab from 0.4.10 to 0.4.11 ( #4265 )
...
Bumps [slab](https://github.com/tokio-rs/slab ) from 0.4.10 to 0.4.11.
- [Release notes](https://github.com/tokio-rs/slab/releases )
- [Changelog](https://github.com/tokio-rs/slab/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/slab/compare/v0.4.10...v0.4.11 )
---
updated-dependencies:
- dependency-name: slab
dependency-version: 0.4.11
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
2025-08-19 19:59:48 +10:00
Damien Elmes
054740dd14
Skip licenses.json check for dependabot updates
2025-08-19 19:49:48 +10:00
Damien Elmes
78a3b3ef7b
Expose control over AppNap for AnkiConnect
...
https://forums.ankiweb.net/t/recent-anki-updates-bundle-id-change-disabling-app-nap-macos-anki-connect/65550
2025-08-19 19:46:11 +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
7e021a9408
Disable prefer-const for Svelte for now
...
https://github.com/sveltejs/eslint-plugin-svelte/issues/818#issuecomment-2570986849
2025-08-14 07:59:48 +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
user1823
a0c1a398f4
Improve elapsed seconds calculation for learning cards in browser table ( #4255 )
...
* Improve calculation of elapsed seconds for learning cards in browser_table.rs
https://github.com/ankitects/anki/pull/4231/files#r2257105522
* Format
2025-08-09 16:16:36 +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
Damien Elmes
d4862e99da
Bump version
2025-08-08 20:37:53 +10:00
Damien Elmes
34ed674869
Update translations
2025-08-08 20:31:05 +10:00
Damien Elmes
8c7cd80245
Support socks proxies when fetching versions
2025-08-08 20:30:51 +10:00