Background
- We need to notify users when night mode becomes available on Minerva. We also know from Usability testing that readers have no problem finding the appearance settings in Minerva once they know they exist.
User story
- As a reader with a device in dark mode, I want to know that night mode has been launched, so that I can change my dark mode settings if I wish.
- As a reader whose device is not in dark mode, I want to hear about night mode launching so that I can try it out if I want.
Requirements
- System feedback notification shown as soon as possible to logged and logged out readers who enrol in night mode "automatically"
- Promotional notification shown on second page load in a session to logged in and logged out readers who have day mode devices
- Notification only appears once, and is not shown again after it has been dismissed, regardless of the logged in or out status of the reader.
- Notification uses Codex Dialog component and follows its mobile behaviour.
Design
Youtube video design rationale
Figma file
Acceptance criteria
- A Vue based dialog is added to Minerva
- The code does not load by default
Sign off
- A mechanism will be used to display the overlay per the requirements. [This will be handled in T366296]