Page MenuHomePhabricator

[User Story US-8] Reader can hide Dive and get it back from Settings (Android)
Closed, ResolvedPublic3 Estimated Story Points

Description

User Story

  • As a reader who does not want this
  • I want to hide the Dive entry point and still be able to bring it back
  • So that the experiment does not change my search screen against my wishes

Where in the flow: Hide control in the entry point header row; corresponding control in app Settings.

Acceptance criteria

  • Hiding removes the entry point from the search screen immediately and shows a toast confirming it can be restored from Settings.
  • The toast reuses each app’s existing toast component — on Android, the same one behind the "Add … to a reading list?" prompt — rather than a new component built for this feature.

TS: Toast will contain a link to Settings, like the donation reminder toast. TBD by design.

  • The hidden state persists across app restart.
  • A Settings control restores the entry point, and its labelling matches the toast copy and uses the feature name.
  • Hide and restore are both logged.
  • Toast and Settings copy are localised for each target language.

Out of scope

A global opt-out of all semantic search behaviour.

Design reference

Mockup for module hidden (toast): https://www.figma.com/design/s3KF9DqhJg2aAHpZBS8lwg/iOS---Android---%3E-Semantic-Search-%7C-Phase-2?node-id=6697-57260&t=mgK1HJp5ez5L3tDe-11
Mockup for Settings screen: https://www.figma.com/design/s3KF9DqhJg2aAHpZBS8lwg/iOS---Android---%253E-Semantic-Search-%257C-Phase-2?node-id=6693-54837&t=37uH7AOV3YjzHiWd-11

Event Timeline

ABendall-WMF renamed this task from [User Story] Reader can hide Dive and get it back from Settings to [User Story US-8] Reader can hide Dive and get it back from Settings.Sep 8 2026, 7:56 PM

Eng sync:

Q: Can we get a mock for the Settings changes?
Q: For the toast, will there be a link to Settings inside the toast? Similar to how we did Donation Reminder?
Q: If you used semantic search, then decide to hide it, do we still see semantic search questions in History? Also should the history items remain after the experiment ends?

Q: For the toast, will there be a link to Settings inside the toast? Similar to how we did Donation Reminder?
Yes.
Q: If you used semantic search, then decide to hide it, do we still see semantic search questions in History? Also should the history items remain after the experiment ends?
History should be articles visit, recent searches should be the query used. Yes it should remain after experiment and throughout the experiment even after hiding

Tsevener renamed this task from [User Story US-8] Reader can hide Dive and get it back from Settings to [User Story US-8] Reader can hide Dive and get it back from Settings (Android).Sep 16 2026, 9:28 PM
Tsevener set the point value for this task to 3.

@JTannerWMF @ABendall-WMF for Android I am proposing we open a new Search module for this feature so it is easy to find it (instead of placing it under "General" module. The rationale is that this is a highly used feature, and I think it is important to dedicate a section to it (we do that in iOS). Mockup here: https://www.figma.com/design/s3KF9DqhJg2aAHpZBS8lwg/iOS---Android---%253E-Semantic-Search-%257C-Phase-2?node-id=6812-43349&t=37uH7AOV3YjzHiWd-11

Seddon raised the priority of this task from Medium to High.Sep 28 2026, 11:58 AM

Testing for design review / QA:

The latest APK can be found here: https://github.com/wikimedia/apps-android-wikipedia/actions/runs/37809388189/artifacts/11564447991

Setup:

  • Please download the APK and add it to your device or emulator
  • Go to Dev Settings and ensure that the desired switches are enabled (see example image)
    • 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)

Testing

  • Navigate to the Search Screen
  • Type a query into the search text field
  • You should see the Semantic Search Entry point card at the top of the list
  • Click the "x" in the Semantic Search Entry point card to dismiss the card and turn off the feature.
  • You should see the SnackBar pop up with the message text and "Modify" link to navigate to the Settings Screen
  • Clicking "Modify" should take you to the Settings Screen where the Semantic Search switch is disable.
    • flip the switch back to enabled and navigate to the search screen. The card entry point should reappear
    • leaving the switch off and navigating back to the search screen should retain the absence of the entry point.
  • If you dont click the "Modify" while the snackbar is active, you can navigate to settings at any time. The switch should be disabled after clicking the "x" from the entry point card."
ABorbaWMF subscribed.

Testing on 50611-alpha-2026-10-08
Tested on:
Pixel 8, Android 16
Galaxy A36, Android 15

Passed based on these steps. When tapping the Modify button on the toast, the settings screen appear. At this point, the user must scroll down to see the search toggle. We may want to consider auto-scrolling to the correct location.

  1. Navigate to the Search Screen
  2. Type a query into the search text field
  3. You should see the Semantic Search Entry point card at the top of the list
  4. Click the "x" in the Semantic Search Entry point card to dismiss the card and turn off the feature.
  5. You should see the SnackBar pop up with the message text and "Modify" link to navigate to the Settings Screen
  6. Clicking "Modify" should take you to the Settings Screen where the Semantic Search switch is disable.
  7. flip the switch back to enabled and navigate to the search screen. The card entry point should reappear
  8. leaving the switch off and navigating back to the search screen should retain the absence of the entry point.
  9. If you dont click the "Modify" while the snackbar is active, you can navigate to settings at any time. The switch should be disabled after clicking the "x" from the entry point card."