Skip to content

Delete button for branches in confusing #17535

@gdstewart

Description

@gdstewart

Presently, the "Delete" button for branches is a trash bin icon:
image
This is unambiguous and provides satisfactory warning that what you're going to do is pretty severe.

However, on the page to confirm the deletion, the "No" button is ALSO a trash bin icon:
image

To me, this is confusing. I simply do not want to click on the "No" button even though I know it is innocuous because it uses the same icon. With the trash bin icon being used for "No" the logic seems to be that you are going to "trash" or delete your request to delete the branch.

I think an X icon might be preferred in this case, while the "Yes" button could be the trash bin icon. In any case this gave me pause and I wanted to see if anyone else had similar thoughts on this.

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions