back interdiff of round #9 and #8

appview: implement follower and following pages for users #484

merged
opened by ptr.pet targeting master from [deleted fork]: followers-following-list
ERROR
appview/db/profile.go

Failed to calculate interdiff for this file.

ERROR
appview/db/timeline.go

Failed to calculate interdiff for this file.

ERROR
appview/pages/funcmap.go

Failed to calculate interdiff for this file.

ERROR
appview/pages/pages.go

Failed to calculate interdiff for this file.

ERROR
appview/pages/templates/timeline.html

Failed to calculate interdiff for this file.

ERROR
appview/pages/templates/user/followers.html

Failed to calculate interdiff for this file.

ERROR
appview/pages/templates/user/following.html

Failed to calculate interdiff for this file.

ERROR
appview/pages/templates/user/fragments/follow.html

Failed to calculate interdiff for this file.

ERROR
appview/pages/templates/user/fragments/followCard.html

Failed to calculate interdiff for this file.

ERROR
appview/pages/templates/user/fragments/profileCard.html

Failed to calculate interdiff for this file.

ERROR
appview/state/profile.go

Failed to calculate interdiff for this file.

REVERTED
appview/state/router.go
··· 70 71 r.With(mw.ResolveIdent()).Route("/{user}", func(r chi.Router) { 72 r.Get("/", s.Profile) 73 - r.Get("/followers", s.followersPage) 74 - r.Get("/following", s.followingPage) 75 r.Get("/feed.atom", s.AtomFeedPage) 76 77 r.With(mw.ResolveRepo()).Route("/{repo}", func(r chi.Router) {
··· 70 71 r.With(mw.ResolveIdent()).Route("/{user}", func(r chi.Router) { 72 r.Get("/", s.Profile) 73 r.Get("/feed.atom", s.AtomFeedPage) 74 75 r.With(mw.ResolveRepo()).Route("/{repo}", func(r chi.Router) {
ERROR
appview/strings/strings.go

Failed to calculate interdiff for this file.

NEW
appview/pages/templates/user/repos.html
··· 3 {{ define "extrameta" }} 4 <meta property="og:title" content="{{ or .Card.UserHandle .Card.UserDid }}'s repos" /> 5 <meta property="og:type" content="object" /> 6 - <meta property="og:url" content="https://tangled.sh/{{ or .Card.UserHandle .Card.UserDid }}/repos" /> 7 <meta property="og:description" content="{{ or .Card.Profile.Description .Card.UserHandle .Card.UserDid }}" /> 8 {{ end }} 9
··· 3 {{ define "extrameta" }} 4 <meta property="og:title" content="{{ or .Card.UserHandle .Card.UserDid }}'s repos" /> 5 <meta property="og:type" content="object" /> 6 + <meta property="og:url" content="https://tangled.sh/{{ or .Card.UserHandle .Card.UserDid }}?tab=repos" /> 7 <meta property="og:description" content="{{ or .Card.Profile.Description .Card.UserHandle .Card.UserDid }}" /> 8 {{ end }} 9