xwikisas / application-xpoll

Simple poll application, Doodle like
0 stars 6 forks source link

Integration of Condorcet method poll #79

Closed trrenty closed 3 years ago

trrenty commented 3 years ago

I've begun implementing the git issue regarding the condorcet method #76.

Up until now I have the UI created and working. The user shall assign each proposal a number from 1 to n, the number of proposals, through a <select>. Having this number i, the value of the hidden input with the id as option*i* will be set as the name of the proposal. This way, we will have the order of the proposals assured. Using this order, the winner can be determined in the condorcet manner but we can also display the preferences of each user. image

trrenty commented 3 years ago

With the latest commit, I implemented a way for the polls to be migrated to align with the new version of the application.

Each individual poll can be migrated by it's creator or by the wiki admin.

image

The polls homepage will also display a warning that will inform the user that one or multiple polls need migration. This action can be performed only by the administrator.

image