0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 13:08:40 +08:00
discourse/plugins/poll/test/javascripts
Régis Hanol 2956a492b3
FIX: Preserve poll view and in-progress vote across post cloaking (#41001)
Previously, users could not amend their votes on large, open polls —
clicking the "Vote" button left them stuck on the results view, because
the poll component's view and in-progress selection reset whenever the
post was cloaked and re-rendered while scrolling.

This change persists the results toggle and the in-progress selection on
the durable poll object so they survive a re-mount, restoring the ballot
(and any uncommitted choices) when the user scrolls back to the poll.

Meta:
https://meta.discourse.org/t/large-poll-bug-users-cannot-amend-votes-on-open-polls/405511
2026-07-02 16:52:06 +02:00
..
acceptance DEV: Move and fix incorrectly named tests (#37488) 2026-02-03 19:10:06 +01:00
component FIX: Preserve poll view and in-progress vote across post cloaking (#41001) 2026-07-02 16:52:06 +02:00
helpers DEV: Replace toolbar popup menu with DMenu (#33247) 2025-07-03 09:57:16 +10:00
unit FEATURE: allow pie chart colors to be overridden with CSS (#36495) 2025-12-05 16:51:26 -05:00