OpenSlides / OpenSlides/openslides-client

Vote delegation: add new setting for structure level limitation

Open
#5,759 0 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

Current behavior
If a user wants to set a vote delegation, the list of possible participants is the whole participant list. This could result in the problem, that a wrong users could be selected.

Wanted behavior
In most cases the group of users for vote delegations is limited to the structure level. Only users with the same structure level can have a vote delegation between each other. Taking account to this, a list with all participants is not needed.

Add a new vote delegation setting, which limit the possible vote delegation to users in the same structure level.
The setting should be added to the vote delegations settings after the last one.

Default value: deactivated.

Image

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

Start by locating the vote delegation settings and the participant-list entry point in the TypeScript client. Add the new setting after the existing vote delegation settings, keep it deactivated by default, and verify that enabling it limits delegation choices to users at the same structure level.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.