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

[HOLD for payment 2021-12-06] The Android hardware back button does not minimise the app when pressed on the LHN/home screen #4211

Closed
1 of 5 tasks
kp17211 opened this issue Jul 24, 2021 · 79 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@kp17211
Copy link

kp17211 commented Jul 24, 2021

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Click on an a chat from the LHN
  2. Once you're in the chat, press the back button to navigate back to the LHN/home screen
  3. From the LHN/home screen, press the back button again

Expected Result:

  • When pressing the back button on the LHN/home screen, the app should be minimised (exited).

Actual Result:

  • When pressing the back button on the LHN/home screen, we navigate back to the previous chat that users was in.

Workaround:

  • None

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Upwork URL: https://www.upwork.com/jobs/~017e60e720f6f9aca8

View all open jobs on Upwork

@kp17211 kp17211 added the AutoAssignerTriage Auto assign issues for triage to an available triage team member label Jul 24, 2021
@MelvinBot
Copy link

Triggered auto assignment to @mallenexpensify (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

@MelvinBot MelvinBot removed the AutoAssignerTriage Auto assign issues for triage to an available triage team member label Jul 24, 2021
@mallenexpensify
Copy link
Contributor

I don't have Android, trying to find someone on the CM team to triage

@mallenexpensify
Copy link
Contributor

Assigning to @laurenreidexpensify for review since she has Android and I don't.

@parasharrajat
Copy link
Member

To me this is reproducible.

@laurenreidexpensify
Copy link
Contributor

@kp17211 @parasharrajat I'm trying to reproduce this and a bit confused.

  • Am on my Chats page
  • tap into a chat
  • within chat, tap top left hand < icon
  • taken back to chat page
  • swipe left as the generic Android "back" action
  • am taken to the chat I was just in

Am I missing something? Isn't this the expected behaviour?

@parasharrajat
Copy link
Member

am taken to the chat I was just in

This is an issue.

the flow should be

  1. You click on any chat from LHN.
  2. It takes you to the chat.
  3. You click back button on android phone.
  4. It takes you back to chat list / LHN.
  5. You press the hardward back button again.
  6. App should minimize.
  7. But it will take you back to the recent open chat.

@laurenreidexpensify
Copy link
Contributor

Ah got it - okay yes I can confirm this is the behaviour then. Will send this to our engineering team for next review.

@MelvinBot
Copy link

Triggered auto assignment to @flodnv (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@flodnv
Copy link
Contributor

flodnv commented Jul 28, 2021

I could've sworn this was a feature and not a bug (granted, that I found strange as well). What's the behavior on iOS?

@flodnv flodnv removed their assignment Jul 28, 2021
@flodnv flodnv added Monthly KSv2 and removed Daily KSv2 labels Jul 28, 2021
@Beamanator
Copy link
Contributor

Beamanator commented Aug 3, 2021

What's the behavior on iOS?

I don't believe iOS has a "back" hardware button (at least most of their devices don't) so I think this only applies in Android.

I agree this should be fixed eventually, it's how most (if not all) Android apps work, so I'll take this over and making it External

Looks like these resources could be helpful:

@Beamanator Beamanator self-assigned this Aug 3, 2021
@Beamanator Beamanator added the External Added to denote the issue can be worked on by a contributor label Aug 3, 2021
@MelvinBot
Copy link

Triggered auto assignment to @trjExpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@MelvinBot MelvinBot added Daily KSv2 and removed Monthly KSv2 labels Aug 3, 2021
@MelvinBot MelvinBot removed the Overdue label Oct 28, 2021
@botify botify added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Nov 2, 2021
@botify
Copy link

botify commented Nov 2, 2021

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.12-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2021-11-09. 🎊

@botify botify changed the title The Android hardware back button does not minimise the app when pressed on the LHN/home screen [HOLD for payment 2021-11-09] The Android hardware back button does not minimise the app when pressed on the LHN/home screen Nov 2, 2021
@Beamanator
Copy link
Contributor

Hmm looks like this PR got reverted here: #6161 - @parasharrajat is looking into how to fix the issues that came from this PR

@Beamanator
Copy link
Contributor

Beamanator commented Nov 16, 2021

not overdue, @parasharrajat is actively working on a fix in ^ PR

@Beamanator
Copy link
Contributor

Not overdue - fix is in staging, waiting to get to production

@MelvinBot MelvinBot removed the Overdue label Nov 29, 2021
@Beamanator Beamanator changed the title [HOLD for payment 2021-11-09] The Android hardware back button does not minimise the app when pressed on the LHN/home screen The Android hardware back button does not minimise the app when pressed on the LHN/home screen Nov 29, 2021
@botify botify added Weekly KSv2 and removed Weekly KSv2 labels Nov 29, 2021
@botify botify changed the title The Android hardware back button does not minimise the app when pressed on the LHN/home screen [HOLD for payment 2021-12-06] The Android hardware back button does not minimise the app when pressed on the LHN/home screen Nov 29, 2021
@botify
Copy link

botify commented Nov 29, 2021

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.16-10 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2021-12-06. 🎊

@parasharrajat
Copy link
Member

Ping for
image

@trjExpensify

Information for your reference.

#5745 (comment) has the breakdown for payment. Please skip the milestone for 5027.

Apart from it, there were two PR created for this issue. the first one #5745 went through N6-Hold and the second #6295 through Company Offsite Hold.

@trjExpensify
Copy link
Contributor

Woof, this was a long one ey! So I presume from @mallenexpensify comment, this is the correct Upwork job, right? https://www.upwork.com/jobs/~017e60e720f6f9aca8

It's closed though and I couldn't see your proposal nor being hired Rajat, so we'll need to sort that out once confirmed this didn't move elsewhere. Then maybe @Beamanator can help confirm the total payable for this job at this point, skipping #5027. Am I reading it correctly that it should be $1,500?

@parasharrajat
Copy link
Member

@Beamanator Could you please help us out here?

@Beamanator
Copy link
Contributor

I just looked through and I also believe payment should be $1,500. Breakdown:

@parasharrajat you thought your PR would also fix #5971, but we ended up closing it b/c it couldn't be reproduced, so no reward there.

@parasharrajat
Copy link
Member

there were two PR created for this issue. the first one #5745 went through N6-Hold and the second #6295 through Company Offsite Hold.

@Beamanator I am not sure about this but do you think the two bonuses apply here n6-hold and company offsite hold? Could you please confirm that as well? Thanks.

@Beamanator
Copy link
Contributor

Hmm here's my thinking:

So I don't think that PR is eligible for the Company Offsite Hold bonus, let me know if you disagree though (also @trjExpensify)

@parasharrajat
Copy link
Member

Correct. I overlooked it. Thanks.

@Beamanator
Copy link
Contributor

No prob at all

@trjExpensify
Copy link
Contributor

Awesome. Offer sent 👍

@trjExpensify
Copy link
Contributor

All sorted, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests