Page MenuHomePhabricator

Load search suggestion for strings typed before initializing JavaScript
Open, MediumPublic

Description

Steps to reproduce

  • Load https://www.mediawiki.org/wiki/Special:Search with a slow internet connection.
  • Start typing a few characters into the big search field as soon as the search field is visible.
  • Wait until the JavaScript is loaded and initialized.
  • Current behavior: You have to enter a further character. Then the search suggestions gets loaded and the search suggestions box are shown.
  • Expected behavior: The search suggestion engine loads the search suggestions of the already typed characters on initializing the JavaScript. The search suggestion box gets shown automatically as soon as the JavaScript and the search suggestions are loaded.

For module jquery.suggestions for the small search field this was implemented in T223422.

Event Timeline

Fomafix created this task.Jun 12 2019, 7:37 AM
Restricted Application added a project: Discovery-Search. · View Herald TranscriptJun 12 2019, 7:37 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
EBernhardson triaged this task as Medium priority.Jun 13 2019, 5:02 PM
EBernhardson moved this task from needs triage to UI tickets on the Discovery-Search board.