Page MenuHomePhabricator

VisualEditor: adding a new link shows the target of the previously-added link for a few moments in the link inspector
Closed, ResolvedPublic

Description

To reproduce:

  1. Edit an article with the words Dog and Cat.
  2. Select the word "Dog". Press Ctrl-K and add an internal link to Dog.
  3. Select the word "Cat".
  4. Press Ctrl-K.

Observe: In the auto-suggestions, "Dog" appears for a few moments before it is replaced by "Cat".
Expected: Linking to "Dog" is irrelevant here. The previous target and auto-suggestions shouldn't be reused here.

I find this rather disruptive because I want to use the link inspector for its primary purpose of adding links quickly, and this actually delays me by a few seconds. What's worse is that if I'm not careful, I can add a link with the wrong target.


Version: unspecified
Severity: normal

Details

Reference
bz66016

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:23 AM
bzimport set Reference to bz66016.

Change 138113 had a related patch set uploaded by Jforrester:
[BREAKING CHANGE] Window process cleanup

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

Change 138113 merged by jenkins-bot:
[BREAKING CHANGE] Update OOjs UI to v0.1.0-pre (9f4f250f88) for window process cleanup

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