Can not completely display issue/pr status in branch list if it is a fork repo #11314

Open
opened 2025-11-02 09:34:09 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @yp05327 on GitHub (Jul 24, 2023).

Description

Can not display issue status in the branch list if the repo is a fork repo:
image
The reason is that owner name and repo name will be displayed, then there's no enough space to display the status svg.

If repo is not a fork repo. it looks good:
image

You can confirm this issue in: (branch name: testbranchstatus)
https://try.gitea.io/yp05328/testrepo/branches

GitHub will not show the issue status in fork repo's branch list, and will always show new pull request icon:
image
You can confirm the branches list here:
https://github.com/yp05327test/test2/branches
I have already created a PR here:
https://github.com/yp05327/test2/pull/4

Gitea Version

latest

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

build

Database

None

Originally created by @yp05327 on GitHub (Jul 24, 2023). ### Description Can not display issue status in the branch list if the repo is a fork repo: ![image](https://github.com/go-gitea/gitea/assets/18380374/d8cd10df-8534-4014-b5bf-36ea8a4e27c0) The reason is that owner name and repo name will be displayed, then there's no enough space to display the status svg. If repo is not a fork repo. it looks good: ![image](https://github.com/go-gitea/gitea/assets/18380374/b13fa23e-473c-4fb3-994b-fc76bb09d731) You can confirm this issue in: (branch name: testbranchstatus) https://try.gitea.io/yp05328/testrepo/branches GitHub will not show the issue status in fork repo's branch list, and will always show `new pull request` icon: ![image](https://github.com/go-gitea/gitea/assets/18380374/c078f03a-97aa-4f4a-be5b-ad53f8a51d10) You can confirm the branches list here: https://github.com/yp05327test/test2/branches I have already created a PR here: https://github.com/yp05327/test2/pull/4 ### Gitea Version latest ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? build ### Database None
GiteaMirror added the topic/uitype/bug labels 2025-11-02 09:34:09 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11314