Repository navigation
[No QA] Remove unused getPolicyTagsData import in UpdateMoneyRequest - #96894
Conversation
|
@cristipaval Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Removing the only import in the previous commit left getPolicyTagsData as an unused export, which knip flags. Delete the function and its export, drop the stale eslint-seatbelt entries, and fix comments that referenced it.
Guccio163
left a comment
There was a problem hiding this comment.
Looks good, this is the last PR of the section, so it also looks like it was the last place using getPolicyTagsData - it's right to remove, thanks!
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
🚧 amyevans 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! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/amyevans in version: 9.4.44-0 🚀
|
|
🤖 Help site review: no changes required. This PR is a lint-only internal cleanup — it removes an unused Since nothing customer-facing changed, no updates to Expensify's help site files under @amyevans, there's no linked help site PR to review since no docs changes were required. Let me know if you believe a help article is impacted and I'll take another look. |
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.4.44-6 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
getPolicyTagsDatawas imported insrc/libs/actions/IOU/UpdateMoneyRequest.tsbut never used, causing the ESLint@typescript-eslint/no-unused-varscheck to fail. This removes it from the named import list. No behavior change.Fixed Issues
$ #96893
Tests
npm run lint(ornpx eslint src/libs/actions/IOU/UpdateMoneyRequest.ts).getPolicyTagsData is defined but never usederror.Offline tests
N/A — lint-only change, no runtime behavior affected.
QA Steps
N/A ([No QA]) — this is a lint-only change with no user-facing behavior.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, 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.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
N/A — lint-only change.
Android: mWeb Chrome
N/A — lint-only change.
iOS: Native
N/A — lint-only change.
iOS: mWeb Safari
N/A — lint-only change.
MacOS: Chrome / Safari
N/A — lint-only change.