Migrate AccessOrNotFoundWrapper from withOnyx to useOnyx#49251
Merged
roryabraham merged 3 commits intoExpensify:mainfrom Oct 2, 2024
Merged
Migrate AccessOrNotFoundWrapper from withOnyx to useOnyx#49251roryabraham merged 3 commits intoExpensify:mainfrom
AccessOrNotFoundWrapper from withOnyx to useOnyx#49251roryabraham merged 3 commits intoExpensify:mainfrom
Conversation
Contributor
Author
|
@akinwale Any update here? |
blazejkustra
approved these changes
Sep 25, 2024
| } | ||
|
|
||
| return callOrReturn(props.children, props); | ||
| return callOrReturn(props.children, {report, policy, isLoadingReportData}); |
Contributor
There was a problem hiding this comment.
Verify that this doesn't break anything (there are less props provided to children now)
Contributor
Author
There was a problem hiding this comment.
We only use it here, so maybe let's narrow the type down to include policy only?
Contributor
Author
|
Bump @akinwale |
Contributor
|
Reviewing today. |
Contributor
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / Safari49251-web-1.mp449251-web-2.mp4MacOS: Desktop |
roryabraham
approved these changes
Oct 2, 2024
Contributor
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
63 tasks
Contributor
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.0.44-0 🚀
|
Closed
6 tasks
Contributor
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.44-12 🚀
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
Fixed Issues
$ #49112
PROPOSAL: #49112 (comment)
Tests
Test case 1
Precondition: User does not have a workspace
/create/invoice/start/1/7783051691252045)Test case 2
/settings/workspaces/[workspace_id]/more-features)Offline tests
NA
QA Steps
See 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 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
Screen.Recording.2024-09-16.at.18.22.34.mov
Screen.Recording.2024-09-16.at.18.26.45.mov
Android: mWeb Chrome
Screen.Recording.2024-09-16.at.18.23.21.mov
Screen.Recording.2024-09-16.at.18.25.58.mov
iOS: Native
Screen.Recording.2024-09-16.at.18.17.14.mov
Screen.Recording.2024-09-16.at.18.18.44.mov
Screen.Recording.2024-09-16.at.18.27.28.mov
iOS: mWeb Safari
Screen.Recording.2024-09-16.at.18.16.24.mov
Screen.Recording.2024-09-16.at.18.29.03.mov
MacOS: Chrome / Safari
Screen.Recording.2024-09-16.at.18.02.57.mov
Screen.Recording.2024-09-16.at.18.06.47.mov
MacOS: Desktop
Screen.Recording.2024-09-16.at.18.13.53.mov
Screen.Recording.2024-09-16.at.18.25.13.mov