Repository navigation
Conversation
|
@rojiphil |
rojiphil
left a comment
There was a problem hiding this comment.
I have left few comments for consideration. Please check.
| @@ -0,0 +1,13 @@ | |||
| export default function setNavigationActionToMicrotaskQueue(nabigationAction: () => void) { | |||
There was a problem hiding this comment.
Let us use the correct word i.e. navigationAction here
There was a problem hiding this comment.
Sorry, but what do you mean?
If you are talking about a mistake in a word, I have already fixed it)
There was a problem hiding this comment.
I am referring to nabigationAction which doesn't seem correct.
There was a problem hiding this comment.
Oh
Sorry
You're right )
I didn't notice in these places
Thank you
| Navigation.navigate(featureRoute); | ||
| }); | ||
| }); | ||
| Navigation.setNavigationActionToMicrotaskQueue(() => Navigation.navigate(featureRoute)); |
There was a problem hiding this comment.
NAB but as we made changes here, let us add a test case to avoid possible regression.
| const onSelectCurrency = (item: CurrencyListItem) => { | ||
| Policy.updateGeneralSettings(policy?.id ?? '', policy?.name ?? '', item.currencyCode); | ||
| Navigation.goBack(); | ||
| Navigation.setNavigationActionToMicrotaskQueue(Navigation.goBack); |
There was a problem hiding this comment.
NAB but same here. Let us add a test case for this to avoid possible regression.
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / Safari42183-web-safari.mp4Android: Native42183-android-native.mp4Android: mWeb Chrome42183-mweb-chrome.mp4iOS: Native42183-ios-native.mp4iOS: mWeb Safari42183-mweb-safari.mp4MacOS: Desktop42183-desktop.mp4 |
rojiphil
left a comment
There was a problem hiding this comment.
Thanks. LGTM and tests well too.
|
[Currently held on merge freeze] |
|
@ZhenjaHorbach There are conflicts here. Please resolve. |
|
Seems fine from a design-perspective too. |
|
✋ 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: 1.4.77-0 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.77-11 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.77-11 🚀
|
Details
Delay in showing new currency when selecting a new currency
Fixed Issues
$ #41515
PROPOSAL: #41515 (comment)
Tests
Offline tests
QA Steps
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
android.mov
2024-05-17.20.34.07.mov
Android: mWeb Chrome
android.mov
2024-05-17.20.34.07.mov
iOS: Native
ios.mov
2024-05-17.20.32.01.mov
iOS: mWeb Safari
ios-web.mov
2024-05-17.20.38.39.mov
MacOS: Chrome / Safari
web.mov
2024-05-17.20.35.40.mov
MacOS: Desktop
desktop.mov
2024-05-17.20.40.13.mov