You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our algorithm for updating a highlight (or marking it as outdated) should expand the highlight to the full scope of the changed text that is still part of the comment, but when testing one use case just now it didn't fully capture this behavior.
See below, the original highlighted text was "不是理想" and the comment suggested "雖然不是很理想" - just adding 2 chars at the front and one in the middle. The highlight was preserved but remained in the original position and didn't expand to cover the full new text.
Repro Steps
Highlight and comment on some text in a post
Leave a comment and suggest something similar, with something at the start and also in the middle of the highlighted text
Click "Save" and observe the new highlight position/length
The text was updated successfully, but these errors were encountered:
Description
Our algorithm for updating a highlight (or marking it as outdated) should expand the highlight to the full scope of the changed text that is still part of the comment, but when testing one use case just now it didn't fully capture this behavior.
See below, the original highlighted text was "不是理想" and the comment suggested "雖然不是很理想" - just adding 2 chars at the front and one in the middle. The highlight was preserved but remained in the original position and didn't expand to cover the full new text.
Repro Steps
The text was updated successfully, but these errors were encountered: