obsidian-folder-notes icon indicating copy to clipboard operation
obsidian-folder-notes copied to clipboard

Ability to reuse existing tab for folder notes

Open wake opened this issue 1 year ago • 1 comments

Hi there,

Thank you for your awesome work! It really helps us a lot!

I noticed an issue when I enable the option "Open folder note in a new tab by default." The number of tabs keeps increasing if I repeatedly click on different folder notes.

Would it be possible to switch back to an existing tab if it's already open, instead of opening a new tab each time?

Thank you for considering this!

wake avatar Jun 16 '24 02:06 wake

I can confirm that a new tab of the same folder note is opened each time I click on it (given that I'm not currently seeing that note). This does not happen for non folder-note notes. It's a bit funny, that the option explicitly states to behave differently:

Always open folder notes in a new tab (except when you try to open the same note) ...

geek-andi avatar Nov 11 '24 11:11 geek-andi

I've added an option to switch to an already open tab if you have the option enabled to always open folder notes in a new tab.

LostPaul avatar Jun 13 '25 09:06 LostPaul

Is this option supposed to affect overview as well? Those links always open a new tab no matter what I have this setting on

GovSat1 avatar Jul 05 '25 13:07 GovSat1