discourse/plugins/poll/test/javascripts/acceptance
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
..
poll-breakdown-test.js.es6 FEATURE: Poll breakdown 2.0 (#10345) 2020-08-06 17:57:06 +02:00
poll-builder-disabled-test.js.es6 DEV: Use async/await instead of andThen() 2020-05-11 18:22:48 +02:00
poll-builder-enabled-test.js.es6 DEV: select-kit 2 (#7998) 2020-02-03 14:22:14 +01:00
poll-pie-chart-test.js.es6 FEATURE: Poll breakdown 2.0 (#10345) 2020-08-06 17:57:06 +02:00
polls-bar-chart-test-desktop.js.es6 FEATURE: Pie chart option for poll results (#8352) 2019-11-25 11:51:01 -06:00
polls-bar-chart-test-mobile.js.es6 FEATURE: Pie chart option for poll results (#8352) 2019-11-25 11:51:01 -06:00