-
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-10-16] [HOLD for payment 2024-10-14] [HOLD for payment 2024-10-11] [$250] Task - Long Task title is overlapped by task arrow #49086
Comments
Triggered auto assignment to @Christinadobrzyn ( |
@Christinadobrzyn 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 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Task - Long Task title is overlapped by task arrow What is the root cause of that problem?
App/src/components/ReportActionItem/TaskPreview.tsx Lines 122 to 124 in 65a21fc
What changes do you think we should make in order to solve the problem?Add OPTIONAL: Also add OPTIONAL 2: We can move the What alternative solutions did you explore? (Optional)Result |
Edited by proposal-police: This proposal was edited at 2024-09-12 14:13:45 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Task - Long Task title is overlapped by task arrow What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
<View style={[styles.flex1, styles.flexRow, styles.mt1]}>
<View style={[styles.taskCheckboxWrapper,taskAssigneeAccountID > 0 && styles.mt1]}>
<Checkbox
style={[styles.mr2, styles.alignSelfEnd]}
isChecked={isTaskCompleted}
disabled={!Task.canModifyTask(taskReport, currentUserPersonalDetails.accountID) || !Task.canActionTask(taskReport, currentUserPersonalDetails.accountID)}
onPress={Session.checkIfActionIsAllowed(() => {
if (isTaskCompleted) {
Task.reopenTask(taskReport);
} else {
Task.completeTask(taskReport);
}
})}
accessibilityLabel={translate('task.task')}
/>
</View>
{taskAssigneeAccountID > 0 && (
<Avatar
containerStyles={[styles.mr2,styles.alignSelfStart, isTaskCompleted ? styles.opacitySemiTransparent : undefined]}
source={avatar}
size={CONST.AVATAR_SIZE.SMALL}
avatarID={taskAssigneeAccountID}
type={CONST.ICON_TYPE_AVATAR}
/>
)}
<View style={[taskAssigneeAccountID > 0 ? styles.alignSelfStart:styles.alignSelfCenter, styles.flex1 ]}>
<RenderHTML html={isTaskCompleted ? `<completed-task>${htmlForTaskPreview}</completed-task>` : htmlForTaskPreview} />
</View>
<Icon
additionalStyles={[styles.alignSelfStart,taskAssigneeAccountID > 0 && styles.mt1]}
src={Expensicons.ArrowRight}
fill={StyleUtils.getIconFillColor(getButtonState(isHovered))}
/>
</View> What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
Proposal Updated
|
Job added to Upwork: https://www.upwork.com/jobs/~021834296909071158877 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rayane-djouah ( |
Triggered auto assignment to @dannymcclain ( |
I can reproduce this. I think it can be external and I also think we need design to review this to see what would be best for the layout of the arrow. |
I'm pretty sure this is a regression. Not sure from where but this definitely used to not happen. We just need to wrap the text to multiple lines like we used to. Maybe from the recent Tasks updates we did to display the user's avatar instead of an |
Ah thanks @dannymcclain - let me dig into any PRs that might relate... There are a lot of task GHS - asking QA if they can help me narrow this down - https://expensify.slack.com/archives/C9YU7BX5M/p1726169064112539 |
Hey @thienlnam this is a regression that was found when executing this GH. Do you happen to know which PR this might relate to? |
I'm not sure, maybe this one? #48552 EDIT: Nvm, that one isn't even deployed yet. Yeah I'm not sure, probably has been like this for a while |
@rayane-djouah would you be able to help us look into what this might be a regression of? Or, I think if we can't find the original PR we should consider just fixing this as a new job. @rayane-djouah let me know your thoughts |
Reverting #48552 locally does fix the issue for me. Inspecting the element on prod shows that the element structure matches the changes from the PR. A View (div) with an align self: center and a children of the RenderHTML. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Task - Long Task title is overlapped by task arrow What is the root cause of that problem?App/src/components/ReportActionItem/TaskPreview.tsx Lines 122 to 124 in 65a21fc
What changes do you think we should make in order to solve the problem?We need to replace this code
by
Also If you want arrow in center then need to add style
so code will be
What alternative solutions did you explore? (Optional) |
Will review today! |
Thanks @rayane-djouah and @bernhardoj - if this is a regression of #48552 should someone on the PR provide a proposal (I'm not sure) |
@bernhardoj Thanks for the RCA |
Update: PR #50281 in review |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.45-4 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-10-14. 🎊 For reference, here are some details about the assignees on this issue:
|
This comment was marked as duplicate.
This comment was marked as duplicate.
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.46-5 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-10-16. 🎊 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
Regression Test Proposal
Do we agree 👍 or 👎 |
A few more days until payment but creating a summary in preparation Payouts due:
|
Requested in ND. |
There was regression |
📣 @olya-ivanochko! 📣
|
Hum, @rayane-djouah @bernhardoj can you confirm if this is a regression? #50209 Or what needs to be resolved before payment? |
I wouldn't call it a regression since the root cause of the issue exists before #50209 which I explained here. cc: @arosiclair |
$250 approved for @bernhardoj (agree with the comment above) |
Agree as well |
okay thanks @bernhardoj and @arosiclair! Paid out based on this payment summary - #49086 (comment) Closing as complete! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.33-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: https://expensify.testrail.io/index.php?/tests/view/4955214&group_by=cases:section_id&group_order=asc&group_id=291935
Email or phone of affected tester (no customers): gocemate+a2096@gmail.com
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
Task title should not be overlapped by arrow
Actual Result:
Task title is overlapped by task arrow
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6600811_1726147239222.Recording__3921.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ChristinadobrzynThe text was updated successfully, but these errors were encountered: