Skip to content

Button order is backwards (mostly) #20202

Closed
@ygoe

Description

@ygoe

Description

In almost every dialog, the order of the action buttons is backwards. I always struggle finding the correct button to click on. Usually, from what I've seen, the primary action always comes first. In a left-to-right reading direction, that would be the left-most button. The reason is that we're reading in that direction and don't want to read the titles of all the buttons before finding the one we want in most cases. That's a waste of time. So the most relevant or likely button comes first, then the others in somewhat decreasing order of importance.

Examples:
OK - Cancel
Yes - No
Save - Delete - Cancel
Comment - Close

Also, sometimes the cancel button has a colour, sometimes it's white. This also adds to the confusion. I can't find the pattern behind the colours. Until now I've seen green, blue, red and white. Green seems to be the default/primary colour, white the cancel option and the others are random and confusing.

Also, there's a Close button below commenting issues, but none below commenting a pull/merge request. Is there a scheme in Gitea?

Screenshots

grafik

grafik

grafik

I haven't found a place where the button order is normal, but I'm sure I stumbled upon one today.

Gitea Version

1.16.8

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

Windows

Browser Version

Firefox 101 (current stable)

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/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