In T235723, there are specifications for an "intro overlay", which introduces suggested edits to users by providing them static content. In that design, users who did not give certain welcome survey responses receive this experience, in which there is just one paragraph ("base paragraph") about editing. Users who gave certain welcome survey responses receive this experience, in which there is an additional paragraph ("personal paragraph").
In V1.1, we will replace one of those paragraphs with the topic selection content according to these rules:
- Users who give one of the following welcome survey responses should receive the "personal paragraph" above the topic matching content:
- "To fix a typo or error"
- "To add a photo or image"
- "To create a new Wikipedia article"
- "To add or change information"
- Users who do not give one of those responses should receive the "base paragraph" above the topic matching content.
- Images also change based on the responses, and can be found in T235444 under the "Topic Overlay assets" section.
Changes to the "base paragraph":
- For users who receive the "base paragraph", the formatting will be different than it used to be.
- Instead of the "heart" graphic, we should use the "tools" graphic shown in this mockup.
- The second line that reads "Wikipedia is built collaboratively..." should no longer be bold.
The topic selection content should contain:
- Header: "Choose some topics you're interested in editing"
- Subheader: "We'll try to suggest articles that match your interests."
- List ten topics as rounded "pills". The specific topics will be specified after the results of the work in T236713: Improve drafttopic training data pipeline.
- When they are selected, their color changes and they gain a checkmark. (note that the SDC team are imminently implementing this widget–though with different colour styles, refer to T237585)
- The user may select as many or as few as they want.
- A link reading "show more" makes about 20 more topics appear. The specific topics will be specified after the results of the work in T236713: Improve drafttopic training data pipeline.
- There is no way to "unshow" more.
- As the user selects and unselects topics, the counter at the bottom of the dialog should update with the count of articles that match those topics that also meet the default task type settings for the suggested edits module (which is Easy tasks). (tracked in T242418: Newcomer tasks: add article counter to footer of start editing dialog)
There is an animation when the topic tag is selected or deselected. We should be able to follow the same implementation as the tag used by the Commons team in implementing machine-suggested tags. See below for example.
or login to try at https://commons.wikimedia.org/wiki/Special:SuggestedTags#popular
In terms of logic:
- The topic selections should combine like "OR", so that if the user selects "Science" and "Arts", they should receive suggestions about both science and arts.
- Those suggestions should be interleaved in an alternating way, similar to how task types work (see T237084). Note that implementing this might slow the experience down. Perhaps we may actually want to search by strength of the topic match, or find a way to only shuffle amongst 200 articles that are returned first.
- Further logic for how to select articles based on ORES model scores will exist in other Phabricator tasks.