Page MenuHomePhabricator

API action=mobileview should support a 'lead' and 'nonlead' section retrieval
Closed, ResolvedPublic

Description

Specifying sections=lead should return just the section with id 0, while sections=nonlead should return everything else.

Right now the Mobile app has to first request the lead section + the list of all sections, and then construct the list of ids that aren't the lead, and then request them. This is ineffecient and I think can be avoided by supporting these two values for section


Version: unspecified
Severity: normal

Details

Reference
bz56704

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:15 AM
bzimport set Reference to bz56704.
bzimport added a subscriber: Unknown Object (MLST).

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1371

Change 94093 had a related patch set uploaded by Yuvipanda:
Recognize lead and nonlead section specifications in the Api

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

Change 94127 had a related patch set uploaded by Yurik:
Bug 56704: Allow mobileview api to handle section ranges

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

Change 94127 merged by jenkins-bot:
Bug 56704: Allow mobileview api to handle section ranges

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

Change 94093 abandoned by MaxSem:
Recognize first and rest section specifications in the Api

Reason:
Obsoleted by https://gerrit.wikimedia.org/r/94127

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