-
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-08-08][$1000] Dev: Web - Thread report header displays no data & composer is hidden when clicking 'Reply in thread' icon while in offline mode #23646
Comments
Triggered auto assignment to @zanyrenney ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Thread report header displays no data & composer is hidden when clicking 'Reply in thread' icon while in offline mode. What is the root cause of that problem?When reply in thread while in offline mode, App/src/libs/actions/Report.js Lines 581 to 593 in d68806f
We pass CONST.REPORT.NOTIFICATION_PREFERENCE.ALWAYS to ReportUtils.buildOptimisticChatReport writeCapability parameter.So report.writeCapability is set to always , but this value should be one of all , admins .App/src/pages/reportPropTypes.js Line 78 in d68806f
Therefore, the error is occured, and report is not fully displayed. What changes do you think we should make in order to solve the problem?We should pass proper value to const newChat = ReportUtils.buildOptimisticChatReport(
participantAccountIDs,
lodashGet(parentReportAction, ['message', 0, 'text']),
lodashGet(parentReport, 'chatType', ''),
lodashGet(parentReport, 'policyID', CONST.POLICY.OWNER_EMAIL_FAKE),
CONST.POLICY.OWNER_ACCOUNT_ID_FAKE,
false,
'',
undefined,
+ CONST.REPORT.WRITE_CAPABILITIES.ALL,
CONST.REPORT.NOTIFICATION_PREFERENCE.ALWAYS,
parentReportAction.reportActionID,
parentReportID,
); What alternative solutions did you explore? (Optional)None. |
I don't have a Dev environment, assigning eng to help with that step! |
Triggered auto assignment to @bondydaa ( |
hmm i don't understand, contributors don't have expensify vms either so I think what they mean is this is in |
Job added to Upwork: https://www.upwork.com/jobs/~0172d7253f196dfea5 |
Current assignee @zanyrenney is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
I think this issue is a regression from this PR #21950 |
Seems 3 places we need to correct #23638 (comment) |
Hi, I’m Michael (Mykhailo) from Callstack and I would like to work in this issue, because I am the author of the broken PR. |
📣 @mananjadhav Please request via NewDot manual requests for the Reviewer role ($1000) |
📣 @Natnael-Guchima 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
Accepted the offer. Thanks |
#23919 was merged. Is the issue going to be closed? |
Yeah I think we're okay to close. Typically we wait a week after deploy to prod before closing, but that's to handle payments, and I think since the bug reporter accepted the offer and no one else is due payment, we can close now. |
@amyevans an offer was sent to me & it is not settled yet #23646 (comment) |
Okay my bad 😅, thanks for pointing it out. Reopening so that @zanyrenney can handle that part. |
No worries 😁 |
@zanyrenney Did you get a chance to look at this? Once @Natnael-Guchima is paid, we can close this one out. |
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:
Expected Result:
Thread header should display the threaded message & 'from' link, and composer should be visible
Actual Result:
Thread header doesn't display the threaded message & 'from' link, and composer is not visible
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: Dev 1.3.45-8
Reproducible in staging?: no
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
Screencast.from.2023-07-26.15-38-10.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Natnael-Guchima
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690375363052749
https://expensify.slack.com/archives/C049HHMV9SM/p1690461910613649 (Similar bug)
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: