From 16beabbe2b0f642fa4c3193baa7676d8449e779f Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Mon, 20 Jul 2026 15:46:18 +0000 Subject: [PATCH] appview/pages: move merge check info into round card was a minor regression from manual-runs Signed-off-by: oppiliappan --- appview/pages/templates/repo/pulls/pull.html | 10 ++++++++++ appview/pages/templates/repo/pulls/fragments/pullActions.html | 17 +++++++++++------ 2 file(s) changed, 21 insertion(s)(+), 6 deletion(s)(-) diff --git a/appview/pages/templates/repo/pulls/pull.html b/appview/pages/templates/repo/pulls/pull.html --- a/appview/pages/templates/repo/pulls/pull.html +++ b/appview/pages/templates/repo/pulls/pull.html @@ -348,6 +348,16 @@ {{ template "submissionInfo" $ }} {{ template "submissionCommits" $ }} {{ template "submissionPipeline" $ }} + {{ if eq $lastIdx $round }} +
+ {{ if $root.Pull.State.IsOpen }} +
+ {{ i "loader-circle" "w-4 h-4 animate-spin" }} + Checking mergeability… +
+ {{ end }} +
+ {{ end }} {{ end }} diff --git a/appview/pages/templates/repo/pulls/fragments/pullActions.html b/appview/pages/templates/repo/pulls/fragments/pullActions.html --- a/appview/pages/templates/repo/pulls/fragments/pullActions.html +++ b/appview/pages/templates/repo/pulls/fragments/pullActions.html @@ -35,10 +35,6 @@ {{ end }} > {{ if and (not $loading) $isLastRound }} - {{ if and $isOpen $isForkBased (not .HasPipeline) (ne .RepoInfo.Spindle "") }} - {{ template "workflowWarning" . }} - {{ end }} - {{ template "mergeCheck" . }} {{ template "resubmitStatus" . }} {{ end }}
+ + {{ if and (not $loading) $isLastRound }} +
+ {{ if and $isOpen $isForkBased (not .HasPipeline) (ne .RepoInfo.Spindle "") }} + {{ template "workflowWarning" . }} + {{ end }} + {{ template "mergeCheck" . }} +
+ {{ end }} {{ end }} {{ define "workflowWarning" }} @@ -149,7 +154,7 @@
{{ i "triangle-alert" "w-4 h-4 text-amber-600 dark:text-amber-500" }} - Workflow files changed in this round + Workflow files changed
Expand @@ -197,7 +202,7 @@ {{ if .WorkflowsChanged }}
{{ i "triangle-alert" "size-4" }} - Workflow files changed in this round + Workflow files changed
    {{ range .ChangedWorkflowFiles }} -- tangled.sh