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

[Feature/Improvement] Prompt for confirmation when exiting a timer #118

Open
a-mabe opened this issue Dec 21, 2023 · 0 comments
Open

[Feature/Improvement] Prompt for confirmation when exiting a timer #118

a-mabe opened this issue Dec 21, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@a-mabe
Copy link
Owner

a-mabe commented Dec 21, 2023

Purpose: As a user, I would like to be prompted for confirmation when hitting the back button to leave a running timer.

More details:

Shown in the screenshot below is the back button on the workout screen.

Screenshot 2023-12-21 at 4 35 38 PM

Currently when the user taps this button, the workout is immediately cancelled and the user is sent back to the previous page. Tapping this button could happen by mistake and the user does not want to cancel the workout. There should be an AlertDialog that appears when the user taps the back button, asking them if they are sure they would like to exit the workout.

The dialog should read:

Exit Workout

Are you sure you would like to exit the current workout?

..............................Return to workout ......... Exit workout

AlertDialog implementation will be similar to the one in #107

Acceptance Criteria:

  • AlertDialog implemented and appears on back button press on the workout screen.
@a-mabe a-mabe added enhancement New feature or request good first issue Good for newcomers labels Dec 21, 2023
@a-mabe a-mabe changed the title [Feature/Improvement] [Feature/Improvement] Prompt for confirmation when exiting a timer Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant