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

[GAT-BEA002-21] Press back key in Add Another Bento screen exit the app even though order already added #388

Open
gatgithub opened this issue Feb 4, 2016 · 5 comments

Comments

@gatgithub
Copy link

Issue No: 21
Device: Samsung Galaxy A7/Android 5.1

Affected Component(s)

  • Ordering process

Bug Description

ACTUAL RESULTS:-
Press back key in Add Another Bento screen exit the app even though order already added

EXPECTED RESULTS:-
App should not exit as order already added

OTHER NOTES / ERROR MESSAGES:-
bak4test1@gmail.com.1234@bcd

http://bugs8.gatserver.com/uploads/9e6be06fef8cbd4d2e4046c227514f76.mp4


Reproduction Steps

  • Launch application
  • Add Bento and Finalize
  • In Summary screen Tap on Add another Bento
  • Press Back key and Observe
@gatgithub gatgithub added this to the 1.11 [prior] milestone Feb 4, 2016
@gatgithub gatgithub removed this from the 1.11 [prior] milestone Feb 4, 2016
@vcardillo vcardillo added Medium and removed High labels Feb 5, 2016
@vcardillo
Copy link
Member

Hmm, interesting. Suggestions on where it should go?

@xkokushox
Copy link
Contributor

@vcardillo i think we can show an alert to the user, saying something like "are you sure to exit the app, your order will be lost" what do you think?

@demant
Copy link

demant commented Feb 12, 2016

Why do we clear their cart when this happens? Can we leave their Bentos in their cart instead? And then we could have an error message:

"Your delicious order is not complete. Are you sure you want to exit Bento?"

@xkokushox
Copy link
Contributor

@demant In that case, the back button finish the activity and return to the previous one, in this case there is not previous screen, so finish the app, we can let the bentos in the "Cart" because i am using a database, the problem is to "Save" all the status for the app like the previous widget status, what i think we can do is to showing a dialog to prevent the user to exit, that would be the easier / faster solution

@xkokushox xkokushox added this to the 1.22 [next] milestone Feb 16, 2016
@xkokushox xkokushox self-assigned this Feb 16, 2016
@vcardillo
Copy link
Member

@xkokushox Can you just make it as if the app was minimized, instead of exited? Like as if I had hit the home button. If I am using Bento and I tap the home button, and then go back to the app, everything isn't reset, which is good.

xkokushox pushed a commit that referenced this issue Feb 24, 2016
- Done #312
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants