-
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
mWeb Android/Chrome - Compose box is hidden when we delete edited message #24016
Comments
Triggered auto assignment to @bfitzexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @marcochavezf ( |
@bfitzexpensify We are near closure of the checklist. Contributor is not able to repro on PROD, i need a bit more time to validate PROD. If you can check on your side as well to confirm if its a blocker or no, would be great |
I'm also not able to reproduce it on prod, investigating what caused the issue |
@marcochavezf Issue is from this PR |
ProposalPlease re-state the problem that we are trying to solve in this issue.Compose box is hidden when we delete message by saving empty draft What is the root cause of that problem?When we save the empty draft, delete confirmation modal appears and the input gets blurred. On select delete, deleteDraft is called, but isFocusedRef.current is false and the main composer doesn't show App/src/pages/home/report/ReportActionItemMessageEdit.js Lines 203 to 206 in 5034433
This is the root cause What changes do you think we should make in order to solve the problem?We need to check if deletion is from confirm modal
Removes the This works fine What alternative solutions did you explore? (Optional) |
We will handle this as a part of #23618 since it's a regression |
Do you agree with the solution I proposed? |
Hi @s-alves10, I tested the proposed change but the compose input is still not shown after following the reproduction steps: Screen.Recording.2023-08-01.at.14.28.05.mov |
@s-alves10 Yes. We should show the Main Composer only if we are deleting the active report action. A report action is considered active if it's focused, have the context menu open or have the emoji picker open - we need to be sure we are not missing any other cases. |
Yes. We've missed the deletion by saving empty draft |
Ok, I'm going to revert the PR that introduced the regression to unblock the deployment |
Follow up PR will be created in an hour |
Ok sounds good, let me know when it's ready, otherwise we'd need to revert |
@s77rt |
@s-alves10 Please raise a PR, I will test asap. You need to test that as well. |
@s-alves10 Let's continue proposal discussion here. |
The PR that caused the regression was reverted, so I'm going to close this issue since it's no longer happening on staging |
Hi @marcochavezf, @s77rt, it seems like issue was useful to trigger the solution, will it be eligible for reporting bonus? |
Oh sorry @dhanashree-sawant, I think yes since it was a deploy blocker and fixed with the revert. Reopening for payment cc @bfitzexpensify |
Cool, this has been paid out. |
I think this is reproducible again |
This actually got reported again https://expensify.slack.com/archives/C049HHMV9SM/p1692747837798019 |
I think this should be fixed in #23908 |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
App should display the composer after we delete edited message
Actual Result:
App does not display the composer after we delete edited message in android chrome
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.48-3
Reproducible in staging?: Y
Reproducible in production?: Needs repro
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
compose.box.invisible.on.delete.edit.msg.mp4
az_recorder_20230801_125819.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690903191529089
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: