simularium / simularium-planning

Apache License 2.0
0 stars 0 forks source link

Generate small URLs to capture more settings #150

Open blairlyons opened 1 year ago

blairlyons commented 1 year ago

Use Case

As a user, I want to share a link to my trajectory and specify multiple viewport settings so that anyone who clicks the link can see a specific camera view at a specific time with a specific agent selected.

Acceptance Criteria

A user can use UI controls to generate a short simularium viewer link that stores current time, camera settings, and a selected agent ID.

Details

Technically: this will require generating a unique ID when a user creates a link, implementing a database mapping the unique IDs to the user's requested settings, and looking up the settings for a given key when the link is loaded in the viewer.