Skip to content

When trying to update both the profile information and avatar at the same time, confirmation does not always appear #25956

Open
@audibleptr

Description

@audibleptr

Description

  1. Go to https://try.gitea.io/user/settings.
  2. Make some changes to both user details (e.g. name) and the avatar.
  3. Press "Update Profile/Avatar".
  4. A confirmation that some information will be lost appears as expected. Press Cancel.
  5. Press the other "Update ..." button (e.g. if you pressed "Update Profile" in step 3, press "Update Avatar").

Actual result: no confirmation appears. The last button's associated information is saved (e.g. the avatar), but the other information (e.g. the profile name) is not saved and the pending changes are lost.

Expected result: confirmation appears; pending changes are not lost without confirmation.

Screenshots

N/A

Gitea Version

1.21.0+dev-305-g8bb0a03ea (current at try.gitea.io)

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

ALT Linux

Browser Version

Chromium 114.0.5735.90

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtopic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions