Page MenuHomePhabricator

Add snackbar when lexical search yields no results
Closed, ResolvedPublic1 Estimated Story Points

Description

Background

The MVP of hybrid search (semantic and lexical) shows lexical results at the top of search, and semantic below. In the current Android app, if you search for a complex query, you often receive no results. With the prototype, sometimes there are situations where we only have semantic results to show users. This is happening for 2/5 of the sample queries in Greek

Example

If we search Πότε ο Πλούτωνας έπαψε να θεωρείται πλανήτης (When did pluto stop being a planet) in our current app experience, we get no results

image.png (2×1 px, 114 KB)

If we tap on the first suggested query Πότε ο Πλούτωνας έπαψε να θεωρείται πλανήτης (When did pluto stop being a planet) on the semantic search onboarding screen, we see:

image.png (4×2 px, 421 KB)

Requirements

  • Add "No article title matches this query" toast when there are no lexical search results

Mockup: https://www.figma.com/design/JlBBR9rVwHyZlUvl5BpKpL/Android---%3E-Hybrid-Search-MVP?node-id=8747-15763&t=Dm74SgmJ7fC0RZp1-1

Event Timeline

HNordeenWMF renamed this task from Add empty state when lexical search results yields no results to Add empty state when lexical search yields no results.Fri, Feb 13, 9:12 PM

Leave queries as-is Add snackbar: No article titles match this query

Could it be "No article title matches this query" ?

If so here is the mockup: https://www.figma.com/design/JlBBR9rVwHyZlUvl5BpKpL/Android---%3E-Hybrid-Search-MVP?node-id=8747-15763&t=Dm74SgmJ7fC0RZp1-1

Note: translation was done using Google Translate - we need to do QA with staff

HNordeenWMF renamed this task from Add empty state when lexical search yields no results to Add snackbar when lexical search yields no results.Tue, Feb 17, 5:59 PM

@TLessa-WMF The latest Alpha should now have the Greek version of this string.
https://github.com/wikimedia/apps-android-wikipedia/releases/tag/latest

(no more feature-branch APKs!)

Thank you! @ABorbaWMF, as per our sync during the Combined meeting today, can you please QA the language, making sure it is all in Greek? Thanks for the help and support, as always!

Looks good to me on 50568-r-2026-02-24, tested on OnePlus 8 on Android 13, and Pixel 6 on Android 16.

JTannerWMF set the point value for this task to 1.Tue, Mar 3, 5:38 PM