-
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 2023-08-01] [$1000] Dev: Web - Reaction does not work for first message of thread #22235
Comments
Triggered auto assignment to @johncschuster ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Reaction does not work for first message of thread What is the root cause of that problem?We pass App/src/pages/home/report/ReportActionItemParentAction.js Lines 64 to 70 in 15e547e
When we call App/src/libs/actions/Report.js Lines 1644 to 1648 in 15e547e
What changes do you think we should make in order to solve the problem?We should check if
What alternative solutions did you explore? (Optional)NA ResultScreencast.from.05-07-2023.15.30.37.webm |
ProposalPlease re-state the problem that we are trying to solve in this issue.Reacting with emoji does not work for first message in a thread. What is the root cause of that problem?This is a regression from #21933. In
App/src/pages/home/report/ReportActionItem.js Lines 63 to 67 in 15e547e
In consequence, the What changes do you think we should make in order to solve the problem?The report we provide to function ReportActionItemParentAction(props) {
// ...
return (
<OfflineWithFeedback
// ...
>
<View style={StyleUtils.getReportWelcomeContainerStyle(props.isSmallScreenWidth)}>
<View style={[styles.p5, StyleUtils.getReportWelcomeTopMarginStyle(props.isSmallScreenWidth)]} />
{parentReportAction && (
<ReportActionItem
// Pass the parent report
report={props.parentReport}
action={parentReportAction}
// ...
// Don't show the preview of thread replies
shouldDisplayThreadReplies={false}
// ...
/>
)}
</View>
{/* ... */}
</OfflineWithFeedback>
);
}
// ...
export default compose(
withWindowDimensions,
withLocalize,
withOnyx({
report: {
key: ({reportID}) => `${ONYXKEYS.COLLECTION.REPORT}${reportID}`,
},
// Get the parent report from Onyx
parentReport: {
key: ({parentReportID}) => `${ONYXKEYS.COLLECTION.REPORT}${parentReportID}`,
},
parentReportActions: {
key: ({parentReportID}) => `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${parentReportID}`,
canEvict: false,
},
}),
)(ReportActionItemParentAction); |
Job added to Upwork: https://www.upwork.com/jobs/~019314fb87cf5420e8 |
Current assignee @johncschuster is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
This is a regression of above linked issue. |
PR For Fix: #22270 |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)
|
I would like to CME because I approved the PR that caused this regression 🙃. @aimane-chnaif I like @dukenv0307's proposal #22235 (comment). |
I like to clear my wrecked code myself. So no worries my fellow frontier man @neil-marcellini. |
Thanks @neil-marcellini can you please self assign on this GH? |
@aimane-chnaif A question do we need to provide |
yes for every PR |
As I wasn't sure if we have a formal process for it, I asked on Slack if we should proceed with proposal selection here, or should this be closed in favor of a follow-up PR by the author of the original PR which introduced a regression. |
Although I understand that that's the code that was worked on in the PR that introduced the regression, what do you think about my root cause analysis? Is it actually correct to pass report A and a report action from report B (a different report) to From my perspective, the essence of the issue does not lie in the |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.44-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-01. 🎊 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:
|
Summary for payments (will be updating shortly):External issue reporter - @gadhiyamanan - $250 |
Regression Test Step: #19363 (comment) |
not overdue |
Bump @johncschuster |
Thanks for the bump! I'll work on getting payment issued shortly! |
Not overdue on my side |
Eep! I'm sorry I let this one slip! Working on payment now! |
Here's timeline analysis: @jeet-dhandha was not assigned on this issue, but they took responsibility of fixing this as this came from their original PR.
|
@johncschuster, @neil-marcellini, @aimane-chnaif Eep! 4 days overdue now. Issues have feelings too... |
@johncschuster, @neil-marcellini, @aimane-chnaif 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@johncschuster, @neil-marcellini, @aimane-chnaif Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it! |
@johncschuster, @neil-marcellini, @aimane-chnaif 12 days overdue. Walking. Toward. The. Light... |
Now that we have a specific issue for payment I'm going to close this. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
reply in thread
optionExpected Result:
Reaction should be able to be applied
Actual Result:
Reaction does not work
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.36-2 DEV
Reproducible in staging?: n/a
Reproducible in production?: n/a
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.2023-07-04.at.1.04.50.PM.mov
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688456691034579
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: