-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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-16] [$1000] Request/Split/Send - There is NO cursor in the description input field #17579
Comments
Triggered auto assignment to @arielgreen ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Request/Split/Send - There is NO cursor in the description input field What is the root cause of that problem?The root cause of this issue is that we do not have the What changes do you think we should make in order to solve the problem?We can add However, as mentioned by @tienifr in his proposal, adding a plain autofocus property would sometimes cause the field to be focused without the keyboard being opened in Android. We thus need to apply the We can remove this logic by creating a
Then we can use the above context in the
We'll need to create a By using the above approach, we'll essentially make sure that the What alternative solutions did you explore? (Optional)None |
Reproduced, I agree that we should have the cursor automatically in the description field here. |
Job added to Upwork: https://www.upwork.com/jobs/~01c4252f7d1c570de7 |
Current assignee @arielgreen is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
Triggered auto assignment to @tgolen ( |
ProposalPlease re-state the problem that we are trying to solve in this issue. What is the root cause of that problem?The root cause of this issue is that we do not have the autoFocus property set on the input here. What changes do you think we should make in order to solve the problem?We can add autoFocus property in MoneyRequestDescriptionPage.js line 76
Result1What alternative solutions did you explore?MoneyRequestDescriptionPage.js line 76
Result2:We can select one from these 2 methods. Upwork profile: https://www.upwork.com/freelancers/~0134bf9909f3e4b438 |
📣 @Dev-Demons! 📣 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.
Format:
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Please re-state the problem that we are trying to solve in this issue.Request/Split/Send - There is NO cursor in the description input field What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?Adding ...
<TextInput
inputID="moneyRequestComment"
name="moneyRequestComment"
defaultValue={this.props.iou.comment}
label={this.props.translate('moneyRequestConfirmationList.whatsItFor')}
autoFocus
/>
... What alternative solutions did you explore? (Optional) |
📣 @jte0711! 📣 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.
Format:
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
ProposalPlease re-state the problem that we are trying to solve in this issue.There is no autofocus in the description input field even though there's only 1 input element. What is the root cause of that problem?The root cause is that we don't have auto-focusing logic for this TextInput
What changes do you think we should make in order to solve the problem?This is a common use case that has been addressed in many places. The correct way to implement it is to use
That Here's what we need to do:
This is a simple 1-line change and it doesn't repeat any logic here (it simply calls What alternative solutions did you explore? (Optional)We can also use That's also ok but I prefer using |
Looks like something related to As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our Feel free to drop a note in #expensify-open-source with any questions. |
I suggest to fix all auto-focus issues in one GH and in BZ checklist stage, add it to PR checklist along with trim when we implement new page with text inputs. Edit: Another trim issue: #17725 |
I think that we should fix all cases in this issue, and we can increase the price of the issue to account for the change in scope. Can we get a full and updated proposal? |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.12-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-05-16. 🎊 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.
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:
|
@Natnael-Guchima to answer your question, the two issues are separate but related and given you reported them both, I think the reporting bonus is valid for both. Can you apply to the Upwork posting so I can hire you for the reporting bonus? |
@sobitneupane @tienifr I have sent offers over in Upwork |
Thanks @arielgreen. I have applied for the two reporting bonus on the Upwork job. We can close the other report (#17833) since I have applied for that one too here. cc: @maddylewis |
@Natnael-Guchima excellent, offer sent. |
Accepted. Thanks, @arielgreen. |
Just a reminder to add these to PR checklist I suggest. |
Calculating payments: 1 business days = 50% bonus $500 to @Natnael-Guchima All payments have been issued. |
@sobitneupane can you please review and complete the checklist? Once that's done we are good to close this. |
|
We have an issue on mWeb/Safari (reproducible only on real device). Those issues exists in these places. @tgolen had suggested all those cases to be handled here. I am little confused on the next step now. |
Ah, so it looks like none of those other places were fixed in the current PR (I kinda forgot about them). At this point, we'll need to open up a new issue to have those other places fixed. |
@kbecciv How do you want to handle fixing the other places? |
Discussing in Slack here. |
Creating a new issue for this, we're done here. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
**Issue found when executing PR ** #16919
Action Performed:
Expected Result:
There is a cursor in the description input field
Actual Result:
There is NO cursor in the description input field
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.1.0
Reproducible in staging?: Yes
Reproducible in production?: New feature
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
Bug6022399_Recording__4211.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team / @Natnael-Guchima
Slack conversation:
https://expensify.slack.com/archives/C049HHMV9SM/p1681775845071829
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: