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.

Related Objects

Event Timeline

kostajh created this task.

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