Background
- We would like to set up a reporting system for dark mode so that users that see issues with templates and other user-generated content, can report on these issues. We plan on using this system as a supplemental source of information for editors focused on dark mode fixes, similar to the current accessibility tool (https://night-mode-checker.wmcloud.org/)
User story
- As a template editor, I want to see which pages users have dark mode issues, so that I can fix them
Requirements
- Before beginning ticket: A link will be presented to logged-in users only in the appearance menu on the desktop site (See https://phabricator.wikimedia.org/T367871 for link requirements)
- Wikis will be able to override this link and choose a local link to navigate to
- Selecting the link will send users to a page on mw.org created specifically for each wiki (https://www.mediawiki.org/w/index.php?title=Talk:Reading/Web/Desktop_Improvements/Reporting/enwiki) and load a pre-filled form (See https://phabricator.wikimedia.org/T368556#9928364 for form creation limitations and setup)
- Selecting the link will log an event in mediawiki.web_ui_actions schema with a sample rate with a sample rate of 100% for logged in users
- Selecting the link will show a clicked state (see Design section below for details)
- Link copy: "Thank you for your report!"
BDD
- For QA engineer to fill out
Test Steps
- For QA engineer to fill out
Design
Acceptance criteria
- Add acceptance criteria
Communication criteria - does this need an announcement or discussion?
- Weekly, we will create a dump of data received from 2 and 3 and post to each wiki. (Note: This will be later automated and will be implemented post-deploy.)
Rollback plan
- What is the rollback plan in production for this task if something goes wrong?
This task was created by Version 1.0.0 of the Web team task template using phabulous