This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

appview/pages/templates: fix htmx inception

Signed-off-by: Seongmin Lee <git@boltless.me>

author
Seongmin Lee
committer
Tangled
date (Jul 22, 2026, 4:28 PM +0300) commit 9e6250a4 parent 33dc8224 change-id ovtpytyl
+3 -3
+1 -1
appview/pages/templates/fragments/markdownEditor.html
··· 8 8 {{ $autofocus := .AutoFocus }} 9 9 {{ $placeholder := .Placeholder }} 10 10 <markdown-editor 11 - class="flex flex-col gap-2" 11 + class="w-full flex flex-col gap-2" 12 12 hx-disinherit="*" 13 13 hx-include="this" 14 14 >
+2 -2
appview/pages/templates/repo/pulls/fragments/pullNewComment.html
··· 8 8 hx-target="#pull-comments-{{ .RoundNumber }}" 9 9 hx-swap="beforeend" 10 10 hx-disabled-elt="find button[type='submit']" 11 - hx-on::after-request="if(event.detail.successful) htmx.ajax('GET', '/{{ .RepoInfo.FullName }}/pulls/{{ .Pull.PullId }}/round/{{ .RoundNumber }}/actions', {target: '#actions-{{ .RoundNumber }}', swap: 'outerHTML'})" 11 + hx-on::after-request="if(event.target === this && event.detail.successful) htmx.ajax('GET', '/{{ .RepoInfo.FullName }}/pulls/{{ .Pull.PullId }}/round/{{ .RoundNumber }}/actions', {target: '#action-card-{{ .RoundNumber }}', swap: 'outerHTML'})" 12 12 > 13 13 <input name="subject-uri" type="hidden" value="{{ .Pull.AtUri }}"> 14 14 <input name="pull-round-idx" type="hidden" value="{{ .RoundNumber }}"> ··· 37 37 class="btn-flat text-red-500 dark:text-red-400 flex gap-2 items-center group" 38 38 hx-get="/{{ .RepoInfo.FullName }}/pulls/{{ .Pull.PullId }}/round/{{ .RoundNumber }}/actions" 39 39 hx-swap="outerHTML" 40 - hx-target="#actions-{{.RoundNumber}}" 40 + hx-target="#action-card-{{.RoundNumber}}" 41 41 > 42 42 {{ i "x" "w-4 h-4" }} 43 43 <span>Cancel</span>