Skip to content

[Enhancement] Add Unsaved Changes Warning for Profile Edit Forms #287

Description

@aditimandal6292-web

Description

Currently, if a user edits their profile information and accidentally refreshes the page, closes the tab, or navigates to another page without saving, all unsaved changes are lost without any warning.

Proposed Solution

Implement an unsaved changes detection mechanism for profile edit forms.

When a user modifies any field and attempts to:

  • Refresh the page
  • Close the browser tab/window
  • Navigate to another page within the application

display a confirmation prompt warning that there are unsaved changes.

Expected Behavior

  • Detect whether any form field has been modified.
  • Show a warning only when there are unsaved changes.
  • Remove the warning after the changes are saved successfully.
  • Ensure normal navigation when no changes are pending.

Benefits

  • Prevents accidental data loss.
  • Improves user experience and trust.
  • Makes profile editing more reliable and user-friendly.

I would like to work on this enhancement under GSSoC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions