Page MenuHomePhabricator

Article footer and read more
Closed, ResolvedPublic

Description

Why are we doing this?

We would like to be able to encourage users to read more when they reach the bottom of an article by suggesting similar articles to them. Additionally we need to include the legal footer.

User story

As a KaiOS app user, when I read an article to completion it generally means that I am interested in this subject and would like to learn more about it by reading similar articles.

Features

  • Read more
  • Legal footer
  • Edit history - how many days ago the article was edited

Proposed designs

Read moreLegal footer + last edit timestamp
read more.png (320×240 px, 32 KB)
Image thumbnail.png (320×240 px, 27 KB)
https://zpl.io/29znGpphttps://zpl.io/29znGpp
Interaction details

All elements displayed here act as links (eg. are set to focus by moving left/right on the D-pad)

V1 exclusions
  • a link to go to full version history
  • Talk
  • Categories

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
cmadeo updated the task description. (Show Details)
cmadeo updated the task description. (Show Details)
cmadeo moved this task from Design doing to Ready for approval on the KaiOS-Wikipedia-app board.
SBisson edited projects, added Inuka-Team (Kanban); removed Inuka-Team.

API GET example for Read more

https://en.wikipedia.org/w/api.php?action=query&format=json&formatversion=2&prop=pageimages%7Cdescription&piprop=thumbnail&pithumbsize=160&pilimit=3&generator=search&gsrsearch=morelike%3ACat&gsrnamespace=0&gsrlimit=3&gsrqiprofile=classic_noboostlinks&uselang=content&smaxage=86400&maxage=86400

@cmadeo what's the styling when the user hovers item in the suggested article?

What should be the text of the table of content entry that leads to the footer section?

@SBisson let's call it 'Suggested articles' and not have a TOC entry for the legal footer.

@hueitan could we use the same styling as the link preview? https://zpl.io/bo6P6QE

@SBisson let's call it 'Suggested articles' and not have a TOC entry for the legal footer.

If user change the article language, we don't fetch the language file for that, so we will still show the Suggested articles in the app language.

@hueitan That's okay, if they switch their app language this will update though, correct?

@hueitan That's okay, if they switch their app language this will update though, correct?

exactly, yes.

ping @cmadeo require the design change for the information of Edit history

@hueitan will we be using an external link for Edit history?

@cmadeo @hueitan Let's not include an external link to go to edit history for this version. I updated the exclusions in the ticket description in the section titled "V1 exlusions".

Do we want something that is non-interactive that just states the timestamp of the last edit, something like "Updated on TIMESTAMP", @AMuigai ?

Updated to include the edit time stamp

The current design looks "Suggested Articles" and "Legal Section" are in the same section, but in the cases the article doesn't have suggested articles, then the "Suggested Articles" shoudn't be shown in ToC, therefore no "Legal Section"

How do we show the "Legal Section" when there aren't any suggested articles?

@hueitan would it be possible to have the legal footer presented as a separate section at the bottom of each article (eg not attached to any other section) but also hide it in the TOC, then it would either appear under the Suggested articles or after the References section if there are no Suggested articles? It might be helpful to connect with someone on the apps teams to know more about how this is handled.

Separating tasks from each other, since the original ask of this ticket is done. Pending work is described in T242308