Page MenuHomePhabricator

Implement new database table for saved pages, with collections in mind.
Closed, ResolvedPublic5 Estimated Story Points

Description

In order to accommodate our next generation of storing the list of saved pages, we'll need to create a new database table to store the page titles, with the crucial additional column of "Collection ID", which will allow the pages to be organized in collections, once we transition to general collections. (Until then, all saved pages will fall under the default collection of 0).

We should also add any other columns that might be needed, to minimize the need for updating the database version too many times in the future.

Event Timeline

@Dbrant @Niedzielski If this is really a Mobile-App-Android-Sprint-78-Platinum task, it should probably be a lower priority until Mobile-App-Android-Sprint-77-Iridium tasks are complete (lots of stuff in Code Review, etc). If it is something we expect to complete for Mobile-App-Android-Sprint-77-Iridium then we should probably detag Mobile-App-Android-Sprint-78-Platinum

Change 278069 had a related patch set uploaded (by Niedzielski):
WIP: Add Reading List page database table

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

Change 278069 abandoned by Niedzielski:
WIP: Add Reading List page database table

Reason:
Replaced by Ia9cbfb5d872e63818f3afcdcc944a3af19d48c74.

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

Testing on Samsung Galaxy the Wikipedia app 2.1.143-alpha-2016-4-14. Right now, I can only save pages to Reading lists (not the Saved pages section), and this is probably what was intended by "all saved pages will fall under the default collection of 0". I'm moving this to Ready for Signoff as no functional changes occurred.