Corresponding task from "add a link": T269659: Add a link: post-edit dialog
This task is about the post-edit dialog that users see after they complete an "add an image" task, either by choosing "yes" and adding a caption, or by choosing "no". This is almost exactly the same as the post-edit dialog we built for "add a link", with only two differences:
- The suggested task should be another "add an image" task from that user's selected topics of interest (as opposed to it being an "add a link" task).
- If the user has hit their quality gate limit, they get a different interaction. See T293316: Add an image: minimal quality gate.
Other than that, everything is the same, e.g. if the user accepted the image, they get the get one set of messages, and if they rejected the image, they get a different set.
|Post-edit dialog type/state||Mockup as of 2021-10-05||Figma|
|When image was accepted||https://www.figma.com/file/ULhJr1isDstRbGE5vjYDsr/Add-images-structured-task?node-id=3018%3A9560|
|When the image was rejected||https://www.figma.com/file/ULhJr1isDstRbGE5vjYDsr/Add-images-structured-task?node-id=3018%3A9560|
T295878: Structured tasks: Post-edit message widget uses Success style only when an edit is made, else use the Notice style handles the requirement implicit on this task to change the visual styling of the message widget depending on whether there was an edit made.