Monorepo for Tangled tangled.org

appview/pulls: update atproto record sha on resubmit #1005

merged opened by boltless.me targeting master from sl/wpvztmlptlvn
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.pull/3mcwk5drsk222
+2 -2
Diff #1
+1 -1
appview/pulls/opengraph.go
··· 199 199 currentX += commentTextWidth + 40 200 200 201 201 // Draw files changed 202 - err = statusStatsArea.DrawLucideIcon("file-diff", currentX, statsY+iconBaselineOffset-iconSize/2+5, iconSize, iconColor) 202 + err = statusStatsArea.DrawLucideIcon("static/icons/file-diff", currentX, statsY+iconBaselineOffset-iconSize/2+5, iconSize, iconColor) 203 203 if err != nil { 204 204 log.Printf("failed to draw file diff icon: %v", err) 205 205 }
+1 -1
appview/pulls/pulls.go
··· 228 228 reactionMap, err := db.GetReactionMap(s.db, 20, pull.AtUri()) 229 229 if err != nil { 230 230 log.Println("failed to get pull reactions") 231 - s.pages.Notice(w, "pulls", "Failed to load pull. Try again later.") 232 231 } 233 232 234 233 userReactions := map[models.ReactionKind]bool{} ··· 1875 1874 record := pull.AsRecord() 1876 1875 record.PatchBlob = blob.Blob 1877 1876 record.CreatedAt = time.Now().Format(time.RFC3339) 1877 + record.Source.Sha = newSourceRev 1878 1878 1879 1879 _, err = comatproto.RepoPutRecord(r.Context(), client, &comatproto.RepoPutRecord_Input{ 1880 1880 Collection: tangled.RepoPullNSID,

History

3 rounds 0 comments
sign up or login to add to the discussion
2 commits
expand
appview/pulls: update atproto record sha on resubmit
appview/pulls: don't notice on reaction db query failed
expand 0 comments
pull request successfully merged
2 commits
expand
appview/pulls: update atproto record sha on resubmit
appview/pulls: don't notice on reaction db query failed
3/3 success
expand
expand 0 comments
1 commit
expand
appview/pulls: update atproto record sha on resubmit
3/3 success
expand
expand 0 comments