Page MenuHomePhabricator

Publish data button should be disabled if nothing has been added yet
Closed, ResolvedPublicBUG REPORT

Description

User story: N/A

We have this:
Once a user has arrived at the Add data step, even if no structured data is added, the "Publish data" button at is active (both at the top and the bottom). This makes no sense, because there is nothing to publish yet. The only possible action if nothing has been added yet should be to "Skip this."

We want this:
When nothing has been added on the Add data step, the Publish data button should be inactive.

Screenshots (if possible):

screencapture-commons-wikimedia-beta-wmflabs-org-wiki-Special-UploadWizard-2019-05-03-15_13_44.png (1×2 px, 556 KB)

^How it works now. No changes, yet the Publish button is active.

Acceptance Criteria:

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

  • Publish data buttons should be inactive until changes to the file(s) have been made

QA Results

ACStatusDetails
1T222482#5188315

Event Timeline

Change 508364 had a related patch set uploaded (by Matthias Mullie; owner: Matthias Mullie):
[mediawiki/extensions/UploadWizard@master] Disable publish button until statements have been added

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

Change 508364 merged by jenkins-bot:
[mediawiki/extensions/UploadWizard@master] Disable publish button until statements have been added

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

Edtadros subscribed.

Test Result

Status: ✅ PASS
OS: macOS Mojave
Browser: Chrome
Device: MBP

Test Artifact(s):

Acceptance Criteria:

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

Publish data buttons should be inactive until changes to the file(s) have been made

Screen Shot 2019-05-16 at 4.10.06 PM.png (1×1 px, 390 KB)

Tested on production and confirmed.