OpenSlides / OpenSlides/openslides-client

Option to limit the number of yes votes to the number of persons to be elected

Open
#6,352 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
TypeScript
Stars
35
Forks
52
Avg merge
1d 9h
Merged PRs (30d)
52

Description

Is your feature request related to a problem? Please describe.
In our organisation, we use the voting procedure with the options Yes / No / Abstain, whereby a maximum of as many Yes votes are awarded as there are people to be elected. To my knowledge, this as also a common system in other organisations. However, in OpenSlides there is no way to limit the number of Yes votes in an election with the Yes / No or Yes / No / Abstain options. We therefore always have to manually check all digitally submitted ballot papers to ensure that the maximum number of votes in favour is the same as the number of people to be elected.

Describe the solution you'd like
Add a selection field for elections with the options Yes / No or Yes / No / Abstain to limit the number of Yes votes to the number of persons to be elected.

Test - OpenSlides - Google Chrome 10 10 2024 17_33_33

Describe alternatives you've considered
Add (as with "yes only" and "no only" elections) an option to set the minimum and maximum number of yes votes.

Additional context

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue mentions elections with Yes / No and Yes / No / Abstain options but names no files or tests. Start by locating the election configuration UI and its vote-limit validation, then define the selection field and verify that the Yes-vote limit matches the number of persons to be elected.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.