When in mobile, there should be two buttons at the bottom of the page:
- DONE
- gray state when the button is invalid (see desktop version for validity parameters)
- normal state when the button is valid
- on click: confirmation dialog (see T306265) and
- if "DONE" selected, go to to view function
- if "CANCEL" selected, close dialog
- Implement function
- gray state when the button is invalid (same validity parameters as done)
- primary state when the button is valid
- on click: confirmation dialog (see T306265) and
- if "DONE" selected, go to implementation page (NOTE: there are no mobile mocks for implementation page yet)
- if "CANCEL" selected, close dialog
figma link: https://www.figma.com/file/z4PDWdNVvwEtRMMozW8Fvi/Function-editor?node-id=1686%3A7760