-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HybridApp] Adjust props of explanation modal #46704
[HybridApp] Adjust props of explanation modal #46704
Conversation
Perhaps we could create an ad-hoc build for Jason before we merge it, so he could test if the problem has disappeared. @AndrewGable @Julesssss |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
Now that I think about it wasn't this only occurring on the Hybrid app build? I think we can merge and ask @JmillsExpensify to test on the TestFlight build. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
✋ 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/AndrewGable in version: 9.0.17-0 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
2 similar comments
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
Details
This is simpler fix for explanation modal bug. Initially Explanation Modal was developed with different component underneath. It was changed during some code refactor. It also slightly changed the logic of the component. Pressing on the background wasn't triggering API write command. On Jason's videos he presses background and not button. I believe this might be the real root cause of the problem.
I managed to reproduce this bug on Android emulator, but I think it has different origin and reproduction wasn't relevant and we should not rely on that. Let's try this simpler fix first.
It also looks like we need to keep old bug fixes (e.g. propagating nvp value to OldDot via native method) of explanation modal, because they're still relevant.
Fixed Issues
$ #46412
PROPOSAL:
Add prop
onClose
to theFeatureTrainingModal
and use it instead ofonConfirm
.Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop