Polls #77
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Add nostr polls as a content type alongside classifieds, threads, etc. This issue is mainly for designing how the poll card and detail page work.
Pollsto Design PollsDesign Pollsto PollsHi @hodlbod.
Since yesterday, I was trying to implemented this Polls option in accordance with this issue As of now, I've implemented initial Poll support for Flotilla as a first-class content type.
What I've done till now:
Approach
I followed the same pattern used for threads, classifieds, goals, and calendar events:
NIP-88 behavior covered
kind: 1068optiontagsendsAtkind: 1018poll response events referencing the poll eventValidation
pnpm run checkIf you want, I can also add poll editing support or improve the results view with per-option percentages and voter breakdowns.
To anyone here because polls were the Summer of Bitcoin competency test, please feel free to choose any other issue of non-trivial size to work on. However, you can still open a PR for this one if you prefer (it just won't be merged).