Page MenuHomePhabricator

[S] Mobile: Show arrows next to search results for quick view discoverability.
Closed, ResolvedPublic

Description

To make quick view discoverable on the mobile show the arrows next to each results. There will be no tutorial on mobile for quick view as the arrows are always present unlike on Desktop.

AC:

  • Show the arrows only on the wikis in which we will be showing quick view.
  • All logged out users in those wikis will see the arrows.
  • Do not show the arrows if the logged in user has turned off the search previews in preferences.
  • The placement, orientation and the size of the arrows as specified in specs in Figma.
  • Do not show arrow for the results that have no quick view information.

Special_Search (57).png (800×360 px, 60 KB)

There is a separate ticket T320527 for opening and closing the quick view.

Event Timeline

Sneha renamed this task from Mobile quick view: Show arrows next to search results for quick view discoverability. to Mobile: Show arrows next to search results for quick view discoverability..Oct 11 2022, 3:47 PM
Sneha updated the task description. (Show Details)

@Sneha I have one question note to share.

Currently, the arrow is added after the Javascript is fully loaded. On a desktop, you do not notice this behaviour because you have to hover over a result to see the arrow, but on mobile, you will notice the arrows appearing after a second or two.

We have two possible solutions for this (to be added as the AC when we decided which one):

  • We just show the arrow when the JS is ready, even if this will happen after a second or two.
  • We show the arrow immediately (by actually showing it with plain CSS instead than attaching it to the JS. The problem with this is that users may see an arrow and click it before the JS is loaded. If this happens, nothing will show and the user will have to click again
MarkTraceur renamed this task from Mobile: Show arrows next to search results for quick view discoverability. to [S] Mobile: Show arrows next to search results for quick view discoverability..Oct 19 2022, 5:59 PM

@vadim-kovalenko Found a cool animation on code-pen https://codepen.io/gibatronic/pen/gMVVvR Looks more elegant than rotating the arrow 180 degrees. I am going to add this one to T320527

@SimoneThisDot From the two options you have it seems showing arrows only when its ready to be clicked (which is the first option) seems more user friendly. However, we need to see how long it takes for the arrows to load. I am wondering if it will show up as soon as the text appears or after the text has appeared? I think if it is after the text then the experience may feel a little jarring. If they both appear at the same time then it would be better. But definitely we don't want the scenario where the user has to click again.

@Sneha , animation looks good. I've just looked at the OOUI demo page, and there are no animated examples that we have to use as a reference, so your suggestion is good to me.

Change 849107 had a related patch set uploaded (by Simone Cuomo; author: Simone Cuomo):

[mediawiki/extensions/SearchVue@master] Show arrows next to search results for quick view discoverability.

https://gerrit.wikimedia.org/r/849107

Change 849107 merged by jenkins-bot:

[mediawiki/extensions/SearchVue@master] Show arrows next to search results for quick view discoverability.

https://gerrit.wikimedia.org/r/849107

Etonkovidova subscribed.

Checked on betalabs - marked the specs as done in the description and moved to Verify on Production. The gif below shows the animation for the arrows:

arrow_expanding.gif (548×346 px, 617 KB)

Filed T326189: [QA task] mobile QuickView edge cases to verify the edge cases listed there in production.

Etonkovidova updated the task description. (Show Details)

An example of where is no search preview and no arrow is present

  • Do not show arrow for the results that have no quick view information.

ru: ?search=Бд

Screen Shot 2023-02-02 at 4.03.40 PM.png (1×774 px, 210 KB)