Skip to content

Profile saves even when no changes are made #7683

@AzureNightlock

Description

@AzureNightlock

Did you clear cache before opening an issue?

  • I have cleared my cache

Is there an existing issue for this?

  • I have searched the existing open and closed issues

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

  1. Go to your account page (https://monkeytype.com/account).
  2. Click on the edit profile button.
  3. Scroll down until you reach the end of the popup.
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions