Skip to content
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

User confirmation alert condition. #39

Merged
merged 1 commit into from Aug 5, 2015

Conversation

danthorpe
Copy link
Member

It's a fairly common requirement to get the user to confirm a destructive, or potentially destructive action. E.g. we ask the use if they're sure they want to delete a resource before we just do it.

So... here we want an UserConfirmationCondition which can be initialised with a title, message and action title and it will present an alert (to this effect) and if the user taps in the affirmative, the operation will run.

@danthorpe danthorpe added this to the 0.9 milestone Aug 5, 2015
@danthorpe danthorpe self-assigned this Aug 5, 2015
Not possible to really add unit tests for this - as we cannot test the user tapping the alert buttons.
danthorpe added a commit that referenced this pull request Aug 5, 2015
…dition

User confirmation alert condition.
@danthorpe danthorpe merged commit 9487068 into development Aug 5, 2015
@danthorpe danthorpe deleted the feature/OPR_39_confirmation_condition branch August 9, 2015 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant