-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-04-24][Report Creation UI] [$250] Create report - Not here page is shown when create a report offline and go online #59867
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
Comments
Triggered auto assignment to @NicMendonca ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Not found page is shown after creating a report and money request while offline and then go online. What is the root cause of that problem?The root cause of this issue is that, when we first create an optimistic empty report, it creates a report preview action. App/src/libs/actions/Report.ts Lines 2656 to 2662 in 0754949
App/src/libs/actions/Report.ts Lines 2538 to 2553 in 0754949
However, after we create a money request inside that report, another report preview action is created because the existing report preview can't be found. Lines 3089 to 3100 in 0754949
It can't be found because none of the report preview actions on the workspace chat has the Lines 740 to 750 in 0754949
What changes do you think we should make in order to solve the problem?We need to add
to the optimistic report. (or I think we can just use However, we still have one problem. If we press the parent navigation link (From "..."), it won't link the action. It's because App/src/components/ParentNavigationSubtitle.tsx Lines 44 to 50 in 0754949
That's because we don't set the Lines 5492 to 5508 in 0754949
We can pass App/src/libs/actions/Report.ts Lines 2508 to 2512 in 0754949
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?We can test |
Job added to Upwork: https://www.upwork.com/jobs/~021910124424475110313 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
@bernhardoj's proposal LGTM! 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @amyevans, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
cc @allgandalf @SzymczakJ for visibility |
Proposal looks good 👍 |
PR is ready cc: @jjcoffee |
PR was deployed 2025-04-17, so payment is due 2025-04-24. cc @NicMendonca |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalTest:
Do we agree 👍 or 👎 |
Payment Summary
BugZero Checklist (@NicMendonca)
|
Requested in ND. |
$250 approved for @bernhardoj |
$250 approved for @jjcoffee |
Uh oh!
There was an error while loading. Please reload this page.
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: 9.1.24-10
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: #59386
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Device used: iPhone 15 iOS 18.3.2
App Component: Other
Action Performed:
Expected Result:
Workspace chat with the created expense report is shown after returning online
Actual Result:
Not here page is shown when create a report offline, navigate to the workspace chat via "From" link and go online. When tapping on the back arrow, user is navigated to the ws chat and the report is displayed normally.
Workaround:
Unknown
Platforms:
Screenshots/Videos
1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: