Commit graph

92 commits

Author SHA1 Message Date
Abdo
3a0c3ef4e7 Fix notetype changing after changes to fields 2025-10-26 17:59:33 +03:00
Abdo
12769460ba Fix initial=True being passed to subsequent loadNote calls 2025-10-26 17:57:52 +03:00
Abdo
7113648a3f Formatting 2025-10-19 08:41:03 +03:00
Abdo
f9607ce8af Fix focused field not being preserved 2025-10-19 08:39:03 +03:00
Abdo
0ed12f5c63 Fix notetype/deck of original note not being set 2025-10-19 08:32:27 +03:00
Abdo
5e9428cd26 Preserve initial note load args 2025-10-19 06:57:01 +03:00
Abdo
9dcbf70aeb Fix formatting/typing errors 2025-10-18 14:38:21 +03:00
Abdo
8a0a21aba6 Fix call_after_note_saved() 2025-10-18 04:25:25 +03:00
Abdo
bdbafb1f6e Save before opening Fields/Cards 2025-10-18 03:55:03 +03:00
Abdo
71dfb6350d Run scheduled save before add 2025-10-18 03:53:00 +03:00
Abdo
74c727e82c Remove log() 2025-10-18 01:37:09 +03:00
Abdo
9278da2c85 Formatting 2025-10-15 00:56:03 +03:00
Abdo
6248a71f2a Move .reload_note() calls 2025-10-15 00:53:37 +03:00
Abdo
d0eb61acdb Fix notetype label not changing when default deck is set 2025-10-14 23:46:37 +03:00
Abdo
4ec88a8351 Handle operation changes from other screens 2025-10-14 23:46:31 +03:00
Abdo
f10d48db47 Handle undo for all RPCs that return OpChanges 2025-10-13 13:09:49 +03:00
Abdo
fbd21ba7f1 Restore toggleMathjax for legacy editor 2025-09-30 15:53:45 +03:00
Abdo
5fe532d5d2 Show number of added cards 2025-09-03 00:01:04 +03:00
Abdo
b79014814d Fix legacy DuplicateLink handling 2025-08-30 16:54:12 +03:00
Abdo
8cf3dee351 Fix browser error on deleted notes 2025-08-30 16:06:55 +03:00
Abdo
06d322aca4 Preserve focused field 2025-08-28 03:40:49 +03:00
Abdo
a3bf145007 Copy sticky fields 2025-08-28 03:07:55 +03:00
Abdo
7a98aa0644 Fix lints 2025-08-27 04:15:43 +03:00
Abdo
1cb733da29 Ensure bigint 2025-08-27 04:08:17 +03:00
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
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
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
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
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
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
25f51345d5 Implement Deck/Notetype selectors in Svelte 2025-08-14 07:48:02 +03:00
Abdo
3f6d904236 Reduce duplication across modal components 2025-08-09 05:27:51 +03:00
Abdo
9a054d6924 Complete noteCanBeAdded() 2025-07-28 10:17:12 +03:00
Abdo
958599ed09 Debounce loadNote() calls 2025-07-27 18:43:32 +03:00
Abdo
0f062563a6 Add hack for buttons position in IO mode 2025-07-27 01:34:27 +03:00
Abdo
1ce564adf0 Fix bottom editor buttons not shown in IO editor
Positioning needs to be fixed.
2025-07-26 23:23:52 +03:00
Abdo
26473e6f6c Remove unused add_current_note() 2025-07-26 22:31:20 +03:00
Abdo
ae42f5685b Fix Create Copy 2025-07-26 22:29:19 +03:00
Abdo
f379aa742e Implement History button 2025-07-25 14:41:27 +03:00