-
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
[$500] Task - User B accesses a task link sent by User A before opening task, no access displayed #34414
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01d8cb0d70429a8316 |
Triggered auto assignment to @NicMendonca ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Without opening the Task report first, the User cannot access the Task Details pages. What is the root cause of that problem?This is happening because if we don't open the Task report first, the OpenReport API call is not executed, and the Task Report is absent from Onyx. And these task-details-related components are wrapped with What changes do you think we should make in order to solve the problem?In the App/src/pages/home/report/withReportAndReportActionOrNotFound.tsx Lines 60 to 68 in 8aec07c
The code will look approximately like this: useEffect(() => {
if (!isReportIdInRoute || isNotEmptyObject(props.report)) {
return;
}
Report.openReport(props.route.params.reportID);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [isReportIdInRoute, props.route.params.reportID]); Optionally, we can pass a new parameter to this wrapper, like What alternative solutions did you explore? (Optional)We can fix this issue on the BE: make Pusher send the Task Report to User B when User A shares a task with them. |
ProposalPlease re-state the problem that we are trying to solve in this issue."Hmm... it's not here" is displayed when User B accesses the task link before opening task What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?I think it's expected that BE doesn't return task report until user open the task report. So we should make What alternative solutions did you explore? (Optional)NA |
ProposalUpdated proposal #34414 (comment) to add more code details. |
@paultsimura's proposal looks good to me. Especially, since it follows the already established convention in 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @Gonals, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @paultsimura 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Thanks. The PR is ready for review: #34599 |
Triggered auto assignment to @sakluger ( |
Going on leave so re-assigning to issue payment when ready! |
Deployed to prod: #36014 (comment) |
Checklist
|
Hey @sakluger – the automation didn't work here, but the issue is due payment today: #34414 (comment) |
Summarizing payment on this issue: Contributor: @paultsimura $500, paid via Upwork |
$500 approved for @allroundexperts based on summary above. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: v1.4.24-7
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
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:
Expected Result:
Task "Title" and "Description" model should be opened before opening task
Actual Result:
"Hmm... it's not here" is displayed when User B accesses the task link before opening task
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6339907_1705051011372.2024-01-12_00-59-43.mp4
Bug6339907_1705051011261.2024-01-12_01-02-47.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: