[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Page MenuHomePhabricator

[S] Mobile: Enable users to open and close quick view on special:search results page
Closed, ResolvedPublic

Description

This ticket describes the interaction of opening and closing quick view on Mobile.
More information on the overview of quick view in the epic ticket T306341

Opening

  • When the user clicks on the snippet or the arrow (pointing down), open the quick view below it. (This ticket can show a box in the specified space as details of quick view will be covered in other tickets.)
  • The position of the arrow will not shift in relation to the snippet.
  • Do not shift the screen if the quick view is above the fold.

[] Move the screen up if the quick view is below the fold.

  • Inverse the arrow to point up (indicating that quick view can be close by tapping on it).
  • If another quick view is open, the previous one will close and the new one will open. Make the opening/closing smoother by having the content slide up or down i.e. smoother animation.

Specs in Figma

Special_Search (55).png (800×360 px, 80 KB)

Closing

  • When the user click on the snippet or the arrow (pointing up) close the preview.
  • Preview will also be automatically closed if another preview is opened. Make the opening/closing smoother by having the content slide up or down i.e. smoother animation.
  • The position of the arrow remains fixed in relation to the snippet.
  • Show arrow pointing to the quick view, establishing the connection between the result selected an
  • Inverse the arrow to point down (indicating that quick view can be opened by tapping on it).

Specs in Figma

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

  • Add subtle animation to arrow while opening and closing. Arrow animation example on this link

Note: A new ticket has been created to allow users to open multiple previews at once to avoid jumping of the content. To be re-evaluated in milestone 4. T321590

Event Timeline

@Sneha While going through the milestone 3 tickets and we just noticed that this AC:
When another quick view is opened the previous one stays open (in the same scroll position user left it), unless the user explicitly closes it."

We need to have a chat about this point as it is going to really change the way we currently implement the SearchPreview.

I am going to start a thread in slack too and then report back the decision here.

MarkTraceur renamed this task from Mobile: Enable users to open and close quick view on special:search results page to [S] Mobile: Enable users to open and close quick view on special:search results page.Oct 19 2022, 5:59 PM

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

[mediawiki/extensions/SearchVue@master] Enable users to open and close quick view on special:search results page

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

Change 851057 merged by jenkins-bot:

[mediawiki/extensions/SearchVue@master] Enable users to open and close quick view on special:search results page

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

Etonkovidova subscribed.

Checked on enwiki betalabs with &quickViewEnableMobile=1
(1) I didn't see the following spec implemented - checked on iPhone 6s only and in a browser emulator.

  • Move the screen up if the quick view is below the fold.

(2) Occasionally, the search preview opens without the thumbnail image although on the desktop an article does have the thumbnail displayed. The issue is not quite reproducible; there might be some factors related to betalabs env. Needs to be rechecked in the production.

Hi @Etonkovidova we can scratch the following acceptance criteria as it conflicts with the following ticket. T326345 Whatever issue there is it should be resolved in the new ticket.

  • Move the screen up if the quick view is below the fold.

Hi @Etonkovidova we can scratch the following acceptance criteria as it conflicts with the following ticket. T326345 Whatever issue there is it should be resolved in the new ticket.

  • Move the screen up if the quick view is below the fold.

Agree. Thx!

Etonkovidova updated the task description. (Show Details)
Etonkovidova updated the task description. (Show Details)