Page MenuHomePhabricator

No error message at the bottom or auto-scroll when wish title is missing or incomplete on submission
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Navigate to Special:WishlistIntake and create
  • In the Title field, enter only spaces or not enough characters (e.g., " ").
  • Click Publish wish

What happens?:
Nothing, it stays at the bottom, and you have to manually scroll up until you see what needs to be fixed.

What should have happened instead?:
There should at least be an error message on what needs to be fixed, or scroll up to the incomplete section

Other information (browser name/version, screenshots, etc.):

bug came from {T403682#11168111} in AC2

Derived Requirement

When a user submits a wish on Special\:WishlistIntake with a missing or invalid title (e.g., empty, spaces only, or too few characters), the system must:

  • Display a clear error message indicating what needs to be fixed.
  • Either auto-scroll to the problematic field (Title) or also display the error at the bottom near the submission button.
  • Prevent submission until the Title field meets the minimum requirements.
Test Steps

Test Case 1: Empty Title Submission

  1. Navigate to Special:WishlistIntake.
  2. Leave the Title field blank.
  3. Click Publish wish.
  4. ✅❓❌⬜ AC1: An error message should be displayed and the page should auto-scroll to the Title field.

Test Case 2: Title with Only Spaces

  1. Enter " " (spaces only) in the Title field.
  2. Click Publish wish.
  3. ✅❓❌⬜ AC2: Error message is displayed for invalid Title input and the page should auto-scroll to the Title field.

Test Case 3: Title Below Minimum Character Requirement

  1. Enter "A" (too short) in the Title field.
  2. Click Publish wish.
  3. ✅❓❌⬜ AC3: Error clearly explains the Title length requirement and the page should auto-scroll to the Title field.

QA Results - Meta Beta

ACStatusDetails
1T404237#11203750
2T404237#11203750
3T404237#11203750

Event Timeline

GMikesell-WMF renamed this task from No message or scroll, when the title is not fulfilled after you publish a wish to No inline error message at the bottom or auto-scroll when wish title is missing or incomplete on submission.Sep 10 2025, 6:15 PM
GMikesell-WMF renamed this task from No inline error message at the bottom or auto-scroll when wish title is missing or incomplete on submission to No error message at the bottom or auto-scroll when wish title is missing or incomplete on submission.
MusikAnimal changed the task status from Open to In Progress.Sep 16 2025, 8:35 PM

Change #1189371 had a related patch set uploaded (by HMonroy; author: HMonroy):

[mediawiki/extensions/CommunityRequests@master] If there is an error when submitting a wish scroll up to first error

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

Change #1189371 merged by jenkins-bot:

[mediawiki/extensions/CommunityRequests@master] If there is an error when submitting a wish scroll up to first error

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

@HMonroy Confirmed that auto-scroll works when the wish title is missing or incomplete on submission, as seen in the videos below. I will mark this as Resolved. Thanks for all your work!

Test Result - Meta Beta

Status: ✅ PASS
Environment: Meta Beta
OS: macOS Tahoe 26.0
Browser: Chrome 140
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Empty Title Submission

  1. Navigate to Special:WishlistIntake.
  2. Leave the Title field blank.
  3. Click Publish wish.
  4. AC1: An error message should be displayed and the page should auto-scroll to the Title field.
DesktopMobile

Test Case 2: Title with Only Spaces

  1. Enter " " (spaces only) in the Title field.
  2. Click Publish wish.
  3. AC2: Error message is displayed for invalid Title input and the page auto-scrolls.

Test Case 3: Title Below Minimum Character Requirement

  1. Enter "A" (too short) in the Title field.
  2. Click Publish wish.
  3. AC3: Error clearly explains the Title length requirement and the page auto-scrolls.

GMikesell-WMF updated the task description. (Show Details)
GMikesell-WMF updated Other Assignee, removed: GMikesell-WMF.