Page MenuHomePhabricator

Maintain all the times an article is accessed in History instead of just the most recent accessed date
Closed, InvalidPublic1 Estimated Story Points

Description

History currently does not behave as common user expectation, since it removes an article from a previous day's read history once it is opened from the History and moves it to today.

Steps
  1. Scroll to the earliest article in your history tab (eg., Giraffe on 23-Jan-2017)
  2. Tap to open that article
  3. Tap "X" to close article tabs and return to the History
Current behavior

History no longer shows Giraffe as read on 23-Jan-2017, but only on the current date.

Proposed update

History shows each time the Giraffe article was accessed (i.e., on 23-Jan-2017, as well as the current date it was read again)

Event Timeline

Change 439776 had a related patch set uploaded (by Cooltey; owner: Cooltey):
[apps/android/wikipedia@master] Record all the accessed date for an article

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

@RHo Just to clarify... If I navigate to the same article multiple times in one day, do we want to show all of those accesses in the history for that day? Or should we still show a single history item for that article on that day? (i.e. let the articles be duplicated across different days, but not within the same day)

[ one of these is much more difficult than the other ;) ]

Hey @Dbrant - showing all access instances would be preferred if we take into account we eventually want to show history with source and view paths similar to T189348 on iOS. Having said that, we can put that off till we actually do that update if it is easier on this ticket to show a single instance per date.

Showing all access instances is actually the easier one, but then it would create a rather cluttered experience, since we would show duplicate entries without any kind of differentiation. For example, a duplicate entry would be created if the user swipes to refresh an article, or if they navigate to a link and then go back from it, or indeed if they navigate to an article from the History screen itself, and so on.

Oh, well in that case did you want to start with implementing this show all access instances update first and I can create a ticket for showing the source of access as icons in a follow up ticket? Else I can pop a mock together tmrw and do that as the same ticket if it's an easy/small update.

It would probably be better to do this in the same ticket. Cooltey has a patch that enables all access instances, but without the differentiating source icons, it makes the whole thing look more like a bug than a feature.

Vvjjkkii renamed this task from Maintain all the times an article is accessed in History instead of just the most recent accessed date to 34daaaaaaa.Jul 1 2018, 1:13 AM
Vvjjkkii removed cooltey as the assignee of this task.
Vvjjkkii raised the priority of this task from Medium to High.
Vvjjkkii removed the point value for this task.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii edited subscribers, added: cooltey; removed: gerritbot, Aklapper.
Sharvaniharan renamed this task from 34daaaaaaa to Maintain all the times an article is accessed in History instead of just the most recent accessed date.Jul 1 2018, 5:04 AM
Sharvaniharan assigned this task to cooltey.
Sharvaniharan lowered the priority of this task from High to Medium.
Sharvaniharan set the point value for this task to 1.
Sharvaniharan updated the task description. (Show Details)
Sharvaniharan added subscribers: gerritbot, Aklapper.
Restricted Application changed the subtype of this task from "Deadline" to "Task". · View Herald TranscriptOct 15 2018, 7:33 PM

Change 439776 abandoned by Cooltey:
Record all the accessed date for an article

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