Page MenuHomePhabricator

Left rail should not show on Add data step if there's just one file
Closed, ResolvedPublic

Description

User story: n/a

We have this:
Currently (on Beta) the "Add data" step for UW shows the left nav rail, even when only one file is being uploaded. It's unnecessary, as there is no other file to navigate to.

We want this:
When only one file is being uploaded, the left rail shouldn't show and the content block (image & input fields) is centered.

UW left rail.png (3×2 px, 3 MB)

Please see T220429 for "Add data" instructional text and button copy, as it's shown here in the mock as well.

Acceptance Criteria:

Can be tested on Can be tested on https://commons.wikimedia.beta.wmflabs.org/wiki/Special:UploadWizard

  • Left rail doesn't show for only one file being uploaded
  • Content block is centered

Event Timeline

PDrouin-WMF renamed this task from [stub] Left rail should not show on Add data step if there's just one file to Left rail should not show on Add data step if there's just one file.Apr 30 2019, 10:16 PM
PDrouin-WMF updated the task description. (Show Details)
PDrouin-WMF added a subscriber: Ramsey-WMF.
Ramsey-WMF moved this task from Untriaged to Next up on the Multimedia board.

Change 507750 had a related patch set uploaded (by Matthias Mullie; owner: Matthias Mullie):
[mediawiki/extensions/UploadWizard@master] Don't show metadata menu when there's only 1 file

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

From our meeting earlier, with an individual file, centering the content block looks weird. Should be left-aligned.

Change 507750 merged by jenkins-bot:
[mediawiki/extensions/UploadWizard@master] Don't show metadata menu when there's only 1 file

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

Change 508526 had a related patch set uploaded (by Matthias Mullie; owner: Matthias Mullie):
[mediawiki/extensions/UploadWizard@wmf/1.34.0-wmf.3] Don't show metadata menu when there's only 1 file

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

Change 508526 merged by jenkins-bot:
[mediawiki/extensions/UploadWizard@wmf/1.34.0-wmf.3] Don't show metadata menu when there's only 1 file

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

The spec on this changed: UploadWizard content went from being centered to left justified with the "learn" box. Works as newly specced on production.