Page MenuHomePhabricator

[Regression wmf.2] Cursor stays at the beginning of comment node instead of moving to the end of it after adding
Closed, ResolvedPublic1 Estimated Story Points

Description

Steps to reproduce:

1.Place your cursor at the end of a line

  1. Insert a comment node

Observed Result:
Cursor is staying the at the beginning of comment node, in the middle of the text and comment node.
Previously it used to go the end of the comment node .

Screen Shot 2016-11-11 at 11.12.24 PM.png (158×440 px, 16 KB)

Event Timeline

I initially thought this might be c3d3d29, which changed the preview. However, at that point it was still selecting the new comment node rather than placing the cursor on either side of it.

Bisect indicates that the selection behavior changed in 7a4de14 by @dchan.

Change 321399 had a related patch set uploaded (by DLynch):
ui.CommentInspector: Select placeholder comment node while editing

https://gerrit.wikimedia.org/r/321399

Jdforrester-WMF triaged this task as High priority.
Jdforrester-WMF set the point value for this task to 1.

Change 321399 merged by jenkins-bot:
ui.CommentInspector: Select placeholder comment node while editing

https://gerrit.wikimedia.org/r/321399

Change 321475 had a related patch set uploaded (by Jforrester):
Update VE core submodule to master (f0c7873)

https://gerrit.wikimedia.org/r/321475