Refactor OptionRowLHNData to remove deprecated getLinkedTransaction() method#35975
Refactor OptionRowLHNData to remove deprecated getLinkedTransaction() method#35975youssef-lr merged 8 commits intomainfrom
Conversation
|
@youssef-lr 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] |
|
Today I will look at the performance tests to see if that is something I caused. |
|
FWIW, it was also failing on a couple PRs of mine that were changing a single line. |
|
I'm re-merging |
|
Code looks good to me. Testing. |
|
I had some issues with testing on iOS, I'll post the checklist first thing tomorrow. |
|
@youssef-lr how did it go yesterday? Were you able to get iOS up and running? |
Reviewer Checklist
Screenshots/VideosAndroid: NativeI haven't managed to fix my android issues yet.. Android: mWeb Chromeandroid.chrome.moviOS: Nativeios.native.moviOS: mWeb Safariios.safari.movMacOS: Chrome / Safarimacos.chrome.movMacOS: Desktopdesktop.mov |
youssef-lr
left a comment
There was a problem hiding this comment.
Finally managed to @tgolen, but I'm still troubleshooting Android Native.
|
✋ 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/youssef-lr in version: 1.4.40-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.40-5 🚀
|
Details
This PR removes the deprecated
getLinkedTransaction()method fromOptionRowLHNData.tsx. In order to have access to the reports last action transaction, it is now fetched from the parent'stransactioncollection and passed down toOptionRowLHNDataas a prop.Fixed Issues
Part of #27262
Tests
Offline tests
Same as above
QA Steps
Same as above
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so 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
MacOS: Desktop