Closed adelikat closed 3 months ago
When I change the value in "Email to Use for Gravatar Image", the URI field and image preview both change, but upon saving they're all reset to my account email. edit: As discussed on Discord, it does save correctly, it only appears to not work upon the settings page reloading. Hopefully adelikat can improve the UX.
Image size warning works great BTW.
This PR fixes a few things on Profile/Settings: Show an "Image too big" message when image is too big (it was already making some things red and preventing save, but this helps make it more clear" Fix validation messages to be red Removed the preview button for avatars and have it automatically preview as you type/edit the avatar box
In addition, it adds a toggle for "Use Gravatar" that will automatically generate the gravatar url based on the user's email, with an option to use a different email for the gravatar compared to their tasvideos account email
When Gravatar is not used:![image](https://github.com/TASVideos/tasvideos/assets/1679846/91c87711-d159-47f5-8022-febd3e342e7b)
When activating gravatar:![image](https://github.com/TASVideos/tasvideos/assets/1679846/ebf09b66-5461-4cf4-89a0-264a40f6307d)
As you type in the Gravatar email box, it will automatically update the avatar box (which will automatically update the preview)
resolves #640