-
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-07-14] [$1000] Placeholder not moving back to it's place after selecting a contact #19231
Comments
Triggered auto assignment to @strepanier03 ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPosting proposal early as per new guidelines Please re-state the problem that we are trying to solve in this issue.Placeholder not moving back to it's place after selecting a contact. i.e. Placeholder not focus after selecting contact. What is the root cause of that problem?During Split Bill it it rendering participant selection list via this App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsSplitSelector.js Lines 218 to 233 in 78ec531
App/src/components/OptionsSelector/optionsSelectorPropTypes.js Lines 71 to 72 in 78ec531
Within What changes do you think we should make in order to solve the problem?Within <OptionsSelector
....
shouldFocusOnSelectRow // *** Add this
/> This will solve the issue as shown in result video. What alternative solutions did you explore? (Optional)None ResultSplitBill-Contact-select.mp4 |
I am able to recreate this behavior, but something odd also happened. When testing, I recreated the behavior right away. But then I stepped away and left my screen open on the contact select screen where this issue was happening. When I came back 5-10 minutes later, the behavior didn't happen any longer. The placeholder went back to it's place every time and very quickly. Now, I can't recreate the issue again. I'm going to pause until tomorrow and then move this forward then if I can recreate. |
Tested this again this morning and I the behavior hasn't returned. @kavimuru, can you still recreate this behavior? I can no longer recreate it. How about you @Nathan-Mulugeta?? |
Yes @strepanier03, I am still able to reproduce this. Here are some things to notice. After clicking split bill from the FAB menu instead of selecting the contact lists from the recent list, type out a new email to add to the split bill money request. After typing the email in the input field select the email that shows up. Then you can notice the place holder doesn't return back to its place. I will attach a video demonestrating this. 2023-05-19.22.13.38.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Text input label does not deactivate (move back as the placeholder) when we clear the input value. To reproduce it, make sure type something first. What is the root cause of that problem?Actually, we already have the code that SHOULD deactivate the label when we clear the input value here: App/src/components/TextInput/BaseTextInput.js Lines 71 to 89 in 7378626
As you can see, we update the App/src/components/TextInput/BaseTextInput.js Lines 164 to 171 in 7378626
If it's empty, then we proceed to deactivate the label. The problem is, the What changes do you think we should make in order to solve the problem?Call the More specific, move this code to be inside the App/src/components/TextInput/BaseTextInput.js Lines 85 to 89 in 7378626
I guess we also can change Result Screen.Recording.2023-05-20.at.20.12.56.mov |
@strepanier03 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Job added to Upwork: https://www.upwork.com/jobs/~0196a89d054bb9c9e0 |
Current assignee @strepanier03 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 @tylerkaraszewski ( |
Thank you for the extra details @Nathan-Mulugeta! Moved this on. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Placeholder stays in typing state and doesn't return back after selecting a contact. What is the root cause of that problem?There're 2 problems:
RPReplay_Final1684858056.MP4As we can see, on native platforms, when a contact is selected, the search field will remain focused. The same should happen for web as well for consistency, while currently for web the search input will be blurred. Also there's no reason we should blur the input after selecting a contact, because the user might want to search and add a new contact immediately. Also worthy to note that So the expectation should be "the search input should remain focused on Web after selecting a contact" (currently it's like that for Android/iOS). The root cause is that currently we're not supporting this behavior.
What changes do you think we should make in order to solve the problem?We need to listen to We already use the same approach to make sure the Composer is not blurred when pressing the send button here. Steps:
b. Pass App/src/components/OptionRow.js Line 151 in 1ac9964
onRowMouseDown to the onMouseDown :
What alternative solutions did you explore? (Optional)In |
@sobitneupane - Friendly bump for the proposal submitted yesterday. Thank you! |
I believe the behavior of Screen.Recording.2023-05-25.at.16.24.17.movIn New group page,
@strepanier03 @tylerkaraszewski Do we want similar behavior in Split bill page as well? |
@sobitneupane @tylerkaraszewski just to note both |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@dukenv0307 - Looks like Sobit left a comment on your proposal. |
I think we are eligible for the timeline bonus because this issue is on hold from Jun 29 to Jul 4 |
@sobitneupane, to confirm, the PR didn't cause a regression, and this issue is ready for payment, correct? @arosiclair I think we can process the bonus because the PR merged shortly after it was no longer on hold. Do you agree? |
@isabelastisser Yup. The PR didn't cause a regression. The PR has not hit the production yet. So, not ready to issue payment. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.37-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-07-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.
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:
|
That makes sense to me 👍 |
I was OOO yesterday and will take care of this by EOD. |
@sobitneupane please complete the BugZero checklist. I will process the payments in Upwork now. |
Sorry for the delay @isabelastisser. I will complete the checklist by tomorrow. I will be paid through newDot. |
The payments were made in Upwork. Waiting for @sobitneupane to complete the BZ checklist, then we are all set. |
Rather than a bug, it was an inconsistency issue. The PR raised make |
Regression Test Proposal
Do we agree 👍 or 👎 |
https://github.com/Expensify/Expensify/issues/302474 all set! |
Requested payment on newDot. |
@isabelastisser Can you please summarize the appropriate individual payments for all parties involved in this issue? This is holding up @sobitneupane's NewDot payments. More information on this compliance process in Slack. |
Payments summary: Issue reported by: @Nathan-Mulugeta $250 |
Reviewed details for @sobitneupane. These details are accurate based on summary from Business Reviewer and are now approved for payment in NewDot. |
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:
Expected Result:
The placeholder text should return back to it's place after user selects on a contact
Actual Result:
Placeholder stays in typing state and doesn't return back
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.16.3
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
2023-05-16.21.25.47.mp4
Recording.650.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Nathan-Mulugeta
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1684261779675679
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: