Page MenuHomePhabricator

[User Story US-1] Reader sees the entry point while typing a search (Android)
Closed, ResolvedPublic0 Estimated Story Points

Description

User Story

  • As a reader searching Wikipedia in the app
  • I want to see a clearly marked way to search inside articles
  • So that I can choose it when a title match is not what I need

Where in the flow:
Search screen with the keyboard active. The entry point is the first item in the autocomplete list, above the title/description suggestions.
This is the "path" in user pathing: the reader opts in rather than having semantic results blended into the list.

Acceptance Criteria

  • The entry point renders as the first item in the autocomplete list once the query is being typed (absent recent-searches state).
  • The component is larger than other autocomplete items, with the same border colour and border width, and a slightly darker background colour that matches the cards in the results screen. It reads as a pathway part of the list, not as a banner 
  • Content: the reader’s query as the title, the explanatory line, and the quote-and-magnifier illustration.
  • Header row carries three controls in this order: the Beta pill, an info control, and a hide control rendered as a X.
  • The autocomplete list (lexical) below is unchanged in content and ranking — the entry point is additive and never displaces or reorders a lexical suggestion. On Android it also does not displace the namespace shortcut row.
  • The entry point respects the hidden state from T437046: [User Story US-8] Reader can hide Dive and get it back from Settings (Android) and does not render when the reader has hidden it.
  • The entry point is not shown for queries outside the target languages.
  • All copy and the button label are localised for each target language (see copy doc)

Notes

Open copy decision: the entry point line. The iOS mockups read "Search within articles and jump straight to the relevant passage"; Android reads "Search within articles and get your answers as word-for-word passages". The first describes what tapping does and is shorter; the word-for-word claim is already carried by onboarding (T437035: [User Story US-2] Reader is introduced to Dive before first use (Android)). Recommend the iOS line, but this needs a final agreement before translation.

Out of scope

Any automatic or router-driven decision about whether to show semantic results — that is the routing arm, not this one.

Design

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

NOTE: quotation marks are being localized

Event Timeline

Eng Sync questions:

  • Does hide hide it forever?
  • Just confirming, this insert would not be there for certain languages? Maybe Figma should only show the 3 supported languages in the experiment?
  • The entry point respects the hidden state from US-8 and does not render when the reader has hidden it. Clarify US8?
  • What does info icon show?
  • Against existing behavior when doing search. (Content vs chrome translations)

Tentative estimates:

Android: 3
iOS: 5

All of the below TBD with Jaz for firm estimates:

  • TBC if Hide is shown again - but current expectation is it would in settings
  • Supported languages - French, Japanese, Arabic - TBC but we believe only the supported test languages for the experiment
  • Info icon - Bottom sheet - with blurb about the experiment taking them to MediaWiki page
  • Which language - device language or wiki language - when searching? (typically would be device) - This could be confusing

From a Design POV this should be ready to be picked up, once the above questions have been answered and the team provides firm estimates

ABendall-WMF renamed this task from [User Story] Reader sees the entry point while typing a search to [User Story US-1] Reader sees the entry point while typing a search.Sep 8 2026, 7:53 PM
Tsevener renamed this task from [User Story US-1] Reader sees the entry point while typing a search to [User Story US-1] Reader sees the entry point while typing a search (Android).Sep 8 2026, 9:17 PM
Tsevener changed the point value for this task from 0 to 3.

Currently figuring out if quotation marks need to be updated for each test language. Asked via Slack.

Eng sync note: Special magnifying glass + quote images for different localizations might take a bit of work. If we could get that flagged as a nice-to-have and have a generic option, that would be good. It would not scale well to 300+ languages if this experiment is a success.

Adding some answers for documentation purposes...a lot of our initial questions were because we hadn't gone through the whole feature yet.

Does hide hide it forever?

A: Hide behavior is described in T437046: [User Story US-8] Reader can hide Dive and get it back from Settings (Android)

Just confirming, this insert would not be there for certain languages? Maybe Figma should only show the 3 supported languages in the experiment?

A: Supported languages - French, Japanese, Arabic per https://phabricator.wikimedia.org/T437032#12299257

The entry point respects the hidden state from US-8 and does not render when the reader has hidden it. Clarify US8?

A: All user stories in this epic have an identifier...see epic https://phabricator.wikimedia.org/T437030.

What does info icon show?

A: Described in T437038: [User Story US-3] Reader can look up what Dive is at any time (Android)

Against existing behavior when doing search. (Content vs chrome translations)
Which language - device language or wiki language - when searching? (typically would be device) - This could be confusing

Per Slack convo https://wikimedia.slack.com/archives/C0BB6A2NS6A/p1788890877201989

If device language is EN they would see onboarding in EN.
If they select Japanese in search tab results will be in Japanese
Just as we do with every other feature

So only search result localizations are based on wiki language, but other UI is based on device language.

Also a noteworthy Slack quote (I don't see a particular A/B test user story, so noting here):

Assignment happens when they get to search and display a target language

Tsevener changed the point value for this task from 3 to 2.Sep 14 2026, 4:32 PM
Seddon changed the point value for this task from 2 to 1.Sep 16 2026, 4:53 PM
Seddon set Final Story Points to 2.

Hi @TLessa-WMF, This ticket is ready for design review

You can you download the APK here: https://github.com/wikimedia/apps-android-wikipedia/actions/runs/35640286738/artifacts/10658346875

To test, please first go to dev settings:

  • semanticSearchEnabled: must be ON
  • semanticSearchFirstUse: can be ON or OFF
  • semanticSearchOverrideSupportLanguage -> ON = All languages enabled | OFF = ar, ja, fr only
  • semanticSearchIsTestActive: must be ON
  • apps_semantic_search: must equal 1

DevSetting.png (1,344×2,992 px, 282 KB)

To see the Semantic Search entry point, please navigate to the search screen. As soon as you start typing a query, the entry point will appear and the text inside will populate.

Hi @TLessa-WMF, the punch list items have been addressed.

You can you download the APK here: https://github.com/wikimedia/apps-android-wikipedia/actions/runs/36068293251/artifacts/10837517526

To test, please first go to dev settings:

  • semanticSearchEnabled: must be ON
  • semanticSearchFirstUse: can be ON or OFF
  • semanticSearchOverrideSupportLanguage -> ON = All languages enabled | OFF = ar, ja, fr only
  • semanticSearchIsTestActive: must be ON
  • apps_semantic_search: must equal 1

DevSetting.png (1,344×2,992 px, 282 KB)

To see the Semantic Search entry point, please navigate to the search screen. As soon as you start typing a query, the entry point will appear and the text inside will populate.

It looks great, thank you so much @LPetty-WMF

Thank you!!!!

Hi @ABorbaWMF,

You can you download the latest APK here: https://github.com/wikimedia/apps-android-wikipedia/actions/runs/36495005661/artifacts/11003097392

To test, please first go to dev settings:

  • semanticSearchEnabled: must be ON
  • semanticSearchFirstUse: can be ON or OFF
  • semanticSearchOverrideSupportLanguage -> ON = All languages enabled | OFF = ar, ja, fr only
  • semanticSearchIsTestActive: must be ON
  • apps_semantic_search: must equal 1

DevSetting.png (1,344×2,992 px, 282 KB)

To see the Semantic Search entry point, please navigate to the search screen. As soon as you start typing a query, the entry point will appear and the text inside will populate.

Testing on 50609-alpha-2026-09-28
Tested on:
Pixel 8, Android 16
Galaxy A36, Android 15

Requirement✅❓❌Notes
The entry point renders as the first item in the autocomplete list once the query is being typed (absent recent-searches state).✅Works as expected
The component is larger than other autocomplete items, with the same border colour and border width, and a slightly darker background colour that matches the cards in the results screen. It reads as a pathway part of the list, not as a banner✅Works as expected
Content: the reader’s query as the title, the explanatory line, and the quote-and-magnifier illustration.✅Works as expected
Header row carries three controls in this order: the Beta pill, an info control, and a hide control rendered as a X.❓Works as expected. Noting that once turned off, semantic search can only be reenabled via dev settings
The autocomplete list (lexical) below is unchanged in content and ranking — the entry point is additive and never displaces or reorders a lexical suggestion. On Android it also does not displace the namespace shortcut row.✅Works as expected
The entry point respects the hidden state from T437046: [User Story US-8] Reader can hide Dive and get it back from Settings (Android) and does not render when the reader has hidden it.❌No setting for semantic search is present. Note referenced ticket is in Ready
The entry point is not shown for queries outside the target languages.✅Works as expected
All copy and the button label are localised for each target language (see copy doc)❌Not all strings are translated, can track separately

Keeping this task here for now so that when @JTannerWMF and @TLessa-WMF return, they can 'sign off' after having viewed the changes

Tested on latest Android APK and can confirm this is working so am resolving this task