You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2023-11-07] [$500] WS - Members - List of users invited to the workspace does not scroll with Up and Down arrows #29022
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
What changes do you think we should make in order to solve the problem?
Initially flattenedSections.allOptions will be empty but when memoized will be complete then we will have the allOptions array, so I would suggest that we should pass the to flattenedSections.allOptions dependency to scrollToIndex useCallback function
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.93-1 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-11-07. 🎊
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
For reference, here are some details about the assignees on this issue:
@rushatgabhanedoes not require payment (Eligible for Manual Requests)
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:
[@rushatgabhane] The PR that introduced the bug has been identified. Link to the PR:
[@rushatgabhane] 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:
[@rushatgabhane] 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:
[@rushatgabhane] Determine if we should create a regression test for this bug.
[@rushatgabhane] 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.
[@puneetlath] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
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.
Determine if we should create a regression test for this bug. - No
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.
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Oct 6, 2023
Triggered auto assignment to @isabelastisser (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Oct 6, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)jayeshmangwani commentedon Oct 6, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Scroll is not happeing on Invite new members page, when we use the up and down key from keyboard
What is the root cause of that problem?
We are using BaseSelectionList Component to display the members on the Invite page,
On BaseSelectionList page we have created a useCallback function scrollToIndex that is responsible for scrolling of the list
App/src/components/SelectionList/BaseSelectionList.js
Lines 155 to 156 in 6682740
2nd line of this function access the flattenedSections.allOptions, that is used for getting the value of the item,
So issue is happening because , initially allOptions will be empty array and when we have allOptions is empty then item will be null/undefined ,
App/src/components/SelectionList/BaseSelectionList.js
Lines 79 to 80 in 6682740
If item will null then we are returning early on scrollToIndex function thats why scrolling is not happening
App/src/components/SelectionList/BaseSelectionList.js
Lines 155 to 160 in 6682740
What changes do you think we should make in order to solve the problem?
Initially flattenedSections.allOptions will be empty but when memoized will be complete then we will have the allOptions array, so I would suggest that we should pass the to
flattenedSections.allOptionsdependency toscrollToIndexuseCallback functionApp/src/components/SelectionList/BaseSelectionList.js
Lines 176 to 179 in 6682740
Result
result.mov
What alternative solutions did you explore? (Optional)
N/A
melvin-bot commentedon Oct 6, 2023
Triggered auto assignment to @puneetlath (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Oct 6, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)shmaxey commentedon Oct 6, 2023
Isa is OOO for a few days, can you please carry forward for her? Thanks!
35 remaining items
melvin-bot commentedon Oct 31, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.93-1 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-11-07. 🎊
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.
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Oct 31, 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:
puneetlath commentedon Nov 6, 2023
@rushatgabhane friendly reminder about the checklist so that we can pay tomorrow.
melvin-bot commentedon Nov 10, 2023
@puneetlath, @rushatgabhane, @jayeshmangwani Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
melvin-bot commentedon Nov 10, 2023
@puneetlath, @rushatgabhane, @jayeshmangwani Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
puneetlath commentedon Nov 10, 2023
@rushatgabhane bump on the checklist again please.
rushatgabhane commentedon Nov 13, 2023
The PR that introduced the bug has been identified. Link to the PR: Selection List refactor phase 3: base #27767
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/27767/files#r1391988766
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.
Determine if we should create a regression test for this bug. - No
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.
jayeshmangwani commentedon Nov 16, 2023
@puneetlath bump for payment
puneetlath commentedon Nov 16, 2023
Payment summary:
Sorry for the delay, I didn't realize the checklist was done. @jayeshmangwani you've been paid. @rushatgabhane please request via NewDot.
Thanks everyone!