Page MenuHomePhabricator

Article Preview Adjustment
Open, Needs TriagePublic

Description

Update the article preview section to:

  • Fit 75% - 80% of the screen
  • Include article title
  • Include article lead image icon
  • Remove title description
  • Remove latin explanations and pronunciation descriptions

Event Timeline

hueitan created this task.Tue, Jan 7, 9:37 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptTue, Jan 7, 9:37 AM
cmadeo added a subscriber: cmadeo.Tue, Jan 7, 3:19 PM

+1 to this!

AMuigai updated the task description. (Show Details)Fri, Jan 10, 12:43 PM
AMuigai updated the task description. (Show Details)
SBisson added a subscriber: SBisson.EditedFri, Jan 10, 1:42 PM

Remove title description

We can remove it to make the display less crowded but because of the thumbnail height, we won't save much space.

Remove latin explanations and pronunciation descriptions

The latin explanation is part of the text and unstructured. We can't remove it.

Pronunciation is recognizable on some wikis but it's also part of the text so removing it may break the prose. What we can do it remove the links in it.

EDIT: The preview on Android doesn't show those things. It is using this API: https://en.wikipedia.org/api/rest_v1/page/summary/Carnivore

SBisson moved this task from Backlog to Ready on the Inuka-Team (Kanban) board.Mon, Jan 13, 2:25 PM
hueitan claimed this task.EditedTue, Jan 14, 6:18 AM
hueitan moved this task from Ready to Code Review on the Inuka-Team (Kanban) board.

true, using summary api can reduce the size fetching the preview message, which is a really good news

screenshot

SBisson moved this task from Code Review to QA on the Inuka-Team (Kanban) board.Tue, Jan 14, 7:04 PM
SBisson moved this task from QA to Code Review on the Inuka-Team (Kanban) board.
hueitan moved this task from Code Review to Dev on the Inuka-Team (Kanban) board.Wed, Jan 15, 2:35 AM
hueitan moved this task from Dev to Code Review on the Inuka-Team (Kanban) board.Fri, Jan 17, 5:17 AM