"Open daily note on startup" should not take over an active pane if a note is already open

Use case or problem

Just encountered this:

  1. Open vault and open a few notes into the workspace.
  2. Turn on Open daily note on startup
  3. Close the vault without closing the notes
  4. Open the vault again
  5. All notes are re-opened exactly as they were left, EXCEPT the first pane now has the daily note in it instead of what was actually there
  6. Have to click “back” to go back to the previously open note in that pane

Proposed solution

Change the behavior to detect if notes are already opened, and if so open the daily note in a new pane instead of taking over an existing note’s pane.

Current workaround (optional)

Hit the back button. The takeover is a surprising and unexpected feature.