Background goal
T412332 investigated the technical work involved with surfacing Add an image suggestions within the VisualEditor's Suggestion Mode.
This task involves the work of implementing it as an experimental suggestion.
Requirements
Technical
- API endpoint from Growth that could tell us which images in which sections to suggest for a given article.
User experience
Surfacing "Add an image" suggestions within Suggestion Mode would result in the following user experience:
- When people open the visual editor on a wiki where they've enabled Suggestion Mode and an "Add an image" suggestion is available
- Present that image suggestion in the way that all other suggestions are surfaced in Suggestion Mode E.g. presented in the side-rail (desktop) and gutter (mobile), using a card design that is consistent with other suggestions, with the content the suggestion is relevant to highlighted, etc.
- NOTE: the Suggestion Card would need to be adapted (or an alternative UX found) to enable people to review/preview the image that they are being asked to consider adding.
Open questions
- 1. What will the "image adding workflow" be?
- Approach #1: Place the cursor inside the empty caption and hope the user fills it out
- Approach #2: Show an "empty image caption" edit check after inserting the image
- Approach #3: Come up with a completely custom guided workflow like Growth uses [i]
Design mockups
After exploring solutions and validating them with Growth, we propose proceeding with Approach #3: a guided flow where users add both the image and its caption within a single experience.
Flow overview:
- User finds the “Add an image” suggestion in the article with
- Description explaining the reason of suggesting this image
- Image in a medium size (users could also expand the image in fullwidth by clicking on it)
- After selecting the Add image button, they are guided to:
- More info and link about the suggested image
- Add a short caption
- Add alternative text
- Once completed, the image is inserted into the article with its caption, with a success message reinforcing its completion
- User could then include a link in the caption text once it's included in the article
| mobile | desktop |
Acceptance criteria
- Design the experience
- Consult/review with Growth
- Implement decided solution
i. This might be in tension with the principle we established around building Checks/Suggestions in a scalable and easy to maintain manner.









