Hi, for deleting folder notes, currently there are two commands available:
Delete linked folder
Delete note and linked folder
Actually, for people who use strategy of "inside folder same name", I don't see any difference between these two commands. That is to say, the folder, the folder note, and whatever is inside the folder, are all deleted. The second command deletes the folder note that is outside of the folder as well.
First, I think everything other than the folder and the folder note shall never be deleted, as they are out of the scope of what this plug-in intends to manage.
Second, I think we should make the behavior clear and consistent regardless of the strategy:
Delete linked folder: only removes the folder, not the folder note
Delete note and linked folder: removes both the folder and the folder note
So the actual logic would be:
Folder note inside
Delete linked folder: hoist whatever inside the folder to the parent folder, and delete the folder
Delete note and linked folder: hoist whatever inside the folder to the parent folder, and delete the folder & folder note (both in the parent folder now)
Folder note outside
Delete linked folder: hoist whatever inside the folder to the parent folder, and delete the folder
Delete note and linked folder: hoist whatever inside the folder to the parent folder, and delete the folder & folder note (both in the parent folder now)
TBH, I don't think my solution is flawless. There are some foreseeable problems, e.g., naming collision between files in the parent folder and the files in the folder note folder. But yeah, let me know how people think about this.
Hi, for deleting folder notes, currently there are two commands available:
Actually, for people who use strategy of "inside folder same name", I don't see any difference between these two commands. That is to say, the folder, the folder note, and whatever is inside the folder, are all deleted. The second command deletes the folder note that is outside of the folder as well.
First, I think everything other than the folder and the folder note shall never be deleted, as they are out of the scope of what this plug-in intends to manage.
Second, I think we should make the behavior clear and consistent regardless of the strategy:
So the actual logic would be:
TBH, I don't think my solution is flawless. There are some foreseeable problems, e.g., naming collision between files in the parent folder and the files in the folder note folder. But yeah, let me know how people think about this.