This post is from a low-reputation account and contains an unverified outbound link. Be cautious before clicking external links.

Steemit - Should be able to save settings in local storage

Words
160
Reading
1 min
Listen
Play
9y

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

Steemit - Should be able to save settings in local storage | Ecency