Page MenuHomePhabricator

Show messages when limits to articles in a reading list or number of lists is reached
Closed, ResolvedPublic

Description

IMPORTANT: Limit size for number of articles per list is being changed from 1K to 5K pending completion of T186296

Problem

There will be an initial system-imposed limit of 100 lists per account for the sync service, as well as of -1,000 5,000 articles per user-created list.
Users encounter these limits when using reading lists currently would not know the reason why they are unable to save the article to a list or create a new (101st) list.

Proposed solution

When the article or list limit is encountered during usage, provide an appropriate message advising of the limits.

SituationProposed (draft) message
List reached the 1K 5K article limitCan't add to this list. You've reached the limit of 1,000 5,000 articles per list for "list name".
Number of lists reaches 100 list limitCan't create another list. You've reached the limit of 100 reading lists per account.
Lists limit alert
Reading list sync - list per account limit alert.png (1×720 px, 557 KB)
Lists limit message on My lists
Reading list sync - list per account limit notification.png (1×720 px, 257 KB)
Article limit alert
Reading list sync - article limit per list alert.png (1×720 px, 557 KB)
Article limit message on that reading list
Reading list sync - article limit per list notification.png (1×720 px, 780 KB)

QA required

QA steps: Article 1K 5K limit

Pre-requisite: There is a reading list created that contains exactly 1K 5K articles. user is logged in, and has opted-in to syncing reading lists

  1. Open the app and try to add a new article to a list which contains 1K 5K articles.
  2. It is expected that an alert message (see details in 'proposed solution') will be shown advising that lists have a limit of maximum 1K 5K articles only. The article will not have been saved to the list.
  3. Go to view the particular list that has 1K 5K articles. It is expected that the same message will appear as a notification for that reading list.
QA steps: 100 lists limit

Pre-requisite: There are 100 reading lists, user is logged in, and has opted-in to syncing reading lists

  1. Open the app tap to add an article to a NEW reading list.
  2. It is expected that as soon as the option to create a new list is tapped, a message (see details in 'proposed solution') will be shown advising that there are is a limit of 100 lists per account.
  3. Go to 'My lists'. It is expected that the same message will appear as a notification on the user's 'My lists' screen.

Event Timeline

Change 404059 had a related patch set uploaded (by Sharvaniharan; owner: Sharvaniharan):
[apps/android/wikipedia@master] Show message when article limit is reached on reading lists

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

Clarification needed on QA steps: Article 1K limit point 3: Should the message appear anytime any list with 1K articles is viewed, or only on the event that a user tries to add the 1001st article and immediately views the list?

Also, why are we even displaying the list with >1k articles to the bottom sheet as an option?

Clarification needed on QA steps: Article 1K limit point 3: Should the message appear anytime any list with 1K articles is viewed, or only on the event that a user tries to add the 1001st article and immediately views the list?

The notification snackbar will be shown in both cases, but is a temporary message.

Also, why are we even displaying the list with >1k articles to the bottom sheet as an option?

Do you mean the bottom sheet when a user tries to add an article to a list? It should still be visible since it would be unexpected and negative experience for the user if a list they've saved so many articles to seemingly disappears. So the intention here is to explicitly notify those users of this limit if they do ever reach that 1001st article, rather than inexplicably hiding the list.

Thanks for the clarification @RHo . I have made changes accordingly.

One more small clarification.. @RHo "Can't create another list. You've reached the limit of 100 lists reading lists per account." is it a typo "...100 lists reading lists..." should it be "...100 reading lists..."?

One more small clarification.. @RHo "Can't create another list. You've reached the limit of 100 lists reading lists per account." is it a typo "...100 lists reading lists..." should it be "...100 reading lists..."?

Oops, yes it should be "100 reading lists" - just updated the description as well. Thanks!

@RHo another quick q:

  1. Add 999 articles to a list
  2. Add 2 articles to another list
  3. Try to select both articles from second list and add it to the first one.

Right now, i have added logic to add articles only until we reach the limit, in this case, 1 article . However, the message shown in this case would be : Added 1 article to "first list". This message might be confusing to the user as they were expecting 2 articles to be added... can you give a message for this scenario?

For the sake of simplicity, can we just disallow adding X number of articles if if means that the list will exceed 1000 items, regardless of how many articles we want to add?

Agree, let’s just display the same message regardless of the # of articles being added. Thanks!

@RHo Just to clarify, do we actually want to show a message when the user merely *navigates* to a list with 1000 items? (i.e. even when the user doesn't take any explicit action to add more articles to the list?)

Like, when the user opens the full-screen list activity with 1000 items, we show a message that says "Can't add to this list..."? My thought would be, "I wasn't trying to add anything."

Hey @Dbrant - This acts as reminder for the user in a similar way that there is a message when storage space is full. I want to err on showing this on the list view as a non-persistent notification rather than not, so it is always clear once the limit is reached why users will not be able to add more to the list.

Change 404059 merged by jenkins-bot:
[apps/android/wikipedia@master] Show message when article limit is reached on reading lists

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

LGTM on Nexus 5 (6.01), Wikipedia 2.7.224-alpha-2018-01-17

Articles per list exceeded message
image.png (1×1 px, 207 KB)
when trying to add to a 1000-article list
Lists exceeded message when trying to add to a an account with 100 lists already
image.png (1×1 px, 206 KB)

Note for QA: Go to developer settings to auto-generate lists and create a list with X articles for testing.

Actually @Sharvaniharan - just noticed that these limits are being imposed for a user who has *NOT* opted-in to sync articles. @Dbrant - are we changing the expected behavior so that these limits are being imposed on everyone regardless of whether they opt in to sync?

Just s/w @Dbrant and updated task description that these limits are indeed imposed regardless of user syncing files or not.

Limit size may change pending completion of T186296