SimplQ / simplQ-frontend

Modern and fully web based free queue management open source software.
https://simplq.me
GNU General Public License v3.0
175 stars 135 forks source link

Save Joining Info for later use. #675

Closed daltonfury42 closed 2 years ago

daltonfury42 commented 2 years ago

It's common for our users to come to the site daily or weekly for getting tokens. It will be helpful for the users to not have to enter their name and mobile number.

image (https://www.simplq.me/j/adsdsa)

Above the Join Queue button, have a checkbox "Save for later use" that is ticked by default.

  1. If enabled, save the name and contact number to local storage on clicking the Join Queue button.
  2. If disabled, clear localstorage if it has data on clicking the Join Queue button.
  3. If the information is already stored in local storage, prefill the name and contact number on rendering the component for first time.

This is a very easy task, the changes would be fully contained in this file.

anuragb26 commented 2 years ago

I would like to work on this.Can you please assign this to me.

nguyenhung15913 commented 2 years ago

Hi, I am interested in this issue. Could you please assign it to me? Thanks.

daltonfury42 commented 2 years ago

Sure, go ahead. First ready best PR would be accepted. 😆

daltonfury42 commented 2 years ago

To not have anyone to do duplicate efforts, I will be accepting @anuragb26 's PR