-
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 2021-11-29] $500 Old Edited comments that are still open trigger the keyboard when the user is scrolling the conversation - Reported by: @parasharrajat #5896
Comments
Triggered auto assignment to @thienlnam ( |
Triggered auto assignment to @SofiedeVreese ( |
Video output_file.mp4 |
Posted on Upwork: https://www.upwork.com/jobs/~018f79ec6f97efcf87 Adding Exported Label. |
Triggered auto assignment to @NikkiWines ( |
Hmm this is kind of an interesting edge case... I think how we fix this depends on how we want to handle moving away from a chat with an active edit. Posted in #expensify-open-source here to get some thoughts on how to move forward. |
I think, Keyboard should only open when the user clicks to edit a message aka User action trigger. |
Hey @NikkiWines is this a dupe from #4756 that has been reopened? Feels like this case would fall under that other GH? |
mmm, I'd say they're related but not sure if they're exactly the same issue. In this one, it's more that navigating back to this chat and scrolling over an old open message will retrigger keyboard to pop up. |
They are completely different. |
Thanks for the explanation both, we'll keep this issue open then! |
Price increased to $500 |
ProposalAFAIK, I think there is only one way we can keep both autofocus and fix this issue. If we only autofocus, when the user edits messages (trigger edit action). Then old message being edited will not be focused when the user is scrolling. I think this is ideal behaviour as well. If the user is scrolling back in the history, he should click on the edit box to focus it, instead of autofocus. But if a user press edits on any message, then it should be autofocused. To do this:
Then pass the Autofocus prop to |
I think that makes sense. cc: @SofiedeVreese would you hire @parasharrajat for this one? |
Yes sure can @NikkiWines. @parasharrajat can you submit your Upwork proposal so I can hire you there? Thanks! |
@SofiedeVreese Job is private. |
@parasharrajat that should work better now! https://www.upwork.com/jobs/~018f79ec6f97efcf87 |
I've just hired you in Upwork @parasharrajat ! |
PR merged and QA ongoing. |
PR deployed, adding a payment hold 7 days from deploy. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.15-15 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 2021-11-29. 🎊 |
Job paid out & contract cancelled. Closing GH. |
@SofiedeVreese I think you missed the reporting bonus. |
Yes I did, sorry @parasharrajat ! I'll pay that one out now. |
Ok that bonus is now also paid out, sorry about that @parasharrajat ! |
It looks like I forgot to add the So... my thinking is .. this issue is eligble for the hold bonus. Sorry for missing it and any confusion. |
That makes sense to me, I was thinking it was ineligible for the n6-hold bonus but hadn't even considered the company offsite bonus (i.e. didn't consider this issue could've spanned multiple holds) and should've compared the dates as well. My bad and thanks for clearing things up @mallenexpensify |
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:
Old edited comment that are still open should not trigger the keyboard when the user is scrolling.
Actual Result:
Old Edited comments that are still open trigger the keyboard when the user is scrolling the conversation
Workaround:
Close or save the comments that are being edited.
Platform:
Where is this issue occurring?
Version Number: 1.1.8-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screencast.2021-10-09.21_25_07.mp4
Expensify/Expensify Issue URL:
Issue reported by: @parasharrajat
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1633794986065800
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: