Skip to content

Use localStorage to save the state of the 'seperate weight' switch and date range #56

@fabiancdng

Description

@fabiancdng

Currently the 'seperate weight' switch for the compare chart flips back to 'off' as soon as you reload the page or update the charts.

My idea is to save the last state of this switch in the user's localStorage. So if the user enables the option, it doesn't get disabled on page reload or chart re-draw.

It would be nice to store the date range as well.

Screenshot 2021-09-18 at 09 58 51

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfinished and alphaThis issue is resolved but will undergo further testing or is waiting to be closed by prnew featureThe will become a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions