Skip to content

[HOLD for payment 2022-12-09] [$1000] [Bug] mWeb - If you close the keyboard using native back button then it will keep reopening while selecting the contacts - reported by @thesahindia #11094

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

Closed
mvtglobally opened this issue Sep 19, 2022 · 84 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review

Comments

@mvtglobally
Copy link

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Action Performed:

  1. Tap on :green-plus-button: > New group
  2. Close the keyboard by tapping native back button
  3. Select a user

Expected Result:

The keyboard should not open

Actual Result:

The keyboard keeps opening

Workaround:

unknown

Platform:

Where is this issue occurring?

  • Mobile Web

Version Number: 1.1.99-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Screen.Recording.2022-08-30.at.6.40.15.PM.mov

Expensify/Expensify Issue URL:
Issue reported by: @thesahindia
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1661865140075919

View all open jobs on GitHub

@mvtglobally mvtglobally added AutoAssignerTriage Auto assign issues for triage to an available triage team member Daily KSv2 labels Sep 19, 2022
@melvin-bot
Copy link

melvin-bot bot commented Sep 19, 2022

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

@melvin-bot melvin-bot bot removed the AutoAssignerTriage Auto assign issues for triage to an available triage team member label Sep 19, 2022
@RachCHopkins
Copy link
Contributor

I'm still unable to reproduce this. Is this still happening @mvtglobally ?

@melvin-bot
Copy link

melvin-bot bot commented Sep 20, 2022

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

@techievivek
Copy link
Contributor

I am able to reproduce this on staging so we can definitely work on this one.

@techievivek techievivek added the External Added to denote the issue can be worked on by a contributor label Sep 21, 2022
@melvin-bot
Copy link

melvin-bot bot commented Sep 21, 2022

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

@melvin-bot
Copy link

melvin-bot bot commented Sep 21, 2022

Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav (External)

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 21, 2022
@melvin-bot
Copy link

melvin-bot bot commented Sep 21, 2022

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

@melvin-bot melvin-bot bot changed the title mWeb - If you close the keyboard using native back button then it will keep reopening while selecting the contacts - reported by @thesahindia [$250] mWeb - If you close the keyboard using native back button then it will keep reopening while selecting the contacts - reported by @thesahindia Sep 21, 2022
@Beamanator
Copy link
Contributor

@techievivek just wondering why unassign both you and me? 🤔

@techievivek
Copy link
Contributor

@Beamanator Oops my bad, I didn't mean to unassign you, I did that by mistake. 😞

@Beamanator
Copy link
Contributor

Aah ok no worries :D

@Beamanator
Copy link
Contributor

Hmm I remember hearing we're holding most of these keyboard-related issues for some upcoming "keyboard initiative" - asking in Slack about this before putting it on hold officially

@JmillsExpensify JmillsExpensify changed the title [$250] mWeb - If you close the keyboard using native back button then it will keep reopening while selecting the contacts - reported by @thesahindia [$250] [Bug] mWeb - If you close the keyboard using native back button then it will keep reopening while selecting the contacts - reported by @thesahindia Sep 21, 2022
@mananjadhav
Copy link
Collaborator

Yeah, we should hold them. This is the issue where we're tagging all Keyboard related issue.

#10273

@s77rt
Copy link
Contributor

s77rt commented Nov 28, 2022

Applied in Upwork (50% bonus)
PR is ready

@JmillsExpensify
Copy link

@mananjadhav @tgolen PR is ready for ya'll. We still need to get the PR merged for the bonus to apply, though we're on the right track!

@mananjadhav
Copy link
Collaborator

PR is reviewed and approved. Just left to merge.

@JmillsExpensify
Copy link

Awesome, it looks like we're just waiting on someone to press merge. Who is that going to be?

@mananjadhav
Copy link
Collaborator

Awesome, it looks like we're just waiting on someone to press merge. Who is that going to be?

@tgolen Will merge the PR.

@JmillsExpensify JmillsExpensify added the Reviewing Has a PR in review label Nov 30, 2022
@JmillsExpensify
Copy link

JmillsExpensify commented Nov 30, 2022

And the PR is merged!

@JmillsExpensify
Copy link

JmillsExpensify commented Dec 1, 2022

Alright, the PR is merged, so let's circle back on payments. We still need to wait for the regression period to start/end, though this is where we landed:

All of the above are minimally invited to the Upwork job at this point.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Dec 2, 2022
@melvin-bot melvin-bot bot changed the title [$1000] [Bug] mWeb - If you close the keyboard using native back button then it will keep reopening while selecting the contacts - reported by @thesahindia [HOLD for payment 2022-12-09] [$1000] [Bug] mWeb - If you close the keyboard using native back button then it will keep reopening while selecting the contacts - reported by @thesahindia Dec 2, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 2, 2022

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.35-0 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 2022-12-09. 🎊

After the hold period, please check if any of the following need payment for this issue, and if so check them off after paying:

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot
Copy link

melvin-bot bot commented Dec 2, 2022

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@mananjadhav / @tgolen] The PR that introduced the bug has been identified. Link to the PR: Unable to determine conclusively, see this comment
  • [@mananjadhav / @tgolen] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: n/a
  • [@mananjadhav / @tgolen] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: n/a
  • [@JmillsExpensify] A regression test has been added or updated so that the same bug will not reach production again. Link to the GH issue for creating the test here:

@JmillsExpensify
Copy link

All contributors hired in Upwork. @tgolen @mananjadhav Can you confirm we're all good on the first think items in the checklist above?

@JmillsExpensify
Copy link

Hey guys, bump on the BZ list. Mind confirming we're good on those?

@mananjadhav
Copy link
Collaborator

@JmillsExpensify I was trying to check the offending PR, but couldn't pinpoint to a proper one. I think this wasn't working since the beginning. How do we link offending PRs in such cases?

@JmillsExpensify
Copy link

That's a great question, though I will defer to @tgolen on that one.

@tgolen
Copy link
Contributor

tgolen commented Dec 9, 2022

Yeah, I assume there could be situations where the bug existed ever since the code was initially written. In that case, there would still be a source PR for it, right? It would just be the very first PR that introduced the code? Though, I could still see a case where that might be nearly impossible to track down as well.

I think if we give a reasonable effort to find an offending PR, and we come up empty, then an exception is probably fine in those cases to not find a source of the regression.

@mananjadhav
Copy link
Collaborator

I'll try to take another stab at it over the weekend. Will post an update here.

--

@JmillsExpensify this is ready for payout with a 50% bonus.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Dec 9, 2022
@JmillsExpensify
Copy link

All paid out.

Alright, the PR is merged, so let's circle back on payments. We still need to wait for the regression period to start/end, though this is where we landed:

@JmillsExpensify
Copy link

@tgolen @mananjadhav can both of you please fill out the BZ checklist above, and when you do, close this issue out? The regression test is a work in progress based on a larger keyboard regression test we'll do across various KAV cases, so that's done for now.

@tgolen
Copy link
Contributor

tgolen commented Dec 12, 2022

I'll try to take another stab at it over the weekend. Will post an update here.

@mananjadhav do you have an update on this?

@tgolen
Copy link
Contributor

tgolen commented Dec 13, 2022

Bump @mananjadhav

If no response today, I'll just mark that we couldn't locate the specific regression.

@mananjadhav
Copy link
Collaborator

mananjadhav commented Dec 13, 2022

Apologies for the delay, was OOO.

I tried checking but the code has gone through multiple refactors, and I am unable to pinpoint as the component used different methods before for setSelection, relatedTarget handling.

#7530
#11673

But I am unable to build and check if it worked properly by reverting these fixes.

@tgolen
Copy link
Contributor

tgolen commented Dec 13, 2022

OK, thank you! I'll just put down that it was inconclusive and we couldn't really find a direct source.

@tgolen tgolen closed this as completed Dec 13, 2022
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 Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests