element-hq / element-hq/element-web
Poll choice updated after results
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. Create a poll
2. Vote for a non-majority option
1. Close the poll
1. The marker indicating your choice is moved to the majority option
### Outcome
#### What did you expect?
The marker would remain at the same option.
#### What happened instead?
The marker indicating the choice is moved to the majority option (most chosen one).
### Operating system
macOS, Ubuntu, Arch Linux
### Application version
1.12.23
### How did you install the app?
https://element.io/en/download
### Homeserver
matrix.org
### Will you send logs?
No
Contributor guide
Research direction
Start by reproducing the poll flow in the web application: create a poll, vote for a non-majority option, close it, and observe the choice marker. Trace the poll result rendering and selection state to find why the marker follows the majority option. Done means the marker remains on the option originally selected after the poll is closed, with coverage for this scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100