-
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 2021-12-15] $500 Chat Switcher - Draft message from previous conv is displayed after using chat switcher #4756
Comments
Triggered auto assignment to @mountiny ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
The only PR which might be related to this and could introduced it is #4538 @marcaaron but I am not completely sure. What do you think? I can't really dig into this one right now. I would in the morning if noone identifies what is causing it 🙇 Thank you in any case for having a look. |
It seems that with #4538 |
Why is the input not mounting? Which ref are you referring to? |
When the chat is switch using the search bar |
The |
I agree that it should be mounted only once and we should keep it that way. What seems to be causing this issue is that |
Thank you both for looking into this! Following from what you have found @luacmartins, I have identified that when using the SearchBar, the In comparison, when using sidebar chat switcher, the components gets the correct props immediately after switching as it mounts. I haven't been able to easily revert that PR either because it seems there were some additional ONYX changes made after it, which make the Therefore, I have tried to find some possibly temporary workaround, before @marcaaron might be able to look into how to update the refactoring to prevent this problem. |
PR is ready for a review, but it still needs to be tested on Mobile to make sure the workaround does not cause any problems. |
Retest for this in Web was a pass 🎉 |
🚀 Deployed to production by @roryabraham in version: 1.0.88-2 🚀
|
Regression? Looks like it's happening again https://expensify.slack.com/archives/C01GTK53T8Q/p1634576408421600 |
This is only happening with Chronos conversation at the moment. Other conversations are working as expected Action performed:
Recording.228.mp4 |
hired 👍🏽 |
👀 |
Those eyes are frightening. Sorry, I forgot to append with help of the team during review. |
PR is up and in a review so added the label. This might take a while as we would like to make sure the changes are conceptual. |
@mountiny assume this is still in review? |
@laurenreidexpensify Correct! |
I'm coming from this related issue - #6490 |
Yeah, I just checked that #6490 is not reproducible on the PR. |
Thanks! 🙌 |
Triggered auto assignment to @trjExpensify ( |
@trjExpensify i'm OOO quite a bit over next week moving house, so handing this one off while I"m away thanks! |
Cool, sounds good. Looks like we're waiting for a prod deploy to start the timer. 👍 |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.18-3 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-12-15. 🎊 |
FYI, this qualifies for Company offsite bonus. |
Paid @parasharrajat , wanted to get it issued before the weekend! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel! https://www.upwork.com/jobs/~01e5dccfcff059ed0f
Action Performed:
Please, see this comment for further investigation and reproduction steps. Some of the hints might helps us find what is exactly going wrong.
Expected Result:
Nothing should be displayed in compose box if the selected conversation didn't have a draft
Actual Result:
The draft from the previous conversation is displayed on the current conversation.
Workaround:
For chats with people which they have already chatted with, they can use the LHN chat switcher and the drafts are not transferred. Also when user sends a message to someone or composes a draft which is then deleted, they wont experience this bug for the given chat.
When this will prevail is in case user creates chat with new person using the Ctrl + k chat switcher.
Platform:
Where is this issue occurring?
Version Number: 1.0.86-2
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Recording.206.mp4
Expensify/Expensify Issue URL:
View all open jobs on GitHub
From @iwiznia https://expensify.slack.com/archives/C01GTK53T8Q/p1629393716037000
The text was updated successfully, but these errors were encountered: