Find-Me-Issues icon indicating copy to clipboard operation
Find-Me-Issues copied to clipboard

The dark mode setting does not persist after a page refresh.

Open ParvathySree opened this issue 1 year ago • 6 comments

The dark mode setting does not persist after a page refresh. When the page is refreshed, the dark mode reverts to the default (light mode) instead of retaining the user's preference.

Steps to reproduce the behavior : 1.Enable dark mode in the application using the moon icon button at top right 2.Refresh the page. 3.Observe that the dark mode setting is lost and the application returns to light mode.

Expected Behaviour : The dark mode setting should persist even after a page refresh, so that the user’s preference is maintained.

Screenshots: Before refresh : Screenshot from 2024-07-31 16-50-28

After refresh: Screenshot from 2024-07-31 16-52-22

ParvathySree avatar Jul 31 '24 11:07 ParvathySree

may i fix this issue?

DolcePelo avatar Aug 01 '24 00:08 DolcePelo

i've already sent a PR for this issue

DolcePelo avatar Aug 01 '24 23:08 DolcePelo

Hi @version0chiro ,can you assign me the issue.I fixed it using the useEffect hook and storing the current theme in the local storage

Suswetha6 avatar Aug 05 '24 07:08 Suswetha6

Hi @version0chiro , if this issue is still open can you please assign it to me edit - I have added the PR #134

Saurabh-Rana17 avatar Aug 19 '24 11:08 Saurabh-Rana17

Hello @version0chiro , the PR raised by @Suswetha6 has already fixed the dark-mode issue, yet the issue is still open & unassigned. Can you assign me this issue as a contributor in GSOC-Extd 2024 to contribute while dedicatedly adhering to your code of conduct and making changes w.r.t your web app requirements and integrity.

Nkovaturient avatar Sep 29 '24 14:09 Nkovaturient

https://github.com/version0chiro/Find-Me-Issues/pull/132 Please check this PR

Sathyan-B avatar Oct 07 '24 14:10 Sathyan-B

can i work on this ?

ashhley04 avatar Sep 04 '25 08:09 ashhley04