OpenSlides / OpenSlides/openslides-client

Unify add to agenda option for motion, assignment and motion block

Open
#6,234 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Current behavior
If you add a motion/assignement or motion block to the agenda (via the detail view and the three dot menu) the object is added at the end of an agenda

And assignments cannot be added via multi-select

And a motion via the multi-select the visiblity cannot be decided what the visibility is

Wanted behavior

  • The following objects should hav a "add to Agenda" option in the the three dot menu
    • motion-detail
    • motion-list multi-select
    • assignment detail
    • assignment-list mullltiselect
    • motion blcok detail
  • This option should open a dialog
  • The dialog should have the following things inside of itself:
    • Title:
      • In detail view: "[title in detail view]: move to agenda"
      • in Multi: "Move all selected items to agenda"
    • The agenda visibility combox box
    • A "Parent agenda item" Combobox where you can select every item in the agenda

Additional context
inspired by https://github.com/OpenSlides/openslides-client/issues/2147

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 tracing the motion, assignment, and motion block detail views and list multi-select actions related to adding items to an agenda. Compare the existing add-to-agenda behavior with the requested dialog, including visibility and parent agenda item selection; done means all listed entry points use the unified option and dialog.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.