Refactor HeaderView to access parentReportAction from props#37913
Refactor HeaderView to access parentReportAction from props#37913
Conversation
|
I'm pulling this out of draft, but it looks like iOS builds are currently broken. We are discussing it here in Slack. Feel free to review this however. |
|
I think @jjcoffee should be assigned to this for the C+ review? |
|
I don't think these PRs stick to one C+. P.S. I can review and checklist if requires C+ |
|
Sounds good, thank you for clarifying! I'll leave that up to @tgolen for what he wants for the PR. Let me know if you want an Expensify engineer to review this or if you want a C+ review first Tim 🙂 |
|
@aimane-chnaif that would be great if you could please review and test this. |
blimpich
left a comment
There was a problem hiding this comment.
Looks good to me but still waiting on C+ review.
|
Code looks good. |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromemchrome.moviOS: Nativeios.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
|
I reproduced crash while testing on android. |
|
🎯 @aimane-chnaif, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #38150. |
|
Please complete author checklist
|
|
Tim can you complete the author checklist so we have fully green checks? Then we're good to merge. |
|
Yeah, sorry about that. I will need to see if I am able to build the app yet. I haven't checked yet to see if there was a solution for the error with Flipper that was causing the build issue. I'll update this later today with the result. |
|
As I already tested those missing platforms, I think you can fill them and merge. The code change here is also not platform dependent. |
|
OK, sounds good. I've checked them off and this is good to merge now. Thanks! |
|
✋ 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/blimpich in version: 1.4.52-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.52-6 🚀
|
Fixed Issues
Part of #27262
Tests
Offline tests
Same as tests
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.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