damus
damus copied to clipboard
Polls
User Story
As a pleb using Damus who would like to test a question with the other plebs, I would like to create a (free) poll, so that I can learn the preference and sage wisdom of the plebs.
Acceptance Criteria
- Pleb has capability to create a poll that allows pleb to specify a single question, and
- Poll has two (2) to four (4) choices, and
- Poll sports a default time out timer of 144 blocks (approximately 24 hours in fiat time), and
- Time out timer is displayed (12 hours remaining til poll close), and
- Poll does not show results prior to voting (as not to influence the independent judgment of the plebs), and
- Poll contains answer counter ["55 plebs have voted"], and
- Upon expiration of timer, poll is labeled "finished", and results are displayed [A: 80%; B: 16%; C: 3%; D: 1%]

PR: https://github.com/damus-io/damus/pull/243