Page MenuHomePhabricator

[M] Article total personalized slide: You read 350 articles
Closed, ResolvedPublic3 Estimated Story Points

Description

Background

The Apps team plans to explore if a personalized Wikipedia in Review feature that displays insights about a user's reading history, editing history, and donation history is engaging for App users, and inspires them to make a donation to the Wikimedia Foundation. In this slide, we'll show users how many total articles they have read within the App, based on information stored locally on their device, visible on the "History" tab.

Requirements
  • Total the number of unique articles a user has viewed in the App
  • Total should include all articles read during the period January 1, 2024 - November 1, 2024
  • Only display the personalized version of this slide if a user has more than 5 articles in their history. If a user is not eligible for the personalized version, they should see the collective version.
  • You read 350 articles this year. This year Wikipedia had 63.59 million articles available across over 332 active languages this year. You joined millions in expanding knowledge and exploring diverse topics.
  • Use variables for collective statistics in source text that goes to translate.wiki

Nice to have:

  • Reference language that articles were read in: You read 350 articles this year in English, German, and French.
Designs
image.png (1×786 px, 297 KB)
image.png (1×786 px, 280 KB)
PersonalizedCollective
Engineering Notes
  • (data half) Upon app resume method (comment todo area mentioned in T376041), pull persisted slide item object for this slide identifier. If evaluated = no AND remote config does not have a personalized slide kill switch, pull the number of articles they read (ONLY those with a viewedDate within the dates set in the remote config...see T376040) and save as metadata for that slide item. Then set “evaluated = yes”. Set “display = yes” IF user has > 5 viewed articles. Save model.
  • (UI half) Ensure that when we create the view models before presenting slides (see T376044), fetch the persisted model from previous bullet point. If display = yes, build a slide view model for this data (using the report model's metadata). Ensure slide view model is inserted into the correct order, and that associated collective "fallback" slide is NOT inserted.
QA Notes
  • Install app
  • Ensure device region in iOS settings is set to Mexico or Italy
  • Ensure primary app language is set to Spanish, Italian or English
  • Tap through rabbit hole to build up 6+ articles in the History tab if needed
  • Enable year in review feature flag in app developer settings menu
  • Background / foreground the app to trigger report creation.
  • Year in Review entry point should appear in Profile menu
  • Reading personalized slide should appear in year in review.

Event Timeline

HNordeenWMF triaged this task as Low priority.
HNordeenWMF updated the task description. (Show Details)
HNordeenWMF updated the task description. (Show Details)
HNordeenWMF renamed this task from Personalized slide: You read 350 articles to Article total personalized slide: You read 350 articles.Sep 30 2024, 6:45 PM
HNordeenWMF updated the task description. (Show Details)
Tsevener renamed this task from Article total personalized slide: You read 350 articles to [M] Article total personalized slide: You read 350 articles.Oct 1 2024, 6:58 PM
HNordeenWMF raised the priority of this task from Low to Medium.Oct 4 2024, 7:35 PM
Seddon set the point value for this task to 3.Oct 9 2024, 12:14 PM

@scblr @HNordeenWMF

I'm going to skip design review on this one since the UI here should already be reviewed as a part of T375566. Let me know if you disagree - I'll kick off a design review build and move it back, thanks!

@Tsevener we discussed in our Product<>Design<>Eng sync that: if it's using an existing component, we should do still do quick design review. I think this & T376320 are an example of that.

@scblr

Steps for Design Review: Experimental build 7.6.2 (178).

  1. Make sure device region in iOS settings is set to France
  2. Fresh install app.
  3. In onboarding, choose French Wikipedia as primary app language.
  4. Read articles and generate 6+ article views in the History tab.
  5. Go to app developer settings and toggle on Year in Review feature flag.
  6. Background and foreground the app to trigger YiR report data population.
  7. Profile button should show YiR entry point. Tapping should show new personalized reading slide in place of collective slide.

@scblr

Steps for Design Review: Experimental build 7.6.2 (178).

  1. Make sure device region in iOS settings is set to France
  2. Fresh install app.
  3. In onboarding, choose French Wikipedia as primary app language.
  4. Read articles and generate 6+ article views in the History tab.
  5. Go to app developer settings and toggle on Year in Review feature flag.
  6. Background and foreground the app to trigger YiR report data population.
  7. Profile button should show YiR entry point. Tapping should show new personalized reading slide in place of collective slide.

Hey @Tsevener – I did everything as outlined:

https://www.dropbox.com/scl/fi/9h5z4qbmf28ftv8shtm1j/ScreenRecording_10-22-2024-14-25-34_1.MP4?rlkey=it3i3lup7vn8nzui764g7p865&dl=0

But can’t see the YiR entry point within Profile. Any idea for making it show? Thanks!

@scblr sorry about that, we changed our config so the older builds started to fail. Can you try the same steps on the latest main Wikipedia build, 7.6.2 (4294)? I am able to trigger this slide with the same steps.

Tsevener subscribed.

Moving back to 'did not pass QA' based on the iPad issues listed here T375566