-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Expense - Track expense preview shows "View" on chat but "Submit" is displayed on "Reports" #62152
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 @zanyrenney ( |
Triggered auto assignment to @MonilBhavsar ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.When submitting a track expense to a new workspace, the expense preview on chat, shows a "View" button, while preview on "Reports" displays a "Submit" button. What is the root cause of that problem?It's a problem with App/src/libs/ReportPreviewActionUtils.ts Line 61 in eecf578
it's different with secondary action here
What changes do you think we should make in order to solve the problem?We should change App/src/libs/ReportPreviewActionUtils.ts Line 61 in eecf578
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
@MonilBhavsar any thoughts here on if they should remain a deploy blocker and on the proposal above? Thank you. |
Was checking another blocker, looking now |
Requested retest as I am seeing this on production too https://expensify.slack.com/archives/C9YU7BX5M/p1747397824103739 |
@MonilBhavsar Issue is still repro on the latest build screen-20250516-095010.mp4 |
Different behaviour in production. screen-20250516-101654.mp4 |
@MonilBhavsar Issue is not reproducing with Expensifail account, both stg and prod. "Submit" button appears on chat and on "Reports" https://github.com/user-attachments/assets/1564260d-e50c-4982-bf82-4e27038777f5 |
Solution above is incorrect. We have different conditions for the primary action (only when submit manually is true) and secondary actions (when scheduled submit is enabled - any frequency). The real issue is that when we share the report with our accountant, we're creating a report in OPEN state, but the workspace created has Discussing it here |
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.46-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Motorola MotoG60 - Android 12 - Chrome / Windows 10 - Chrome
App Component: Money Requests
Action Performed:
Expected Result:
Expense should display a "Submit" button on preview, both on chat and on "Reports" section.
Actual Result:
When submitting a track expense to a new workspace, the expense preview on chat, shows a "View" button, while preview on "Reports" displays a "Submit" button.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6832607_1747352758608.Preview.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: