+980
api/tangled/cbor_gen.go
+980
api/tangled/cbor_gen.go
···+if err := cw.WriteMajorTypeHeader(cbg.MajTextString, uint64(len("sh.tangled.repo.issue"))); err != nil {+if err := cw.WriteMajorTypeHeader(cbg.MajTextString, uint64(len(*t.CreatedAt))); err != nil {+if err := cw.WriteMajorTypeHeader(cbg.MajTextString, uint64(len("sh.tangled.repo.issue.state"))); err != nil {+if err := cw.WriteMajorTypeHeader(cbg.MajTextString, uint64(len("sh.tangled.repo.issue.comment"))); err != nil {+if err := cw.WriteMajorTypeHeader(cbg.MajTextString, uint64(len(*t.CreatedAt))); err != nil {
+27
api/tangled/issuecomment.go
+27
api/tangled/issuecomment.go
···
···+LexiconTypeID string `json:"$type,const=sh.tangled.repo.issue.comment" cborgen:"$type,const=sh.tangled.repo.issue.comment"`
+24
api/tangled/issuestate.go
+24
api/tangled/issuestate.go
···
···+LexiconTypeID string `json:"$type,const=sh.tangled.repo.issue.state" cborgen:"$type,const=sh.tangled.repo.issue.state"`
+27
api/tangled/repoissue.go
+27
api/tangled/repoissue.go
···
···+LexiconTypeID string `json:"$type,const=sh.tangled.repo.issue" cborgen:"$type,const=sh.tangled.repo.issue"`
+9
api/tangled/stateclosed.go
+9
api/tangled/stateclosed.go
+9
api/tangled/stateopen.go
+9
api/tangled/stateopen.go
+3
appview/db/db.go
+3
appview/db/db.go
······
······
+63
-11
appview/db/issues.go
+63
-11
appview/db/issues.go
··················query := `select owner_did, issue_id, created, title, body, open from issues where repo_at = ? and issue_id = ?`···-query := `insert into comments (owner_did, repo_at, issue_id, comment_id, body) values (?, ?, ?, ?, ?)`···-rows, err := d.db.Query(`select owner_did, issue_id, comment_id, body, created from comments where repo_at = ? and issue_id = ? order by created asc`, repoAt, issueId)···-err := rows.Scan(&comment.OwnerDid, &comment.Issue, &comment.CommentId, &comment.Body, &createdAt)
···············+_, err := d.db.Exec(`update issues set issue_at = ? where repo_at = ? and issue_id = ?`, issueAt, repoAt, issueId)+err := d.db.QueryRow(`select issue_at from issues where repo_at = ? and issue_id = ?`, repoAt, issueId).Scan(&issueAt)+err := d.db.QueryRow(`select next_issue_id from repo_issue_seqs where repo_at = ?`, repoAt).Scan(&issueId)+err := d.db.QueryRow(`select owner_did from issues where repo_at = ? and issue_id = ?`, repoAt, issueId).Scan(&ownerDid)···+query := `select owner_did, created, title, body, open from issues where repo_at = ? and issue_id = ?`query := `select owner_did, issue_id, created, title, body, open from issues where repo_at = ? and issue_id = ?`···+query := `insert into comments (owner_did, repo_at, comment_at, issue_id, comment_id, body) values (?, ?, ?, ?, ?, ?)`···+rows, err := d.db.Query(`select owner_did, issue_id, comment_id, comment_at, body, created from comments where repo_at = ? and issue_id = ? order by created asc`, repoAt, issueId)···+err := rows.Scan(&comment.OwnerDid, &comment.Issue, &comment.CommentId, &comment.CommentAt, &comment.Body, &createdAt)
+27
-35
appview/pages/templates/timeline.html
+27
-35
appview/pages/templates/timeline.html
···-<a href="/{{ $userHandle }}/{{ .Repo.Name }}" class="no-underline hover:underline">{{ .Repo.Name }}</a>
···
+106
-5
appview/state/repo.go
+106
-5
appview/state/repo.go
············s.pages.HxLocation(w, fmt.Sprintf("/%s/issues/%d#comment-%d", f.OwnerSlashRepo(), issueIdInt, commentId))······
············s.pages.HxLocation(w, fmt.Sprintf("/%s/issues/%d#comment-%d", f.OwnerSlashRepo(), issueIdInt, commentId))······
+3
cmd/gen.go
+3
cmd/gen.go
-1
go.mod
-1
go.mod
-2
go.sum
-2
go.sum
···-golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 h1:LoYXNGAShUG3m/ehNk4iFctuhGX/+R1ZpfJ4/ia80JM=-golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8/go.mod h1:jj3sYF3dwk5D+ghuXyeI3r5MFf+NT2An6/9dOA95KSI=golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc=
···golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc=
+12
lexicons/issue/closed.json
+12
lexicons/issue/closed.json
+40
lexicons/issue/comment.json
+40
lexicons/issue/comment.json
···
···
+39
lexicons/issue/issue.json
+39
lexicons/issue/issue.json
···
···
+12
lexicons/issue/open.json
+12
lexicons/issue/open.json
+31
lexicons/issue/state.json
+31
lexicons/issue/state.json
···
···
+1
-5
lexicons/repo.json
+1
-5
lexicons/repo.json