0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-10 23:59:31 +08:00
discourse/plugins/poll/test/javascripts/component
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
..
poll-buttons-dropdown-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
poll-info-test.gjs FEATURE: Record who closed a poll (#40989) 2026-06-29 12:22:43 +02:00
poll-options-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
poll-results-pie-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
poll-results-ranked-choice-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
poll-results-standard-test.gjs DEV: Remove queryAll uses in core tests (#41324) 2026-07-01 11:55:39 +01:00
poll-results-tabs-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
poll-test.gjs FIX: Preserve poll view and in-progress vote across post cloaking (#41001) 2026-07-02 16:52:06 +02:00
poll-ui-builder-test.gjs UX: refactor advanced mode toggle to shared component (#41138) 2026-06-24 09:34:04 -04:00
rich-editor-extension-test.js