Page MenuHomePhabricator

Add supportive gestures to Wikipedia Preview - "Continue Reading" part
Closed, ResolvedPublic

Description

Problem

At present, some of the key interactions are only possible when users tap. Specifically: to view more content users need to tap on "Continue Reading". This gets the job done, but we can improve the user experience by allowing a supportive gestures like dragging the card up/down

Solution

  • Introduce drag up gesture to reveal more content of preview, drag down to close it. These two are currently performed by tapping on "Continue Reading" CTA and close icon, respectively
  • To drag up and reveal more content, user should be able to drag up from either the body or header of the card
  • To drag down and close the Wikipedia Preview card, users should only be able to drag down the card header. This is to not interfere with any possible text scrolling
  • The tap gesture should remain unchanged

Notes & references

Event Timeline

AMuigai triaged this task as Medium priority.Aug 4 2020, 5:10 PM
hueitan renamed this task from Add supportive gestures to Wikipedia Preview to Add supportive gestures to Wikipedia Preview - More Content part.Aug 12 2020, 9:11 AM
hueitan updated the task description. (Show Details)
NOTE: I have moved the gallery swipe event to another ticket T260228: Add supportive gestures to Wikipedia Preview - Gallery part

It shares a similar event, but the element and styling are different. Gallery requires layout changes as the current version only show one image.

hueitan moved this task from Dev to Ready for Dev on the Inuka-Team (Kanban) board.
hueitan subscribed.
eamedina renamed this task from Add supportive gestures to Wikipedia Preview - More Content part to Add supportive gestures to Wikipedia Preview - "Continue Reading" part.Sep 8 2020, 7:37 PM
eamedina updated the task description. (Show Details)
  • this doesn't work with the error card
    image.png (698×422 px, 57 KB)
    image.png (185×537 px, 34 KB)
    once we have the error in the console we can't close the card unless we refresh the page
  • the scroll continues once the card is closed, it should stop
    Large GIF (386x674).gif (674×386 px, 3 MB)

Seems to be working fine, moving it for product signoff.