Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add approval voting to budgets #4063

Merged
merged 1 commit into from
Aug 6, 2020
Merged

Add approval voting to budgets #4063

merged 1 commit into from
Aug 6, 2020

Conversation

javierm
Copy link
Member

@javierm javierm commented Jul 16, 2020

References

Objectives

Add a new style of voting in participatory budgets which allows users to vote a fixed number of investments, independently of their cost.

Visual changes

There's a new option when editing a budget:

Voting style is a new field in the budget form

The progress takes votes into account when using approval voting:

Progressbar showing 2 votes already used ouf of 3

@javierm javierm self-assigned this Jul 16, 2020
@javierm javierm mentioned this pull request Jul 16, 2020
@javierm javierm added the 1.2 label Jul 20, 2020
@javierm javierm force-pushed the approval_voting branch 9 times, most recently from 4fb10cd to a464da3 Compare July 27, 2020 21:11
@taitus taitus self-assigned this Jul 28, 2020
@javierm javierm force-pushed the voting_styles branch 4 times, most recently from 2d17e0b to 7dba596 Compare July 29, 2020 16:43
@javierm javierm force-pushed the approval_voting branch 3 times, most recently from 9a2bbc8 to 6671022 Compare July 30, 2020 15:59
@javierm javierm force-pushed the approval_voting branch 3 times, most recently from 45af126 to 73be98f Compare July 30, 2020 18:04
Base automatically changed from voting_styles to master July 30, 2020 20:01
@javierm javierm force-pushed the approval_voting branch 3 times, most recently from 00edb24 to 27f01ee Compare July 31, 2020 12:58
@javierm javierm force-pushed the approval_voting branch 4 times, most recently from b3984ee to abe9a51 Compare August 5, 2020 21:33
@@ -63,7 +63,7 @@ def headings_index
end

def budget_heading_params
valid_attributes = [:price, :population, :allow_custom_content, :latitude, :longitude]
valid_attributes = [:price, :population, :allow_custom_content, :latitude, :longitude, :max_ballot_lines]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/LineLength: Line is too long. [111/110] (https://rubystyle.guide#80-character-limits)

Co-Authored-By: Javi Martín <javim@elretirao.net>
@javierm javierm merged commit 5fb951e into master Aug 6, 2020
@javierm javierm deleted the approval_voting branch August 6, 2020 11:52
@javierm javierm removed the 1.2 label Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add "Approval Voting" as Option in Participatory Budgeting Module
4 participants