qawatake / obsidian-binary-file-manager-plugin

An Obsidian plugin to manage binary files
MIT License
63 stars 11 forks source link

[FR] Navigation Links to Meta File #13

Open Servinjesus1 opened 8 months ago

Servinjesus1 commented 8 months ago

Like Folder Note, hide the meta file in the navigator and instead underline the non-md file and have it link to the meta file.


I found this plugin adding an FR to Folder Note for the very feature this plugin provides (and more), so feel free to read my full idea for further inspiration of what I this plugin is capable of.

FlorianWege commented 8 months ago

Hi, I would suggest the opposite: hide the original file in favor of the meta file and indicate attachments in the file node in the navigator.

Reasoning: Obsidian is not suited for non-md files (in fact, you have to opt-in to showing most file types) and, to me, it seems more likely that you would access your own notes as an interface to the resource before trying to access the raw resource. If you hide notes, it may be confusing in the navigation, search etc. and the developers may have to make more considerations like the "Reveal file in navigation" would likely have to scroll to and highlight the resource instead. Notes may also be able to embed a preview of the resource, which does not work the other way around. Furthermore, I have faced issues where it was bad to have some resources inside the vault like big videos, so I externalized them and still had meta files point to them. Then the interface can be the same for internal and external resources. Having many resouces can also clog the navigation and search.

With the Folder Note plugin, one could put the resource in a folder and the folder is either the meta file itself or can serve as an Obsidian-friendly interface for the resource referenced by meta files placed elsewhere.

Servinjesus1 commented 7 months ago

In short, disable "Detect all file extensions" and this plugin still detects them just fine, so you effectively accomplish what I want: access to non-markdown files in Obsidian via their metafile without duplicate entries for meta file and non-markdown file.

This sadly doesn't address the issue of binary files supported by Obsidian (images and PDFs). Those will still have duplicate meta file and file entries.