Steemit - Should be able to save settings in local storage

in #utopian-io7 years ago (edited)

Rayner feed.jpg

Issue


The Steemit front-end should be able to save the visual preferences into local storage for later use. When you toggle the night mode and you refresh the page, this preference is lost. You need to toggle it again if you want to enable the night mode.

Expected behavior


The Steemit front-end should save the day light or night light preference for later user. For instance, if you toggle the night mode and refresh the page, it should stay in night mode.

Steps to reproduce


  1. Open Steemit website
  2. Click into your profile picture (supposing you are logged in)
  3. Click on Toggle Night Mode (your page will turn into a dark theme)
  4. Refresh the page (White theme is back)

Visual reproduction of the bug


steemitbug.gif

Environment information


  • Browser: Google Chrome Version 63.0.3239.132 (Official Build) (64-bit)
  • OS: macOS High Sierra
  • Tested devices: Laptop Browser, Android Browser



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Your contribution cannot be approved yet, because it is in the Suggestion. The correct category for your post is Bug. See the Utopian Rules.

While doing it provide a gif to reproduce the bug and provide your device and OS information.
Please divide it into subheadings and make it look more professional.

Please edit your post to use the right category at this link, as shown below:

You can contact us on Discord.
[utopian-moderator]

Post has been updated to meet the standards of Utopian.

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]