Commit graph

59 commits

Author SHA1 Message Date
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
Abdo
f2e7504270 Add missing await 2025-07-24 13:40:11 +03:00
Abdo
63052e7fb9 Add a legacy switch to NoteEditor 2025-07-24 13:14:27 +03:00
Abdo
8e9cc5c382 Implement add button 2025-07-10 00:14:58 +03:00
Abdo
a8a2e4ee32 Implement close button 2025-07-09 05:32:46 +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
d0bb1ffd9a Tweak naming 2025-07-03 11:03:03 +03:00
Abdo
dbd8737f0a Fix undo ops of add_note/update_notetype 2025-07-03 10:58:30 +03:00
Abdo
5a7832b16d Rewrite empty check 2025-07-03 07:44:30 +03:00
Abdo
1f002134fe Add a basic fieldsAreBlank() 2025-06-30 11:50:26 +03:00
Abdo
a32ef31382 Fix lint errors 2025-06-29 22:03:58 +03:00
Abdo
24913d1a64 Fix context menu input field focus handling 2025-06-29 05:26:37 +03:00
Abdo
70264bd23f Fix lint errors 2025-06-28 16:56:54 +03:00
Abdo
33fb6bf400 Handle image occlusion drops 2025-06-28 14:51:53 +03:00
Abdo
0bc06d6c1a Fix lint error 2025-06-24 17:06:25 +03:00
Abdo
bc26b283a0 Reimplement sticky field saving 2025-06-24 15:51:05 +03:00
Abdo
c4a9ba254e Remove editor.note refs and fix some lint errors 2025-06-21 10:08:45 +03:00
Abdo
dabd0def55 Formatting 2025-06-21 09:43:23 +03:00
Abdo
e0120309fa Fix Cards/Fields buttons 2025-06-21 09:32:14 +03:00
Abdo
70a69cfdbe Move context menu logic 2025-06-18 23:55:26 +03:00
Abdo
d585916313 Fix lint errors 2025-06-12 05:00:33 +03:00
Abdo
13c2dd201a Move more image occlusion calls 2025-06-12 04:33:29 +03:00
Abdo
99396e5811 Start work on copy & paste handling 2025-06-09 18:04:57 +03:00
Abdo
545d3dbfed Move IO/cloze button toggles 2025-06-08 05:46:31 +03:00
Abdo
07d3b6d2b5 Fix lint errors 2025-06-02 06:14:15 +03:00
Abdo
05360e2d19 Add a temporary workaround for addcards 2025-06-02 06:04:17 +03:00
Abdo
795aef09ee Move fields_check() 2025-06-02 03:59:29 +03:00
Abdo
8391761bc2 Move showDupes() 2025-06-02 03:42:23 +03:00
Abdo
0966cd4552 Move setupMaskEditor() calls 2025-06-02 02:59:24 +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
544b5f54d7 Move setMathjaxEnabled() 2025-05-28 11:28:36 +03:00
Abdo
15cbbeea24 Move setTagsCollapsed() 2025-05-28 10:35:43 +03:00
Abdo
9395b89b92 Move setColorButtons() 2025-05-28 09:25:47 +03:00