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 2023-05-03] [$1000] Screen is shaking when scrolling while user edit a comment between 2 tabs. #16931

Closed
1 of 6 tasks
kavimuru opened this issue Apr 4, 2023 · 47 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 External Added to denote the issue can be worked on by a contributor

Comments

@kavimuru
Copy link

kavimuru commented Apr 4, 2023

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. Open a new report, try to send few message (Make sure the content of the message has over 15 lines), open that report in another tab.
  2. From the first tab, try to edit a multiple lines message, make sure the content is scrollable.
  3. From the second tab, delete all the content of that message, return the first tab try to scroll to bottom few times.
  4. Notice that screen is shaking while scrolling.

Expected Result:

User should scroll to bottom without any issue.

Actual Result:

Screen is shaking while scrolling.

Workaround:

unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.2.94-0
Reproducible in staging?: needs reproduction
Reproducible in production?: Needs reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
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.2023-04-04.at.18.21.16.mov

Expensify/Expensify Issue URL:
Issue reported by: @hungvu193
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1680608255498089

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01c4cdb2f5c5e79041
  • Upwork Job ID: 1645761324986847232
  • Last Price Increase: 2023-04-18
@kavimuru kavimuru added Daily KSv2 Needs Reproduction Reproducible steps needed Bug Something is broken. Auto assigns a BugZero manager. labels Apr 4, 2023
@MelvinBot
Copy link

Triggered auto assignment to @laurenreidexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@MelvinBot
Copy link

MelvinBot commented Apr 4, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@melvin-bot melvin-bot bot added the Overdue label Apr 7, 2023
@laurenreidexpensify
Copy link
Contributor

I''m finding this one pretty hard to reproduce based on the instructions above - @kavimuru @hungvu193 can you break this down a bit further? Thanks

@melvin-bot melvin-bot bot removed the Overdue label Apr 7, 2023
@hungvu193
Copy link
Contributor

hungvu193 commented Apr 9, 2023

@laurenreidexpensify I think I can give you more information here.

  • Try to create a new conversation
  • Make sure the content of the edit message has over 15 lines after that try to scroll to the bottom, you will see
Screen.Recording.2023-04-09.at.22.09.59.mov

@melvin-bot melvin-bot bot added the Overdue label Apr 9, 2023
@MelvinBot
Copy link

@laurenreidexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!

@laurenreidexpensify laurenreidexpensify added External Added to denote the issue can be worked on by a contributor and removed Needs Reproduction Reproducible steps needed labels Apr 11, 2023
@melvin-bot melvin-bot bot changed the title Screen is shaking when scrolling while user edit a comment between 2 tabs. [$1000] Screen is shaking when scrolling while user edit a comment between 2 tabs. Apr 11, 2023
@MelvinBot
Copy link

Job added to Upwork: https://www.upwork.com/jobs/~01c4cdb2f5c5e79041

@MelvinBot
Copy link

Current assignee @laurenreidexpensify is eligible for the External assigner, not assigning anyone new.

@MelvinBot
Copy link

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 11, 2023
@MelvinBot
Copy link

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

@laurenreidexpensify
Copy link
Contributor

Thanks @hungvu193

@melvin-bot melvin-bot bot removed the Overdue label Apr 11, 2023
@aldo-expensify
Copy link
Contributor

aldo-expensify commented Apr 11, 2023

I'm having problems reproducing too

@hungvu193 can you copy and paste here what you typed in the input to reproduce?

@hungvu193
Copy link
Contributor

hungvu193 commented Apr 13, 2023

@aldo-expensify
you can try this one:

[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
https://staging.new.expensify.com/r/6006786908332036
https://staging.new.expensify.com/r/6006786908332036
https://staging.new.expensify.com/r/6006786908332036
https://staging.new.expensify.com/r/6006786908332036
https://staging.new.expensify.com/r/6006786908332036

And the evidence for latest staging:

Screen.Recording.2023-04-13.at.09.42.43.mov

@aldo-expensify
Copy link
Contributor

Thanks @hungvu193 , I'm still unable to reproduce :(. Do you use your mouse wheel to scroll? or the track pad? or something else?

Is this consistently happening for you? or you get it after trying many times?

Trying to reproduce
Screen.Recording.2023-04-13.at.9.46.28.AM.mov

@hungvu193
Copy link
Contributor

@aldo-expensify I can reproduce everytime, I'm using mac touchpad.
Can you try these steps and let me know if it works?

  1. Go to new report.
  2. Chat 3,4 messages.
  3. Send a very long message, just to make sure content of edit message is scrollable, like this:
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
[https://staging.new.expensify.com/r/6006786908332036](https://staging.new.expensify.com/r/6006786908332036)
  1. Edit the message, delete all the content but don't save, now open that report in another tab.
  2. Scroll inside your edit message then scroll outside.
Screen.Recording.2023-04-14.at.10.06.08.mov

@aldo-expensify
Copy link
Contributor

@hungvu193 ahh thanks, now I reproduced it. I had completely missed the stuff about using 2 tabs 🤦

@melvin-bot melvin-bot bot added the Overdue label Apr 17, 2023
@hungvu193
Copy link
Contributor

@s77rt Yeah, It's no longer be reproducible with latest main.

Screen.Recording.2023-04-24.at.16.26.10.mov

@hungvu193 Can you please test and confirm the bug reported here #16931 (comment) will no longer be reproducible?

@thesahindia
Copy link
Member

Do you think we can remove it now?

Yeah, it can be removed.

@Pujan92
Copy link
Contributor

Pujan92 commented Apr 24, 2023

@Pujan92 @thesahindia a confirmation please on #16931 (comment)

Yes, as it is not producible after navigation reboot then we can remove it.

@s77rt
Copy link
Contributor

s77rt commented Apr 24, 2023

@thesahindia @Pujan92 Thank you!

@s77rt
Copy link
Contributor

s77rt commented Apr 24, 2023

@hungvu193 Thanks once again for your proposal and for the follow up 👍. Let's go with your suggested fix option 2 (remove numberOfLines and onNumberOfLinesChange from ReportActionItemMessageEdit).

🎀 👀 🎀 C+ reviewed

cc @aldo-expensify

@aldo-expensify
Copy link
Contributor

Thanks for the thorough investigation! I agree with removing this stuff if it is no longer needed and adds unnecessary complexity + bugs.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 24, 2023
@MelvinBot
Copy link

📣 @hungvu193 You have been assigned to this job by @aldo-expensify!
Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Apr 24, 2023
@hungvu193
Copy link
Contributor

hungvu193 commented Apr 24, 2023

Thanks guys, PR (#17899) is ready @s77rt @aldo-expensify

@laurenreidexpensify
Copy link
Contributor

Offers sent in Upwork for @hungvu193 and @s77rt

@hungvu193
Copy link
Contributor

@laurenreidexpensify Thank you. I've just applied

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Apr 26, 2023
@melvin-bot melvin-bot bot changed the title [$1000] Screen is shaking when scrolling while user edit a comment between 2 tabs. [HOLD for payment 2023-05-03] [$1000] Screen is shaking when scrolling while user edit a comment between 2 tabs. Apr 26, 2023
@MelvinBot
Copy link

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Apr 26, 2023
@MelvinBot
Copy link

MelvinBot commented Apr 26, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.5-6 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 2023-05-03. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • 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

@MelvinBot
Copy link

MelvinBot commented Apr 26, 2023

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:

  • [@s77rt] The PR that introduced the bug has been identified. Link to the PR:
  • [@s77rt] 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:
  • [@s77rt] 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:
  • [@s77rt] Determine if we should create a regression test for this bug.
  • [@s77rt] 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.
  • [@laurenreidexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon: https://github.com/Expensify/Expensify/issues/280594

@s77rt
Copy link
Contributor

s77rt commented Apr 26, 2023


Regression Test Proposal (Web Only)

  1. Login to NewDot in 2 tabs
  2. Open same chat in both tabs (chat must be scrollable i.e. have previous messages)
  3. Tab 1: Send a long multiline message e.g. 25 lines
  4. Tab 1: Edit the message: delete the content but do not press the 'Save' button
  5. Tab 2: Verify the message is in edit mode
  6. Tab 2: Verify the message content is not cleared
  7. Tab 2: Scroll inside the edit message
  8. Tab 2: Scroll outside the edit message
  9. Tab 2: Verify that you were able to scroll smoothly

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 Daily KSv2 labels May 2, 2023
@laurenreidexpensify
Copy link
Contributor

great work everyone!

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 External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

8 participants