OpenSlides / OpenSlides/openslides-client
Amendments: unindented lines get crossed out in the diff visualization
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 35
- Forks
- 52
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 52
Description
Description: A strange bevahior occured during the creation of an amendment. If a user wants to cross out a sentence, it could happen that the last word and dot of the sentence before got also crossed out. Sometimes it affects the first two word of the crosssed out sentence. In consequence, the diff-version has a wrong visualization.
Examples could be found on Staging Server in meeting 56 under motions in motion "Testantrag Dif-Darstellung" and "Test ABC".
Reproduction:
- open a meeting
- go to motions
- create a motions with the plus-icon. add two paragraphs with at least 3 sentence per paragraph.
- create an amendment to the motion. choose the first paragraph and delete the middle sentence.
- the diff-version is incorrect. the middle sentence is not correctly deleted with a red line.
Expected behavior: The dif-version must be correctly displayed.
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
Reproduce the issue in a meeting's motions by creating a motion with two paragraphs, amending the first paragraph, and deleting its middle sentence. Compare the normal and diff versions, including the staging examples in meeting 56, and consider the work done when the deleted sentence is shown with the correct red line without adjacent words or punctuation crossed out.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100