-
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-08-16] [$1000] Message with button gets cut off early for certain length of emails #23769
Comments
Triggered auto assignment to @garrettmknight ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Message with button gets cut off early for certain length of emails What is the root cause of that problem?The root cause is android use different way to break words, see here and textbreakstrategy explanation here Message longEmailxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@gmail.com
// will break to
Message
longEmailxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxx@gmail.com
// with numberOfLines 1 will be
Message ... What changes do you think we should make in order to solve the problem?pass style What alternative solutions did you explore? (Optional)we can add style |
Confirmed on browserstack |
Job added to Upwork: https://www.upwork.com/jobs/~013be117aa6991d578 |
Current assignee @garrettmknight is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Seems like a regression to me, couldn't find any PR. It's hard to reproduce, needs a proper root cause here why it occurs thanks! |
ProposalPlease re-state the problem that we are trying to solve in this issue.A message with a button gets cut off early for a certain length of emails What is the root cause of that problem?App/src/components/MenuItem.js Lines 207 to 212 in 975146f
In React Native, the Text component does not automatically take the full available space within its parent container by default. This behavior is different from web-based HTML elements, where elements such as <div> automatically take the full width of their parent container.
The reason why the What changes do you think we should make in order to solve the problem?If we want the Text component to take full space or expand to fill the available width of its parent container, we need to explicitly specify a width style for the Text component or use flexbox properties to control its dimensions.
What alternative solutions did you explore? (Optional)We can use simple |
@Santhosh-Sellavel can you take a look at this root cause analysis today? |
Left a comment here for volunteers to take over |
This comment was marked as outdated.
This comment was marked as outdated.
Actually, @Ollyws will be taking this over. |
📣 @Ollyws 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @Nathan-Mulugeta 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
Thanks for your proposals, the RCA for both is correct in that this is caused by the text break strategy that is particular to Android. This has occurred before in #22453 for example. As far as I can see, this issue started occurring with #19524 when we wrapped the title We can't remove these styles without causing a regression in money request views icon alignment, and adding However, I’ve noticed this issue also occurs in DetailsPage (To test this: Mention a user with a long email which includes a “+” @pradeepmdk Thanks for your proposal and detailed RCA, but it is similar to @ahmedGaber93's proposal. |
ProposalUpdated Thanks! |
🎯 ⚡️ Woah @Ollyws / @ahmedGaber93, 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.51-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-08-16. 🎊 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:
|
|
@Ollyws have you started a discussion around regression or created a regression test? Once you do, I'll process payment on this issue. |
Regression Test Proposal
Do we agree 👍 or 👎 |
@garrettmknight All updated, thanks! |
Summarizing payments for this issue: #urgency bonus? Yes Upwork job is here: https://www.upwork.com/jobs/~013be117aa6991d578 |
@Ollyws are you getting paid via NewDot or Upwork? |
@garrettmknight Upwork thanks. |
Paid via Upwork. Closing! |
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:
Message with button should not be cut off early
Actual Result:
Message with button gets cut off early.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.47-1
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_20230727_104300_New.Expensify.1.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Nathan-Mulugeta
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690444037073499
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: