Page MenuHomePhabricator

Improve scrolling behavior in Wikistory builder
Closed, ResolvedPublic

Assigned To
Authored By
SGautam_WMF
Mar 7 2024, 7:02 AM
Referenced Files
F53358877: T359503_Wikistory_iPhone_AC4.webm
May 15 2024, 5:58 PM
F53353429: T359503_Wikistory_AC4.webm
May 15 2024, 5:58 PM
F53358849: T359503_Wikistory_iPhone_AC3.webm
May 15 2024, 5:58 PM
F53352719: T359503_Wikistory_AC3.webm
May 15 2024, 5:58 PM
F53358809: T359503_Wikistory_iPhone_AC2.webm
May 15 2024, 5:58 PM
F53352704: T359503_Wikistory_AC2.webm
May 15 2024, 5:58 PM
F53358787: T359503_Wikistory_iPhonr_AC1.webm
May 15 2024, 5:58 PM
F53353391: T359503_Wikistory_AC1.webm
May 15 2024, 5:58 PM

Description

Problem

Currently, the scrolling behavior in different parts of the story builder is inconsistent and can be distracting for users.

Design suggestion

Implement a more consistent and smoother scrolling behavior for following parts of story builder.

Area 1: When the story creator lands on the story builder after selecting images, improve the scrolling behavior to ensure that the top control bar remains visible.


Area 2: When editing story text, disable scrolling to keep the text box and other controls in place and make the editing process more productive.


Area 3: On the publish page, restrict horizontal scrolling to keep the input field within the screen space and improve alignment of page elements.


Area 4: On the post-publishing page, remove scrolling and center the success message to improve the user experience.


Acceptance Criteria:
  • Horizontal scrolling is disabled on the story builder page after selecting images, and the top control bar remains visible at all times.
  • Scrolling is disabled when editing story text, and the text box and other controls remain in place.
  • Horizontal scrolling is restricted on the publish page, and the input field is aligned within the screen space.
  • Scrolling is removed on the post-publishing page, and the success message is centered.
  • Other functionality of story builder is working as normal.
Test scenarios:
  • Test that horizontal scrolling is disabled on the story builder page after selecting images, and verify that the top control bar is always visible.
  • Test that scrolling is disabled when editing story text, and confirm that the text box and other controls remain stationary.
  • Test that horizontal scrolling is restricted on the publish page, and check that the input field is properly aligned within the screen space.
  • Test that scrolling is removed on the post-publishing page, and validate that the success message is centered.

Task Description:

QA Results - Beta

Event Timeline

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

[mediawiki/extensions/Wikistories@master] Sticky navigator on builder

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

I can't reproduce Area 3 and 4, it seems like zooming cause the horizontal scrolling issue, should we disable screen zooming for the entire builder?

Change #1014994 merged by jenkins-bot:

[mediawiki/extensions/Wikistories@master] Sticky navigator and disable scrolling when user editing the text on builder

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

@hueitan Please review the issues that I came across in AC2- iPhone Only and AC4- Both can vertical scroll on the post-publish page as seen in the videos below.

Status: ❌ FAIL
Environment: Beta: 1.43.0-alpha (702fb9a)
OS: macOS Sonoma 14.4.1
Browser: Chrome 124. Safari 17.4.1
Skins. Minerva
Device: MBA M2
Emulated Device:: BrowserStack: Galaxy S22 Ultra; iPhone 15
Test Links:
https://en.m.wikipedia.beta.wmflabs.org/wiki/Batman

✅AC1: Test that horizontal scrolling is disabled on the story builder page after selecting images, and verify that the top control bar is always visible- PASS

Galaxy S22 UltraiPhone 15

❌AC2: Test that scrolling is disabled when editing story text, and confirm that the text box and other controls remain stationary- I was able to scroll with iPhone 15 when in edit mode

✅Galaxy S22 Ultra❌iPhone 15

✅AC3: Test that horizontal scrolling is restricted on the publish page, and check that the input field is properly aligned within the screen space- PASS

Galaxy S22 UltraiPhone 15

❌AC4: Test that scrolling is removed on the post-publishing page, and validate that the success message is centered- Horizontal is disabled but I am still able to vertical scroll on both Android and iOS.

❌Galaxy S22 Ultra❌iPhone 15

Note: Marked the task as done with a caveat on those specific models (iPhone 15 & Galaxy S22 Ultra) that did not pass the QA assessment.