See previous spike: T379119: [Spike] Fetch Topics for Articles in History on app
Background
One of the top requested personalization features in the last two years for Year in Review has been reading history by category or topic. Readers want to know what they were reading about over the past year.
Requirements
- Fetch and persist article topics for an individual article whenever it is viewed and store them locally
- Topics should be cleared if user clears their History
Example copy
- You read articles in the following topics this year: Architecture, Biography (Women), and Central America.
- You read 30 articles in the Performing Arts topic, and 23 in Comics and Anime topic
- Your top read topic this year was Central America! 55 of the articles you read belonged to this topic.
- You most commonly read articles that belonged both to the Architecture & Central America topics!
Reference
Android completed implementation https://phabricator.wikimedia.org/T429634
Derived Requirement
Ensure that adding topic collection for articles in reading history does not cause regressions to normal article viewing behavior in the Wikipedia iOS app.
The topic fetching and persistence itself cannot be manually verified yet, based on T434739#12217510 so it should be limited to regression smoke testing around article viewing, particularly crashes, loading failures, navigation problems, or other visible article regressions.
Test Steps
Test Case 1: Ensure repeated article viewing remains stable
- Open an article in the Wikipedia iOS app.
- Return to the previous screen.
- Open another article.
- Repeat opening and leaving articles several times.
- Reopen previously viewed articles from History.
- Continue navigating and scrolling through the reopened articles.
- ✅❓❌⬜ AC1: Repeatedly opening, leaving, and reopening articles remains stable without crashes, hangs, or visible article-viewing regressions.
QA Results - TestFlight
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T434739#12218149 |
