Part 3/4(?) for #107! Implements sharing + loading for the channel and viewer states via URL. Users can now click the Share button to get a long link containing most of encoded viewer state.
The viewer state is still missing serialization + deserialization of the control points for channels, which will come in hopefully one last final PR.
Estimated review size: Small, 15 minutes. Please turn off whitespace
Changes
Restructures AppWrapper to allow the share modal to gain access to the viewer state context.
The share modal now includes the viewer state serialized to parameters.
Viewer state can now be loaded in via the URL on startup.
Should we only save channel or viewer states that deviate from the default? That would shorten the URL by a lot. (Though it raises the question of whether we'll be changing the defaults in the future!)
Part 3/4(?) for #107! Implements sharing + loading for the channel and viewer states via URL. Users can now click the Share button to get a long link containing most of encoded viewer state.
The viewer state is still missing serialization + deserialization of the control points for channels, which will come in hopefully one last final PR.
Estimated review size: Small, 15 minutes. Please turn off whitespace
Changes
AppWrapper
to allow the share modal to gain access to the viewer state context.components/Modals
folder.Validation
Discussion questions: