Commit Graph

508 Commits

Author SHA1 Message Date
42c71dad7b Fix UI bug in web app
For some reason, the color of action buttons in NoteSelector was black in dark mode
2024-12-09 12:37:05 +01:00
45c2df5c28 Add __TESTS__ variable to web app when the tests are running 2024-12-09 12:37:05 +01:00
b7ffd5a2ce Web app: Migrate existing localStorage single buffer to buffer library 2024-12-09 12:37:05 +01:00
3e84850147 Add code comment 2024-12-09 12:37:05 +01:00
2c31f0170a Add support for mutiple notes to web app 2024-12-09 12:37:05 +01:00
74e4c6347b Fix issue where Escape key wouldn't work in Note selector when there was text in the input causing no Notes to match 2024-12-09 12:37:05 +01:00
946728060d Add attributes to prevent auto completion (for web app version) 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
d12f6577bf Remove debug logging
#build
2024-12-09 12:37:05 +01:00
f49ef4bec8 Show error message if failing to unserialize note data (e.g. if a note's format has a major version that is unsupported) 2024-12-09 12:37:05 +01:00
d590c625bb Add note about breaking change (default scratch file path changed) to changelog 2024-12-09 12:37:05 +01:00
75b7eac5ca Fix typo 2024-12-09 12:37:05 +01:00
57d4ac49e0 Add link to changelog and minor formatting change 2024-12-09 12:37:05 +01:00
4833db9928 Update docs and changelog 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
2f9b6b8aab Fix artifact file name 2024-12-09 12:37:05 +01:00
72f0bb5e21 Change which Mac file is put into build artifact
#build
2024-12-09 12:37:05 +01:00
d1f87b062c Build app and upload artifacts when commit message contains #build 2024-12-09 12:37:05 +01:00
b7d2c26ce3 Bump version to 2.0.0-alpha 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
e46a014dd7 Remove C-p and C-n key bindings from Emacs mode
(since they interfer with new key bindings for multiple notes support)
2024-12-09 12:37:05 +01:00
bd4ebdfec0 Use relative URL for changelog link 2024-12-09 12:37:05 +01:00
b0161836aa Add link to Changelog in the docs 2024-12-09 12:37:05 +01:00
2ec4fecd1a Move Changelog into separate file 2024-12-09 12:37:05 +01:00
9863501b70 Add Changelog to docs 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
29facb4787 Fix issue with changing theme and other editor settings not propagating down to the editor instances 2024-12-09 12:37:05 +01:00
982f95a2c7 Fix error when NoteSelector has zero results 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
0da3e32171 Don't close/close folder when New folder button is clicked 2024-12-09 12:37:05 +01:00
706a567e76 Minor color tweak in dark mode 2024-12-09 12:37:05 +01:00
156cc8b1bb Propagate settings changes to all cached Editor instances (and not just the active one) 2024-12-09 12:37:05 +01:00
ceb09fd8aa Dark mode styling of New Note dialog 2024-12-09 12:37:05 +01:00
ca6b74b35a Add ability to open/close folders in New Note dialog 2024-12-09 12:37:05 +01:00
0c727feabe Change to non-deprecated syntax for ::v-deep selectors 2024-12-09 12:37:05 +01:00
43652ccaa9 Use fuzzysort to filter languages 2024-12-09 12:37:05 +01:00
2f7374cca9 Use fuzzysearch to filter notes in NoteSelector 2024-12-09 12:37:05 +01:00
edcf33a606 Sort notes in notes selector by how recent they were opened 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
9ee66743d7 Pixel push 2024-12-09 12:37:05 +01:00
4c947f960d Better error message 2024-12-09 12:37:05 +01:00
ecea69f6bb Place scrollbar for Language selector and Note selector within the list instead of scrolling the whole "screen" 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
c14c700791 Add a way to display error dialogs 2024-12-09 12:37:05 +01:00
49dd273b92 Fix tests 2024-12-09 12:37:05 +01:00