Did you clear cache before opening an issue?
Is there an existing issue for this?
Does the issue happen when logged in?
Yes
Does the issue happen when logged out?
No
Does the issue happen in incognito mode when logged in?
Yes
Does the issue happen in incognito mode when logged out?
No
Account name
azurenightlock
Account config
No response
Current Behavior
When the user clicks the Edit Profile button and clicks Save without making any changes, the profile is still submitted and saved again. This triggers an unnecessary update request even though the profile data has not changed.
Expected Behavior
If the user has not changed any profile fields, clicking Save should not submit the profile again. Instead, the app should prevent the unnecessary save and inform the user that there are no changes to save.
Steps To Reproduce
- Go to your account page (https://monkeytype.com/account).
- Click on the edit profile button.
- Scroll down until you reach the end of the popup.
- Click on the save button without making any changes.
Environment
- OS: Windows 11
- Browser: Chrome
- Browser Version: 146.0.7680.153 (Official Build) (64-bit)
Anything else?
I would like to work on this.
Did you clear cache before opening an issue?
Is there an existing issue for this?
Does the issue happen when logged in?
Yes
Does the issue happen when logged out?
No
Does the issue happen in incognito mode when logged in?
Yes
Does the issue happen in incognito mode when logged out?
No
Account name
azurenightlock
Account config
No response
Current Behavior
When the user clicks the Edit Profile button and clicks Save without making any changes, the profile is still submitted and saved again. This triggers an unnecessary update request even though the profile data has not changed.
Expected Behavior
If the user has not changed any profile fields, clicking Save should not submit the profile again. Instead, the app should prevent the unnecessary save and inform the user that there are no changes to save.
Steps To Reproduce
Environment
Anything else?
I would like to work on this.