Closed HarshNarayanJha closed 1 month ago
Name | Link |
---|---|
Latest commit | ca19bc4e5d5a65bea5d0479d3ccc27f4c669fbd0 |
Latest deploy log | https://app.netlify.com/sites/purrrchat/deploys/66eec6fb1176bd0008fe6b46 |
Deploy Preview | https://deploy-preview-18--purrrchat.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Merging #18.
The PR provides the foundation for persisting username (and potentially more info in future) across their sessions on purrr chat, allowing them to not being asked for username again and again, improving UX.
This can be improved upon by allowing them to change it without deleting site data (which removes the keys).
Saving to localStorage is done in
src/hooks/useChatSocket.tsx
setUserName
method, and Greeting Component tries to restore username and calls onSubmit if success.Closes #10