Compare changes

Choose any two refs to compare.

Changed files
+8 -1
appview
lexicons
actor
+3
appview/db/profile.go
··· 420 case models.VanityStatRepositoryCount: 421 query = `select count(id) from repos where did = ?` 422 args = append(args, did) 423 } 424 425 var result uint64
··· 420 case models.VanityStatRepositoryCount: 421 query = `select count(id) from repos where did = ?` 422 args = append(args, did) 423 + case models.VanityStatStarCount: 424 + query = `select count(id) from stars where did = ?` 425 + args = append(args, did) 426 } 427 428 var result uint64
+3
appview/models/profile.go
··· 58 VanityStatOpenIssueCount VanityStatKind = "open-issue-count" 59 VanityStatClosedIssueCount VanityStatKind = "closed-issue-count" 60 VanityStatRepositoryCount VanityStatKind = "repository-count" 61 ) 62 63 func (v VanityStatKind) String() string { ··· 74 return "Closed Issues" 75 case VanityStatRepositoryCount: 76 return "Repositories" 77 } 78 return "" 79 }
··· 58 VanityStatOpenIssueCount VanityStatKind = "open-issue-count" 59 VanityStatClosedIssueCount VanityStatKind = "closed-issue-count" 60 VanityStatRepositoryCount VanityStatKind = "repository-count" 61 + VanityStatStarCount VanityStatKind = "star-count" 62 ) 63 64 func (v VanityStatKind) String() string { ··· 75 return "Closed Issues" 76 case VanityStatRepositoryCount: 77 return "Repositories" 78 + case VanityStatStarCount: 79 + return "Stars" 80 } 81 return "" 82 }
+2 -1
lexicons/actor/profile.json
··· 41 "open-pull-request-count", 42 "open-issue-count", 43 "closed-issue-count", 44 - "repository-count" 45 ] 46 } 47 },
··· 41 "open-pull-request-count", 42 "open-issue-count", 43 "closed-issue-count", 44 + "repository-count", 45 + "star-count" 46 ] 47 } 48 },