anitab-org / powerup-android

PowerUp is an educational choose-your-own-adventure game that utilizes a users uploaded curriculum to empower pre-adolescents to take charge of their reproductive health. This is the Android version of the game.
GNU General Public License v2.0
117 stars 429 forks source link

Adding dialog box when back button is clicked #1386

Open aditmehta9 opened 4 years ago

aditmehta9 commented 4 years ago

Description

As a user, I need a dialog box, so that I can use it as confirmation for exiting when the back button is clicked.

Mocks

Screenshot (21)

Acceptance Criteria

Update [Required]

Definition of Done

Estimation

1 hour

aditmehta9 commented 4 years ago

@sunjunkie @isabelcosta @mayburgos @Rimjhim28 Please look after the issue. Can I work on this issue?

sammy1997 commented 4 years ago

Doesn't a back press from this screen exit the app?

aditmehta9 commented 4 years ago

Doesn't a back press from this screen exit the app?

Yes, Sir, that is also possible.

sammy1997 commented 4 years ago

So why do we need an exit button? Can you show some UX research that explains that this is a good UX enhancement?

aditmehta9 commented 4 years ago

So why do we need an exit button? Can you show some UX research that explains that this is a good UX enhancement?

Well, I researched and found that the exit button isn't necessary it is redundant but all famous games like clash of clans, clash royale, PUBG, archers, call of duty, etc. games of different company show alert Dialog box for exit confirmation like 'Do you want to exit?'. when a single time back button is pressed. So, should I propose to add an alert dialog box for the exit game?

sammy1997 commented 4 years ago

Yes, that can be a valid enhancement. You can edit this issue

aditmehta9 commented 4 years ago

Yes, that can be a valid enhancement. You can edit this issue

Sir, I have updated the issue description and title.