Page MenuHomePhabricator

Template dialog's search results remain visible after selecting the template
Closed, ResolvedPublic1 Estimated Story Points

Description

Steps to reproduce:

  1. Be in a hurry.
  2. Type {{
  3. Type Done (the name of the template)
  4. Press Return
  5. Get this (in Safari 10):

Screen Shot 2017-04-11 at 8.25.07 AM.png (566×581 px, 46 KB)

or this (in Firefox 52):

Screen Shot 2017-04-11 at 12.04.31 PM.png (656×995 px, 150 KB)

Expected results:
The search results would disappear when a template has already been chosen.

Event Timeline

Jdforrester-WMF set the point value for this task to 1.
Jdforrester-WMF moved this task from To Triage to TR0: Interrupt on the VisualEditor board.
Jdforrester-WMF subscribed.

Possibly a Safari-only issue?

Change 347871 had a related patch set uploaded (by DLynch):
[mediawiki/extensions/VisualEditor@master] TemplatePlaceholderPage: abort pending template search after adding template

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

I couldn't actually reproduce this, in Safari or anywhere else. However, I think I know what would be causing it, so that patch addresses the possible issue.

Change 347871 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] TemplatePlaceholderPage: abort pending template search after adding template

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

Jdforrester-WMF assigned this task to DLynch.

Potentially fixed.