4909aa0a29
Don't migrate existing data dir without version number
...
If there is a directory but no version number, we have no idea what's
going on. If we continue the migration, we might overwrite or break some
other program's data.
2025-02-20 01:46:42 +01:00
1f76854aa7
Add todo
2025-02-19 14:00:35 +01:00
9d2d1fa3c1
Add migrate cli command
2025-02-19 14:00:25 +01:00
909399b276
Implement basic data directory operations
2025-02-19 14:00:18 +01:00
58cd4d7517
Add RepoId
2025-02-17 22:48:49 +01:00
3855d86730
Move ids from gdn-app to gdn
2025-02-17 22:37:59 +01:00
4d71e49752
Add todos
2025-02-17 01:39:21 +01:00
f465f50614
Fix index bug when moving note downwards
...
To reproduce: Move a note to a later position in the same parent. The
note does not appear where it should. This can even panic when trying to
move a note after the last child.
2025-02-17 01:39:20 +01:00
b76ed55a39
Clarify comment
2025-02-17 01:20:47 +01:00
e4c21fa26d
Make UI slightly nicer once nodes go off the right edge of the screen
2025-02-15 13:41:30 +01:00
e5ce31b30c
Fix wrapping of wide notes
2025-02-15 13:41:30 +01:00
122c11bc96
Rename "note not found" to "loading..."
2025-02-15 13:41:23 +01:00
6ef9c27234
Fix note inconsistencies
2025-02-15 13:41:02 +01:00
cc0d242424
Fix back button going to "note not found"
2025-02-15 13:40:51 +01:00
5a244e585f
Make elements not selectable by default
2025-02-15 13:40:51 +01:00
d3a18893de
Add todos
2025-02-15 13:40:28 +01:00
225d709ed5
Set up CI
2025-02-14 19:13:21 +01:00
ccfdd25ee9
Allow top-level await
2025-02-14 19:13:21 +01:00
75f3a84e5f
Move notes store to rust
2025-02-13 23:27:28 +01:00
849400cf35
Add (de-)serializable NoteId type
2025-02-13 23:27:26 +01:00
d19f98e852
Fix vscode settings for formatting rust code
2025-02-13 14:11:40 +01:00
0ba0fa65f4
Prevent modification of notes directly
2025-02-12 23:37:07 +01:00
815e88cf18
Unlink and delete notes
2025-02-12 13:20:56 +01:00
da74fa9261
Reorder methods to match button order
2025-02-12 13:13:06 +01:00
6432c869c4
Fix off-by-one when moving node
2025-02-12 13:09:20 +01:00
c7452166e0
Implement node movement and copying
2025-02-12 13:09:03 +01:00
75791c4e71
Remove old console.log
2025-02-12 13:09:03 +01:00
6a3d701e82
Make entire ui store state public
2025-02-12 12:58:35 +01:00
aaca49f1d2
Add delete button and group buttons
2025-02-12 03:00:50 +01:00
6e96ae7fd4
Implement controls for new UI state
2025-02-12 01:06:50 +01:00
2f9b1925dc
Refactor ui state
...
Now with more mode!
2025-02-12 00:08:56 +01:00
4710f19b1e
Destructure all remaining defineProps
...
This makes it nicer to define default values.
2025-02-11 21:19:39 +01:00
994c3bb654
Disallow ===
2025-02-11 20:10:57 +01:00
7d6f610be0
Add temporary button to go back to previous note
2025-02-11 20:10:57 +01:00
5bc62d12f4
Add button to navigate to a note
2025-02-11 19:57:27 +01:00
369839912f
Make CNoteButton disable-able
2025-02-11 19:57:27 +01:00
4b6732ccd0
Hide mouse buttons using visibility: hidden
2025-02-11 19:28:39 +01:00
7a58ac37f7
Fix rendering bug by not enlarging buttons
...
Previously, the buttons left weird smudges when moving the mouse while a
button was enlarged. It appears to be a rendering engine bug (webkit
gtk), since the same does not happen in Firefox/Chromium. This fix
avoids enlarging the buttons so no residue is left behind.
2025-02-11 19:10:47 +01:00
47340858b0
Update dependencies
2025-02-11 01:25:10 +01:00
9f3789e032
Enable and fix custom eslint rules
2025-02-10 16:23:14 +01:00
ca929a37d1
Disable warning for @theme
2025-02-10 15:44:50 +01:00
7b10670a88
Fix eslint warnings
2025-02-10 15:42:21 +01:00
fba72e723f
Set up eslint with type information
2025-02-10 15:42:14 +01:00
4aeb9eb8bd
Fix eslint warnings
2025-02-10 15:28:30 +01:00
92f5e37a4c
Set up eslint
2025-02-10 14:49:52 +01:00
447bcf39a7
Fix pinned button border
2025-02-10 02:10:20 +01:00
b29b3c1e4e
Write custom Path and Segment classes
...
Also fixes how pinning works in some edge cases.
2025-02-09 19:41:35 +01:00
0b485e6cfe
Pin notes
2025-02-09 18:49:42 +01:00
de6080c3ad
Show other parents of a note
2025-02-09 18:21:48 +01:00
3628fa260b
Encapsulate note store more
2025-02-08 18:27:13 +01:00