OpenSlides / OpenSlides/openslides-client
Motions: Prevent content to extend the motion card
Nobody has claimed this yet.
- 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
- create a motion with a reason that contains one string without spaces.
- save the motion
- create a change recommendation to the motion
--> the display of the change rec and reason will look similar to this:
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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