Page MenuHomePhabricator

[XL] Improve the Depicts field interaction in the upload wizard
Closed, ResolvedPublic

Description

This task is part of improving the describe step of the Upload Wizard on Commons T358765.

In order to simplify the number of steps in the upload wizard we will removing "additional data" as an explicit step in the upload wizard and make the field available in a simplified way on the describe step.

Link to UI
  • Remove "Additional data" step from upload wizard navigation/breadcrumb
  • Add the "Additional information" label and label description as shown in the UI (the "Additional information" section will be under the date field until it is moved to release right step)
  • Move the depicts field to describe step under the "Additional information" grouping as shown in the design
    • Add the label for the depicts input field as shown in the design
    • Show the optional label next to the depicts field label. Users can proceed without entering depicts.
    • Add the search input field with an example as shown in the design
    • Allow users to select from an autocomplete list of depicts while entering
    • When the user hits enter after typing or selects a depicts from drop down, the depict chip will be added inside the text box as shown here
    • Depicts can be removed by clicking on the cross on the chips
    • Show the informational warning as shown here when users enter more than 3 depicts (replaced by new style of notice message in the new AC added below)
      • Hide this warning if the user brings the number of depicts down to 3 or less by removing them
  • Add "copy main subjects" to the existing copy feature for multiple uploads

New AC added May 23

  • Update the design of the the informational warning as shown here when users enter more than 3 depicts

Event Timeline

MarkTraceur renamed this task from Improve the Depicts field interaction in the upload wizard to [XL] Improve the Depicts field interaction in the upload wizard.Apr 4 2024, 8:53 PM

Change #1030068 had a related patch set uploaded (by Cparle; author: Cparle):

[mediawiki/extensions/UploadWizard@master] Update how the depicts fields works

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

Change #1031454 had a related patch set uploaded (by Cparle; author: Cparle):

[mediawiki/extensions/WikibaseMediaInfo@master] Add some new events needed by UploadWizard

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

Change #1031454 merged by jenkins-bot:

[mediawiki/extensions/WikibaseMediaInfo@master] Add some new events needed by UploadWizard

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

Change #1030068 merged by jenkins-bot:

[mediawiki/extensions/UploadWizard@master] Update how the depicts fields works

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

Change #1042207 had a related patch set uploaded (by Cparle; author: Cparle):

[mediawiki/extensions/UploadWizard@master] Fix warning when there are too many depicts

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

Change #1042207 merged by jenkins-bot:

[mediawiki/extensions/UploadWizard@master] Fix warning when there are too many depicts

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

Change #1042317 had a related patch set uploaded (by Cparle; author: Cparle):

[mediawiki/extensions/UploadWizard@master] Add missing msg

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

Change #1042317 merged by jenkins-bot:

[mediawiki/extensions/UploadWizard@master] Add missing msg

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

Etonkovidova subscribed.

All specs are in place; I also checked search functionality for added depicts (in case there are some regressions) - looks fine.

Change #1046611 had a related patch set uploaded (by Matthias Mullie; author: Matthias Mullie):

[mediawiki/extensions/UploadWizard@master] Revert "Update how the depicts fields works"

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

Change #1046611 merged by jenkins-bot:

[mediawiki/extensions/UploadWizard@master] Revert "Update how the depicts fields works"

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

Checked after the revert - seems to be working as before.

Change #1047126 had a related patch set uploaded (by Matthias Mullie; author: Matthias Mullie):

[mediawiki/extensions/UploadWizard@master] Update how the depicts fields works

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

Change #1047126 merged by jenkins-bot:

[mediawiki/extensions/UploadWizard@master] Update how the depicts fields works

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

Checked on commons wmf.11 - minor UI issues are filed as T368581, subject to @Sneha review.