Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"PR closed" event uses "check-circle" icon rather than "git-pull-request-closed" icon for closed and unmerged PRs #27495

Closed
Andre601 opened this issue Oct 7, 2023 · 2 comments · Fixed by #27498
Labels
topic/ui Change the appearance of the Gitea UI type/bug

Comments

@Andre601
Copy link

Andre601 commented Oct 7, 2023

Description

When you close a PR without merging it, does the overview of the web-ui (The one displaying most recent activities related to you and your repositories) use the check-circle icon.

This is a rather bad choice as the icon in question implies this to be good (As in merged). Instead should the git-pull-request-closed icon be used, as it is by far the best fit.

Also, merging a PR does use the right icon (git-merge).

Screenshots

Dashboard from try.gitea.io. From bottom to top there is:

  • PR 1 being opened
  • PR 1 being closed without merge
  • PR 2 being opened
  • PR 2 being closed with merge
  • Resulting commit of the merge

grafik

Gitea Version

1.22.0+dev-125-ge3229c8e9

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

Windows

Browser Version

Firefox 118.0.1 (64-Bit)

@Andre601 Andre601 added type/bug topic/ui Change the appearance of the Gitea UI labels Oct 7, 2023
@Andre601
Copy link
Author

Andre601 commented Oct 7, 2023

I also just now noticed this, but it seems like that the PR title on a merge message uses a slightly darker colour than the other notifs in the dashboard (See how "Add lorem.md (merge)" is darker for the "merged pull request" message than for "created pull request")

@silverwind
Copy link
Member

silverwind commented Oct 7, 2023

Closed PR should be octicon-git-pull-request-closed

I also just now noticed this, but it seems like that the PR title on a merge message uses a slightly darker colour than the other notifs in the dashboard (See how "Add lorem.md (merge)" is darker for the "merged pull request" message than for "created pull request")

Likely was missed in #27356

silverwind added a commit to silverwind/gitea that referenced this issue Oct 7, 2023
silverwind added a commit that referenced this issue Oct 7, 2023
GiteaBot pushed a commit to GiteaBot/gitea that referenced this issue Oct 21, 2023
silverwind added a commit that referenced this issue Oct 21, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants