[Payment due @rojiphil] Deleted transactions on search V2#86938
Conversation
…ode-persists-after-undeleting-fix
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx ts-node ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
…sactions' into jnokowaw/deleted-transactions-on-search-v2
…nokowaw/deleted-transactions-on-search-v2
…-transactions-on-search-v2
…sactions-on-search-v2
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 040f009777
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
@jnowakow how's this one coming along? Which bugs are left to be fixed? |
… into jnokowaw/deleted-transactions-on-search-v2
|
🎯 @rojiphil, thanks for reviewing and testing this PR! 🎉 A payment issue will be created for your review once this PR is deployed to production. If payment is not needed (e.g., regression PR review fix etc), react with 👎 to this comment to prevent the payment issue from being created. |
|
I'll resolve conflicts later in the day because they keeps popping up |
…-transactions-on-search-v2
|
Conflicts resolved, I hope there new conflicts won't appear before @luacmartins wakes up 🤞 |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 @luacmartins has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.3.60-0 🚀
Bundle Size Analysis (Sentry): |
|
Yes, help site changes are required. PR #86938 introduces deleted expense search and undelete functionality, which is not currently documented. I've created a draft PR with the required updates: #88028 Changes made
Getting Started with the Reports Page
Note: I was unable to add the draft PR to GitHub project 196 due to permissions — please add it manually. |
|
Deploy Blocker #88034 was identified to be related to this PR. |
|
Deploy Blocker #88036 was identified to be related to this PR. |
|
Deploy Blocker #88037 was identified to be related to this PR. |
|
Deploy Blocker #88040 was identified to be related to this PR. |
|
Deploy Blocker #88073 was identified to be related to this PR. |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.3.60-22 🚀
|
|
🤖 Payment issue created: #88398 |
@luacmartins
Explanation of Change
This PR adds support deleted transactions on search.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/608639
PROPOSAL: N/A
Tests
TC-1: "Unheld the expense" message shown after undeleting a held expense
Issue: #86799
Platforms: Android App, iOS App, Windows Chrome
Steps:
Expected: No "Unheld the expense" message is shown (since there's no corresponding "held the expense" message visible).
tc1-unheld.mov
TC-2: Tapping expense row does not toggle selection on mobile
Issue: #86780
Platforms: Android App, iOS App
Steps:
Expected: Tapping the expense row toggles (selects/deselects) the expense.
tc2-tapping-expense.mov
TC-3: Deleted expense with negative amount does not show negative in Reports
Issue: #86783
Platforms: MacOS Chrome/Safari
Steps:
Expected: The deleted expense displays with its original negative amount.
tc3-negative-amount.mov
TC-4: Category column misaligned with table header in deleted expenses view
Issue: #86791
Platforms: Windows Chrome
Steps:
Expected: The Category column data aligns properly with the Category table header.
TC-5: Non-functional "View" button shown instead of "Undelete" in grouped search
Issue: #86796
Platforms: Windows Chrome
Steps:
group-by:from status:deletedand search.Expected: An "Undelete" button is displayed (since deleted expenses cannot be viewed).
tc5-view-instead-of-undelete.mov
TC-6: Selection mode persists after undeleting all expenses offline (mobile)
Issue: #86790
Platforms: Android App, iOS App
Steps:
Expected: Selection mode exits automatically since there are no more expenses to display.
tc6-selection-mode.mov
TC-7: Undeleted expense does not load when undeleted and opened offline
Issue: #86793
Platforms: MacOS Chrome/Safari
Steps:
Expected: The undeleted expense loads and displays correctly.
tc7-offline.mov
Offline tests
See TC-6 and TC-7
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android.mov
Android: mWeb Chrome
android-web.mov
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari