+9
appview/db/db.go
+9
appview/db/db.go
···
+71
-1
appview/db/issues.go
+71
-1
appview/db/issues.go
······+err := row.Scan(&comment.OwnerDid, &comment.Body, &comment.CommentAt, &createdAt, &deletedAt, &editedAt)+func EditComment(e Execer, repoAt syntax.ATURI, issueId, commentId int, newBody string) error {
+23
appview/pages/pages.go
+23
appview/pages/pages.go
···+func (p *Pages) SingleIssueCommentFragment(w io.Writer, params SingleIssueCommentParams) error {
+23
-18
appview/pages/templates/fragments/diff.html
+23
-18
appview/pages/templates/fragments/diff.html
···-<div class="bg-gray-100 dark:bg-gray-700 text-gray-500 dark:text-gray-400 select-none">{{ .Header }}</div>-<div class="bg-green-100 dark:bg-green-800/30 text-green-700 dark:text-green-400 p-1 w-full min-w-fit"><span class="select-none mx-2">{{ .Op.String }}</span><span>{{ .Line }}</span></div>-<div class="bg-red-100 dark:bg-red-800/30 text-red-700 dark:text-red-400 p-1 w-full min-w-fit"><span class="select-none mx-2">{{ .Op.String }}</span><span>{{ .Line }}</span></div>-<div class="bg-white dark:bg-gray-800 text-gray-500 dark:text-gray-400 px"><span class="select-none mx-2">{{ .Op.String }}</span><span>{{ .Line }}</span></div>+<div class="bg-gray-100 dark:bg-gray-700 text-gray-500 dark:text-gray-400 select-none">{{- .Header -}}</div><div class="overflow-x-auto"><div class="min-w-full inline-block">+<div class="bg-green-100 dark:bg-green-800/30 text-green-700 dark:text-green-400 flex min-w-full">
+52
appview/pages/templates/fragments/editIssueComment.html
+52
appview/pages/templates/fragments/editIssueComment.html
···
+52
appview/pages/templates/fragments/issueComment.html
+52
appview/pages/templates/fragments/issueComment.html
···
+3
-25
appview/pages/templates/repo/issues/issue.html
+3
-25
appview/pages/templates/repo/issues/issue.html
···-{{ define "title" }}{{ .Issue.Title }} · issue #{{ .Issue.IssueId }} ·{{ .RepoInfo.FullName }}{{ end }}+{{ define "title" }}{{ .Issue.Title }} · issue #{{ .Issue.IssueId }} · {{ .RepoInfo.FullName }}{{ end }}···-class="text-gray-500 text-sm hover:text-gray-500 hover:underline no-underline dark:text-gray-400 dark:hover:text-gray-300 dark:hover:bg-gray-800"+{{ template "fragments/issueComment" (dict "RepoInfo" $.RepoInfo "LoggedInUser" $.LoggedInUser "DidHandleMap" $.DidHandleMap "Issue" $.Issue "Comment" .)}}
+236
-1
appview/state/repo.go
+236
-1
appview/state/repo.go
·········s.pages.HxLocation(w, fmt.Sprintf("/%s/issues/%d#comment-%d", f.OwnerSlashRepo(), issueIdInt, commentId))+ex, err := comatproto.RepoGetRecord(r.Context(), client, "", tangled.RepoIssueCommentNSID, user.Did, rkey.String())+s.pages.Notice(w, fmt.Sprintf("comment-%s-status", commentId), "Failed to update description, no record found on PDS.")
+7
-1
appview/state/router.go
+7
-1
appview/state/router.go
···