#### Background
- Source: [Wikipedia:Template index/User talk namespace - Wikidata](https://www.wikidata.org/wiki/Q3223292)
- Spreadsheet: [Warning messages](https://docs.google.com/spreadsheets/d/1aU0WhgPwi1Djt1lmApc_krVrGXvojM1LEAYqRxa1bN0/edit#gid=11348671)
- Analyzed German, Arabic, Spanish, Indonesian, French, and Chinese warning messages
#### Task
- [x] Design screen with saved warning messages
- [ ] Get feedback from engineers on if we can prepopulate links
- [ ] Hardcode in saved messages based on design
- [ ] Instrument warning messages to understand which are commonly used
- [ ] Get target languages translated (see T322083)
#### Designs ([Figma](https://www.figma.com/file/cJmB34iJE5p8qbqrQWnE50/Android-Edit-Patrol-%F0%9F%91%AE?type=design&node-id=3700-20452&mode=design&t=VRqBjnQ6Mcbzmusv-4))
As usual, the source of truth for all the screens below remains on [[ https://www.figma.com/file/cJmB34iJE5p8qbqrQWnE50/Android-Edit-Patrol-%F0%9F%91%AE?type=design&node-id=3700-20452&mode=design&t=VRqBjnQ6Mcbzmusv-4 | Figma ]].
**Updates to warn flow**
| 1. Taps warn {F41999263} | 2. Selects message {F41999272} | 3. Or creates message {F42001894} | 4. Reviews message {F42001900} | 5. Makes changes {F42001903} | 6. Saves changes? {F41999518} | 7. Preview {F41999459} | 8. Published {F41999464}
- After tapping "Warn" in `1`, users see saved messages listed in this [[ https://docs.google.com/spreadsheets/d/1aU0WhgPwi1Djt1lmApc_krVrGXvojM1LEAYqRxa1bN0/edit#gid=11348671 | spreadsheet ]]
- The saved messages list (`2`) contains a floating action button for new messages
- The CC0 disclaimer has been moved to the newly added preview step in `7`
- Please pay attention to small UI and label updates in the above screens
**New entry points**
| 9. List overflow {F41999551} | 10. Diff overflow {F41999557} | 11. List view {F41999632} | 12. Edit message {F42001924} | 13. New message {F41999641}
- Entry points for saved messages in the list and diff view allow users to access and manage their saved messages outside of the warn flow
- Note the contextual label updates in the app bar: "Saved messages" instead of "Warn", "Edit message" and "New message" instead of the user talk page, and "Save" instead of "Next"
**Edit saved messages**
| 14. List view {F41999831} | 15. Edit message {F42001933} | 16. Delete right swipe {F41999814} | 17. Delete left swipe {F41999803} | 18. Single delete {F41999855} | 19. Edit top right {F41999889} | 20. Selects messages {F41999896} | 21. Multi delete {F41999898}
- Tapping a message in the list view (`14`) allows users to edit it (`15`). Depending on the context (Warn flow or new entry point), users see a "Next" or "Save" button at the top right
- Swiping right (`16`) and left (`17`) lets users delete a message. The gestures work the same way as in Notifications (T288065)
- Tapping "Edit" at the top right in `14` lets users change the order and multi-select and delete list items (`20` and `21`)
- Snackbars (`18`, `21`) confirm the user's actions and let them undo their deletion
- Select/Deselect all options in the app bar (`20`) work the same as in notifications (T288066)
- Long pressing the list enables edit mode as well (T288066)