Closed srid closed 3 years ago
Addendum:
foo/bar/
should have the ID index-foo-bar
. If the user creates a foo/bar.md
(to manually specify the directory zettel), then the zettel ID would just be bar
. Why? Because it allow us to have duplicate directory names in the tree; eg: Archive/2020
and Tax/2020
. You can create a Tax/2020.md
without conflicting with the Archive/2020
directory zettel.
Tax/Tax2020.md
and Tax/Tax2020/*
.EDIT (Dec 25): Hmm, I'm two-minded about it. For simplicity, perhaps we should just go with the original directory name, and have the user rename their folders should a conflict arise. For eg., rename Archive/2020/12
=> Archive/2020/2020-12
(to prevent conflicts with day "12" from other months, and years)
And,
index/foo/bar
. That's how directory folgezettel relationships will be established.CC @b0o especially as this is looking similar to their neuron-extras
In my opinion this project has 2 layers:
I think it will make sense to tag issues based on which layer they act on.
For instance, having an automated generation of a web page per tag which by default shows the cloud of the Zettels using this tag ("Cloud" in the form of the result of the query [[z:zettels?tag=foo]]
is a great idea in my mind.
Changing the graph and relations by adding a new object into the graph which is not user generated, is wrong in my opinion.
But regardless of my opinion, making easy to understand on which layer we're talking, in my opinion will generate a better discussion between the users.
Neuron has an experimental feature (disabled by default; see here) for storing notes in sub-directories recursively. We can take it one step further by treating these directories as the folgezettel parent of its contents.
Consider the following directory layout:
In this proposal, Neuron determines 3 zettels, with
foo
branching tobar
that in turn branches toqux
. Onlyqux
exists as a file on disk; the other two are created on demand (similar to #379 in concept). The contents offoo
andbar
will be populated with the appropriate link query that displays their contents. Users may override this content by adding afoo.md
andfoo/bar.md
, which will continue to (implicitly) branch of to their contents.