mirror of
https://github.com/go-gitea/gitea.git
synced 2026-04-30 20:44:53 +02:00
Add workflow dependencies visualization Related to #26062 This PR adds an interactive visualization component that displays job dependencies in Gitea Actions workflow runs. It helps users understand complex pipeline structures at a glance, addressing the difficulty of comprehending dependency chains in current Gitea UI. --------- Signed-off-by: Semenets V. Pavel <p.semenets@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
15 lines
548 B
Handlebars
15 lines
548 B
Handlebars
{{template "base/head" .}}
|
|
<div class="page-content">
|
|
<div class="tw-flex tw-justify-center tw-items-center tw-gap-5">
|
|
<a href="/devtest/repo-action-view/runs/10/jobs/0">Run:CanCancel</a>
|
|
<a href="/devtest/repo-action-view/runs/20/jobs/1">Run:CanApprove</a>
|
|
<a href="/devtest/repo-action-view/runs/30/jobs/2">Run:CanRerun</a>
|
|
</div>
|
|
{{template "repo/actions/view_component" (dict
|
|
"RunIndex" (or .RunIndex 10)
|
|
"JobIndex" (or .JobIndex 0)
|
|
"ActionsURL" (print AppSubUrl "/devtest/actions-mock")
|
|
)}}
|
|
</div>
|
|
{{template "base/footer" .}}
|