Skip to content

Persist environment control values when navigating between scenes #32

@jacobsimionato

Description

@jacobsimionato

There are likely to be many environment controls that are common between scenes, either because they are the built-in ones, or they are used by an entire app etc. Sometimes, it's likely helpful to persist those values when changing scenes, e.g. so that if you want to check all the scenes for a specific device size, you can do so easily. Of course, it'd be great if there was a reset button also.

Extension: Make the environment control settings deep linkable, so you can share a link to a specific scene displayed with specific parameters etc.

I dunno how easy this is. As weird as it seems, I'm tempted to say that the EnvironmentControl API should just allow people to serialize / deserialize the settings values to a string, so you can implement the URL thing easily, as well as persistence between scenes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions