-
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-11-06] [$500] Reload on title and description of task field does not focus back #29905
Comments
ProposalPlease re-state the problem that we are trying to solve in this issue.New task page Title and Description do not get focused after a reload. What is the root cause of that problem?The What changes do you think we should make in order to solve the problem?\
What alternative solutions did you explore? (Optional)N/A |
Triggered auto assignment to @alexpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~0187815170d8ee20df |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @robertKozik ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Reload on title and description of task field does not focus back What is the root cause of that problem?After reloading the screen, ref which calls the input focus not ready yet What changes do you think we should make in order to solve the problem?We can add But the downside of this solution is So we need also add Plus we probably need to get rid of onEntryTransitionEnd on NewTaskTitlePage What alternative solutions did you explore? (Optional)We can always add a delay to the current autofocus implementation |
ProposalPlease re-state the problem that we are trying to solve in this issue.App does not focus back on title and description field on reload What is the root cause of that problem?Sometimes when the screen first load, the inputRef is not initialized yet, so the focus is not made. What changes do you think we should make in order to solve the problem?We've developed a best practice to solve this issue, which is to use the The
It's been used in the What alternative solutions did you explore? (Optional)Any other pages that have this issue can be fixed the same way. |
@robertKozik - can you review these proposals? Thanks! |
@robertKozik - we need a review when you get a chance, thanks! |
Thank you all for your proposals! I checked all of them and I believe we should go further with @tienifr as It consist of already used hook and standarizes the approach for all Task pages. This said, I believe we should go with @tienifr proposal 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @rlinoz, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
In this GH, I suggest to replace all occurrences of |
@aimane-chnaif do you think it should be handled by the contributor which introduced the |
@tienifr is the contributor who introduced |
I am not being able to reproduce this in production, but since |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @dhanashree-sawant 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
Wow, that was fast! Now we will wait for automation to kick in here. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.92-4 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-06. 🎊 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:
|
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:
|
|
Here is the payment summary:
Upwork Job: https://www.upwork.com/jobs/~0187815170d8ee20df *If applicable, the bonuses will be applied on the final payment Extra Notes regarding payment: There is an urgency bonus since the PR was approved within the 3 business day mark. It looks like automation didn't catch it, but I confirmed the dates in the PR. |
Alright, all required actions have been completed and everyone has been paid in Upwork. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.3.86-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
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1697648537204909
Action Performed:
Expected Result:
App should focus back on title and description field on reload
Actual Result:
App does not focus back on title and description field on reload
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
Android.chrome.reload.no.focus.task.title.description.mp4
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
no.focus.back.mp4
mac.chrome.reload.no.focus.task.title.description.1.mov
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: