-
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-05-25] [HOLD for payment 2023-05-23] [$1000] mWeb/Chrome - IOU - Description extends beyond the page if the recipient's name is long #18882
Comments
Triggered auto assignment to @joekaufmanexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPosting proposal early as per new guidelines Please re-state the problem that we are trying to solve in this issue.mWeb/Chrome - IOU - Description extends beyond the page if the recipient's name is long What is the root cause of that problem?IOU description text render via this code block App/src/components/ReportActionItem/ReportPreview.js Lines 106 to 121 in 293f23b
We can see there is a parent What changes do you think we should make in order to solve the problem?We have to add style <View style={[styles.flexShrink1]}>
{props.iouReport.hasOutstandingIOU ? (
...
) : (
<View style={[styles.flexRow]}>
...
</View>
)}
</View> So this will solve the issue and long text will goes to second line as shown in results. What alternative solutions did you explore? (Optional)If we have to truncate long text then we have to limit numberOfLines to 1 and need to add <View style={[styles.flexShrink1]}>
{props.iouReport.hasOutstandingIOU ? (
<Text
numberOfLines={1}
style={[styles.chatItemMessage, styles.cursorPointer, styles.noWrap]}
>
...
</Text>
) : (
<View style={[styles.flexRow]}>
<Text
numberOfLines={1}
style={[styles.chatItemMessage, styles.cursorPointer, styles.noWrap]}
>
...
</Text>
...
</View>
)}
</View> This will also solve the issue and truncate text in single line as shown in results |
ProposalPlease re-state the problem that we are trying to solve in this issue.mWeb/Chrome - IOU - Description extends beyond the page if the recipient's name is long What is the root cause of that problem?We already set work-break to a chatItemMessage here: What changes do you think we should make in order to solve the problem?Take a look at this LOC App/src/components/ReportActionItem/ReportPreview.js Lines 97 to 126 in 293f23b
Basically the Pressable component has 2 children, one is arrow icon in the right, and main View component in the left. Currently View component haven't had any style yet. So we need to set |
I think we prefer not truncating. Asking which c+ can review these today |
Job added to Upwork: https://www.upwork.com/jobs/~010348cc7d06d68be5 |
Current assignee @joekaufmanexpensify is eligible for the External assigner, not assigning anyone new. |
Current assignee @aimane-chnaif is eligible for the External assigner, not assigning anyone new. |
Current assignee @mountiny is eligible for the External assigner, not assigning anyone new. |
I prefer |
@aimane-chnaif Thanks for asking. At present there is not any problem with Also another reason is, we can see at present element already grows and goes beyond the parent limit, so to prevent it I thought just |
I am fine either way as it solves current issue. cc: @mountiny |
📣 @PrashantMangukiya You have been assigned to this job by @mountiny! |
Thanks @PrashantMangukiya can you please raise a PR for this |
@mountiny @aimane-chnaif Thanks. I will prepare and submit pr within few hours asap. |
@aimane-chnaif @mountiny PR is ready for review. |
thanks |
🎯 ⚡️ Woah @aimane-chnaif / @PrashantMangukiya, great job pushing this forwards! ⚡️ The pull request got merged within 2 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.14-14 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-05-23. 🎊 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.
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:
|
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
Not sure why the 23rd and the 25th is also in the header here. The PR was deployed to prod on the 16th so we hit 7 days regression reporting period today. |
@PrashantMangukiya was assigned to this issue on May, 14th at 9:54pm UTC. The PR was merged on May 16th at 1:31 pm UTC on May 16th. This is less than 3 business days so this qualifies for a speed bonus. Great job! |
We need to make the following payments:
|
@aimane-chnaif offer sent! |
@PrashantMangukiya offer sent! |
@joekaufmanexpensify Offer Accepted. |
This bug was caught by QA team and I think no need further regression test step here. |
TY! BZ checklist complete. |
All set to issue payment here! |
@PrashantMangukiya $1,500 sent and contract ended! |
@aimane-chnaif once you accept our offer here, we'll issue payment and close this out! |
@aimane-chnaif $1,500 sent and contract ended! |
Upwork job removed. |
Bug is fixed, BZ checklist complete, and all payment issued. Closing as this is all set. Thanks everyone! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue found when executing PR #18486
Action Performed:
Preconditional: name of Account B is a long name, or it's a long email address
Expected Result:
Description 'UserB owes £1.23' beneath the IOUPreview NOT extends beyond the page
Actual Result:
Description 'UserB owes £1.23' beneath the IOUPreview extends beyond the page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.13.2
Reproducible in staging?: yes
Reproducible in production?: no
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
Bug6053174_18486_mWeb.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: