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 2024-07-22] [$500] Android & iOS-Chat - Report flickers, keyboard is dismissed when focus on composer on Android #45152

Closed
2 of 6 tasks
lanitochka17 opened this issue Jul 10, 2024 · 38 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Jul 10, 2024

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


Version Number: 9.0.6-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team

Action Performed:

  1. Launch New Expensify app
  2. Go to workspace chat
  3. Submit some expenses
  4. Click on the expense preview
  5. Go back and forth between main chat, expense report and expense thread

Expected Result:

App will not flicker when switching between expense reports

Actual Result:

App flickers when switching between expense reports
On Android, keyboard is dismissed when trying to focus on the composer

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6537869_1720617424375.Android.mp4
Bug6537869_1720617424384.RPReplay_Final1720609502.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~013ddb1dcdf7db2cf6
  • Upwork Job ID: 1811353829124565469
  • Last Price Increase: 2024-07-12
Issue OwnerCurrent Issue Owner: @garrettmknight
@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment DeployBlocker Indicates it should block deploying the API labels Jul 10, 2024
Copy link

melvin-bot bot commented Jul 10, 2024

Triggered auto assignment to @danieldoglas (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@lanitochka17
Copy link
Author

@danieldoglas FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's bug and can be handled by external contributors

@lanitochka17
Copy link
Author

We think that this bug might be related to #vip-vsp

@danieldoglas danieldoglas removed the DeployBlocker Indicates it should block deploying the API label Jul 11, 2024
@danieldoglas
Copy link
Contributor

I don't think this is related to backend, removing the DeployBlocker tag

@izarutskaya
Copy link

izarutskaya commented Jul 11, 2024

@danieldoglas Also the app is flickering when a new user finishes the onboarding flow. It flickers again after tapping on the "Get started" button. The issue can't be reproduced with the same account after this.
Let me know please if we need to create a new issue. Thanks

Bug6538707_1720686908936.PTZT3012.mp4

@danieldoglas danieldoglas added the External Added to denote the issue can be worked on by a contributor label Jul 11, 2024
@melvin-bot melvin-bot bot changed the title Android & iOS-Chat - Report flickers, keyboard is dismissed when focus on composer on Android [$250] Android & iOS-Chat - Report flickers, keyboard is dismissed when focus on composer on Android Jul 11, 2024
Copy link

melvin-bot bot commented Jul 11, 2024

Job added to Upwork: https://www.upwork.com/jobs/~013ddb1dcdf7db2cf6

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 11, 2024
@danieldoglas danieldoglas added Bug Something is broken. Auto assigns a BugZero manager. and removed Help Wanted Apply this label when an issue is open to proposals by contributors labels Jul 11, 2024
Copy link

melvin-bot bot commented Jul 11, 2024

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

Copy link

melvin-bot bot commented Jul 11, 2024

Triggered auto assignment to @garrettmknight (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@Julesssss
Copy link
Contributor

The one PR that modified text input behaviour seems unlinked, but it would be worth testing out just to be sure.

@rushatgabhane
Copy link
Member

The one PR that modified text input behaviour seems unlinked, but it would be worth testing out just to be sure.

tested. its unrelated

@danieldoglas
Copy link
Contributor

Maybe lets's check reverting #45120 and #45120

@rushatgabhane @allgandalf

@allgandalf
Copy link
Contributor

Chill melvin, the PR was CP'ed to staging

@melvin-bot melvin-bot bot removed the Overdue label Jul 15, 2024
@kavimuru
Copy link

@Julesssss Issue fixed in iOS

RPReplay_Final1721051515.MP4

@Julesssss
Copy link
Contributor

The final check will be to verify the Android keyboard issue. As this workflow is currently broken on main I am generating a manual workflow build here.

@Julesssss
Copy link
Contributor

Verified the fix here on Android. Checking it off 🤩

@mountiny mountiny added Reviewing Has a PR in review and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Jul 15, 2024
@mountiny
Copy link
Contributor

$500 to @allgandalf for their help with testing and reviewing

$125 to @ikevin127 for their help identifying the offending commit, @kirillzyusko do you think this means that the react-compiler has somehow changed the memoization of that file or what could be the RCA? @ikevin127 mentioned that for them the problem was resolved reverting before that commit

@mountiny mountiny added the Weekly KSv2 label Jul 15, 2024
@allgandalf
Copy link
Contributor

This should be Hold for payment @mountiny , the PR was CP'ed to staging

@kirillzyusko
Copy link
Contributor

kirillzyusko commented Jul 16, 2024

do you think this means that the react-compiler has somehow changed the memoization of that file or what could be the RCA?

@mountiny Well, I don't think so, because I tried to disable react-compiler at all and the issue was still there 🤷‍♂️

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jul 17, 2024
@melvin-bot melvin-bot bot changed the title [$500] Android & iOS-Chat - Report flickers, keyboard is dismissed when focus on composer on Android [HOLD for payment 2024-07-24] [$500] Android & iOS-Chat - Report flickers, keyboard is dismissed when focus on composer on Android Jul 17, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jul 17, 2024
Copy link

melvin-bot bot commented Jul 17, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Jul 17, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.7-8 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 2024-07-24. 🎊

For reference, here are some details about the assignees on this issue:

  • @allgandalf requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Jul 17, 2024

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:

  • [@allgandalf] The PR that introduced the bug has been identified. Link to the PR:
  • [@allgandalf] 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:
  • [@allgandalf] 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:
  • [@allgandalf] Determine if we should create a regression test for this bug.
  • [@allgandalf] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@garrettmknight] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@allgandalf
Copy link
Contributor

can someone please update the date for payment it should be [HOLD for payment 2024-07-22] instead :))

@Julesssss Julesssss changed the title [HOLD for payment 2024-07-24] [$500] Android & iOS-Chat - Report flickers, keyboard is dismissed when focus on composer on Android [HOLD for payment 2024-07-22] [$500] Android & iOS-Chat - Report flickers, keyboard is dismissed when focus on composer on Android Jul 17, 2024
@garrettmknight
Copy link
Contributor

Thanks @Julesssss !

@allgandalf
Copy link
Contributor

  • The PR that introduced the bug has been identified. Link to the PR: [CP Staging] Add freezeScreenWithLazyLoading function #44544

  • 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: https://github.com/Expensify/App/pull/44544/files#r1682508572

  • 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

  • If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again. N/A

I don't really think a regression test is needed here, this happened in an normal flow, like opening the compose.

But do let me know if we need a test at all, would be happy to provide :))

@allgandalf
Copy link
Contributor

This is ready for payment today @garrettmknight , thanks :)

@ikevin127
Copy link
Contributor

Payments summary: #45152 (comment).

Copy link

melvin-bot bot commented Jul 22, 2024

Payment Summary

Upwork Job

BugZero Checklist (@garrettmknight)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1811353829124565469/hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

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. Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
Development

No branches or pull requests