-
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-09-20] [$1000] Web - Close message error button can be clicked but nothing happens #23066
Comments
Triggered auto assignment to @alexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Proposalby @namhihi237 Please re-state the problem that we are trying to solve in this issue.After clicking close the error message disappears What is the root cause of that problem?Khi click the close button to it will call the function What changes do you think we should make in order to solve the problem?We can update onClose here like this, to get correct reportID onClose = {
() => {
if (ReportUtils.isThreadParent(props.action)) {
const childReport = ReportUtils.getReport(props.action.childReportID);
ReportActions.clearReportActionErrors(childReport.parentReportID, props.action)
return;
}
ReportActions.clearReportActionErrors(props.report.reportID, props.action)
} What alternative solutions did you explore? (Optional)We can hide the delete and edit button for a parent when a message on the thread if room was archived |
ProposalPlease re-state the problem that we are trying to solve in this issue.After clicking the close button the message does not disappear. What is the root cause of that problem?The buttons available in
App/src/pages/home/report/ReportActionItem.js Line 199 in ab3d0e8
App/src/pages/home/report/ReportActionItem.js Lines 476 to 484 in ab3d0e8
What changes do you think we should make in order to solve the problem?When a workspace is archived, this should encompass everything within it. I.e., all threads within that workspace should also become archived. What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.For archived rooms, comments can be replied in a new thread and when the new thread is opened comment cannot be deleted or closed. What is the root cause of that problem?The root cause of the problem is showing not applicable menu context icons when the room is archived. What changes do you think we should make in order to solve the problem?I suppose, only copy context menu action can be shown for the archived rooms. In order to that
The line above can be changed as the following: shouldShow: (type, reportAction, isArchivedRoom) =>
type === CONTEXT_MENU_TYPES.REPORT_ACTION && _.has(reportAction, 'message') && !ReportActionUtils.isMessageDeleted(reportAction) && !isArchivedRoom, Related changes can be seen here Result is (when hovered over the comment): What alternative solutions did you explore? (Optional)
|
I need an extra day to continue testing this one. |
I ran out of time yesterday, I'll review soon. |
Job added to Upwork: https://www.upwork.com/jobs/~015d5aa7db1e165a4f |
Current assignee @alexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
At this point, I don't think it's a dupe which I originally thought last week. I've assigned the |
@abdulrahuman5196 - checking in to see if you were able to review the proposals. Thanks! |
No update yet |
Reviewing today |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@alexpensify I don't get any errors. The message is succeeding. Is this fixed? And curious question. Should we even allow to send message on a thread from a archived chat? |
@abdulrahuman5196 , Still get an error. Do you remove the parent message? Screen.Recording.2023-08-01.at.18.28.26.mov |
📣 @namhihi237 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
Thanks, I will raise PR asap. @mountiny I see the offer for reporter 50$. Since this was created before I think it should be $250. Can we update at payment time? |
@namhihi237 yes just remind yourself once payment will be done |
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.68-17 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-09-20. 🎊 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:
|
The payment date is set for tomorrow. @abdulrahuman5196 can you please complete the checklist? Thanks! |
Here is the payment summary:
Upwork Job: https://www.upwork.com/jobs/~015d5aa7db1e165a4f *If applicable, the bonuses will be applied on the final payment Extra Notes regarding payment: No urgency bonus here but it was completed in time for no deductions either. I'll complete the process tomorrow. |
Alright everyone has been paid in Upwork. @namhihi237 I added a bonus to cover the missing amount for the reporter payment. @abdulrahuman5196 - please complete the checklist so we can close this GH. Thanks! |
@abdulrahuman5196 bumping this GH, please complete the checklist. Thanks! |
Not a regression.
No. Minor case, which is hard to reproduce in UI. |
@alexpensify Sorry for the delay. Added the checklist. |
Thank you! Closing for now. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
After click close the error message disappear
Actual Result:
After click close the error message not disappear
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.41-2
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
Screen.Recording.2023-07-16.at.18.10.09.mov
Recording.3701.mp4
Expensify/Expensify Issue URL:
Issue reported by: @namhihi237
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689506265018749
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: