OpenSlides / OpenSlides/openslides-client

Motion Detail view - rework PDF export

Open
#5,119 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement needs info Schrödinger
Dominant language
TypeScript
Stars
35
Forks
52
Avg merge
1d 9h
Merged PRs (30d)
52

Description

Current behavior
The individual PDF export of an application needs to be adapted to match the functionality of the multi-export. Currently, the single export only offers the option to export what is currently displayed.

Wanted behavior
In order to standardize the single export to the multiple export, the following adjustments should be made:

  1. layout: The layout of the multiple export should be adopted.
  2. export formats: ONLY offer PDF export. CSV and XLSX should NOT be supported.
  3. export logic: Analogous to the previous single export, the WYSIWYG principle should be retained. In other words, the content displayed in the motion should be preselected in the PDF export dialog. Exception: Commentaries should not be preselected. Additionally the button logic of the multiexport should be retained.
  4. export options: In contrast to the multi-export, not all options are required. Below is a picture of what should be retained and what should be deleted. red = should be deleted.

Image

  1. Menu entry: The menu entry 'PDF' should now open the new dialog. The icon should be changed to the export icon in the motion list view. The menu name should be changed to 'Export'.

Open questions

  • Is is better with given defaults or should we implement a dialog with a default loadout with options to choose from?

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 the Motion Detail view and trace the existing single-export and multi-export dialog entry points. Compare their layout, export-format choices, selection defaults, and button behavior against the requested PDF-only flow and image. Done means the menu is renamed to Export with the export icon, opens the revised dialog, preserves displayed-content selection except commentaries, and removes unsupported formats and options.

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
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.