Fixed "Message being edited is cancelled on pressing any key"…#6367
Conversation
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
tgolen
left a comment
There was a problem hiding this comment.
Looks good, just requesting a few contextual comments.
tgolen
left a comment
There was a problem hiding this comment.
Thanks! They look pretty good. I just added one suggestion to make it a little more clear.
Can you also please do all the comments as inline // comments? We usually only do block /**/ comments for method docs or proptype docs
Co-authored-by: Tim Golen <tgolen@gmail.com>
There was a problem hiding this comment.
Good work @kursat.
Few requests:
- Please test it on all platforms and Add a video for all of them which were mentioned on the template.
- Add Tests and QA steps, we can't move forward without those.
|
Thanks @parasharrajat. I'll add test and q/a steps asap. About the videos, I recorded one for android and I can record one for mobile web but since I don't have access a mac I'll not be able to record ios and desktop videos. Will be this 3 videos enough? |
|
Thanks @kursat . For other question, it's not my call. Although I think it's fine. |
|
Thanks for the enlightenment @parasharrajat, @tgolen is this ok?
|
|
Hey @tgolen, this PR is not merged for a while, is there something wrong? |
tgolen
left a comment
There was a problem hiding this comment.
Sorry for the delay while I was out on vacation.
I don't think we've come to a good conclusion about developers that aren't able to build iOS or desktop. I think in this case, it seems like a pretty safe change that shouldn't have too much platform specific problems, so I think it's OK.
In other cases where there might be something platform specific, reaching out to the slack channel to see if someone can test out the branch and record it for you might be a good route to try.
|
Hey, no problem and sorry to bother you. I hope you had a good vacation :) It's my first PR, and I am trying to figure out how things work. So I am a little nervous. Should I do something to merge this PR? That's a great idea, I'll do that next time.
|
Ah, no. That's my bad. I was waiting for @parasharrajat to approve because I saw he did a partial review and when there are multiple reviewers, it's good to wait until everyone has approved. However, I think Rajat was really just doing a process-check and not really a code review, so I will merge this. |
|
@kursat, Great job getting your first Expensify/App pull request over the finish line! 🎉 I know there's a lot of information in our contributing guidelines, so here are some points to take note of 📝:
So it might take a while before you're paid for your work, but we typically post multiple new jobs every day, so there's plenty of opportunity. I hope you've had a positive experience contributing to this repo! 😊 |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to production by @roryabraham in version: 1.1.18-3 🚀
|
While editing a message, setting input to empty string was causing edit box disappear.
Details
ReportActionItemMessageEditcomponent is rendering when draft is not an empty string. So we saved original message as a draft when user delete everything from the textarea. This fixed main problem.debouncedSaveDraftwas not getting last changes. Changed function to use its parameter, removed last parameter of binding of_.debouncetodebouncedSaveDraft. So it takes last changes now.debouncedSaveDraft, it was causing another bug when you type and press enter in 1s (debounce duration).Fixed Issues
$ #6155
Tests | QA Steps
Tested On
Screenshots
Web
2021-11-19.18-09-44.mp4
Mobile Web
2021-11-20.18-07-05.mp4
Android
2021-11-20.17-12-42.mp4