== Background
We want to add a survey to the ReadingLists page to understand user satisfaction.
=== Design requirements
===== [[ https://www.figma.com/design/Q3pYKI7RRMdRRgkQp2RiTf/Web--Reading-List-Collections?node-id=2271-108651&t=hSGhLGv8UyrQ3ZE3-4 | Link to figma ]]
Desktop
| {F72052645} | {F72052615} |
Mobile
| {F72052709} | {F72052728} | {F72052735}
==== Configuration specification
- The survey should appear on Special:ReadingLists/[username]
- Criteria:
- The survey shows only if the user has at least 1 saved page
- If a user answers the survey, we log their answer, and they never see this question again.
- Show the survey a max of 10 times
---
== Requirements
=== Acceptance criteria
- [] ReadingLists survey appears on Special:ReadingLists/[user] for [insert user criteria here].
- [] ReadingLists survey no longer appears on the page once the user has completed it or after 10 impressions.
=== BDD
**Scenario (1):** a user sees with Quick survey on Special:ReadingLists page
- **Given** a user with with at least one saved article
- **When** a user visits Special:ReadingLists page
- **Then** a user will see Quick Survey
**Scenario (2) :** a user clicks 'Yes' and 'No' on Quick survey on Special:ReadingLists page
- **Given** a user sees QuickSurvey on Special:ReadingLists page
- **When** a user may click 'Yes' or 'No'
- **Then** if a user clicks 'Yes', a user will see a dialog "What would make this more useful for you?"
- **And ** if a user submits it, the confirmation dialog appears
- **And** a user never sees the Quick Survey
(the same specs for when a user clicks 'No')
**Scenario (3) :** a user doesn't interact with QuickSurvey on Special:ReadingLists page
- **Given** a user sees QuickSurvey on Special:ReadingLists page
- **When** a user doesn't click 'Yes' or 'No' and visits Special:ReadingLists page ten more time
- **Then** a user won't see QuickSurvey on subsequent visits
=== Test Steps
- check the test Scenarios1-3
- run Accessibility check
=== Rollback plan
//Describe the rollback plan in production for this task if something goes wrong.//
//This task was created by Version 1.0.0 of the Reader Experience team task template using [[ https://phabulous.toolforge.org/ | phabulous ]].//