83369 migrate reports core part 4#90682
Conversation
|
@mananjadhav 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] |
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: 34f8fe8e09
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
PR doesn’t need product input as a refactor PR. Unassigning and unsubscribing myself. |
|
@MelvinBot I migrated Could you help create some test steps so I can verify everything works correctly? Thanks! |
|
Here are test steps for each migrated route: 1. PROFILE (
|
|
@mananjadhav This PR is ready for review |
mananjadhav
left a comment
There was a problem hiding this comment.
Small comments, left to test this. Will focus on finishing the checklist tomorrow,.
|
Reviewing again. |
mananjadhav
left a comment
There was a problem hiding this comment.
Left a few comments.
| setIsFloatingMessageCounterVisible, | ||
| scrollToEnd: reportScrollManager.scrollToEnd, | ||
| resetKey: report.reportID, | ||
| resetKey: report?.reportID ?? reportIDFromRoute ?? '', |
There was a problem hiding this comment.
Any reason we had to change this?
There was a problem hiding this comment.
While testing, I found an app crash caused by resetKey being undefined due to report?.reportID. We should add a fallback: if report?.reportID is unavailable, then use reportIDFromRoute or '' like
|
@mananjadhav I’ve updated your comment, thanks. |
|
I did the code review can you resolve conflicts and lint error? Will get started on the testing once done. |
Fixed conflicts and ESLint issues. Could you please check it? |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safariweb-report-core-4.movweb-report-core-4-workspace-selection.mov |
|
🚧 @mjasikowski 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/mjasikowski in version: 9.3.83-0 🚀
Bundle Size Analysis (Sentry): |
|
I reviewed the changes in this PR against the help site files under No help site changes are required. This PR is a purely internal routing/navigation refactor — it migrates I checked the relevant help site articles (e.g., @huult, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR |
|
Deploy Blocker #91838 was identified to be related to this PR. |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.3.83-3 🚀
|
Explanation of Change
Fixed Issues
$ #83369
PROPOSAL:
Tests
Same QA step
Offline tests
QA Steps
PROFILE (a/:accountID)
PROFILE_AVATAR (avatar/:accountID)
EDIT_REPORT_FIELD (edit/policyField/:policyID/:fieldID)
NEW_REPORT_WORKSPACE_SELECTION (new-report-workspace-selection)
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand 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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2026-05-15.at.15.42.21.mov