To reproduce
- Create tiddler:
$:/config/FileSystemPaths
- Add filter
[tag[Community]addprefix[community/]]
- Edit tiddler
Community Cards
- Save -> issue
- Community Cards is originally part of
root/community/docs/
- It is deleted there -> Issue
- It is saved at
editions/tw5.com/tiddlers/community/
Moving root/community/ directory into an editions/_tw-shared/tiddlers/community/ has the same problem,
because $:/config/FileSystemPaths takes precedence.
edtions/tw5.com/_tw_shared has the same problem
eg: edtions/tw.org includes _tw_shared using tw.org/tiddlers/_tw_shared/tiddlywiki.files with this content
{
"directories": [
"../../../tw5.com/tiddlers/_tw_shared"
]
}
- eg: Motovun Jack.svg has a tag: Picture
- If there is a
[tag[Picture]addprefix[images/]] in FileSystemPaths and
- Motovun Jack.svg meta data is changed, it will be saved "locally"
- This may or may not be a problem.
But deleting Motovun Jack.svg from its origin is a problem
Proposal
Investing a lot of time to make tw5.com work with $:/config/FileSystemPaths, I think the right thing to do is:
- Create a new flag for
tiddlywiki.files named: pinFilepath
- pinFilePath takes precedence over configurations in FileSystemPaths
I do have a proof of concept, that I use for the FileSystemPaths experiments.
- I am not sure if it catches all edge cases
- I am not sure if it has other side effects
But it works quite well for me at the moment.
To reproduce
$:/config/FileSystemPaths[tag[Community]addprefix[community/]]Community Cardsroot/community/docs/editions/tw5.com/tiddlers/community/Moving root/community/ directory into an
editions/_tw-shared/tiddlers/community/has the same problem,because $:/config/FileSystemPaths takes precedence.
edtions/tw5.com/_tw_sharedhas the same problemeg:
edtions/tw.orgincludes _tw_shared usingtw.org/tiddlers/_tw_shared/tiddlywiki.fileswith this content[tag[Picture]addprefix[images/]]in FileSystemPaths andBut deleting Motovun Jack.svg from its origin is a problem
Proposal
Investing a lot of time to make tw5.com work with
$:/config/FileSystemPaths, I think the right thing to do is:tiddlywiki.filesnamed:pinFilepathI do have a proof of concept, that I use for the FileSystemPaths experiments.
But it works quite well for me at the moment.