HomePhabricator

Refactor MWMediaSearchWidget to use a queue and providers

This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Refactor MWMediaSearchWidget to use a queue and providers

Change the media search widget to work with resource queues and
providers. Create providers based on the user's filerepo settings
and aggregate their responses with the media queue. Stop asking
for more results from providers that are depleted.

Also fixes a rather nasty infinite-loop bug where the API returns
only very few images, and the UI keeps asking for more.

Bug: T78161
Bug: T88764
Change-Id: I65aed3446cd1f056476c56e6e04522c70e49e595
(cherry picked from commit aa9eb9545524242e9ff34de05d5b9b71485b81c4)

Details

Provenance
MooeypooAuthored on
KrenairCommitted on Feb 10 2015, 11:12 PM
ChangeId
I65aed3446cd1f056476c56e6e04522c70e49e595

Commit No Longer Exists

This commit no longer exists in the repository.