You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2023-08-16] [$1000] Message with button gets cut off early for certain length of emails #23769
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?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
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
Please 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
the problem is all android textbreakstrategy need flex 1 style to work fine.
MessagelongEmailxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@gmail.com// will break toMessagelongEmailxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@gmail.com// with numberOfLines 1 will beMessage...
What changes do you think we should make in order to solve the problem?
pass style styles.flex1 in props.titleStyle will fix the issue.
we need to pass it in two places DetailsPage and the ProfilePage
What alternative solutions did you explore? (Optional)
we can add style styles.flex1 to titleTextStylehere, but this will affect on the next icon here to move to right.
changed the title [-]Message with button gets cut off early for certain length of emails[/-][+][$1000] Message with button gets cut off early for certain length of emails[/+]on Jul 28, 2023
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.
External issue reporter
Contributor that fixed the issue
Contributor+ that helped on the issue and/or PR
For reference, here are some details about the assignees on this 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] The PR that introduced the bug has been identified. Link to the PR:
[@Ollyws] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@Ollyws] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@Ollyws] Determine if we should create a regression test for this bug.
[@Ollyws] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@garrettmknight] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: https://expensify.slack.com/archives/C049HHMV9SM/p1692187269956909
Determine if we should create a regression test for this bug.
If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
Activity
melvin-bot commentedon Jul 27, 2023
Triggered auto assignment to @garrettmknight (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Jul 27, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)ahmedGaber93 commentedon Jul 27, 2023
Proposal
Please 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
the problem is all android textbreakstrategy need flex 1 style to work fine.
What changes do you think we should make in order to solve the problem?
pass style
styles.flex1inprops.titleStylewill fix the issue.we need to pass it in two places DetailsPage and the ProfilePage
What alternative solutions did you explore? (Optional)
we can add style
styles.flex1totitleTextStylehere, but this will affect on the next icon here to move to right.garrettmknight commentedon Jul 28, 2023
Confirmed on browserstack
[-]Message with button gets cut off early for certain length of emails[/-][+][$1000] Message with button gets cut off early for certain length of emails[/+]melvin-bot commentedon Jul 28, 2023
Job added to Upwork: https://www.upwork.com/jobs/~013be117aa6991d578
melvin-bot commentedon Jul 28, 2023
Current assignee @garrettmknight is eligible for the External assigner, not assigning anyone new.
melvin-bot commentedon Jul 28, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel (
External)Santhosh-Sellavel commentedon Jul 28, 2023
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!
34 remaining items
melvin-bot commentedon Aug 9, 2023
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:
melvin-bot commentedon Aug 9, 2023
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 commentedon Aug 15, 2023
garrettmknight commentedon Aug 16, 2023
@Ollyws have you started a discussion around regression or created a regression test? Once you do, I'll process payment on this issue.
Ollyws commentedon Aug 16, 2023
Regression Test Proposal
testingtestingtestingtesting+12345@test.com).testingtestingtestingtesting+12345@test.com).Do we agree 👍 or 👎
Ollyws commentedon Aug 16, 2023
@garrettmknight All updated, thanks!
garrettmknight commentedon Aug 18, 2023
Summarizing payments for this issue:
#urgency bonus? Yes
Reporter: @Nathan-Mulugeta $250 paid via Upwork
Contributor: @ahmedGaber93 $1500 paid via Upwork
Contributor+: @Ollyws $1500 paid via Upwork
Upwork job is here: https://www.upwork.com/jobs/~013be117aa6991d578
garrettmknight commentedon Aug 18, 2023
@Ollyws are you getting paid via NewDot or Upwork?
Ollyws commentedon Aug 19, 2023
@garrettmknight Upwork thanks.
garrettmknight commentedon Aug 21, 2023
Paid via Upwork. Closing!