[Tree search] Add possibility to share a node URL (without the username), that will redirect to the right instance and node
Here are the details of the typical user scenario. Please let us know if this seems feasible, thank you:
-
the user can click on a new "share" button in the node settings dialog, here a proposal (mock-up):
The icon name:
fa-share-alt-square
-
then, when clicked, the same "settings" dialog displays this URL to be shared: this generates a URL containing a string built on this model
url_instance/node_id
. -
when this URL is copied/pasted into the browser, it redirects directly to the node of the correct instance:
- case 1: the user is already connected to the instance, so they are redirected correctly
- case 2: the user is not logged in and will therefore be redirected to the instance login page (as is already the case).
On the backend and storage side, there are two suggestions:
- either this "share" URL is stored in a dedicated table
- or we don't store anything, we only display the shared URL on the fly
Let us know if you have any questions :)