OpenSlides / OpenSlides/openslides-client

Motion title: not visible diff in change reco

Open
#5,913 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug
If a user creates a change reco on a motion title it can happen that the diff will be not visible in the motion text. The text of the change reco won't show it.

I guess the motion text length has some influence on it.

Example - compare titel and change reco
Image

How to Reproduce

  1. open a meeting
  2. open motion and create a motion with the title and text below
  3. open the motion > create change reco on title by deleting the first two word > diff not visible

Title
Eine wunderbare Heiterkeit hat meine ganze Seele eingenommen, gleich den süßen Frühlingsmorgen

Motion text
Wenn das liebe Tal um mich dampft, und die hohe Sonne an der Oberfläche der undurchdringlichen Finsternis meines Waldes ruht, und nur einzelne Strahlen sich in das innere Heiligtum stehlen, ich dann im hohen Grase am fallenden Bache liege, und näher an der Erde tausend mannigfaltige Gräschen mir merkwürdig werden.

Expected behavior
The diff of the title should be correctly displayed.

Additional information
Issue is linked to #2956

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

Reproduce the change recommendation from a motion title using the supplied long title and motion text, then trace the frontend rendering path for the title and motion-text diffs. Compare both diff displays and verify that deleting the first two title words produces a visible title diff without changing the motion text diff behavior.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.