Selecting a document in the browse view always opens a new tab with that document, even if the document was already opened before.
We should go back to an existing tab with the previously opened document if it's already there to avoid multiple open tabs on the same document.
Steps to Reproduce
Go to the browse view
Create a new document foo - this opens a tab with the foo document
Go back to the browse view, ensuring that the foo document is still open
Open the foo document
After step 4 you'll have 2 tabs with the foo document. It would be better to have jumped back to the already open tab for it.
Selecting a document in the browse view always opens a new tab with that document, even if the document was already opened before. We should go back to an existing tab with the previously opened document if it's already there to avoid multiple open tabs on the same document.
Steps to Reproduce
foo
- this opens a tab with the foo documentfoo
document is still openfoo
documentAfter step 4 you'll have 2 tabs with the
foo
document. It would be better to have jumped back to the already open tab for it.