Commit graph

249 commits

Author SHA1 Message Date
Abdo
60af80ba9d Scroll selected deck/notetype into view 2025-10-26 18:59:49 +03:00
Abdo
789b0a702e Fix disabled history button's hover styles
The `background` property from the primary styles had a higher priority
2025-10-26 16:51:57 +03:00
Abdo
0ed12f5c63 Fix notetype/deck of original note not being set 2025-10-19 08:32:27 +03:00
Abdo
224ea3abb1 Make CooldownTimer accept an aync action 2025-10-19 06:10:47 +03:00
Abdo
6cab377083 Fix TS type 2025-10-19 05:56:43 +03:00
Abdo
71dfb6350d Run scheduled save before add 2025-10-18 03:53:00 +03:00
Abdo
9b28ed87f2 Fix undo of methods returning OpChanges directly not being handled correctly 2025-10-15 00:45:52 +03:00
Abdo
4ec88a8351 Handle operation changes from other screens 2025-10-14 23:46:31 +03:00
Abdo
fbfd2784d8 Merge branch 'main' into editor-3830 2025-10-13 13:38:14 +03:00
Abdo
6a27370b7a Remove unused CSS selector 2025-10-13 13:21:43 +03:00
Abdo
f10d48db47 Handle undo for all RPCs that return OpChanges 2025-10-13 13:09:49 +03:00
Lee Doughty
321e23acb2
Replace custom UUID function with crypto.randomUUID (#4384) 2025-10-13 09:37:30 +03:00
Abdo
6165567238 Refresh fields after MathJax toggle
There's probably a more efficient solution for this but I couldn't
figure it out
2025-10-01 11:50:27 +03:00
Abdo
e5612b1340 Add back .empty MathJax styles 2025-09-30 16:35:37 +03:00
Abdo
28daa16bcf Merge branch 'main' into editor-3830 2025-09-30 15:31:26 +03:00
Hanni614
ee664b8fbb
Stats - Retention rate help box links to Deck Options manual page #4198 (#4329)
* stats: link retention help box to "Desired retention" section

* docs: use HTTPS for fsrs and desiredRetention links

* Add Hanna Nilsén to CONTRIBUTORS

* Apply suggestion from @user1823

Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>

---------

Co-authored-by: Hanna Nilsén <hannanilsen@macbookair.students.netlogon.liu.se>
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
2025-09-27 14:46:11 +10:00
Abdo
e3bd3eda4f Clear search on selector toggle 2025-08-28 03:33:13 +03:00
Abdo
3eb99c8a3e Focus selector's search input 2025-08-28 03:32:03 +03:00
Abdo
52254d40ac Merge branch 'main' into editor-3830 2025-08-27 02:40:11 +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
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
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
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
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
25f51345d5 Implement Deck/Notetype selectors in Svelte 2025-08-14 07:48:02 +03:00
Abdo
e80829f282 Fix Modal event handlers not working 2025-08-13 11:53:33 +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
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
Luc Mcgrady
5462d99255
Fix/Retention help button bounds (#4253)
* Move onTitleClick

* rename variable

* Fix: Tabbing issues
2025-08-08 10:56:50 +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
Abdo
543f97eb10 Merge branch 'main' into editor-3830 2025-07-27 01:41:08 +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
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
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
Abdo
c2374dcc24 Implement help button 2025-07-09 06:29:06 +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
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
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
GithubAnon0000
1ca31413f7
FIX revert button is visible for screenreaders (#4174) 2025-07-07 15:23:39 +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
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