Page MenuHomePhabricator

[M] Update the 'other information' field in upload wizard
Closed, ResolvedPublic

Description

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

"Other information" field on describe step is not very frequently used. This task is to make sure the presence of this field does not confuse new users but is still available for some experienced users who are currently using it for entering things like templates.

Link to UI
  • Turn the other information field into an accordion (closed by default) as shown in the UI
  • Update the label and show the optional label as shown in the UI
  • Show this field below additional information
  • Reveal a multiline input field when the accordion is opened as shown here
  • "Copy information to other uploads" continues to work

Event Timeline

MarkTraceur renamed this task from Update the 'other information' field in upload wizard to [M] Update the 'other information' field in upload wizard.Apr 17 2024, 4:44 PM
mfossati changed the task status from Open to In Progress.May 22 2024, 3:24 PM
mfossati claimed this task.

Change #1036282 had a related patch set uploaded (by Marco Fossati; author: Marco Fossati):

[mediawiki/extensions/UploadWizard@master] Describe step: update 'any other information' field

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

Change #1036282 merged by jenkins-bot:

[mediawiki/extensions/UploadWizard@master] Describe step: update 'any other information' field

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

Etonkovidova subscribed.

Checked in commons betalabs and compared with the look/functionality in production. All specs seem to be in place. Moving for @Sneha review - there is a minor question about the horizontal separator - see the screenshots below. If all look ok after review, please move the task to Verify on Production column.

commons betafigma designcurrent production commons wmf.7
Screen Shot 2024-05-30 at 1.04.21 PM.png (1,556×1,196 px, 178 KB)
Screen Shot 2024-05-30 at 1.04.30 PM.png (1,478×1,374 px, 177 KB)
the horizontal separator is not present in the implementation
Screen Shot 2024-05-30 at 1.06.20 PM.png (1,454×1,126 px, 130 KB)
Screen Shot 2024-05-30 at 1.06.34 PM.png (1,534×1,386 px, 161 KB)
Screen Shot 2024-05-30 at 1.03.56 PM.png (1,662×1,468 px, 205 KB)

@Etonkovidova The line is part of the codex accordion component I used. It is not available in OOUI and so I believe @mfossati had to somewhat hack this solution. To avoid more hacks I think its okay if it is not included in the implementation.

@Etonkovidova @Sneha , the reason why I haven't added that horizontal line is because another one will show up in case of multiple uploads, so I've left it out.

BeforeNow
Screen Shot 2024-05-31 at 12.15.37.png (1,788×1,112 px, 153 KB)
Screen Shot 2024-05-31 at 12.21.33.png (1,758×1,198 px, 167 KB)

@mfossati If we are going to keep the existing components due to complexity then makes sense. But if not, then here is the link to the mock where there is one line at the bottom of the associated accordion and none above it.

Etonkovidova changed the task status from In Progress to Open.May 31 2024, 6:49 PM

Thanks, @Sneha, @mfossati - the issue is super minor (just asked in case it signifies some important visual division for elements). Moving to Verify on Production.