-
Notifications
You must be signed in to change notification settings - Fork 3k
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-10-12] [$500] Web - Members page search bar does not get focused after removing and inviting a member #26955
Comments
Triggered auto assignment to @sakluger ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Members page search bar does not get focused after removing and inviting a member What is the root cause of that problem?When selecting an option, we don't re-focus the TextInput same as OptionSelector App/src/components/SelectionList/BaseSelectionList.js Lines 170 to 180 in 5db2445
What changes do you think we should make in order to solve the problem?In
App/src/components/SelectionList/BaseSelectionList.js Lines 170 to 180 in 5db2445
What alternative solutions did you explore? (Optional)If we only want to re-focus the TextInput for some special pages we can add an extra prop in
|
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?We have 2 cases in here
What changes do you think we should make in order to solve the problem?
textInputRef.current.focus();
useEffect(() => {
if (shouldShowTextInput && isFocused && !prevIsFocused) {
if (shouldDelayFocus) {
focusTimeoutRef.current = setTimeout(() => textInputRef.current.focus(), CONST.ANIMATED_TRANSITION);
} else {
textInputRef.current.focus();
}
}
}, [isFocused, prevIsFocused, shouldShowTextInput, shouldDelayFocus]) What alternative solutions did you explore? (Optional)N/A |
@sakluger Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@sakluger Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Job added to Upwork: https://www.upwork.com/jobs/~01cd4466f923f82031 |
Current assignee @sakluger is eligible for the External assigner, not assigning anyone new. |
Added external label. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
Sorry couldn't get to this today, will review tomorrow! |
@dukenv0307 is missing the second case in their proposal, but otherwise correct RCA and solution. @namhihi237 has the correct RCA(s) and their solution is fine, but I'm wondering if we should apply this pattern here (for handling focus when the page is visible again). I also think we might want a
🎀👀🎀 C+ reviewed |
Triggered auto assignment to @jasperhuangg, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@dukenv0307 Ah thanks for the heads up and apologies for missing that! @jasperhuangg Let's go with @dukenv0307's proposal then since it was first and handles the only remaining case. |
@jasperhuangg friendly bump. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@sakluger @jjcoffee @jasperhuangg this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@sakluger, @jjcoffee, @jasperhuangg Whoops! This issue is 2 days overdue. Let's get this updated quick! |
📣 @jjcoffee 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @SofoniasN 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
@jjcoffee The PR is ready to review. |
Thanks @dukenv0307, will review tomorrow! |
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.77-7 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-10-12. 🎊 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:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
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:
|
I completed payment for @SofoniasN and @dukenv0307. @jjcoffee could you please complete the BZ checklist so I can complete your payment as well? Thanks! |
Regression Test Proposal
Do we agree 👍 or 👎 |
@sakluger Checklist complete! |
@sakluger, @jjcoffee, @jasperhuangg, @dukenv0307 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Thanks @jjcoffee! I updated the steps a bit to make them more clear, mainly by using the exact link/button names as well as adding two more steps to cover inviting as well as removing. I completed payment through Upwork. Thanks everyone! |
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:
Case II
3, Click on invite and select a few accounts and click on next and click on invite
Expected Result:
Search bar should be focused
Actual Result:
search bar loses focus
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.65.2
Reproducible in staging?: y
Reproducible in production?: y
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_20230907_082908_Chrome.mp4
2023_09_03_07_45_35.mp4
Expensify/Expensify Issue URL:
Issue reported by: @SofoniasN
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693716569986309
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: