obsidian-webpage-export icon indicating copy to clipboard operation
obsidian-webpage-export copied to clipboard

Highlight attached file in file tree when clicked on in note

Open Der-Flip opened this issue 7 months ago • 4 comments

Is your feature request related to a problem? Please describe. Not really a problem: Sifting through an extensive list of files in the file tree to find a specific attachment.

I completely understand that saving something, that is locally stored already, does seem incredibly non-sensical, and I do agree. I am planning to share some notes with my parents though and I know that it would be incredibly cumbersome for them to check the filename, find it in the export's attachment folder and copy-paste it to their preferred location. (tbh, I also think there's other usecases, and it only now that I remember, exporting for online publishing is probably one of them)

Describe the solution you'd like clicking on an attachments (especially attachments that aren't rendered in the note like for instance images) highlights the respective file in the file tree. If the file tree is collapsed maybe even un-collapses the tree to the file path of the file. Highlighting fades away after X seconds (idk, 5-10 or something like that).

Describe alternatives you've considered clicking on attachment opens a prompt whether the file would like to be saved. If confirmed filesystem's "save as" dialog opens or make these attachment-span elements right clickable.

I am super excited for the "noob" mode export mentioned in #460. Maybe this would already make it easier but I do think it would be a nice addition for people, who want to save an attached file separately, to not have to leave the browser...

Der-Flip avatar Jul 24 '24 12:07 Der-Flip