Page MenuHomePhabricator

[S] Mobile: Tutorial/message to introduce quick view.
Closed, ResolvedPublic

Description

Problem:
Search previews is a new feature that will be introduced on special:search page. Users may not immediately notice the change.

Solution:
A tutorial / message that would introduce quick view to logged in users.
A similar tutorial shows up on desktop as well which is captured in T311669

Acceptance Criteria

  • Show the onboarding pop up when the logged in user first sees the results on the special search page.
  • The onboarding pop up should point at the snippet of the first result.
  • Show the icon, title and text as shown in the pop up in the mocks.
  • Have the blue icon pulsate. This is a standard component in design system.
  • Cross icon on the pop up should close the pop up
  • Automatically close the pop up when the user clicks on a snippet (any snippet on the page). Also open the preview when the snippet is clicked.
  • Do not show the onboarding pop up again to the same logged in user.
  • Logged out users will not see this pop up. (Search previews are enabled by default.)
  • If the user clicks on any link on the page that takes them to a new page consider the onboarding pop up as seen and hide it next time or if they go back.
  • Clicking on snippet or performing a new search will hide the pop up and do not show it again.
  • The code should be simple to remove in the future (e.g. we do not want classes and code scattered everywhere, but in a nice folder with all the info in it)

Design specs in Figma

Special_Search (77).png (800×360 px, 59 KB)

Event Timeline

MarkTraceur renamed this task from Mobile: Tutorial/message to introduce quick view. to [S] Mobile: Tutorial/message to introduce quick view..Nov 16 2022, 5:43 PM

@Sneha Is this gap between the pulsing dot and the white triangle has to be there? On the desktop version of this popup the pulse icon overlaps the triangle a bit and hence looks more consistent.
Also, message inside popup is different (for example, it doesn't have link to the preferences.). Is the message for mobile version shall be different?

Screenshot 2022-11-17 at 12.06.29.png (596×1 px, 95 KB)

@vadim-kovalenko Yes please make the pulsating icon position same as desktop (good catch) I will adjust in the mobile spec and image here.

Also I believe users cannot access preferences on mobile, hence I removed it. If they can I could add it back. @matthiasmullie? I remember you mentioning earlier about how to access preferences on mobile. The option is currently not in the mobile menu but can users be linked to it?

Also I believe users cannot access preferences on mobile, hence I removed it. If they can I could add it back. @matthiasmullie? I remember you mentioning earlier about how to access preferences on mobile. The option is currently not in the mobile menu but can users be linked to it?

It's at /wiki/Special:Preferences, just like on desktop: e.g. https://en.m.wikipedia.org/wiki/Special:Preferences
Linking directly to a specific section, however, doesn't seem to work (yet?)

yeah I think there is a bug filed for it going to specific section on desktop.

So on mobile, it seems that users cannot access preferences through a menu. I think for that reason it is okay to not have that link on mobile because if users try to find it later on mobile they won't find it unless someone has memorized the link.

Change 859564 had a related patch set uploaded (by Vadim Kovalenko; author: Vadim Kovalenko):

[mediawiki/extensions/SearchVue@master] Mobile: Tutorial/message to introduce quick view.

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

Change 859564 merged by jenkins-bot:

[mediawiki/extensions/SearchVue@master] Mobile: Tutorial/message to introduce quick view.

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

Etonkovidova subscribed.

@Sneha - just for you to take a look. No issues are found; works&looks as expected.
Checked in enwiki betalabs (with Special:Preferences/reset and &quickViewEnableMobile=1).

mockupenwiki betalabs
Screen Shot 2022-12-14 at 4.16.51 PM.png (1×764 px, 446 KB)
Screen Shot 2022-12-14 at 4.15.21 PM.png (734×343 px, 80 KB)

Checked after deployment (wmf.17) to ruwiki, ptwiki, and idwiki - all works/looks according to the specs.
Examples below are from ptwiki and `idwiki:

Screen Shot 2023-01-06 at 6.41.32 PM.png (647×1 px, 235 KB)
Screen Shot 2023-01-06 at 6.44.48 PM.png (596×1 px, 187 KB)