Page MenuHomePhabricator

[User Story US-6] Reader taps a passage and lands in the article at that passage (iOS)
Closed, ResolvedPublic1 Estimated Story Points

Description

See parent task for requirements.

Design

https://www.figma.com/design/s3KF9DqhJg2aAHpZBS8lwg/iOS---Android---%3E-Semantic-Search-%7C-Phase-2?node-id=6413-22884&t=mgK1HJp5ez5L3tDe-11

Please use the existing highlight tokens from iOS (find-in-page). We'll use the findInPageMatch token for semantic search highlights, and they vary by theme (dark/light) — see the reference image. Also, when text has a highlight behind it, blue links within that passage should switch to underlined — see Figma for an example. Let Taís know if you have any questions.

Screenshot 2026-09-18 at 4.27.37 PM.png (1,060×746 px, 159 KB)

Test Notes

  1. Fresh install the latest beta (Main Wikipedia app) in TestFlight. Should be version 2026.10.13.
  2. After launch, tap profile > Settings > My languages > Add FR, AR, and JA Wikis as secondary languages
  3. Go back to Settings, scroll down to About > tap top "About" navigation bar header 7 times, then our developer settings menu will appear.
  4. Scroll to semantic search section, toggle on "Enable semantic search". Choose "Force experiment Group B" option.
  5. Exit out of settings, tap search button. Type your search query, then choose to search under FR, AR, or JA wikis in the top tabs. You should see the semantic search entry point at the top of lexical search results.
  6. Tap entry point, you should see semantic search results.
  7. Tap semantic search result. You should land on article, automatically scrolled to the highlighted passage.

Event Timeline

Tsevener triaged this task as High priority.
Tsevener set the point value for this task to 3.
TLessa-WMF updated the task description. (Show Details)
TLessa-WMF updated the task description. (Show Details)

Question about the acceptance criteria "Back from the article returns the reader to the search screen with the query, the entry point, and the autocomplete list intact".

On iOS today, going back from an article always returns to the initial state of the screen: which shows the reading history.

This is how it works for lexical results too (check video), not something specific to the Dive sheet.

The query is saved to recent searches before the article opens, so it shows up once the reader taps the search field, but the field, the results list and the entry point are not restored.

Restoring the query and the list on back would be a change to the search screen itself, for both flows (not only the experiment).

Should it be part of US-6, or a separate task, or can we keep the current behavior? I'd suggest keeping the current behavior.

@ABendall-WMF @JTannerWMF and @TLessa-WMF

{F104510035}

Available in: TestFlight Wikipedia 2026.09.26 (6185)

@ABorbaWMF Some examples of regression test you could run.

Article regression check (no semantic search needed)

Recent article changes, not behind a feature flag: opening an article at a section now jumps straight there with no scroll animation, and section links in non-Latin languages now work.

  1. Normal article: open any article from Search or Explore. It opens at the top, with no blank flash or delay.
  2. Deep link to a section: paste each link into Notes and tap it. The article should open already at that section, with no visible scroll from the top.
  3. Section that doesn't exist: https://en.wikipedia.org/wiki/Cat#Nonexistent_section should open at the top after about 1 s, with no error toast and no page that stays blank.
  4. Table of contents: tap a section in the Contents. It still scrolls there with an animation.
  5. References: tap a [n] reference, then its back link. It still scrolls and highlights as before.
  6. Find in page: search a word in an article. The matches highlight and next/previous works.
  7. Restore position: scroll halfway down an article, force-quit the app, and reopen it. It comes back to the same spot.
  8. Themes: repeat step 2 (the Cat link) in Light, Sepia, Dark, and Black.

Same questions I had for Android I have here (please see parent ticket)

Other areas I checked are all good; I just want to document this here for future reference. Figma link

  1. Links are underlined when highlight is present ✅
  2. Highlight colours work as expected across our 4 themes ✅

Available in: TestFlight Wikipedia 2026.09.30 (6189)

Seddon changed the point value for this task from 3 to 1.Sep 30 2026, 4:19 PM

Toni said that @JTannerWMF will review the semantic search tickets in 'Design Review' in place of Tais (since she's OOO for two weeks and Sarah is busy before going on leave for 2 weeks) and then move them to QA review

Build: 6196-beta-2026-10-13
Tested on:
iPhone 16, iOS 26.6
iPad Air, iPadOS 26.6
iPhone SE, iOS 26.5.2

Looks good

Tested on iOS beta (iPhone 16) and this is working for me in all three langugages