Page MenuHomePhabricator

MWCategoryWidget fires an API request every time a category is moved
Closed, ResolvedPublic1 Estimated Story Points


We need these API calls for new categories, but for existing ones we can used cached results.

As the current sequence for a move is:

  • Remove
  • API request
  • Add

This also results in a visible flicker when the category is dropped.

Event Timeline

Change 271552 had a related patch set uploaded (by Esanders):
MWCategoryWidget: Improve caching

Jdforrester-WMF assigned this task to Esanders.
Jdforrester-WMF triaged this task as High priority.
Jdforrester-WMF edited projects, added Performance Issue; removed Patch-For-Review.
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.

Change 271552 merged by jenkins-bot:
MWCategoryWidget: Improve caching