-
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-10-12] [$500] Chat - Expand button does not show if composer only contains new line #28093
Comments
Triggered auto assignment to @abekkala ( |
Job added to Upwork: https://www.upwork.com/jobs/~01d0f3b8c804481cd5 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to @sakluger ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
Proposal by: @bernhardoj ProposalPlease re-state the problem that we are trying to solve in this issue.The expand button is not visible if we only have new lines on the composer without any characters. What is the root cause of that problem?In #27015, we are hiding the expand button if the composer is empty (only contains space).
It is to fix an issue where the expand button is not immediately hidden after sending a comment and it is their alternative solution, and then based on this comment, they decided to use the main solution instead. Then, this comment suggested adding it back but I didn't see any improvement as said in the comment and instead created a regression. What changes do you think we should make in order to solve the problem?Remove
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The expand button does not show if there are only new lines in the composer. What is the root cause of that problem?Comments containing only white spaces are considered to be empty.
What changes do you think we should make in order to solve the problem?Check if the comment is actually empty instead of checking if it only contains whitespaces. setIsCommentEmpty(_.isEmpty(newComment)); What alternative solutions did you explore? (Optional)Remove |
Hello, can I still apply to solve this bug? |
📣 @jopaleti! 📣
|
Reviewing now |
Proposal by @bernhardoj #28093 (comment) looks good and works well. 🎀 👀 🎀 |
Triggered auto assignment to @marcaaron, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@bernhardoj Could you post a proposal from your GH account for reference? |
ProposalPlease re-state the problem that we are trying to solve in this issue.The expand button is not visible if we only have new lines on the composer without any characters. What is the root cause of that problem?In #27015, we are hiding the expand button if the composer is empty (only contains space).
It is to fix an issue where the expand button is not immediately hidden after sending a comment and it is their alternative solution, and then based on this comment, they decided to use the main solution instead. Then, this comment suggested adding it back but I didn't see any improvement as said in the comment and instead created a regression. What changes do you think we should make in order to solve the problem?Remove
|
I'm confused. But assume this will not cause any regression? Why was it added in the first place? |
📣 @abdulrahuman5196 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
PR is up, but there is an issue on |
It was added for an extra check I assume. During initial testing there wasn't any regression observed. Tagging original author as well on this @HezekielT #28093 (comment) |
@abdulrahuman5196 Yes, it was added for an extra check. We noticed a little improvement in the transition( on native devices) after adding that check, that is the reason. Please check #27015(comment) . Sorry, we missed this case while testing. |
Thank you confirming. I checked now and the new PR is not causing any mentioned regression on transition. |
🎯 ⚡️ Woah @abdulrahuman5196 / @bernhardoj, 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.77-7 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-10-12. 🎊 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:
|
PAYMENTS FOR OCT 12
|
https://github.com/Expensify/App/pull/27015/files#r1352818508
No. Regression tests is not beneficial for this minor case. |
@abdulrahuman5196 [$750] payment made and contract ended - thank you! 🎉 |
@bernhardoj [$800] payment made and contract ended - thank you! 🎉 |
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:
Action Performed:
Expected Result:
The expand button is shown above + button
Actual Result:
The expand button is not visible until you type a character other than newline/space
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.73.0
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.2023-09-22.at.18.36.10.mov
Recording.4738.mp4
Expensify/Expensify Issue URL:
Issue reported by: @bernhardoj
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695387935862449
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: