Add actor and status dropdowns to run list (#25118)

Part of #25042

1. Added actor and status dropdowns first in case something is offtrack
and PR is too large.

2. Also added "No results matched." and "The workflow has no runs yet.",
and "No results matched." will show if there is no filter results and
there is no workflows (with [reference to github
action](https://github.com/go-gitea/gitea/actions/workflows/files-changed.yml?query=actor%3AGiteaBot))

Demo:


6e76292c-4c1f-450d-8b48-99944cfc920c


TODOs:

- [x] Get available status (same as those in `aggregateJobStatus`)
instead of getting from database
- [x] Use `JOIN` to get actors, actors order by name
- [x] Make self on top
This commit is contained in:
HesterG 2023-06-21 12:25:14 +08:00 committed by GitHub
parent e79ff50560
commit 1454f9dafc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 127 additions and 19 deletions

View file

@ -1877,15 +1877,12 @@
flex: 1
}
.repository.packages .empty {
.repository.packages .empty,
.repository.actions .empty {
padding-top: 70px;
padding-bottom: 100px;
}
.repository.packages .empty .svg {
height: 48px;
}
.repository.packages .file-size {
white-space: nowrap;
}