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-02-14] [HOLD for payment 2023-02-13] Web - New Group/IOU - Arrow key navigation stopped working #14837

Closed
1 of 6 tasks
kbecciv opened this issue Feb 4, 2023 · 29 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. DeployBlockerCash This issue or pull request should block deployment Engineering Weekly KSv2

Comments

@kbecciv
Copy link

kbecciv commented Feb 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. Go to https://staging.new.expensify.com/
  2. Click +
  3. Click Request money
  4. Choose amount an click Next
  5. Press Arrow keys to navigate through attendees list

or

  1. Go to https://staging.new.expensify.com/
  2. Go to group chat
  3. Click +
  4. Click Split bill
  5. Choose amount an click Next
  6. Press Arrow keys to navigate through attendees list

Expected Result:

Focus should be from one account to another

Actual Result:

The whole list moves instead of focus. Or just nothing happens.

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.65.0

Reproducible in staging?: Yes

Reproducible in production?: No

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

Bug5925100_video_07.mp4
Bug5925100_video_06.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Feb 4, 2023
@melvin-bot melvin-bot bot locked and limited conversation to collaborators Feb 4, 2023
@OSBotify
Copy link
Contributor

OSBotify commented Feb 4, 2023

👋 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.

@melvin-bot melvin-bot bot unlocked this conversation Feb 4, 2023
@melvin-bot
Copy link

melvin-bot bot commented Feb 4, 2023

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

@melvin-bot melvin-bot bot locked and limited conversation to collaborators Feb 4, 2023
@Expensify Expensify unlocked this conversation Feb 6, 2023
@mountiny
Copy link
Contributor

mountiny commented Feb 6, 2023

Unlocked the conversation I have confirmed this is actual deploy blocker

@situchan
Copy link
Contributor

situchan commented Feb 6, 2023

I confirmed that #14794 caused this regression.

@mountiny
Copy link
Contributor

mountiny commented Feb 6, 2023

Oh really? We assumed that was missed as that was the only missing condition to revert

@mountiny mountiny assigned mountiny and unassigned chiragsalian Feb 6, 2023
@situchan
Copy link
Contributor

situchan commented Feb 6, 2023

@mountiny actually, that's a good fix. The main root cause is that OptionRow is not updated whenever arrow key pressed so hover background color not changing even though selected actually. So it's visual issue.
I have solution

@situchan
Copy link
Contributor

situchan commented Feb 6, 2023

+           || this.props.optionIsFocused !== nextProps.optionIsFocused

Let's add this in shouldComponentUpdate condition

@mountiny
Copy link
Contributor

mountiny commented Feb 6, 2023

I will revert the change and we can elaborte on this new option more, we need to fix this sooner so it does not block deploy and this code is super prone to some bugs as it touches a lot of parts of the code so I would refrain from adding another condition.

Can you write down an official bug? what is broken without the condition you have mentioned?

@situchan
Copy link
Contributor

situchan commented Feb 6, 2023

@mountiny I think no need to revert because below condition is always true and OptionRow is updated every time any props changes so it causes performance issue which was the purpose of that PR.

            || _.isEqual(this.props.option.icons, nextProps.option.icons)

@situchan
Copy link
Contributor

situchan commented Feb 6, 2023

Can you write down an official bug? what is broken without the condition you have mentioned?

The official bug is that optionIsFocused props change was missing in shouldComponentUpdate.
|| _.isEqual(this.props.option.icons, nextProps.option.icons) this line was a mistake and also has hidden bug above.

@mountiny
Copy link
Contributor

mountiny commented Feb 6, 2023

Let me have a look @situchan you are right about the condition

@mountiny
Copy link
Contributor

mountiny commented Feb 6, 2023

@mountiny mountiny added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. and removed Hourly KSv2 labels Feb 6, 2023
@melvin-bot
Copy link

melvin-bot bot commented Feb 6, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Feb 6, 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

@mountiny
Copy link
Contributor

mountiny commented Feb 6, 2023

@situchan Thank you for help, I have assigned @garrettmknight to help with paying out $250 for helping here!

@garrettmknight
Copy link
Contributor

@situchan offer sent - accept and I'll pay!

@situchan
Copy link
Contributor

situchan commented Feb 6, 2023

Accepted offer. Thank you @mountiny @garrettmknight

@garrettmknight
Copy link
Contributor

Paid, link for reference. Unassigning myself.

@garrettmknight garrettmknight removed their assignment Feb 6, 2023
@mountiny mountiny closed this as completed Feb 6, 2023
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Feb 6, 2023
@melvin-bot melvin-bot bot changed the title Web - New Group/IOU - Arrow key navigation stopped working [HOLD for payment 2023-02-13] Web - New Group/IOU - Arrow key navigation stopped working Feb 6, 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 Feb 6, 2023
@MelvinBot
Copy link

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.65-2 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-02-13. 🎊

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

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:

  • [@mountiny] The PR that introduced the bug has been identified. Link to the PR:
  • [@mountiny] 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:
  • [@mountiny] 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:
  • [@mountiny] Propose regression test steps to ensure the same bug will not reach production again.
  • [] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@mountiny
Copy link
Contributor

mountiny commented Feb 6, 2023

No need for these

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Feb 7, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-02-13] Web - New Group/IOU - Arrow key navigation stopped working [HOLD for payment 2023-02-14] [HOLD for payment 2023-02-13] Web - New Group/IOU - Arrow key navigation stopped working Feb 7, 2023
@MelvinBot
Copy link

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.66-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 2023-02-14. 🎊

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

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:

  • [@mountiny] The PR that introduced the bug has been identified. Link to the PR:
  • [@mountiny] 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:
  • [@mountiny] 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:
  • [@mountiny] Propose regression test steps to ensure the same bug will not reach production again.
  • [] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@situchan
Copy link
Contributor

@garrettmknight I haven't got payment yet. You just hired me, and not released milestone.

@MelvinBot
Copy link

📣 @situchan! 📣

Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

  1. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  2. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  3. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.

Screen Shot 2022-11-16 at 4 42 54 PM

Format:

Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

@MelvinBot
Copy link

✅ Contributor details stored successfully. Thank you for contributing to Expensify!

@garrettmknight
Copy link
Contributor

Hey @situchan, sorry about that. Just paid.
Screenshot 2023-02-22 at 8 33 58 AM

@situchan
Copy link
Contributor

@garrettmknight Thanks so much. You can also close contract.

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. DeployBlockerCash This issue or pull request should block deployment Engineering Weekly KSv2
Projects
None yet
Development

No branches or pull requests

7 participants