Page MenuHomePhabricator

[M][iOS user story] Category slide
Closed, ResolvedPublic3 Estimated Story Points

Assigned To
Authored By
HNordeenWMF
Sep 18 2026, 9:36 PM
Referenced Files
F111908233: 2026-11-03_09-04-51.webm
Tue, Nov 3, 5:34 PM
F111907954: 2026-11-03_09-02-20.webm
Tue, Nov 3, 5:34 PM
F111909168: 2026-11-03_09-16-45.webm
Tue, Nov 3, 5:34 PM
F111907270: 2026-11-03_08-56-35.webm
Tue, Nov 3, 5:34 PM
F111903997: 2026-11-03_08-20-01.png
Tue, Nov 3, 5:34 PM
F111903161: 2026-11-03_08-20-01.png
Tue, Nov 3, 5:34 PM
F111903041: 2026-11-03_08-17-43.webm
Tue, Nov 3, 5:34 PM
F111902044: 2026-11-03_08-00-07.webm
Tue, Nov 3, 5:34 PM

Description

Background

Last year we highlighted 3-5 “interesting” categories that the user had visited. https://phabricator.wikimedia.org/T405306 This is a separate slide from the new "Topics" slides we’re adding. We heard the following feedback last year:

  • Make sure categories show diverse interests: Is there a way to collapse categories upwards if they're closely associated so users get more of their niche interests?

Since we now have topics, we’ll lean into “categories” as a way to highlight one niche interest that they had

User Story

As a Wikipedia reader, I want to see the one interesting category that I read articles under last year, so I can feel like my reading is quirky and unique.

Requirements

  • Eligibility
    • User must have read 2 or more articles under one category to see this slide
    • If a user is not eligible, suppress this slide
  • Take all categories that the user has read 2 or more articles under and filter to those with 2+ spaces in the category name. If the user has no categories available with this filter (due to language, or usage), fallback to all categories without this requirement
  • Randomly select one category to show the user

Design

Copy

row 16 https://docs.google.com/spreadsheets/d/1O6x3_19wRpkp6IZ03CIjQDhSYaS4r9ETCzIhARjqfUQ/edit?usp=sharing


Derived Requirement

  • Show one randomly selected category in the iOS Year in Review when the user has read at least two distinct articles belonging to that category during the 2026 data period. Prefer eligible categories whose names contain at least two spaces; otherwise, select from all eligible categories regardless of spaces, and suppress the slide when no category qualifies.

Test Steps

Test Case 1: Verify eligibility, suppression, and slide presentation

  1. Prepare a history with no read articles.
  2. Open Year in Review and inspect the available slides.
  3. Repeat with one read article.
  4. Repeat with multiple read articles that share no category.
  5. Repeat with two distinct read articles sharing one category.
  6. Inspect the Category slide in the qualifying scenario.
  7. Compare its copy with row 16 of the approved copy sheet and its presentation with the approved iOS design.
  8. Check that the category name is readable without clipping.
  9. ✅❓❌⬜ AC1: The Category slide is suppressed when no category contains two distinct read articles and otherwise displays one qualifying category with approved copy and presentation, without clipped text.

Test Case 2: Verify category-name preference and selection from eligible categories

  1. Prepare multiple eligible categories, including names with exactly two spaces, more than two spaces, and fewer than two spaces.
  2. Record the expected selection pool containing only eligible categories with at least two spaces.
  3. Open Year in Review and inspect the selected category.
  4. Repeat across independently generated experiences using supported resets or equivalent profiles.
  5. Repeat with multiple eligible categories containing fewer than two spaces and none meeting the space preference.
  6. Compare each displayed category with the applicable selection pool.
  7. ✅❓❌⬜ AC2: Each Category slide displays exactly one eligible category from the pool with at least two spaces when available, or from all eligible categories when none meet that preference.

Test Case 3: Verify fallback and article eligibility take priority over category-name length

  1. Prepare a history whose sole eligible category has exactly one space in its name.
  2. Open Year in Review and inspect the Category slide.
  3. Repeat with a history whose sole eligible category has no spaces in its name.
  4. Repeat with one read article in a category containing at least two spaces and two distinct read articles sharing a category containing fewer than two spaces.
  5. Ensure no other categories qualify in each scenario.
  6. Open Year in Review and inspect the selected category.
  7. ✅❓❌⬜ AC3: Each fallback scenario displays the sole category containing at least two distinct read articles, regardless of its name’s space count.

QA Results - 2026.11.3 (6209)

ACStatusDetails
1✅T438563#12511738
2✅T438563#12511738
3✅T438563#12511738

Event Timeline

Mazevedo renamed this task from [iOS user story] Category slide to [M][iOS user story] Category slide.Sep 21 2026, 2:13 PM
HNordeenWMF lowered the priority of this task from Medium to Low.Oct 2 2026, 3:17 PM
SChekfa-WMF updated the task description. (Show Details)
SChekfa-WMF subscribed.
HNordeenWMF raised the priority of this task from Low to High.Oct 15 2026, 2:02 PM
GOlson-WMF set the point value for this task to 3.Wed, Oct 21, 2:24 PM
    1. Test Steps
  • aided by Claude

Turn on Developer settings → Show Year in Review 2026.

  1. Use an account with edits or a donation in the period. Open Year in Review, swipe through to the last slide ("THANK YOU!"), then swipe up once more.
    • Expected: the end screen is the next page. It shows a blue-to-navy sky, the tilted puzzle piece with a glow below it, "UNTIL THE NEXT RABBIT HOLE", the body copy, and then the cards.
    • The progress bar at the top right now counts the end screen, and its last dot is active.
    • There is no Share or Donate in the toolbar, and the empty toolbar is the same navy as the page. There is no dark bar between the page and the toolbar. The X, W, and ⋮ in the nav bar are dark.
    • On the iOS 18.6 iPhone SE simulator, every slide stops exactly in place, also on "THANK YOU!" and the end screen, and also when you swipe back.
    • On iOS 27, the slides stay in place after "You matter" and on the end screen. The toolbar keeps its height on pages without toolbar buttons.
    • Swipe slowly from "THANK YOU!" to the end screen. The corners of the last slide stay rounded during the swipe.
  2. Use a reader with enough reading data. Look at the end screen.
    • Expected: a "Share highlights" button shows under the body copy. Tapping it does nothing yet. It is covered by a separate task.
    • Use a low-data reader, for example a new install. Expected: no "Share highlights" button.
  3. As the contributor from step 1, scroll to the cards and swipe sideways.
    • Expected: "A SMALL THANK-YOU" with "Visit the store" is first. "WHICH WIKIPEDIA ARE YOU?" with "Take the quiz" is second and peeks in from the right. Both cards are the same height, and each button sits near the bottom of its card.
  4. Tap "Visit the store".
    • Expected: the Wikipedia store opens outside the app, in the browser, with the WikiLove discount link. Returning to the app shows the end screen again.
  5. Tap "Take the quiz".
    • Expected: the quiz page opens in a web view over Year in Review. Closing the web view returns to the end screen.
  6. Change the app language to Japanese, then open the quiz again.
    • Expected: the page is the Japanese version of the quiz (the address has /ja/).
    • Repeat with French, Spanish, Arabic, Portuguese, or Malay. Each opens its own language.
    • Repeat with a language the quiz site doesn't have, for example German. Expected: the English version.
  7. Log in as an account with no edits and no donations on this device in the period. Open the end screen.
    • Expected: the last slide is "You matter". Only the "WHICH WIKIPEDIA ARE YOU?" card shows, centered. There is no "A SMALL THANK-YOU" card.
    • Log out, then make a donation on this device in the period. Open Year in Review again.
    • Expected: the last slide is "You matter", not "THANK YOU!". The end screen shows only the "WHICH WIKIPEDIA ARE YOU?" card.
  8. On the end screen, at the default text size, pull down at the top.
    • Expected: the end screen does not bounce. The pager goes back to the last slide.
    • Set the text size to the largest setting. Scroll down, then back to the top, and pull down.
    • Expected: the content scrolls on its own.
  9. Tap the X, then open Year in Review again and tap the ⋮ menu on the end screen (Learn more, About your insights, Share feedback).
    • Expected: the X closes Year in Review. The menu items open their pages over the end screen.
  10. On an iPad, open the end screen.
    • Expected: it stays in portrait, and the layout is centered with no clipping. The headline and body copy have 10% space on each side.
    • With one card, the edges of the text line up with the edges of the card.
  11. Set the text size to the largest setting, then turn on dark mode.
    • Expected: the headline wraps without being cut off, and the body text and cards stay readable. The end screen looks the same in dark mode, with light cards and dark card text.

DECISIONS

Current fonts approved by Sneha (Georgia)
Center single card
Add more padding and more line height

@GOlson-WMF is this comment related to this ticket (categories?) I think it's related to the end screen.

Available in: TestFlight Wikipedia Alpha 2026.10.29 (1933)

Available in: TestFlight Wikipedia 2026.11.03 (6207)

ABorbaWMF subscribed.

Build: 6209-beta-2026-11-03
Tested on:
iPhone 16, iOS 26.6
iPad Air, iPadOS 26.6
iPhone SE, iOS 26.5.2

Requirement✅❓❌Notes
Eligibility
User must have read 2 or more articles under one category to see this slide✅Works as expected
If a user is not eligible, suppress this slide✅Works as expected
Take all categories that the user has read 2 or more articles under and filter to those with 2+ spaces in the category name. If the user has no categories available with this filter (due to language, or usage), fallback to all categories without this requirement✅Works as expected
Randomly select one category to show the user✅Works as expected

@GOlson-WMF Validated one randomly selected category in the iOS Year in Review when the user has read at least two distinct articles belonging to that category during the 2026 data period. Prefer eligible categories whose names contain at least two spaces; otherwise, select from all eligible categories regardless of spaces, and suppress the slide when no category qualifies, as seen in the videos below. I will move this to Sign-Off. Thanks for all your work!

Test Result - 2026.11.3 (6209)

Status: ✅ PASS
Environment: 2026.11.3 (6209)
OS: Record tested iOS version
Browser: NA
Device: Record tested iPhone or iPad
Emulated Device: BS- iPhone 16 Pro Max, iPad Pro 13 v26.0

Test Artifact(s):

Test Steps

Test Case 1: Verify eligibility, suppression, and slide presentation

  1. Prepare a history with no read articles.
  2. Open Year in Review and inspect the available slides.
  3. Repeat with one read article.
  4. Repeat with multiple read articles that share no category.
  5. Repeat with two distinct read articles sharing one category.
  6. Inspect the Category slide in the qualifying scenario.
  7. Compare its copy with row 16 of the approved copy sheet and its presentation with the approved iOS design.
  8. Check that the category name is readable without clipping.
  9. ✅ AC1: The Category slide is suppressed when no category contains two distinct read articles and otherwise displays one qualifying category with approved copy and presentation, without clipped text.
0 Article1 Article2 articles NOT shared 1 category2 articles shared 1 category
2026-11-03_08-20-01.png (591×1,152 px, 230 KB)

Test Case 2: Verify category-name preference and selection from eligible categories

  1. Prepare multiple eligible categories, including names with exactly two spaces, more than two spaces, and fewer than two spaces.
  2. Record the expected selection pool containing only eligible categories with at least two spaces.
  3. Open Year in Review and inspect the selected category.
  4. Repeat across independently generated experiences using supported resets or equivalent profiles.
  5. Repeat with multiple eligible categories containing fewer than two spaces and none meeting the space preference.
  6. Compare each displayed category with the applicable selection pool.
  7. ✅ AC2: Each Category slide displays exactly one eligible category from the pool with at least two spaces when available, or from all eligible categories when none meet that preference.
Space PrefFallback
2026-11-03_08-20-01.png (591×1,152 px, 230 KB)
iPad

Test Case 3: Verify fallback and article eligibility take priority over category-name length

  1. Prepare a history whose sole eligible category has exactly one space in its name.
  2. Open Year in Review and inspect the Category slide.
  3. Repeat with a history whose sole eligible category has no spaces in its name.
  4. Repeat with one read article in a category containing at least two spaces and two distinct read articles sharing a category containing fewer than two spaces.
  5. Ensure no other categories qualify in each scenario.
  6. Open Year in Review and inspect the selected category.
  7. ✅AC3: Each fallback scenario displays the sole category containing at least two distinct read articles, regardless of its name’s space count.
1 SpaceNo spacesLonger category name w/only 1 article