As a user (with "Display newcomer homepage" enabled in my preferences), I want easy menu access to all common ways to contribute, including a link to Suggested edits.
Background
A "Contribute" option will be added as a new entry point via the current "Contributions" menu option, leading to a new tab on the Contributions page. T286466
The “Contribute” menu is not visible to users yet (T319362 covers enabling this new menu), but it would be great to have some options ready for the menu when we show it to users.
The Growth team should add Suggested edits to this menu.
Initially, the new tab for Special:Contribute will be shown and connect to the Contributions on mobile only where it is enabled, with the page available via directly going to the Special:Contribute URL on Desktop.
Related work:
- This patchset (33 lines of code) from the Language team shows how a new option (“Translations”) can be added to the menu.
- T319306 covers a similar use case to what we will do on Growth: AKA the menu items will depend on certain criteria / preferences.
Design
Mobile | Desktop |
Copy:
Suggested edits
Make small and easy changes (e.g., add a link or copyedit) to improve existing articles.
[View suggested edits]
Acceptance Criteria
Given I navigate to "Contribute" from the menu or directly via Special:Contribute,
When I have "Display newcomer homepage" enabled in my preferences,
Then see a menu item for Suggested edits
And when I tap on the Suggested edits card
Then I navigate to: Special:Homepage&source=specialcontribute&namespace=-1#/homepage/suggested-edits
(From Desktop user is directed to the newcomer homepage, on mobile, the Suggested edits module is opened as a full screen overlay.)
Given I navigate to "Contribute" from the menu,
When I have "Display newcomer homepage" disabled in my preferences,
Then I don't see a menu item for Suggested edits
Completion checklist
Functionality
- The patches have been code reviewed and merged
- The task passes its acceptance criteria
Engineering
- There are existing and passing unit/integration tests
- Tests for every involved patch should pass
- Coverage for every involved project should have improved or stayed the same
- HomepageVisit schema updated to include specialcontribute as a valid referer_route parameter value
Design & QA
- If the task is UX/Design related: it must be reviewed and approved by the UX/Design team
- Must be reviewed and approved by Quality Assurance.
Documentation
- Related and updated documentation done where necessary
- Internal technical changes: internal repository documentation must be updated (README.md, JSDoc, PHPDoc)
- Infrastructure technical changes: technical changes that reflect on environment, infrastructure, endpoints or any other area of interest for technical contributors should be reflected on Extension:GrowthExperiments or Extension:GrowthExperiments/Technical documentation pages.