Steps to replicate the issue (include links if applicable):
- Find an article containing multiple suggestions, where at least one is a suggestion that opens a context item, such as Duplicate Link.
- Open up a mobile VE session with suggestion mode and experimental checks enabled.
- Click one of the suggestions and then use the up or down arrows to navigate through the suggestions until you notice the bug.
What happens?:
When you get to one of the 'Template has missing parameters' suggestions, the template context item opens immediately, getting in the way of the suggestion action card.
What should have happened instead?:
The context item should not have opened.
Example: https://youtube.com/shorts/mBWLdMcCHQ8
Derived Requirements
Ensure mobile Suggestion Mode pagination does not automatically open a context item when navigating between suggestions with the up/down arrows. When a suggestion that normally opens a context item, such as Template has missing parameters, is reached through suggestion pagination, the suggestion action card must remain unobstructed and usable.
Test Steps
Test Case 1: Verify suggestion pagination does not open a context item
- Open an article containing multiple suggestions, including a suggestion that opens a context item such as Template has missing parameters.
- Open the article in mobile VisualEditor with Suggestion Mode and Experimental Checks enabled.
- Select one of the available suggestions.
- Use the up or down navigation arrow to move through the suggestions.
- Continue navigating until the Template has missing parameters suggestion is reached.
- Verify the template context item does not open automatically.
- Verify the suggestion action card remains visible and unobstructed.
- ✅❓❌⬜ AC1: Navigating to a suggestion that normally opens a context item does not automatically open that context item, and the suggestion action card remains unobstructed.
Test Case 2: Verify suggestion pagination continues to work after reaching a context-item suggestion
- Open an article containing multiple suggestions, including a Template has missing parameters suggestion.
- Open the article in mobile VisualEditor with Suggestion Mode and Experimental Checks enabled.
- Select a suggestion and use the up or down navigation arrows.
- Navigate to the Template has missing parameters suggestion.
- Verify the context item does not open.
- Use the up or down navigation arrows again to move to another suggestion.
- Verify the next suggestion opens normally.
- ✅❓❌⬜ AC2: Suggestion pagination continues to navigate between suggestions normally after reaching a suggestion that can open a context item.
Test Case 3: Verify context items can still open when explicitly accessed
- Open an article containing a Template has missing parameters suggestion.
- Open the article in mobile VisualEditor with Suggestion Mode and Experimental Checks enabled.
- Navigate to the Template has missing parameters suggestion using the suggestion navigation arrows.
- Verify the context item does not open automatically.
- Explicitly select or interact with the relevant template content to open its context item.
- Verify the context item opens normally.
- ✅❓❌⬜ AC3: A context item remains available when explicitly accessed but does not open automatically during suggestion pagination.
QA Results - PROD
| AC | Status | Details |
|---|---|---|
| 1 | ❓ | TT436140#12416660 |
| 2 | ✅ | TT436140#12416660 |
| 3 | ✅ | TT436140#12416660 |