Page MenuHomePhabricator

Lazy build menu on model initialization
Closed, ResolvedPublic

Description

We currently call this.lazyMenuCreation() on the toggle event. Depending on various factors, there can be a perceptible delay before the menu appears. On approach to get around this is to use setTimeout() on the model initialization and build the menu as part of the page load process; the toggle on the menu is then very fast.

Details

Related Gerrit Patches:

Event Timeline

kostajh triaged this task as Low priority.Jun 30 2018, 4:30 PM
kostajh created this task.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 30 2018, 4:30 PM

Change 443226 had a related patch set uploaded (by Kosta Harlan; owner: Kosta Harlan):
[mediawiki/core@master] RC Filters: Lazy build menu on model initialization

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

Change 443226 merged by jenkins-bot:
[mediawiki/core@master] RC Filters: Lazy build menu on model initialization

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

Catrope closed this task as Resolved.Jul 2 2018, 11:55 PM