-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement data entry abort modal behaviour #256
Implement data entry abort modal behaviour #256
Conversation
And add support for DELETE requests.
- Move abort button and model to separate component - Implement delete data entry API call - Implement abort modal save/delete behaviour
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested:
- created data entry, checked in database: saved
- aborted + saved data entry: checked in database: still there
- aborted + not saved: checked in database: deleted
…try-abort-modal-functionality
@jorisleker I've changed the CSS units from px to rem in b1bfd74. |
Co-authored-by: Joep Schuurkes <[email protected]>
be7a375
to
0a59ba3
Compare
The original plan was to implement the abort functionality in #137. Issue #212 was created before the last biweekly planning session after discussion with @jorisleker. He proposed to only implement the "Niet opslaan" route. |
Implements most of #212, but not completely because of dependencies on #133.
Also fixes the abort button design as mentioned in #101.
Please review per commit for clarity.