-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$125] Android - Track expense - On deleting track expense, user navigated to expense details page briefly #54058
Comments
Triggered auto assignment to @twisterdotcom ( |
@twisterdotcom Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Job added to Upwork: https://www.upwork.com/jobs/~021869209129305046876 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @dukenv0307 ( |
125 because track isn't a priority right now. |
Upwork job price has been updated to $125 |
Edited by proposal-police: This proposal was edited at 2024-12-23 09:08:20 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.On deleting track expense, user navigated to expense details page briefly What is the root cause of that problem?In here: Lines 4255 to 4270 in 207622d
When deleting track expense, What changes do you think we should make in order to solve the problem?We can use a logic added in this PR to fix this issue. Add a param App/src/pages/ReportDetailsPage.tsx Line 864 in 207622d
ReportUtils.navigateBackOnDeleteTransaction(urlToNavigateBack as Route, true, report.reportID); Then update the following logic: Lines 4264 to 4266 in 207622d
Because we only delete the transaction after navigating back, App/src/pages/home/ReportScreen.tsx Lines 735 to 740 in 5f65aec
To return false if there’s a transaction being deleted: const shouldShowMostRecentReportAction =
!!mostRecentReportAction &&
!isSingleExpenseReport &&
!isSingleInvoiceReport &&
!ReportActionsUtils.isActionOfType(mostRecentReportAction, CONST.REPORT.ACTIONS.TYPE.CREATED) &&
!ReportActionsUtils.isDeletedAction(mostRecentReportAction) &&
(!deleteTransactionNavigateBackUrl || !ReportActionsUtils.isActionOfType(mostRecentReportAction, CONST.REPORT.ACTIONS.TYPE.ACTIONABLE_TRACK_EXPENSE_WHISPER)); What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?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. |
@daledah Bug after applying your solution, the whisper message show briefly Screen.Recording.2024-12-21.at.22.51.25.movOn prod, it just shows the loading screen briefly. |
@dukenv0307 i updated proposal |
@daledah After deleting the track expense in chat page, the whisper message is hidden along with the expense. Can you apply the same on this case? Screen.Recording.2024-12-24.at.15.15.38.mov |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@twisterdotcom @dukenv0307 this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@dukenv0307 The logics are correct. It’s the onyx data condition that causes the whisper to show. |
Triggered auto assignment to @puneetlath, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@puneetlath, @twisterdotcom, @dukenv0307 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@puneetlath, @twisterdotcom, @dukenv0307 Huh... This is 4 days overdue. Who can take care of this? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@puneetlath, @twisterdotcom, @dukenv0307 Still overdue 6 days?! Let's take care of this! |
We're just waiting for @puneetlath right? |
Yes @twisterdotcom |
@puneetlath, @twisterdotcom, @dukenv0307 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
📣 @daledah 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@puneetlath @twisterdotcom @dukenv0307 @daledah this issue is now 4 weeks old, please consider:
Thanks! |
@daledah assigned yesterday. |
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. 0.75-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Component Money Requests
Action Performed:
Expected Result:
On deleting track expense, user must be navigated to self dm
Actual Result:
On deleting track expense, user navigated to expense details page briefly
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6692569_1734029043668.Screenrecorder-2024-12-13-00-08-20-649.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @daledahThe text was updated successfully, but these errors were encountered: