T401405 introduces save functionality to the edit statement form and T403595 introduced a message component to display informational messages to the user.
Use the message component to display information about successful / failed edits:
Acceptance Criteria
- The codex component Message will appear when the publishing is successful or unsuccessful (component provides both actions).
- if successful
- the user is redirected to the same location they were at previously (use the same functionality as in T401403)
- the confirmation popup is displayed at the bottom of the page
- the popup uses the fade in (codex component option) transition
- if the save is unsuccessful
- the user remains on the edit statement dialog page
- a placeholder generic error message is used (detailed error handling will be in T403011)
- placeholder error message is localized only in English
- the pop up appears at the bottom of the page
- the message component's option called auto-dismiss that allows the component to disappear is used
- test are updated/created as needed
Successfull edit:
- question from my side (Alice) : on the prototype from Larissa the message was : "Success: You have edited a statement in occupation" - Is this actually possible? can we name exactly what was edited and where, or do we need a more general message?
Unsuccessful Edit:
Figma file here
"Error: your changes could not be saved."

