Page MenuHomePhabricator

UploadWizard: Validation warning for custom license field should be placed closer to the field
Closed, DuplicatePublic

Description

Split from this comment - T371050#10366336

(per @Sneha) the validation needs to be closer to the field (or a question) it is referring to. We are already doing this in other parts of the upload wizard such as this AI validation error.

Steps:

  • In Special:UploadWizard-Release rightsstep, select not-won work option ("This work was created by someone else [...]"
  • In the question 1 ("Please choose why this work is free to share. [...]" select "The creator has released or or published this work under a free license [...]" select the option "Enter a different license"
  • In the text field type less than six characters and click the Next button.

What happened:

  • the correct validation warning appears - "The wikitext here is too short to be a license" but it appears not after the license text field, but under the whole block:

Screen Shot 2024-12-02 at 12.04.21 PM.png (802×1 px, 144 KB)

  • placing the validation warning so far from the field might be confusing for users to figure out where the mistake must be corrected

Event Timeline

Aklapper renamed this task from UploadWizard: Validtion warning for custom license field should be placed closer to the field to UploadWizard: Validation warning for custom license field should be placed closer to the field.Dec 2 2024, 9:13 PM

@Etonkovidova I captured all these cases of "error's not being closer to the fields it is referring to" under T381286. We can then close this one. If there are any cases I have missed out let me know.

thx, @Sneha - closing this one as a duplicate.

Ah never mind, I see the description was edited. I will include that case in 381286 It seems already included.