From c2b9cceaa220cb0987fc94f855163ccf95d8a692 Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Tue, 16 Dec 2025 03:52:38 +0000 Subject: [PATCH] appview/pages: rework pull comment component to mimic issues the component is almost identical to the new-comment component on issues now. --- .../repo/pulls/fragments/pullNewComment.html | 63 ++++++++++++------- 1 file changed, 39 insertions(+), 24 deletions(-) diff --git a/appview/pages/templates/repo/pulls/fragments/pullNewComment.html b/appview/pages/templates/repo/pulls/fragments/pullNewComment.html index 36478bff..8347f752 100644 --- a/appview/pages/templates/repo/pulls/fragments/pullNewComment.html +++ b/appview/pages/templates/repo/pulls/fragments/pullNewComment.html @@ -1,40 +1,55 @@ {{ define "repo/pulls/fragments/pullNewComment" }}
-
- {{ resolve .LoggedInUser.Did }} -
+ class="w-full flex flex-col gap-2"> + {{ template "user/fragments/picHandleLink" .LoggedInUser.Did }}
- - + {{ template "replyActions" . }}
{{ end }} + +{{ define "replyActions" }} +
+ {{ template "cancel" . }} + {{ template "reply" . }} +
+{{ end }} + +{{ define "cancel" }} + +{{ end }} + +{{ define "reply" }} + +{{ end }} + -- 2.51.2