find and index notes
remaining work at this point:
-
indexing tags -
tag management ops -
tags on channel -
indexer passes them in
-
-
note constraints - mostly testing - subtasks moved to !20 (merged) -
tag unit testing -
create/add to note/remove -
top level tag manager function works -
test notes_to_tags entries are unique -
test tags are unique on names
-
-
testing. -
test the file extractor -
rewrite the path extractor tests -
integration test for updater
-
-
cleanup -
improve code in NoteIndexer -
fix up the various field accesses that occur in it
-
-
other features-
note time
-
use file indexing to find notes in the directory tree, and store information about them
details in this ticket are no longer necessarily correct.
note types
- simple note is
*.md
file in a directory where notes can occur - directory note is directory in such a location
- directory notes must contain at least one markdown file. various ways of choosing if there are multiple.
- directory notes can put all their metadata in a toml file
note.toml
note-containing paths
- top level of "workspace" (i.e. directory contain
.yn/
, which has the index etc)- these notes have to put creation date/time in explicit metadata, otherwise there is none
-
yyyy/mm/dd/
path under workspace. this is preferred, andyn
should default to creating new notes in such a structure
inline metadata
- markers in the md file, on their own lines, beginning at start of line
- tags
- creation date and time
- figure out what these should look like. pref they fit in with markdown fairly easily
Edited by Aidan Coyne