+75
-4
appview/db/repos.go
+75
-4
appview/db/repos.go
······-rows, err := e.Query(`select did, name, knot, rkey, description, created from repos where did = ?`, did)···-err := scanRepo(rows, &repo.Did, &repo.Name, &repo.Knot, &repo.Rkey, &repo.Description, &repo.Created)+err := rows.Scan(&repo.Did, &repo.Name, &repo.Knot, &repo.Rkey, &nullableDescription, &createdAt, &repoStats.StarCount)···-rows, err := e.Query(`select r.did, r.name, r.knot, r.rkey, r.description, r.created from repos r join collaborators c on r.id = c.repo where c.did = ?;`, collaborator)···-err := scanRepo(rows, &repo.Did, &repo.Name, &repo.Knot, &repo.Rkey, &repo.Description, &repo.Created)+err := rows.Scan(&repo.Did, &repo.Name, &repo.Knot, &repo.Rkey, &nullableDescription, &createdAt, &repoStats.StarCount)
+3
-1
appview/db/star.go
+3
-1
appview/db/star.go
+6
-1
appview/pages/pages.go
+6
-1
appview/pages/pages.go
···
-3
appview/pages/templates/fragments/star.html
-3
appview/pages/templates/fragments/star.html
+11
-8
appview/pages/templates/repo/issues/issue.html
+11
-8
appview/pages/templates/repo/issues/issue.html
··················
+4
-4
appview/pages/templates/repo/issues/issues.html
+4
-4
appview/pages/templates/repo/issues/issues.html
···-<select class="font-bold border border-gray-200 rounded" onchange="window.location.href = '/{{ .RepoInfo.FullName }}/issues?state=' + this.value">+<select class="border px-1 bg-white border-gray-200" onchange="window.location.href = '/{{ .RepoInfo.FullName }}/issues?state=' + this.value">······-<a href="/{{ $.RepoInfo.FullName }}/issues/{{ .IssueId }}" class="text-gray-400">{{ .Metadata.CommentCount }} comment{{$s}}</a>+<a href="/{{ $.RepoInfo.FullName }}/issues/{{ .IssueId }}" class="text-gray-500">{{ .Metadata.CommentCount }} comment{{$s}}</a>
+17
-5
appview/pages/templates/user/profile.html
+17
-5
appview/pages/templates/user/profile.html
······