foam icon indicating copy to clipboard operation
foam copied to clipboard

Create note in explorer context menu

Open riccardoferretti opened this issue 4 years ago • 2 comments

I am considering adding a Create new note in the explorer context menu.

The flow would be:

  • user right clicks on a folder in the explorer
  • a Create new note item is shown between New File and New Folder (not sure whether this precision in placement is possible, but that's the gist) image
  • if selected, a quick input box is shown for the note title
  • a note is created in the directory, with that title, using the new-note.md template

riccardoferretti avatar Dec 23 '21 09:12 riccardoferretti

In my opinion, that's a nice quality of life change.

As a user, if I spend most of my time creating, editing, searching and sorting notes, then I'd prefer a polished workflow for these activities. There probably are ways to automate it or make key bindings in VS Code as it is right now, but looking for a foam command in the command palette is at least unintuitive. I believe, such an option in context menu will make life easier for many users, especially for those, who are not tech friendly.

I don't know whether it can be implemented as a button at the top of the explorer as well, among 'New file', 'New folder', 'Refresh explorer' and 'Collapse folders...' icons. This is an interesting UI/UX case, because we kind of want to decide that which is more important for foam users: working with abstract files of a programming environment or working with notes and note templates of a knowledge management system.

xs30snw avatar Dec 24 '21 09:12 xs30snw

also Create new note from template wanted!

devwock avatar Feb 10 '23 03:02 devwock