Commit Graph

14 Commits

Author SHA1 Message Date
45c5379256 Make a backup copy of buffer.txt before migrating to new note library 2024-12-12 13:41:55 +01:00
3e84850147 Add code comment 2024-12-09 12:37:05 +01:00
f6b086b7e6 Use FileLibrary.load() method to make sure tracking of current buffer content works 2024-12-09 12:37:05 +01:00
374e2b4e5d Check all open buffer files for changes when window gets focus
The reason we do this is because fs.watch() is unreliable in some case.

#build
2024-12-09 12:37:05 +01:00
6c95005544 #build 2024-12-09 12:37:05 +01:00
c47d824111 Don't trigger buffer:change event when file is removed 2024-12-09 12:37:05 +01:00
e34a1c8ca3 Remove unused import 2024-12-09 12:37:05 +01:00
a924d33453 Remove debug log 2024-12-09 12:37:05 +01:00
f0e299122f Implement functionality for deleting notes 2024-12-09 12:37:05 +01:00
7be0a304d0 WIP: Multiple notes support
Add support for migrating old buffer file to new library.

Add support for changing location for the notes library.

Replace theme toggle in status bar with a dropdown in Appearance settings.

Improve New Note and Update Note dialogs.

Implement UI for confirming note delete (the actualal deltion is still to be implemented).
2024-12-09 12:37:05 +01:00
7e1f01471a Implement support for editing notes' metadata, and ability to move notes into other directories.
Create separate pinia store for the editor cache functionality.
2024-12-09 12:37:05 +01:00
5b61a0a234 WIP: Implement ability to create new notes.
Support cache of multiple Editor instances.

Change so that current note name is included in the event data dispatched by emitCursorChange.
2024-12-09 12:37:05 +01:00
5e34656c1d WIP: Create new node dialog
Implement folder selector UI element.
Retrieve actual folder structure from Notes library.
2024-12-09 12:37:05 +01:00
d01c19fd72 WIP: Implement support for multiple notes
Refactor Vue <-> Editor <-> CodeMirror code.
Introduce Pinia store to keep global state, in order to get rid of a lot of event juggling between Editor class/child components and the root App component.
2024-12-09 12:37:05 +01:00