Monorepo for Tangled tangled.org

appview: use less OwnerSlashRepo() in handlers #802

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

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.pull/3m5mgmc446w22
+4 -4
Interdiff #3 #4
+4 -4
appview/issues/issues.go
··· 973 } 974 } 975 rp.notifier.NewIssue(r.Context(), issue, mentions) 976 - 977 - ownerSlashRepo := reporesolver.GetBaseRepoPath(r, &f.Repo) 978 - rp.pages.HxLocation(w, fmt.Sprintf("/%s/issues/%d", ownerSlashRepo, issue.IssueId)) 979 return 980 } 981 } ··· 993 } 994 } 995 rp.notifier.NewIssue(r.Context(), issue, mentions) 996 - rp.pages.HxLocation(w, fmt.Sprintf("/%s/issues/%d", f.OwnerSlashRepo(), issue.IssueId)) 997 return 998 } 999 }
··· 973 } 974 } 975 rp.notifier.NewIssue(r.Context(), issue, mentions) 976 + rp.pages.HxLocation(w, fmt.Sprintf("/%s/issues/%d", f.OwnerSlashRepo(), issue.IssueId)) 977 return 978 } 979 } ··· 991 } 992 } 993 rp.notifier.NewIssue(r.Context(), issue, mentions) 994 + 995 + ownerSlashRepo := reporesolver.GetBaseRepoPath(r, &f.Repo) 996 + rp.pages.HxLocation(w, fmt.Sprintf("/%s/issues/%d", ownerSlashRepo, issue.IssueId)) 997 return 998 } 999 }
appview/middleware/middleware.go

This file has not been changed.

appview/pages/repoinfo/repoinfo.go

This file has not been changed.

appview/pulls/pulls.go

This patch was likely rebased, as context lines do not match.

appview/repo/archive.go

This file has not been changed.

appview/repo/artifact.go

This file has not been changed.

appview/repo/blob.go

This file has not been changed.

appview/repo/branches.go

This file has not been changed.

appview/repo/compare.go

This patch was likely rebased, as context lines do not match.

appview/repo/feed.go

This file has not been changed.

appview/repo/index.go

This file has not been changed.

appview/repo/log.go

This file has not been changed.

appview/repo/repo.go

This file has not been changed.

appview/repo/settings.go

This file has not been changed.

appview/repo/tags.go

This file has not been changed.

appview/repo/tree.go

This file has not been changed.

appview/reporesolver/resolver.go

This file has not been changed.

History

6 rounds 1 comment
sign up or login to add to the discussion
1 commit
expand
appview: use less OwnerSlashRepo() in handlers
expand 0 comments
pull request successfully merged
1 commit
expand
appview: use less OwnerSlashRepo() in handlers
expand 0 comments
1 commit
expand
appview: use less OwnerSlashRepo() in handlers
expand 0 comments
1 commit
expand
appview: use less OwnerSlashRepo() in handlers
expand 0 comments
1 commit
expand
appview: use less OwnerSlashRepo() in handlers
expand 0 comments
1 commit
expand
appview: use less OwnerSlashRepo() in handlers
expand 1 comment

The end goal here is to remove the RepoInfo and ResolvedRepo