benji300 / joplin-note-tabs

Allows to open several notes at once in tabs and pin them.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add option to select unpin behavior

benji300 opened this issue · comments

Add user option to specify the behavior when the selected note is unpinned from the tabs.
Selectable values:

  • KEEP_SELECTED - current behavior, selected note is unpinned and replaces temporary tab
  • SELECT_LAST_ACTIVE - selected note is completely removed from tabs and the last edited note is selected
  • SELECT_ADJACENT - same behavior for current selected note as SELECT_LAST_ACTIVE, but new selected note will be either the left or right adjacent note. Depending on which exists. Where the left one is preferred.

Waiting for this discussion.

commented

can we have a option to do like this, when I click a note not in the tabs, it can create a new tab and show it (like chrome)...

currently it always replaces the last unpinned one.

@pianoboysai: I'm not quite sure if I understood you correctly. Do you know the command Tabs: Pin note? This is used to pin a note directly to the tabs. It can be called from the context menu for any note (must not be the selected one). However, it does not automatically select (open) the note.
Is this what you mean? When selecting a note, pin it directly and not open it as a temporary tab?

commented

@pianoboysai: I'm not quite sure if I understood you correctly. Do you know the command Tabs: Pin note? This is used to pin a note directly to the tabs. It can be called from the context menu for any note (must not be the selected one). However, it does not automatically select (open) the note.
Is this what you mean? When selecting a note, pin it directly and not open it as a temporary tab?

Hi benji300, what I mean is, when I select a note in sidebar, directly open it in a new tab (just like chrome), do not replace content in current pined tab.

I've created a new ticket #35 for this.