OpenSlides / OpenSlides/openslides-client

Motions: Prevent content to extend the motion card

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

Nobody has claimed this yet.

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

Description

Describe the bug
If some content in a motion does not wrap and extends the boundaries of the motion card, this might cause other elements to extend the card as well (e.g. reason, change recs, summary of changes, motion text toolbar)

How to Reproduce

  1. create a motion with a reason that contains one string without spaces.
  2. save the motion
  3. create a change recommendation to the motion

--> the display of the change rec and reason will look similar to this:
Image

Expected behavior
Make sure that content in the motion card will never extend the boundaries of the motion card.

Additional info
This error caused by long attachment titles was already fixed in #5008. If possible, check if the problem could be caused in other scenarios which should also be fixed in this issue.

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 reproducing the issue with a motion reason containing an unbroken string, then compare the existing fix in issue #5008 for long attachment titles. Check the motion card and its reason, change recommendation, summary, and toolbar content. Done means none of these contents extends the card boundaries, including other similar cases found during investigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
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.