discourse/plugins/poll
Jarek Radosz cd4f251891
FEATURE: Poll breakdown 2.0 (#10345)
The poll breakdown modal replaces the grouped pie charts feature.

Includes:

* MODAL: Untangle `onSelectPanel`
Previously modal-tab component would call on click the onSelectPanel callback with itself (modal-tab) as `this` which severely limited its usefulness. Now showModal binds the callback to its controller.

"The PR includes a fix/change to d-modal (b7f6ec6) that hasn't been extracted to a separate PR because it's not currently possible to test a change like this in abstract, i.e. with dynamically created controllers/components in tests. The percentage/count toggle test for the poll breakdown feature is essentially a test for that d-modal modification."
2020-08-06 17:57:06 +02:00
..
app FIX: Avoid exception when rendering a poll in a trashed post 2020-04-28 14:43:09 +01:00
assets FEATURE: Poll breakdown 2.0 (#10345) 2020-08-06 17:57:06 +02:00
config FEATURE: Poll breakdown 2.0 (#10345) 2020-08-06 17:57:06 +02:00
db FEATURE: Add 'groups' option to polls (#8469) 2020-01-28 14:30:04 +02:00
jobs/regular DEV: Upgrading Discourse to Zeitwerk (#8098) 2019-10-02 14:01:53 +10:00
lib FEATURE: Show votes in an "on voted" poll to the creator 2020-03-20 13:36:42 -07:00
spec DEV: Use `response.parsed_body` in specs (#9615) 2020-05-07 17:04:12 +02:00
test/javascripts FEATURE: Poll breakdown 2.0 (#10345) 2020-08-06 17:57:06 +02:00
plugin.rb FEATURE: Poll breakdown 2.0 (#10345) 2020-08-06 17:57:06 +02:00