From e3eb42bfa33196042ab962d55fe6c048f59c9010 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Fri, 28 Jul 2023 09:11:06 -0300 Subject: [PATCH] Even more notes --- content/projects/astatine.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/content/projects/astatine.md b/content/projects/astatine.md index 59bfb23..92c45cc 100644 --- a/content/projects/astatine.md +++ b/content/projects/astatine.md @@ -94,7 +94,7 @@ This note has no parent and no children. ``` ``` -# A prent note +# A parent note This note has no parent, only children. @@ -109,6 +109,22 @@ The "note title" would also be the filename, *sluggered* (if that's even a word). Also note that the GUI design does not have title, but those are interesting 'cause that would produce the proper filename[^1]. +Another option for the title: Top level notes can have just one line, which is +the title for the thread. All child notes could have a versioning-like scheme +for them, like + +``` +Single line note (becomes single-line-note.md) +|-- note content (becomes single-line-note-1.md) +| |-- another note content (becomes single-line-note-1-1.md) +| \-- more content (becomes single-line-content-1-2.md) +\-- more content (becomes single-line-note-2.md) +``` + +This can be done 'cause the note we would add a follow up already have a list +of children, so it's just a matter of adding "-1" if the note has no children +yet, or "last id + 1" otherwise. + There should be an index of sorts, with all the notes in order of insertion (most recent to the oldest), just to speed up loading. This "index" would be read as paging, so if we want Page 10, we would probably need