+198
api/tangled/cbor_gen.go
+198
api/tangled/cbor_gen.go
···+if err := cw.WriteMajorTypeHeader(cbg.MajTextString, uint64(len("sh.tangled.feed.reaction"))); err != nil {
+24
api/tangled/feedreaction.go
+24
api/tangled/feedreaction.go
···+LexiconTypeID string `json:"$type,const=sh.tangled.feed.reaction" cborgen:"$type,const=sh.tangled.feed.reaction"`
+10
appview/db/db.go
+10
appview/db/db.go
···
+2
-2
appview/db/issues.go
+2
-2
appview/db/issues.go
···func GetIssueWithComments(e Execer, repoAt syntax.ATURI, issueId int) (*Issue, []Comment, error) {-query := `select owner_did, issue_id, created, title, body, open from issues where repo_at = ? and issue_id = ?`+query := `select owner_did, issue_id, created, title, body, open, issue_at from issues where repo_at = ? and issue_id = ?`-err := row.Scan(&issue.OwnerDid, &issue.IssueId, &createdAt, &issue.Title, &issue.Body, &issue.Open)+err := row.Scan(&issue.OwnerDid, &issue.IssueId, &createdAt, &issue.Title, &issue.Body, &issue.Open, &issue.IssueAt)
+141
appview/db/reaction.go
+141
appview/db/reaction.go
···+func AddReaction(e Execer, reactedByDid string, threadAt syntax.ATURI, kind ReactionKind, rkey string) error {+query := `insert or ignore into reactions (reacted_by_did, thread_at, kind, rkey) values (?, ?, ?, ?)`+func GetReaction(e Execer, reactedByDid string, threadAt syntax.ATURI, kind ReactionKind) (*Reaction, error) {+func DeleteReaction(e Execer, reactedByDid string, threadAt syntax.ATURI, kind ReactionKind) error {+_, err := e.Exec(`delete from reactions where reacted_by_did = ? and thread_at = ? and kind = ?`, reactedByDid, threadAt, kind)+_, err := e.Exec(`delete from reactions where reacted_by_did = ? and rkey = ?`, reactedByDid, rkey)+`select count(reacted_by_did) from reactions where thread_at = ? and kind = ?`, threadAt, kind).Scan(&count)+func GetReactionStatus(e Execer, userDid string, threadAt syntax.ATURI, kind ReactionKind) bool {+func GetReactionStatusMap(e Execer, userDid string, threadAt syntax.ATURI) map[ReactionKind]bool {
+16
appview/issues/issues.go
+16
appview/issues/issues.go
·········
+19
appview/pages/pages.go
+19
appview/pages/pages.go
···+func (p *Pages) ThreadReactionFragment(w io.Writer, params ThreadReactionFragmentParams) error {···
+1
-1
appview/pages/templates/layouts/repobase.html
+1
-1
appview/pages/templates/layouts/repobase.html
+34
appview/pages/templates/repo/fragments/reaction.html
+34
appview/pages/templates/repo/fragments/reaction.html
···
+30
appview/pages/templates/repo/fragments/reactionsPopUp.html
+30
appview/pages/templates/repo/fragments/reactionsPopUp.html
···+class="flex justify-center items-center min-w-8 min-h-8 rounded border border-gray-200 dark:border-gray-700+class="absolute flex left-0 z-10 mt-4 rounded bg-white dark:bg-gray-800 dark:text-white border border-gray-200 dark:border-gray-700 shadow-lg"
+14
appview/pages/templates/repo/issues/issue.html
+14
appview/pages/templates/repo/issues/issue.html
···
+14
appview/pages/templates/repo/pulls/fragments/pullHeader.html
+14
appview/pages/templates/repo/pulls/fragments/pullHeader.html
···
+15
appview/pulls/pulls.go
+15
appview/pulls/pulls.go
······
+126
appview/state/reaction.go
+126
appview/state/reaction.go
···
+5
appview/state/router.go
+5
appview/state/router.go
···
+1
cmd/gen.go
+1
cmd/gen.go
+34
lexicons/feed/reaction.json
+34
lexicons/feed/reaction.json
···