-
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-10-10] [$125] Task - When the receiver clicks on a task, "Hmm... it's not here" is displayed briefly #28508
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @AndrewGable ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.When the receiver clicks on a task, "Hmm... it's not here" is displayed briefly. What is the root cause of that problem?In the What changes do you think we should make in order to solve the problem?We can use the currentReportID props. For example: const shouldShowNotFoundPage = useMemo(
() =>
(!firstRenderRef.current &&
!_.isEmpty(report) &&
!isDefaultReport &&
!currentReportID && // report.reportID -> currentReportID
!isOptimisticDelete &&
!report.isLoadingReportActions &&
!isLoading &&
!userLeavingStatus) ||
shouldHideReport,
[report, isDefaultReport, currentReportID, isOptimisticDelete, isLoading, userLeavingStatus, shouldHideReport],
); Result:28508.Chrome.webm28508.Safari.webm |
ProposalPlease re-state the problem that we are trying to solve in this issue.Task - When the receiver clicks on a task, "Hmm... it's not here" is displayed briefly What is the root cause of that problem?We move App/src/libs/actions/Report.js Lines 463 to 467 in 52f0e3c
But here we use App/src/pages/home/ReportScreen.js Line 373 in 52f0e3c
What changes do you think we should make in order to solve the problem?We should replace App/src/pages/home/ReportScreen.js Line 373 in 52f0e3c
We should set the default for App/src/pages/home/ReportScreen.js Lines 107 to 109 in 52f0e3c
App/src/pages/home/ReportScreen.js Line 489 in 52f0e3c
And here, we should check the report exists in Onyx but
App/src/pages/home/ReportScreen.js Line 251 in 52f0e3c
What alternative solutions did you explore? (Optional)NA ResultScreencast.from.30-09-2023.14.23.16.webm |
the proposal from @dukenv0307 sounds good to me! @ospfranco @fedirjh what do you think? |
Why this change is needed? is it possible that we have an existing report without report actions? Edit: It's possible as |
We only return the report actions for parent threads with the parent report actions |
@fedirjh Let's imagine this case that is after signing out and signing again, we open a report in LHN, the report data exists but doesn't have any report actions, and App/src/pages/home/ReportScreen.js Lines 251 to 252 in 52f0e3c
It was not necessary before because in the past App/src/pages/home/report/ReportActionsView.js Lines 83 to 95 in 00933e1
|
Thanks @dukenv0307 that makes sense to me. cc @mountiny the proposal looks good to me. |
@dukenv0307 LGTM |
This will be $125 to @dukenv0307 for the solution proposal |
Triggered auto assignment to @kevinksullivan ( |
@mountiny can you take a look at this? |
@fedirjh @dukenv0307 can you please complete the checklist above? Thanks! |
BugZero Checklist:
Regression Test Proposal
|
Thanks created the regression test here https://github.com/Expensify/Expensify/issues/324653 |
@ospfranco, @kevinksullivan, @mountiny, @fedirjh, @dukenv0307 Huh... This is 4 days overdue. Who can take care of this? |
@kevinksullivan can we please pay $50 to @ayazhussain79 and $125 to @dukenv0307 for the proposal |
@ospfranco, @kevinksullivan, @mountiny, @fedirjh, @dukenv0307 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Triggered auto assignment to @trjExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
@trjExpensify could you please help me process the payments here #28508 (comment) thanks! |
as per here, confirming payments as follows: $50 to @ayazhussain79 for the bug report and $125 to @dukenv0307 for the proposal. @dukenv0307 has been paid. @ayazhussain79 i've sent you an offer. |
@trjExpensify offer accepted, Thank you |
Paid. |
Sorry for missing this one guys. And thanks @trjExpensify ! |
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:
When the receiver clicks on the task, "Hmm... it's not here" should not be displayed
Actual Result:
When the receiver clicks on the task, "Hmm... it's not here" is displayed briefly
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.75.2
Reproducible in staging?: y
Reproducible in production?: n
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-09-28-at-94712-pm_Ajx72u09.1.mp4
Screen.Recording.2023-09-28.at.9.49.08.PM.mov
Screen.Recording.2023-09-28.at.9.50.03.PM.mov
Screen.Recording.2023-09-28.at.9.52.22.PM.mov
20230929211406.mp4
Screen_Recording_20230929_121540_New.Expensify.mp4
Expensify/Expensify Issue URL:
Issue reported by: @ayazhussain79
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695920292264359
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: