Night Mode only work for one page and one session in D.Tube

in #utopian-io7 years ago (edited)

Expected behavior

Login to d.tube and set night mode on, should it be open in another tab or browser, night mode is still active.

Actual behavior

Night mode is one of the most used feature, especially for web video platform. but unfortunately in d.tube, "night mode" disappears when reload page or opening in other browser.
Night mode is more suitable if stored in session or local storage browser, so when refresh or login elsewhere, night mode is still active.

How to reproduce

  • Browser: Google Chrome, Safari
  • Operating system: Mac OS high sierra

Screen

ezgif-1-324881ab25

Links

Github : https://github.com/dtube/production/issues/21



Posted on Utopian.io - Rewarding Open Source Contributors