Page MenuHomePhabricator

Provide option to expand tables and infoxes in the Android app
Closed, ResolvedPublic2 Estimated Story Points

Description

There's been some new user requests [1] to add a font and theme setting in Android similar to iOS which allows default expanding tables in articles.

Proposed solution

Similarly to iOS, add a display setting to enable expanded tables in articles by default (incl. Quick facts, References, Notes, External links)
From @JoeWalsh, this is something that can be set via the Page library window.wmf.sections.collapseTablesInitially

Add item to Settings

image.png (828×728 px, 70 KB)

Setting titleExpand tables
Additional descriptionSet all tables in all articles to be open by default, including Quick facts, References, Notes, and External links.

Original task description

Title: Uncollapse quick facts automatically
Description:
Originally reported at: https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=9067164
The user requested an option to automatically uncollapse the quick facts (infobox) box when viewing a page (maybe it's possible to save the current state and uncollapse the box automatically, if the user uncollapsed it once).

[1] https://twitter.com/hinchliffe85/status/994281860640501760?s=21

Related Objects

Event Timeline

RHo renamed this task from Uncollapse quick facts automatically to Provide option to expand tables and infoxes in the Android app.May 17 2018, 3:57 PM
RHo updated the task description. (Show Details)

The pagelib setting is window.wmf.sections.collapseTablesInitially

Change 455611 had a related patch set uploaded (by Dbrant; owner: Dbrant):
[apps/android/wikipedia@master] Add preference to atomatically collapse/expand tables.

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

Change 455611 merged by jenkins-bot:
[apps/android/wikipedia@master] Add preference to automatically collapse/expand tables.

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