-
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 2023-09-18] [$1000] Android App - The resizing icon doesn't disappear immediately after sending the message #25975
Comments
Triggered auto assignment to @zanyrenney ( |
Bug0 Triage Checklist (Main S/O)
|
@zanyrenney Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Triaged! |
Job added to Upwork: https://www.upwork.com/jobs/~0183904df145af1e22 |
Current assignee @zanyrenney is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
Took action, this is not overdue. |
ProposalPlease re-state the problem that we are trying to solve in this issueAndroid App - The resizing icon doesn't disappear immediately after sending the message What is the root cause of that problem?The root cause of the delayed display of the When the message is sent likely due to the asynchronous nature of the JavaScript event loop and the rendering process on Android devices, we can use state to check whether the form is submitted or not, and immediately hide the expand icon What changes do you think we should make in order to solve the problem?In the AttachmentPickerWithMenuItems component in AttachmentPickerWithMenuItems.js, you can add a new prop shouldShowExpandIcon to control the visibility of the Expand Icon. Then, you can pass this prop from the parent component
Resultexpand-icon-auto-hide-onsubmit.mp4cc: @zanyrenney @fedirjh |
ProposalPlease re-state the problem that we are trying to solve in this issue.The resizing icon doesn't disappear immediately after sending the message. What is root cause of that problem?In App/src/pages/home/report/ReportActionCompose/SendButton.js Lines 33 to 45 in ec95ab0
it seems first we clear the text input on the UI thread and then run App/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions.js Lines 246 to 249 in ec95ab0
So clearly there is a time window between these two(clearing the input on the UI and resetting isComposerFullSize) which is why there is a delay. This is the root cause. What Changes do you think we should make in order to solve the problem?We need to execute the logic that resets
right before this line here
where
and will be passed as a prop from What alternative solutions did you explore? (Optional)Since we already have
Result |
@fedirjh what do you think of the proposal above? |
bump @fedirjh please can you take a look? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@studentofcoding Thanks for the proposal, Your root cause analysis is not accurate. This proposal from @HezekielT makes sense to me, It fixes the root cause which was introduced during the refactoring of ReportActionCompose. I am leaning toward the alternative solution as it's the most straightforward fix. 🎀 👀 🎀 C+ reviewed |
This comment was marked as resolved.
This comment was marked as resolved.
Triggered auto assignment to @MariaHCD, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
The alternative solution in @HezekielT's proposal makes sense to me. We still have a merge freeze till Monday so we can definitely the PR up and in a mergeable state but we won't merge until next week. |
📣 @fedirjh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @HezekielT You have been assigned to this job! |
📣 @mejed-alkoutaini 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
@izarutskaya Hey I think the offer should be 250$ instead of 50$ since this was reported before the price change |
🎯 ⚡️ Woah @fedirjh / @HezekielT, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.67-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 2023-09-18. 🎊 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.
For reference, here are some details about the assignees on this issue:
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:
|
BugZero Checklist:
Regression Test Proposal
|
Payment summary @fedirjh requires payment offer (Reviewer) - this job is eligible for a 50% #urgency bonus - PAID $1500 due to urgency bonus. |
All payments complete, closing! |
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:
1- Open a chat
2- write multi lines message
3- Click on the send icon
Expected Result:
The resizing icon should disappear immediately after sending the message
Actual Result:
The resizing icon doesn't disappear immediately after sending the message
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.3.57-5
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
Screen_Recording_20230815-214619.mp4
Screen.Recording.20230825.231813.New.Expensify.mp4
Expensify/Expensify Issue URL:
Issue reported by: @mejed-alkoutaini
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692125347899059
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: