User Story
When I see/read/reply to a survey displayed on a wiki page I want to be able to easily access additional information so that I can further learn/understand/discover more about the topic of the survey.
Background info
The safety survey it's a valuable opportunity for the Trust and Safety team to raise awareness around related topics and resources. If a user wants to find out more this is the perfect opportunity to do so.
The following image displays the current experience
Design specs
We could display a custom header and description with additional information and/or links to resources in the thank you message.
Technical information
The thank you message is not configurable at the moment, the default one lives in a key in the i18n json files. This means this task would entail:
- Making the thank you message (one for header and one for paragraph) configurable per survey
- If not present fall back to the default one for the header, and nothing for the paragraph
- Capture the thank you message into the surveys data and messages to be sent to the frontend
- In the frontend appropriately render the message based on such configuration
Testing and QA steps
Note that the links in this section will only work after we have deployed these to beta.
- prerequisite deployment to beta
We need to test the 8 relevant combinations of survey config.
For internal surveys, click any answer and then observe the text in the survey panel after completion:
- internal survey, custom thank you & additional info - link
- thank you message: Thank you for your feedback.
- footer message: If you experienced or witnessed harassment check these resources.
- internal survey, custom thank you, no additional info - link
- thank you message: Thank you for your feedback.
- footer message: This anonymous survey is conducted by the Wikimedia Foundation. Read more or check the privacy statement.
- internal survey, default thank you & additional info - link
- thank you message: Thanks for the feedback! We are using it to make {{SITENAME}} even better!
- footer message: If you experienced or witnessed harassment check these resources.
- internal survey, default thank you, no additional info - link
- thank you message: Thanks for the feedback! We are using it to make {{SITENAME}} even better!
- footer message: This anonymous survey is conducted by the Wikimedia Foundation. Read more or check the privacy statement.
For external surveys, click Visit Survey (which will open a new window or tab which may be closed immediately) and then observe the text in the survey panel after completion:
- external survey, custom thank you & additional info - link
- thank you message: Thank you for your feedback.
- footer message: If you experienced or witnessed harassment check these resources.
- external survey, custom thank you, no additional info - link
- thank you message: Thank you for your feedback.
- footer message: This anonymous survey is conducted by the Wikimedia Foundation. Read more or check the privacy statement.
- external survey, default thank you & additional info - link
- thank you message: Thanks for the feedback! We are using it to make {{SITENAME}} even better!
- footer message: If you experienced or witnessed harassment check these resources.
- external survey, default thank you, no additional info - link
- thank you message: Thanks for the feedback! We are using it to make {{SITENAME}} even better!
- footer message: This anonymous survey is conducted by the Wikimedia Foundation. Read more or check the privacy statement.
Acceptance Criteria
- Surveys without a defined thank you and/or additional info message show the default thank you and privacy policy messages on completion
- Surveys with a defined thank you and/or additional info message show the custom thank you and privacy policy messages on completion