OpenSlides / OpenSlides/openslides-client

Mandate swap: Add new settings for mandate swap deactivation and structure level limitation

Open
#5,760 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 mandate swap, the list of possible participants is the whole participant list. This could result in the problem, that a wrong users could be selected.

Additionally mandate swap and vote delegation are oppponents to each other. Both functions are not needed at the same time. Therefore it would be good to deactivate the mandate swap.

Wanted behavior
A) Add new setting activate mandate swap under > Settings > Participants > Mandate swap [new title] > [New setting] Activate mandate swap. - Default value = deactivated.

B) In most cases the group of users for mandate swaps is limited to the structure level. Only users with the same structure level can swap mandates between each other. Taking account to this, a list with all participants is not needed.

Add a new mandate swap setting, which limit the possible swap to users in the same structure level.
The setting should be added to > Settings > Participants > Mandate swap > (setting name as sub setting to A) Activate mandate swap limitation to structure level.

Default value of it: Should not be active.

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 in Settings > Participants > Mandate swap and trace the existing mandate-swap participant selection. Add the two requested settings with their stated defaults, then verify that deactivation disables mandate swaps and structure-level limitation restricts the selectable users when enabled.

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
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.