OpenSlides / OpenSlides/openslides-backend

Committee csv file: add new column

Open
#3,701 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement needs discussion Schrödinger
Dominant language
Python
Stars
9
Forks
40
Avg merge
1d 22h
Merged PRs (30d)
19

Description

current behavior
Currently the committee export lacks in easy reference possibilties for reimport of for example lost data or to add something new. The referencing is done by committee names. If the names are changed, the referencing is quite hard, because the user neds to know the new (changed) name. A much easier and clear reference value would be pleasent. - A good value would be the committee id.

Additionally the csv lacks in information about external_id of a committee, which is relevant for SAML configurations.

Also the csv file lacks in information about the parent relations of a committee, which is needed to spot relations between committees.

Wanted behavior
The aim of the issue is, to enable a clear reference possibility of committees in one instance and to add more information about the committee itself and it's relations ot other committees.

  • new column 'committee_id' at first position
  • new column 'external_id' at last position
  • new columns 'parent_name' and 'parent_id' after the column 'forward_to_committees' (or possibly 'forward_to_committee_ids' in the future)

Please take care that the last point and it column refers to the issue OpenSlides/openslides-client#6465. With this issue a new column 'forward_to_committees_ids' should be integrated.

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 does not name files or tests; start by locating the committee CSV export entry point and its existing column-order tests. Verify the requested committee_id, external_id, parent_name, and parent_id columns and their positions, while checking compatibility with OpenSlides/openslides-client#6465. Done means the export contains the specified identifiers and parent relationship data.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.