- Issue created by @naheemsays
- 🇧🇪Belgium BramDriesen Belgium 🇧🇪
Note that Nbr 2 is taken care of here: ✨ Multiple choice poll Needs work . Not as a plugin type though, but I don't see an issue it being a part of the "basic" type.
Currently Poll module only implements a single simple poll type. There are many other types that can also be implemented:
1. current simple "default" style (i dont know if it has a name)
2. multiple choice - similar to the first but with more choices.
3. rating (where you choose a number instead of a choice and then they are averaged for total result)
4. concordset style where you rank choices and lease popular choices are eliminated with votes redistributed to next ranked choice until one choice reached over 50%.
A complication is that the last style of poll cannot easily show "live" results as the calculations needed for the result could be quite complicated.
Ratings (and ranking) type polls will also need to store additional data than that the module stores at this stage.
I envisage a plugin based approach here, where Poll plugins add additional features. Currently the database manipulation are all in src/PollVoteStorage.php. These will likely need to be moved into the plugins.
I have been planning to work on this at some point, but I haven't created an issue yet. Not assigning as i haven't started to work on it and if someone with more skills beats me to it I will appreciate that.
Active
2.0
Code
Note that Nbr 2 is taken care of here: ✨ Multiple choice poll Needs work . Not as a plugin type though, but I don't see an issue it being a part of the "basic" type.