The folder location of new notes created through the ‘+’ button is currently not really specified. I propose some behaviors that could make creating notes in a base more predictable.
Use case or problem
I have a folder called To Dos and a base collecting all the notes in that folder. The base is in the same folder.
For different projects, I have linked bases (filtered views of the base) that are embedded into notes in my project folders across the fault.
If I create a new To Do (.md) using the plus at the top of the main base, then the new note is created in the To Do folder. So far so good. BUT if I create a new note through an embedded view of the base on one of my project notes, then the new To Do is created in the project folder.
Vault setup
- To Dos/
- To Do.base
- To Do 1.md [Project: Work]
- To Do 2.md [Project: Fun]
- To Do ... .md
- Project Fun/
- Note on Fun.md
→ has embedded base view [To Do.base#fun], showing only "fun" To Dos.
- To Do 3.md → wrongly created To Do that is not shown by the bases
- Project Work/
...
Proposed solution
There are three* options:
- Files always get created in the parent folder of the .base-file (not the embedded version)
- Files get created according to the filter of the base (in my case, only notes from the folder To Dos are shown)
- A way to define a target folder
*Wild card: A way to specify behavior. This would be a dream.
Option 1 would be relatively easy to implement, as the path to the base is always the same.
Option 2 would be challenging in case multiple folders are selected.
Option 3 would require some sort of base-settings and, therefore, requires GUI changes.
This feature request extends the behavior asked for by @anmol here: Bases: Honour the file path filter when creating a new file from a base view
I have a base view to show all my “Project” notes with filter file.path.startsWith(“Projects/”) and if I create a new note from the view, the note should be created under Projects/ instead of the default new note path.