Page MenuHomePhabricator

Be able to create story with up to 10 pages
Closed, ResolvedPublic

Assigned To
Authored By
SGautam_WMF
Nov 25 2021, 5:54 PM
Referenced Files
F35190380: image.png
May 30 2022, 1:56 PM
F35190378: image.png
May 30 2022, 1:56 PM
F35134120: 03. 10 Images in a story warning message.png
May 12 2022, 9:14 AM
F35033506: 01 Add a new story page.png
Apr 25 2022, 4:46 AM
F35033512: Images loaded for article-1.png
Apr 25 2022, 4:46 AM
F35033515: Images loaded for article.png
Apr 25 2022, 4:46 AM
F35033504: 03. 10 Images in a story warning message.png
Apr 25 2022, 4:46 AM
F35033501: 02. 10 Images in a story.png
Apr 25 2022, 4:46 AM

Description

Background

The MVP version of Wikistories allows a maximum of 10 story pages. This ticket provides different warning messages a user will encounter when trying to exceed the set limit.

Design
When a story already has 10 story pages
Story with 10 pagesWarning message
01. 10 Images in a story.png (780×360 px, 333 KB)
03. 10 Images in a story warning message.png (780×360 px, 287 KB)
  • Show a warning message when a user tap on [+] icon.
  • Warning message disappears after 8 seconds or before that if users decide to interact with any other part of the story builder.
  • Allow selecting images when a user deletes existing story page(s).
When a story has less than 10 story pages
Story with less than 10 pages
01 Add a new story page.png (780×360 px, 323 KB)
  • A Tap on [+] icon would take user to image selection screen.
Warning message
Images loaded for article.png (780×360 px, 321 KB)
  • Allow selecting multiple images until maximum limit(10) is reached.
  • Show maximum limit warning message when user try to select images after limit has reached.
  • Warning message disappears after 8 seconds or before that if users decide to interact with any other part of the story builder.
  • Users can perform actions(scrolling search results, using the navigation bar) while the warning message is displayed.
Design file

Event Timeline

SGautam_WMF renamed this task from Increase Wikistories page lm to Increase Wikistories page limit.Nov 25 2021, 5:55 PM
SGautam_WMF updated the task description. (Show Details)
SGautam_WMF updated the task description. (Show Details)
SGautam_WMF added a subscriber: SBisson.

@SBisson Please have a look and let me know if everything looks fine here, If so, we can move it to ready for dev.

SBisson renamed this task from Increase Wikistories page limit to Be able to create story with up to 10 pages.Feb 2 2022, 8:40 PM
SBisson updated the task description. (Show Details)
SBisson triaged this task as Medium priority.May 12 2022, 1:25 PM

Change 793870 had a related patch set uploaded (by Eamedina; author: Eamedina):

[mediawiki/extensions/Wikistories@master] Implement maximum number of frames per story

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

Change 793870 merged by jenkins-bot:

[mediawiki/extensions/Wikistories@master] Implement maximum number of frames per story

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

Testing:

image.png (1×674 px, 1 MB)
image.png (1×678 px, 1 MB)

This works perfectly when

  • selecting images
  • deleting and adding images