]> source.dussan.org Git - gitea.git/commit
Improvements for action detail page (#24718)
authorHesterG <hestergong@gmail.com>
Mon, 22 May 2023 04:17:24 +0000 (12:17 +0800)
committerGitHub <noreply@github.com>
Mon, 22 May 2023 04:17:24 +0000 (12:17 +0800)
commitda461b5a085c0fbf705df9a751159d13bee7139a
tree87d3ca4d682fda67e4502f83796e8f34b348d105
parentcdb088cec288a20e14240f86a689dd14f4cd603b
Improvements for action detail page (#24718)

Close #24625

Main changes:

1. For the left panel, show rerun icon only on hover, and add style when
the job is selected, and removed icon on the "rerun all" button and
modify the text on the button

https://github.com/go-gitea/gitea/assets/17645053/cc437a17-d2e9-4f1b-a8cf-f56e53962767

2. Adjust fonts, and add on hover effects to the log lines. And add
loading effect when the job is done and the job step log is expanded for
the first time. (With reference to github)

https://github.com/go-gitea/gitea/assets/17645053/2808d77d-f402-4fb0-8819-7aa0a018cf0c

3. Add `gt-ellipsis` to `step-summary-msg` and `job-brief-name`

<img width="898" alt="ellipsis"
src="https://github.com/go-gitea/gitea/assets/17645053/e2fb7049-3125-4252-970d-15b0751febc7">

4. Fixed
https://github.com/go-gitea/gitea/issues/24625#issuecomment-1541380010
by adding explicit conditions to `ActionRunStatus.vue` and `status.tmpl`

5. Adjust some css styles

---------

Co-authored-by: silverwind <me@silverwind.io>
options/locale/locale_en-US.ini
templates/repo/actions/status.tmpl
templates/repo/actions/view.tmpl
web_src/css/base.css
web_src/js/components/ActionRunStatus.vue
web_src/js/components/RepoActionView.vue