diagonalworks / diagonal-b6

b6: Diagonal's geospatial analysis engine.
Apache License 2.0
24 stars 3 forks source link

Add sharable multi-tabs workspaces #274

Closed biamalveiro closed 4 months ago

biamalveiro commented 4 months ago

Goal

The purpose of this PR is twofold:

This approach also makes #269 no longer relevant as it accounts for scenarios.

Description

Previously implicit, now we assume that the tabs on the right side only exist in the context of scenarios and are used specifically for scenarios. This means that specific concepts such as origin world and options to make a change exist only in and need to be applicable to right tabs.

As we move to multiple base/left world tabs, we now consider the root ("r") URL parameter to define the active left-side tab. This can be changed based on updates to the startup request. Since this is currently the root of the environment, it makes sense for it to be the active base world.

To support shareable links, we add two new URL parameters