Page MenuHomePhabricator

The drop down for categories in Upload image dialog opens too slowly, even sometimes after moving to the next field
Closed, ResolvedPublic1 Estimated Story Points

Description

1.Go to Media Settings>Upload
2.Select an image and upload
3.On the Details panel put your cursor on Categories field and type a letter
4.Then move to the next field

Observe that, the drop down for categories took so long that at first its hard to realize that there will be adrop dwon expanding here, It opened after I moved to the next field

Screen capture attached

Event Timeline

Ryasmeen raised the priority of this task from to Needs Triage.
Ryasmeen updated the task description. (Show Details)
Ryasmeen added a project: VisualEditor.
Ryasmeen added a subscriber: Ryasmeen.
  • We should use the "pending" style on the input field while we're querying.
  • We should abort all queries when losing focus.

Change 244680 had a related patch set uploaded (by Bartosz Dziewoński):
mw.widgets.CategorySelector: Indicate pending requests and abort useless ones

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

Jdforrester-WMF edited a custom field.
Jdforrester-WMF moved this task from To Triage to Blocked on the VisualEditor board.

Change 244680 merged by jenkins-bot:
mw.widgets.CategorySelector: Indicate pending requests and abort useless ones

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

Change 245867 had a related patch set uploaded (by Bartosz Dziewoński):
OOjs UI: Backport aadaa8a1, 9aba218a

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