feat: add support for positive and negative reactions #11
No reviewers
Labels
No Label
1000k
100k
10k
200k
20k
500k
50k
5k
75k
backend
blocked:design
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
P1
P2
P3
question
scope:intl
scope:nip
scope:query_tracing
scope:ux
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Kieran/snort#11
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "reactions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Deploying with Cloudflare Pages
e2b9b22
View logs
Not all likes use
+
for content, reactions vary a lot between clients, on Damus they use 🤙What do you think is best, to have emoji reactions or like/dislike? Added support for 🤙
I guess it would be pretty difficult to identify what is positive and what is negative outside of
+
&-
since those are the only ones mentioned in the NIP, maybe its better not to distinguish them and to just show all reactions by theirContent
value https://github.com/nostr-protocol/nips/blob/master/25.mdOr we can just map well known contents into
+
/-
and the rest are just generic reactions:921122bd89/src/element/NoteReaction.js (L15-L26)
@v0l gotta work on having reactions data available elsewhere but this is looking good
This is likely to change in the future but probably fine for now!