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

Feature request: Add CI/CD indicator on main home screen for each repo #15620

Closed
Halfwalker opened this issue Apr 25, 2021 · 3 comments · Fixed by #24638
Closed

Feature request: Add CI/CD indicator on main home screen for each repo #15620

Halfwalker opened this issue Apr 25, 2021 · 3 comments · Fixed by #24638
Labels
proposal/accepted We have reviewed the proposal and agree that it should be implemented like that/at all. topic/ui Change the appearance of the Gitea UI type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@Halfwalker
Copy link

Right now when viewing a repo, The main line shows the Author, commit hash and commit msg. If CI/CD is configured (Drone in this case) then a green checkmark (hopefully) is also shown.
image

This is great - shows at a glance that the CI/CD pipeline(s) passed and all is well.

It would be really nice to ALSO see that green checkmark (or whatever status) on the main home screen next to each repo as well. Would give an overall-status-at-a-glance
image

If it was live, as it is in the repo view, even better. You glance at the home screen, see a problem, click, click and you're right in the CI/CD to see where the problem is.

Perhaps put it just to the left of the repo name, left of the small icon already there.

@a1012112796 a1012112796 added type/proposal The new feature has not been accepted yet but needs to be discussed first. topic/ui Change the appearance of the Gitea UI labels Apr 26, 2021
@Halfwalker
Copy link
Author

Is there any chance of this happening ? I just bumped into a situation where it would have been great ... Found a repo that had been failing CI/CD just by chance when I clicked into it. Had the Green Check or Red X been on the home screen it would have been obvious.

Wish I knew Go :(

@silverwind
Copy link
Member

Open for implementation I'd say. We recently removed the star icon so there is certainly space there.

@silverwind silverwind added the proposal/accepted We have reviewed the proposal and agree that it should be implemented like that/at all. label May 1, 2023
@yardenshoham
Copy link
Member

How would one be able to get the latest commit status of the default branch of a repo? The search endpoint doesn't make it accessible

func SearchRepo(ctx *context.Context) {

silverwind pushed a commit that referenced this issue May 13, 2023
It will show the calculated commit status state of the latest commit on
the default branch for each repository in the dashboard repo list

- Closes #15620

# Before

![image](https://github.com/go-gitea/gitea/assets/20454870/aa1326c7-43c0-458a-a798-3102c766bcf9)

# After

![image](https://github.com/go-gitea/gitea/assets/20454870/8658cc03-2224-442a-b1c8-bf64126e4575)

---------

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Giteabot <teabot@gitea.io>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
proposal/accepted We have reviewed the proposal and agree that it should be implemented like that/at all. topic/ui Change the appearance of the Gitea UI type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants