-
+
diff --git a/appview/pages/templates/repo/pulls/fragments/pullActions.html b/appview/pages/templates/repo/pulls/fragments/pullActions.html
index 8869b453..c4e4077c 100644
--- a/appview/pages/templates/repo/pulls/fragments/pullActions.html
+++ b/appview/pages/templates/repo/pulls/fragments/pullActions.html
@@ -17,9 +17,10 @@
hx-get="/{{ .RepoInfo.FullName }}/pulls/{{ .Pull.PullId }}/round/{{ $roundNumber }}/comment"
hx-target="#actions-{{$roundNumber}}"
hx-swap="outerHtml"
- class="btn p-2 flex items-center gap-2 no-underline hover:no-underline">
+ class="btn p-2 flex items-center gap-2 no-underline hover:no-underline group">
{{ i "message-square-plus" "w-4 h-4" }}
comment
+ {{ i "loader-circle" "w-4 h-4 animate-spin hidden group-[.htmx-request]:inline" }}
{{ if and $isPushAllowed $isOpen $isLastRound }}
{{ $disabled := "" }}
@@ -30,9 +31,10 @@
hx-post="/{{ .RepoInfo.FullName }}/pulls/{{ .Pull.PullId }}/merge"
hx-swap="none"
hx-confirm="Are you sure you want to merge pull #{{ .Pull.PullId }} into the `{{ .Pull.TargetBranch }}` branch?"
- class="btn p-2 flex items-center gap-2" {{ $disabled }}>
+ class="btn p-2 flex items-center gap-2 group" {{ $disabled }}>
{{ i "git-merge" "w-4 h-4" }}
-
merge
+
merge
+ {{ i "loader-circle" "w-4 h-4 animate-spin hidden group-[.htmx-request]:inline" }}
{{ end }}
@@ -51,7 +53,7 @@
{{ end }}
hx-disabled-elt="#resubmitBtn"
- class="btn p-2 flex items-center gap-2 disabled:opacity-50 disabled:cursor-not-allowed" {{ $disabled }}
+ class="btn p-2 flex items-center gap-2 disabled:opacity-50 disabled:cursor-not-allowed group" {{ $disabled }}
{{ if $disabled }}
title="Update this branch to resubmit this pull request"
@@ -59,8 +61,9 @@
title="Resubmit this pull request"
{{ end }}
>
- {{ i "rotate-ccw" "w-4 h-4" }}
+ {{ i "rotate-ccw" "w-4 h-4" }}
resubmit
+ {{ i "loader-circle" "w-4 h-4 animate-spin hidden group-[.htmx-request]:inline" }}
{{ end }}
@@ -68,9 +71,10 @@
{{ end }}
@@ -78,9 +82,10 @@
{{ end }}
diff --git a/appview/pages/templates/repo/pulls/pull.html b/appview/pages/templates/repo/pulls/pull.html
index 69cb4594..e0115edb 100644
--- a/appview/pages/templates/repo/pulls/pull.html
+++ b/appview/pages/templates/repo/pulls/pull.html
@@ -51,16 +51,20 @@