-
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 2024-06-28] [HOLD for payment 2024-06-24] [$250] iOS - System chat - Chat with your setup specialist message not aligned and gets out of box #43115
Comments
Triggered auto assignment to @puneetlath ( |
Triggered auto assignment to @MitchExpensify ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
I don't think it needs to block the deploy, but let's fix it. |
Job added to Upwork: https://www.upwork.com/jobs/~01572a633b7213a3b7 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @shubham1206agra ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.System chat - Chat with your setup specialist message not aligned and gets out of box What is the root cause of that problem?There is no padding in the below text which is passed as content to Banner: App/src/pages/home/report/SystemChatReportFooterMessage.tsx Lines 67 to 75 in 66b4072
What changes do you think we should make in order to solve the problem?Add some horizontal padding below:
Padding details need to be discussed with design team. Optional: Update this to the below to show
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The report system chat footer gets out of the box. What is the root cause of that problem?The container itself already sets a padding, Lines 74 to 78 in 66b4072
but the text content still overflows the banner/box. If we look at the banner text, we apply a flex1 style that should fix this issue, Lines 99 to 105 in 66b4072
but in our case, we use custom text content which doesn't have the flex1 style. Line 94 in 66b4072
What changes do you think we should make in order to solve the problem?Add styles.flex1 style to the content.
Then, make sure to not render the Text component if the text is empty. Lines 96 to 106 in 66b4072
|
ProposalUpdated to include optional item. |
📣 @ssswhite0707! 📣
|
ProposalPlease re-state the problem that we are trying to solve in this issue.iOS - System chat - Chat with your setup specialist message not aligned and gets out of box What is the root cause of that problem?This is a known issue in react native and is caused by using flexRow on parent view of a Text element. Line 85 in 198b473
Line 94 in 198b473
From
What changes do you think we should make in order to solve the problem?
{content && <View style={styles.flex1}>{content}</View>}
{text &&
(shouldRenderHTML ? (
<RenderHTML html={text} />
) : (
<Text
style={[styles.flex1, styles.flexWrap, textStyles]}
onPress={onPress}
suppressHighlighting
>
{text}
</Text>
))} What alternative solutions did you explore? (Optional) |
PR is ready cc: @shubham1206agra |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.84-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 2024-06-24. 🎊 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:
|
Reminder set to pay - Do we need BZ steps here @shubham1206agra ? |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.85-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 2024-06-28. 🎊 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:
|
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:
|
@MitchExpensify Bump on the payment here. |
Paid and contracts ended! |
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 reproducible when validating #41290
Version Number: 1.4.79-6
Reproducible in staging?: y
Reproducible in production?: no, (the chat is not displayed to check)
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
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:
Expected Result:
The message "Chat with your specialist in #admins for help" is displayed in the box
Actual Result:
The message flows out of the box. Changing device font size might help reproduce the issue.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6502358_1717568748135.IMG_7314.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @MitchExpensify / @MitchExpensifyIssue Owner
Current Issue Owner: @puneetlath / @MitchExpensifyThe text was updated successfully, but these errors were encountered: