adobe / leonardo

Generate colors based on a desired contrast ratio
http://www.leonardocolor.io
Apache License 2.0
1.97k stars 108 forks source link

Data loss with page refresh #162

Open melaniejaane opened 2 years ago

melaniejaane commented 2 years ago

Description

In the previous version, each theme or colour scale seemed to have an automatic custom url so if you accidentally closed a window, you could simply check your history and reopen it. Now with the generic working url, there is no option to reload your work. I tried using the naming feature but this also had no impact.

In Adaptive Color Theme there is an option to "share theme url" but this link only works for the initial page load and then resets itself to "https://leonardocolor.io/theme.html#" repeating the same data loss issue.

Steps to reproduce

  1. Go to http://leonardocolor.io/
  2. Click on ... Adaptive Color Theme OR Color Scales > add colour > refresh page
  3. Observe ... page reset to basic and previous data is lost

Expected behavior

Expect page data to automatically save like it did before and have custom urls. Either creating a custom url containing the pages data or custom url with theme / color name.

Screenshots

Environment

Additional context

There is an option to share url for theme only works if you intentionally click it - not great for accidentally closing / refreshing a window which is very common.

jesselcampbell commented 1 year ago

+1…I've lost work more than once to this issue.

niitamer commented 1 year ago

Wish this is resolved soon. The only way I avoid losing my work is to copy and paste an updated URL in a place I can always get back to.