11d03aac57
Add repo select command
2025-05-03 01:43:47 +02:00
c9a7b6fa91
Use repo list logic in status command
2025-05-03 01:37:47 +02:00
05477ee64f
Show which repo is selected in repo list command
2025-05-03 01:35:10 +02:00
5e87d74ede
Rename repo show command to repo info
2025-05-03 01:34:58 +02:00
427128fe5c
Print data dir only in status command
2025-05-03 01:09:19 +02:00
19c53e0ee8
Add subcommand aliases
2025-05-03 01:01:04 +02:00
1ed358a0b2
Get rid of unnecessary curly braces
2025-05-03 00:53:21 +02:00
3f2b3d2f73
Don't resolve name when it isn't unique
2025-05-03 00:49:42 +02:00
9a3004557f
Add repo list command
2025-05-03 00:49:42 +02:00
efafc085f3
Add repo remove command
2025-05-03 00:49:42 +02:00
f77db3c6f8
Fix some lints
2025-05-02 01:28:05 +02:00
0baf79cb8c
Match on version constants instead of number literals
2025-05-02 01:27:03 +02:00
2c5ff584db
Add repo add and repo show commands
2025-04-30 00:49:04 +02:00
b922af9283
Move readme todos
2025-04-29 02:06:47 +02:00
a8599ee05c
Depend on vendored libgit2
2025-04-29 01:54:31 +02:00
9019fc263f
Set toml column width to 100
...
All the other column widths are already set to 100 using prettier.
2025-04-29 01:51:33 +02:00
b0ea87dbd6
Rename migrate command to tidy
...
It now does more than plain data dir migration. I'm not yet sure though
when tidying will be executed during normal operations. During app
startup sounds appropriate, maybe even at the end of open_and_migrate.
2025-04-29 01:36:38 +02:00
3a3a2de8dc
Store repo names and selected repo in state
2025-04-29 01:33:28 +02:00
427dce3e48
Add status cli command
2025-04-28 12:49:32 +02:00
1ed5e5d600
Fix migration failing to create data dir
2025-04-28 12:48:39 +02:00
8d7042fec7
Write down ideas and next steps
2025-04-28 04:03:51 +02:00
a70cca640b
Specify gdn-cli as default member
...
Used in cargo commands in a workspace when no package is specified.
https://doc.rust-lang.org/cargo/reference/workspaces.html#the-default-members-field
2025-04-28 03:20:40 +02:00
93cc28f501
Update dependencies
2025-04-28 01:55:38 +02:00
4b11b4ce62
Move module definitions after imports
...
The style guide says: "Put imports before module declarations."
See https://doc.rust-lang.org/style-guide/items.html
Cargo also does this automatically.
2025-04-28 01:45:14 +02:00
97d79f5747
Rename methods for clarity
...
Path resolving methods now start with "path".
2025-04-28 01:38:04 +02:00
69f36de2d3
Migrate to rust edition 2024
2025-02-21 12:54:47 +01:00
cc74779e5d
Fix compilation error on windows
...
I was using unix-specific APIs.
2025-02-20 12:10:11 +01:00
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