create another node and pin it (keep it also focused)
if you “Open today’s daily note” it will create another tab with your daily note instead of switching to the already open
i also think this is linked and should behave differently
like before create a daily note and keep it open
create another node (keep it focused)
if you “Open today’s daily note” it will “overwrite”/change the current tab with the note with your daily note instead of switching to the already open tab. this feels wrong but maybe we need another option to say that we want to switch to already open tabs instead of changing the current tab to that file?
This applies much more widely to the logic of the tab pinning feature.
Currently observed behavior when opening a new file that is already shown in a tab:
When the newly opened file is already open in a pinned tab: The file is reopened in another unpinned tab. (Bad)
When the currently active tab is not pinned: An unpinned tab already showing that file is activated. (Good)
When the currently active tab is pinned: The newly opened file is opened into a new tab, even if already present in another. (Bad)
It doesn’t make sense that what happens to a newly opened document depends on the pinning status of the currently active tab, as the opening can occur outside of the context of the active tab, and the user is not necessarily even aware of its status.
It also doesn’t make sense that an unpinned existing tab is activated, but a pinned existing tab isn’t, as the user most likely has pinned that file especially to always keep it visible specifically in that particular tab, and this can be easily overridden using the ctrl/command keys.
Suggested behavior: When opening an exiting file via any command or UI, the default should be to first activate any existing tab already showing the file, regardless of its pinning status. If an existing tab for the file is not already present, decide on replacing the active tab or creating a new one based on the pinning status of the active tab. This is the behavior that I think almost all users would expect from the pinning feature.