-
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
[HOLD for payment 2023-04-24] [$1000] Users unable to text if an editing message is deleted #16623
Comments
Triggered auto assignment to @sonialiap ( |
Bug0 Triage Checklist (Main S/O)
|
If user A writes a message, user B cannot delete it. I am confused about the steps. Asking for clarification in slack |
Steps updated |
Triggered auto assignment to @cristipaval ( |
Job added to Upwork: https://www.upwork.com/jobs/~01c737c02d343368a4 |
Current assignee @sonialiap is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr ( |
Current assignee @cristipaval is eligible for the External assigner, not assigning anyone new. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The main composer does not show when we delete the message that is currently in editing mode from another device. What is the root cause of that problem?When we edit a message, we hide the main composer. However, when the message is deleted, we currently don't have a way to reshow the main composer. What changes do you think we should make in order to solve the problem?Show the main composer when the edit message (composer) component unmount.
We can further improve this by showing the main composer if the message that is in edit mode is focused ( |
updated the proposal a little bit. |
Thanks @bernhardoj, for the proposal! It seems your solution is working.
Can you elaborate on what the improvement is? |
The improvement code would look like this
Let's say we have 2 message in editing mode, Because we are deleting the edit message that is currently not focused, we don't show the main composer and the edit message 1 still have the focus. Just a small touch. However, it would behave differently if we switch the condition: When we delete the message 1, both message 1 and message 2 will be unmounted. This behavior also exists on |
I understand what you mean. It's best to stay focused on deleting messages that are not being deleted. This will leave the hassle for the user to click again on the edit message. What do you think @cristipaval? |
@cristipaval 👀 🙏 What are your thoughts on the above? |
Good input here, @bernhardoj ! |
Got it, will open the PR soon. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.0-2 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-04-24. 🎊 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:
|
@mollfpr Could you take care of this? |
I don't think this is a bug that causes by any PR. It's an edge case that we miss when implementing the |
yes, I do agree that this is a bug that was not found since the feature was implemented from scratch. |
@cristipaval Anything else I can help with? |
Thank you @mollfpr ! @sonialiap is going to perform the payments soon. |
I guess @sonialiap is ooo as it is labor day in Europe. |
@hungvu193 job offer sent for reporting issue |
Thank you @sonialiap, accepted the offer! |
Are payments done here? Can we close this issue? 👀 |
Waiting for @sonialiap to end the contract on Upwork, then we can close this as completed. |
@hungvu193 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:
If an editing message is deleted, toggleReportActionComposeView should be set to true.
Actual Result:
User on deviceOne can't see the composer if the message they were editing on deviceOne is deleted in the middle of editing from another device. The user on deviceOne needs to logout and login again to see the Composer.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.90-7
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
RPReplay_Final1679984089.MP4
az_recorder_20230328_113250.mp4
Expensify/Expensify Issue URL:
Issue reported by: @hungvu193
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1679984825880629
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: