Allow opening Projects and Collections in new Tab
In the left tree view and in the project view, when right-clicking to get a context menu for a project or collection, the menu should include "open in new tab" and "copy link to clipboard" options.
Use a storage event to communicate the session to the new tab https://blog.guya.net/2015/06/12/sharing-sessionstorage-between-tabs-for-secure-multi-tab-authentication/
When opening a new tab, it should pass the current API token to the new tab (this is important when using session storage for the token to avoid having to log in again). When copying link to clipboard, it should include an API token.
The Workbench2 UI overrides the browser context menus when right clicking a project or collection in the tree or table view. This makes it complicated to open a project or collection in a new tab or window.
Maybe we can add the same mechanism as in the collections file listing to open files with customisable actions also to the projects/collections context menu. This could allow e.g. to open them in new tabs/windows or maybe copy urls to the clipboard.
#13 Updated by Daniel Kutyła 4 days ago
New version first commit: https://dev.arvados.org/projects/arvados-workbench-2/repository/revisions/3e39b2f9179e12766ca1728111b34b2e50cb6ba2
Test run: https://ci.arvados.org/job/developer-tests-workbench2/141/
First working impl