This repository has no description
0

Configure Feed

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

appview/pages/templates: rename blob field name

Signed-off-by: Wilhelm Berggren <wilhelmberggren@gmail.com>
Signed-off-by: Seongmin Lee <git@boltless.me>

author
Wilhelm Berggren
committer
Seongmin Lee
date (Jul 29, 2026, 1:37 AM +0900) commit 20cd0602 parent 5c6eb63a change-id rkuqrvmp
+17 -17
-1
appview/pages/templates/fragments/comment/reply.html
··· 10 10 {{ template "user/fragments/picHandleLink" .LoggedInUser.Did }} 11 11 {{ template "fragments/markdownEditor" 12 12 (dict "Name" "body" 13 - "BlobName" "blob" 14 13 "Rows" 3 15 14 "AutoFocus" true 16 15 "Placeholder" "Leave a reply...") }}
+12 -8
appview/pages/templates/fragments/markdownEditor.html
··· 1 1 {{ define "fragments/markdownEditor" }} 2 - {{ $name := .Name }} 3 - {{ $value := .Value }} 4 - {{ $blobName := .BlobName }} 5 - {{ $blobValues := .BlobValues }} 6 - {{ $rows := (or .Rows 5) }} 7 - {{ $required := .Required }} 8 - {{ $autofocus := .AutoFocus }} 9 - {{ $placeholder := .Placeholder }} 2 + {{ $name := .Name }} 3 + {{ $value := .Value }} 4 + {{ $blobName := (or .BlobName "blobs") }} 5 + {{ $blobValues := .BlobValues }} 6 + {{ $rows := (or .Rows 5) }} 7 + {{ $required := .Required }} 8 + {{ $autofocus := .AutoFocus }} 9 + {{ $placeholder := .Placeholder }} 10 10 <markdown-editor 11 11 class="w-full flex flex-col gap-2" 12 + blob-name="{{ $blobName }}" 12 13 hx-disinherit="*" 13 14 hx-include="this" 14 15 > ··· 30 31 Preview 31 32 </button> 32 33 </div> 34 + {{ range $blobValues }} 35 + <input type="hidden" name="{{ $blobName }}" value="{{ . }}" /> 36 + {{ end }} 33 37 <div data-md-panel="write"> 34 38 <textarea 35 39 name="{{ $name }}"
-1
appview/pages/templates/repo/issues/fragments/newComment.html
··· 16 16 </div> 17 17 {{ template "fragments/markdownEditor" 18 18 (dict "Name" "body" 19 - "BlobName" "blob" 20 19 "Required" true 21 20 "Placeholder" "Add to the discussion. Markdown is supported.") }} 22 21 </div>
-1
appview/pages/templates/repo/issues/fragments/putIssue.html
··· 19 19 {{ template "fragments/markdownEditor" 20 20 (dict "Name" "body" 21 21 "Value" (and .Issue .Issue.Body) 22 - "BlobName" "blob" 23 22 "Rows" 15 24 23 "Placeholder" "Describe your issue. Markdown is supported.") }} 25 24 </div>
-1
appview/pages/templates/repo/pulls/fragments/pullActions.html
··· 52 52 <input name="pull-round-idx" type="hidden" value="{{ .RoundNumber }}"> 53 53 {{ template "fragments/markdownEditor" 54 54 (dict "Name" "body" 55 - "BlobName" "blob" 56 55 "Rows" 8 57 56 "Required" true 58 57 "Placeholder" "Add to the discussion...") }}
-1
appview/pages/templates/repo/pulls/fragments/pullEdit.html
··· 15 15 {{ template "fragments/markdownEditor" 16 16 (dict "Name" "body" 17 17 "Value" .Pull.Body 18 - "BlobName" "blob" 19 18 "Rows" 15 20 19 "Placeholder" "Describe your pull request. Markdown is supported.") }} 21 20 </div>
+5 -3
appview/pages/templates/repo/pulls/fragments/pullStepReview.html
··· 135 135 <div class="px-3 pb-3 pt-1 flex flex-col gap-3 border-t border-gray-100 dark:border-gray-700"> 136 136 {{ $titleName := printf "stackTitle[%s]" $cid }} 137 137 {{ $bodyName := printf "stackBody[%s]" $cid }} 138 + {{ $blobName := printf "stackBlobs[%s]" $cid }} 138 139 <div class="flex flex-col md:flex-row gap-6"> 139 140 <div class="flex-1 min-w-0 flex flex-col gap-3"> 140 141 <div class="flex flex-col gap-1"> ··· 148 149 /> 149 150 </div> 150 151 {{ template "fragments/markdownEditor" (dict 151 - "Name" $bodyName 152 - "Value" $bodyValue 153 - "Rows" 4 152 + "Name" $bodyName 153 + "Value" $bodyValue 154 + "BlobName" $blobName 155 + "Rows" 4 154 156 "Placeholder" "Describe this pull request. Markdown is supported." 155 157 ) }} 156 158 </div>
-1
appview/pages/templates/strings/string.html
··· 127 127 </div> 128 128 {{ template "fragments/markdownEditor" 129 129 (dict "Name" "body" 130 - "BlobName" "blob" 131 130 "Required" true 132 131 "Placeholder" "Add to the discussion. Markdown is supported.") }} 133 132 <div id="comment-error" class="error"></div>