-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Payment due Jul 5 - $1000] App does not refocus to compose box after deleting the message using enter key #20619
Comments
Triggered auto assignment to @michaelhaxhiu ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Inconsistency Bug- App does not refocus to compose box after deleting the message using enter key (Works fine on using mouse to click delete) What is the root cause of that problem?When we use enter key to delete comment, App/src/components/Modal/BaseModal.js Lines 103 to 108 in f6008bb
and
What changes do you think we should make in order to solve the problem?We should change the check in here to App/src/components/Modal/BaseModal.js Lines 103 to 108 in f6008bb
What alternative solutions did you explore? (Optional)NA ResultScreencast.from.12-06-2023.16.40.20.webm |
@michaelhaxhiu 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/~01488b62e8528b9e9b |
Current assignee @michaelhaxhiu is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
yep, I think it's not consistent. (I almost felt like... this is more a keyboard thing. But I thought more and thing it's more focus > keyboard. So let's fix the inconsistent behavior on web browsers to align with other platforms.) |
📣 @Artemis330! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Hello, I am Felix, I would be happy to help you fix this issue with your Expensify app. Based on the details you provided, I understand that the app is not focusing back on the compose box when a message is deleted using the "enter" key. To fix this, I recommend implementing an event listener that listens for the "delete" action and then triggers the focus back to the compose box. The implementation will vary depending on the platform, but in general, it involves adding an event listener to the delete button and calling the appropriate method to focus the app back on the compose box. For example, on iOS, you can use the UITextFieldDelegate protocol to detect when the user has pressed the return key and then trigger the focus back on the compose box. On Android, you can use the setOnKeyListener method to listen for key events and then focus the view accordingly. Once the code changes are complete, I recommend testing the new functionality thoroughly on all supported platforms to ensure that the issue has been resolved. Lastly, I'll submit a pull request with the code changes and detailed documentation so that your team can review and merge the changes into the main branch. Please let me know if you have any questions or concerns about my proposed solution. I'm looking forward to working with you to resolve this issue! |
@Artemis330 If you haven’t already, check out our contributing guidelines to understand our process and make a proposal as per guidelines thanks! |
@dukenv0307 Looks good, Can you check and ensure it does not break anything else, thanks! |
@Santhosh-Sellavel seem react-native-web has change the event to |
Was the change made recently in the react-native-web. Do you have any PR references? |
@Santhosh-Sellavel This change is in this commit on Sep 9, 2020. |
If that's the case I'm not sure how we missed capturing this bug, I kind of feel this might be broken due to any recent changes. |
@dukenv0307's Proposal looks good me to. |
Triggered auto assignment to @robertjchen, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Thanks for all the discussion here! Upon review, I agree with @dukenv0307 's proposal as well, let's move forward with the solution 👍 |
📣 @Santhosh-Sellavel You have been assigned to this job! |
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account 🎉 Contributor - [$1000] App does not refocus to compose box after deleting the message using enter key Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻 |
📣 @dhanashree! 📣
|
The BZ member will need to manually hire dhanashree for this role Reporter. Please store your Upwork details and apply to our Upwork job so this process is automatic in the future! |
@Santhosh-Sellavel @michaelhaxhiu This issue couldn't be reproduced because while we review the proposal, another PR fixed it. Although, my proposal came first (13/6/2023) the proposal (17/6/2023) of the merged PR |
@robertjchen @michaelhaxhiu @Santhosh-Sellavel @dukenv0307 this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks! |
@robertjchen, @michaelhaxhiu, @Santhosh-Sellavel, @dukenv0307 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Not overdue! Discussing this internally |
Ok interesting, seems we missed a dupe issue and spent time/efforts here (which yes... it's a bummer, but it happens sometimes!). Here's my suggestion:
|
Thanks @michaelhaxhiu! |
Job is here - https://www.upwork.com/jobs/~01488b62e8528b9e9b Let's start the payment process. |
Thanks @michaelhaxhiu, I have accepted the offer. |
Paid Santhosh on New Dot. |
Looks like @dhanashree-sawant is all set, so I checked them off the list #20619 (comment) Closing this out 🎉 |
Hi @robertjchen, @michaelhaxhiu I have recieved the offer but still needs to be approved, can you check once available? |
all are paid |
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:
App should focus back on compose box when we delete any message by enter click as it normally focuses back to compose back while deleting message using click on delete button
Actual Result:
App does not focus back on compose box when we delete any message by enter click.
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.26-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
no.focus.back.on.delete.by.enter.mp4
Recording.951.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686134857181529
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: