Page MenuHomePhabricator

Tag suggestions not shown on click when editing a wish unless user type again
Closed, ResolvedPublicBUG REPORT

Description

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

  • Go to Special:WishlistIntake.
  • Edit an existing wish that already has tags assigned.
  • In the Tags field, click under the existing tags.
  • Manually type a tag name (e.g., "Categories").
  • Click down on the keyboard to select Categories and press Enter. If you click back in the box, the only option is Categories still. You only get all the options if you manually type again.

What happens?:
The list of available tag suggestions does not appear when clicking back in there to add

What should have happened instead?:
When the user clicks under the existing tags or types and then clicks/presses space, the full list of available tag suggestions should appear immediately, without requiring additional typing.

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


Derived Requirement

When editing an existing wish in Special\:WishlistIntake, the Tags field must always show the full list of available tag suggestions when the user clicks under existing tags or re-focuses the field. Typing should filter the suggestions, but simply clicking or pressing space should also trigger the full list to display.

Test Steps

Test Case 1: Click Under Existing Tags Without Typing

  1. Go to Special:WishlistIntake.
  2. Edit an existing wish with tags already assigned.
  3. In the Tags field, click under the existing tags without typing.
  4. ✅❓❌⬜ AC1: Confirm that the full list of available tag suggestions appears immediately.

Test Case 2: Typing and Selecting a Tag, Then Clicking Back

  1. In the Tags field, type part of a tag name (e.g., "Cat").
  2. Select a suggestion (e.g., "Categories") and press Enter.
  3. Click back in the Tags field.
  4. ✅❓❌⬜ AC2: Confirm that the full list of available tag suggestions appears, not just the last selected option.

Test Case 3: Filtered Suggestions on Typing

  1. Start typing a tag name (e.g., "Cat").
  2. ✅❓❌⬜ AC3: Confirm that the suggestions list filters correctly while typing.

Test Case 4: Adding Multiple Tags Sequentially

  1. Add a first tag successfully.
  2. Click under it in the Tags field to add another.
  3. ✅❓❌⬜ AC4: Confirm that the full list of available tag suggestions appears each time you try to add another tag.

QA Results - Meta Beta

Event Timeline

GMikesell-WMF renamed this task from Tag suggestions not shown on click when editing a wish unless user types again to Tag suggestions not shown on click when editing a wish unless user type again.Sep 16 2025, 7:59 PM

Change #1189115 had a related patch set uploaded (by Samwilson; author: Samwilson):

[mediawiki/extensions/CommunityRequests@master] Reset search term and tag menu after selecting a tag

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

Change #1189115 merged by jenkins-bot:

[mediawiki/extensions/CommunityRequests@master] Reset search term and tag menu after selecting a tag

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

@Samwilson Confirmed that tag suggestions are now shown on click when editing a wish or via keyboard, as seen from 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: Click Under Existing Tags Without Typing

  1. Go to Special:WishlistIntake.
  2. Edit an existing wish with tags already assigned.
  3. In the Tags field, click under the existing tags without typing.
  4. AC1: Confirm that the full list of available tag suggestions appears immediately.

Test Case 2: Typing and Selecting a Tag, Then Clicking Back

  1. In the Tags field, type part of a tag name (e.g., "Cat").
  2. Select a suggestion (e.g., "Categories") and press Enter.
  3. Click back in the Tags field.
  4. AC2: Confirm that the full list of available tag suggestions appears, not just the last selected option.

Test Case 3: Filtered Suggestions on Typing

  1. Start typing a tag name (e.g., "Cat").
  2. AC3: Confirm that the suggestions list filters correctly while typing.

Test Case 4: Adding Multiple Tags Sequentially

  1. Add a first tag successfully.
  2. Click under it in the Tags field to add another.
  3. AC4: Confirm that the full list of available tag suggestions appears each time you try to add another tag.

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