Page MenuHomePhabricator

iOS search widget
Open, LowPublic3 Estimated Story Points

Assigned To
None
Authored By
ARamadan-WMF
Dec 6 2023, 8:35 AM
Referenced Files
F62351604: Rectangular and Circular.png
Jun 16 2025, 3:06 PM
F62351600: AccessoryInline.png
Jun 16 2025, 3:06 PM
F62295466: image.png
Jun 11 2025, 7:24 PM
F61267441: image.png
Jun 2 2025, 4:58 PM
F60913824: image.png
May 30 2025, 7:46 PM
F60913706: image.png
May 30 2025, 7:44 PM
F60814266: Screenshot_20250529-112648.png
May 29 2025, 5:28 PM
F60813886: IMG_7B071958C12E-1.jpeg
May 29 2025, 5:28 PM

Description

Background

The Android app currently has a feature article widget, and a search widget. In analysis, we saw that users who have the search widget have higher average pageviews than Article of the day widget users (Analysis). The iOS app currently does not have a search widget. We previously considered an "Explore Wikipedia" widget with 4 different options that included Search with T259843. The advantage over a single purpose widget, is that it can take up less space on the user's home screen and lock screen.

User story:
  • As someone who searches for information and prefers to get results from Wikipedia, I would like to avoid google search app and search Wikipedia through a widget, so that I can get results faster, and avoid being tracked by Google.
  • As someone who searches for info often while hanging out with friends, I'd like a lock-screen search Widget, so I can find an answer to a question on Wikipedia in seconds.
Hypothesis

Draft: If we test a search widget into the iOS app, we'll see a 3% increase in overall app retention.

How we'll measure success
  • KR 1.1 - 3% increase in overall app retention among users who have access to the widget (measured by A/B test OR pre-post if we don't build an A/B test)
  • KR 1.2 (if we build an announcement) 10% of the users who saw the announcement install the widget
  • CR 2.1 - What % of searches by widget users come from the widget vs from inside the app?
Requirements
  • 1 square search widget available for the Home screen
  • Opens the Wikipedia app with the search field active, keyboard active
  • Instrumentation for usage
  • Add the same instrumentation in place for other iOS widgets

Nice-to-have

  • Create lock screen version
  • Instrumentation can answer the key results and curiosities above
  • New feature announcement for widget (Show on 2nd article view after app updates. End date 1 September)
  • Wrap up widget availability & announcement in an A/B test
Inspiration

Examples from Chrome and Duck Duck Go

IMG_4B8837E9B367-1.jpeg (1,179×2,556 px, 1 MB)
IMG_7B071958C12E-1.jpeg (1,179×2,556 px, 2 MB)
Home screenLockscreen

Example from Android

Screenshot_20250529-112648.png (1,080×2,400 px, 2 MB)

Designs

Figma file: https://www.figma.com/design/Oxn04gCxHMe3NMRk7GnBtZ/iOS-14-Widgets?node-id=457-244&t=omtEr0yKgMCxxzE2-0

Widget designs

image.png (757×606 px, 39 KB)

Announcement design

image.png (786×1,704 px, 763 KB)

Notes:

Event Timeline

JTannerWMF subscribed.

We may be able to do this in Q4

+1 request through the support email during July 2024

cmadeo added subscribers: HNordeenWMF, cmadeo.

@HNordeenWMF I updated the ticket with a design, let me know what you think and I'm happy to make changes as needed.

Thanks @cmadeo ! Looks great to me. Do you have time to mock up a quick Lock-screen version? It can wait until after your vacation if you're out of time!

@HNordeenWMF updated to include the lock screen widget :)

Temiloluwa67 changed the task status from Open to In Progress.Jun 9 2025, 6:45 PM

I have a opened a PR for this task at https://github.com/wikimedia/wikipedia-ios/pull/5321

Hello @HNordeenWMF Do we want or need accessoryRectangular and accessoryInline widgets for the Lockscreen or accessoryCircular will be just fine?

AccessoryInline.png (1,024×1,024 px, 1 MB)

Lockscreen accessoryInline widgets

Rectangular and Circular.png (1,024×1,536 px, 1 MB)

accessoryRectangular and accessoryCircular

@HNordeenWMF

Hey @Temiloluwa67 apologies I was out of office all last week!

After looking at a few other apps for comparison, just accessoryCircular is fine.

Hello @HNordeenWMF Okay great. it has been put in place. It should be part of our next release (7.7.7)

Mazevedo removed a subscriber: Temiloluwa67.
Mazevedo changed the task status from In Progress to Open.Aug 4 2025, 11:52 AM