Suyious / purrr.frontend

Frontend for Purrr - Chat Application that connects randomly among online users
https://purrr.chat
1 stars 2 forks source link

Save Username for Current Browser Session only #35

Closed HarshNarayanJha closed 2 hours ago

HarshNarayanJha commented 2 hours ago

Currently, the username is being saved to the localStorage, which persists sessions (i.e. reopening the browser). The idea was to save that only for this session, and don't load the username in the next session, and start from scratch.

          I forgot to mention earlier that the idea was to limit username persistence to the current browser session only. Once we quit and reopen the browser, the onboarding data should reset.

Originally posted by @costomato in https://github.com/Suyious/purrr.frontend/issues/4#issuecomment-2365209701

HarshNarayanJha commented 2 hours ago

Assign me

Suyious commented 2 hours ago

I think localStorage is good right now. I'm not looking for this change currently.

HarshNarayanJha commented 2 hours ago

Really? That's fine then!