(Go: >> BACK << -|- >> HOME <<)

Page MenuHomePhabricator

[StoryViewer] Pause story frame
Closed, ResolvedPublic

Assigned To
Authored By
EUdoh-WMF
Apr 24 2022, 9:15 PM
Referenced Files
Restricted File
Jun 20 2022, 3:27 PM
F35150644: Story paused.png
May 18 2022, 7:21 AM
F35150645: Story playing.png
May 18 2022, 7:21 AM
F35062078: image.png
Apr 24 2022, 9:15 PM

Description

Description

When a user is viewing a story, the story page transitions from one to the other. If the user needs to spend more time reading the story text, or scroll through it, there would need to be a way to pause the page transition.

image.png (1×796 px, 1 MB)

Test Scenarios

  1. Verify the user can tap a CTA which would halt the transition to another page.
  2. Verify the user can scroll through the text area (if lengthy) without the page transitioning.
  3. For a paused page, verify that tapping on the same CTA would resume the transition to another page.

Design

Story playingStory paused
Story playing.png (780×360 px, 389 KB)
Story paused.png (780×360 px, 388 KB)
  • On mobile, a tap on pause/play icon would pause or play the story page.
  • On desktop, a click on pause/play icon would pause or play the story page.
  • Move close icon to left side of a story page to avoid accidental tap/click.
  • Also pause the story viewer when a user scroll through the story text.
Design details

Event Timeline

EUdoh-WMF renamed this task from [StoryBuilder] Pause the progress bar while users are reading a story to [StoryBuilder] Pause the page transition while users are reading a story.Apr 24 2022, 9:15 PM
EUdoh-WMF updated the task description. (Show Details)
SBisson renamed this task from [StoryBuilder] Pause the page transition while users are reading a story to [StoryViewer] Pause/next/previous story frame.May 12 2022, 2:56 PM
SBisson moved this task from Backlog to Definition on the Inuka-Team (Kanban) board.
SBisson renamed this task from [StoryViewer] Pause/next/previous story frame to [StoryViewer] Pause story frame.May 13 2022, 1:11 PM

Change 802054 had a related patch set uploaded (by Sbisson; author: Huei Tan):

[mediawiki/extensions/Wikistories@master] Pause/Resume story frame

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

SBisson triaged this task as Medium priority.Jun 9 2022, 12:59 PM

Change 802054 had a related patch set uploaded (by Huei Tan; author: Huei Tan):

[mediawiki/extensions/Wikistories@master] Pause/Resume story frame

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

Change 802054 merged by jenkins-bot:

[mediawiki/extensions/Wikistories@master] Pause/Resume story frame

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

Also pause the story viewer when a user scroll through the story text.

I can't test this acceptance criteria at the moment because the text area does not have a defined height, and thus I cannot simulate scrolling.

{F35256452}

I will close this now and retest when T311007 has been fixed.