discourse/plugins
Robert 60d62f1b7e
FIX: poll ranked choice voter list corrupting on expand (#28315)
Initially, the poll results display a maximum of 25 voters per option. If the number of voters exceeds this limit, a button allows users to load additional pages of voters.

When this button is clicked, a method is called to retrieve the additional voter information. However, there was a bug where the local tracked object was not properly updated for ranked choice voters. This is due to the existence of two attributes per option: one indicating whether new data is currently loading, and the other containing the list of voters.

Instead of updating the entire option key with the voters list, the fix requires updating the voters attribute only.

This is a small but critical change. The pull request also includes a new test that significantly increases coverage, addressing this issue and beyond.
2024-08-13 09:28:28 +02:00
..
automation FEATURE: Change tags sent in topic_tags_changed trigger in automation plugin (#28318) 2024-08-12 14:05:16 -03:00
chat FEATURE: participating users statistics (#28322) 2024-08-12 23:47:13 +02:00
checklist UX: Show error when checkbox change fails (#27968) 2024-07-18 13:22:10 +01:00
discourse-details FIX: allow quote-less details BBCode 2024-06-24 14:16:36 +02:00
discourse-lazy-videos Update translations (#28115) 2024-07-29 15:16:40 +02:00
discourse-local-dates UX: remove whitespace from rendered localdate (#27952) 2024-07-17 09:48:28 -04:00
discourse-narrative-bot UX: Do not delete narrative bot PM when skipping user tips (#28265) 2024-08-08 12:12:01 -04:00
discourse-presence FEATURE: Add Uyghur language (#27183) 2024-05-27 09:58:18 +02:00
footnote Update translations (#28115) 2024-07-29 15:16:40 +02:00
poll FIX: poll ranked choice voter list corrupting on expand (#28315) 2024-08-13 09:28:28 +02:00
spoiler-alert Update translations (#28115) 2024-07-29 15:16:40 +02:00
styleguide UX: Small topic map improvements and fixes (#28215) 2024-08-12 15:37:05 -03:00