Date poll post: multi-select availability + organiser-only Canonise
- Dominant language
- HTML
- Stars
- 0
- Forks
- 0
- Avg merge
- 1h 34m
- Merged PRs (30d)
- 23
Description
Audience: whole server (stage 1). 5 buttons per row means a 10-date poll needs a **multi-select**.
- [ ] Post: candidate dates, current tallies per date, as-of line, a string-select (multi) for availability, **Refresh**, and an organiser-only **Canonise** button.
- [ ] Selecting rewrites the message with new tallies (the click *is* the re-render). Selections are stored in `poll_responses`; the post is never read back.
- [ ] Canonise: organiser-only check via role; applies the poll's `win_rule` to compute the winning date(s), lets the organiser override, and writes `poll_dates.outcome`. Closes the poll.
- [ ] `closes_at` handled by a `jobs` row that posts a "poll closed" notice — never edits the poll post.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the code that creates the poll post and handles button or string-select interactions. Trace the poll_responses and poll_dates records, the win_rule and organiser role check, and the jobs row for closes_at. Done means multi-select tallies re-render correctly, Canonise records the outcome and closes the poll, and expiry posts a notice without editing the poll.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100