== Background
- We would like to continue using our new browser extension for the next experiment. As part of this, we need to add a terms of use message so that people can explicitly accept the terms of use
== User story
- As an extension user, I want to consent to using the terms of use so that I can I know what i'm signing myself up for
== Requirements
[] Browser extension must trigger a message:If user has not agreed to ToU, mini window will open automatically when they visit any wiki in ToU state
Copy: Thank you for participating in our experiment![] If user agrees to ToU, If you would like to continue seeing and trying out new features using this browser extension, please review and accept the terms of use.
By installing and using this extension you acknowledge that you agree to the Wikimedia Foundation’s Terms of Use: https://foundation.wikimedia.org/wiki/Policy:Terms_of_Use
- Button: yesload mini window in default state
[] If user ignores the ToU mini window, open it automatically on their three two consecutive visits to any wiki
[] If user declines ToU, display declined state
- Button: no[] Mini window will respond to dark/light mode settings in browser
[] Clicking the extension icon in the browser while on wiki will open the mini window in the on-wiki state
[] Clicking the extension icon in the browser while //not// on wiki will open the mini window in the not on-wiki state with a button to navigate to the language edition of Wikipedia with the same language as the extension (EN or ES)
[] Extension mini window will appear in either EN or ES depending on the language settings of the extension
=== BDD
- For QA engineer to fill out
=== Test Steps
- For QA engineer to fill out
== Design
{F57624394}
{F57624387}
{F57624390}
TBD
{F57624392}
{F57624413}
== Acceptance criteria
- Complete all requirements
- Flag any unknowns and ask appropriate stakeholders
== Communication criteria - does this need an announcement or discussion?
== Rollback plan
- What is the rollback plan in production for this task if something goes wrong?
//This task was created by Version 1.2.0 of the [[ https://mediawiki.org/w/index.php?title=Reading/Web/Request_process | Web team task template ]] using [[ https://phabulous.toolforge.org/ | phabulous ]] //