Pinning feels half-functional. It does pin notes, but the pin doesn’t seem to really mean anything if selecting a link or note file doesn’t open the pinned tab of that note.
Example:
Create 2 notes, NoteA and NoteB. Now pin NoteA. In NoteB create a link to NoteA and click it. Note how NoteB’s tab navigates to NateA instead of just opening the pinned NoteA tab. Repeat this by using the file hierarchy view, it does the same thing.
Proposed solution
When selecting a note via link or file, it first attempts to open any pinned tab of that note before opening or navigating the current tab to that note.
Personally I always saw it as a “lock in place” functionality. You can use the pin to lock notes in place as custom UI.
For example, I have a pinned note in my sidebar, that always displays a query of my last 20 days of recent notes. It is pinned in reading mode, so I can click on the links. But if I ever want to edit it, I want it to open in the main tab area, and not change in the sidebar, and certainly not move my keyboard focus to the sidebar.
But perhaps “locked” would be a less ambiguous term.
When I follow a link to a note that’s open in a non-pinned tab, Obsidian takes me to the tab. So it surprises me when I follow a link to a note that’s open in a pinned tab and Obsidian doesn’t take me there. The behavior is inconsistent.
An exception for @rigmarole’s sidebar case would make sense to me. I don’t expect the same behavior of sidebar notes.
Looking at the plugin it’s not a question of revealing the file I’ve selected… it’s that I just want the focus moved to my pinned item if I select a link TO that item that’s pinned.
If NoteB has a [[NoteA]] link, and NoteA is pinned but not in focus I just wanted the focus moved to the pinned verison of NoteA instead of opening ANOTHER version of NoteA
After seeing the comment referenced in the previous reply about Obsidian using a “browser-style navigation system”, I tried the equivalent in several browsers. Here’s what I found.
Using the Favorites/Bookmarks sidebar - In Edge, Chrome, and Firefox, clicking a link to a URL already open in a pinned tab changes focus to that tab and does not open a new, duplicate tab.
Using the Favorites/Bookmarks open in a window or tab - Firefox focuses the pinned tab while Edge and Chrome open the link in a new, duplicate tab. I was surprised with the inconsistency here.
In all of the browsers, clicking a link on a web page usually opens the link in the current tab rather than switching to the pinned tab.
I would at least like the option of not opening a duplicate tab when a pinned note is clicked in the sidebar navigation. This would be consistent with the behavior of all 3 browsers, so in that regard Obsidian currently is not following “browser-style” for sidebar navigation clicks.
I would also love to see this feature implemented!
To me, the intuitive behavior would be that if you click a link of a note that is pinned, it switches to that pinned tab. If it’s not pinned, it opens a new tab. However, I feel like this could be a very simple toggle in the options so that users can have it both ways.