-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[W7: H Requests] Educational Interstitial #32667
[W7: H Requests] Educational Interstitial #32667
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
merge main into hold-request/educational-interstitial
@staszekscp Clicking / tapping on the Got it button does not do anything. Is the button supposed to dismiss the interstitial? |
@akinwale wrong ping, I'm the one working on this PR. Will resolve it and get back to you. |
Oof. My bad. Noted. |
@akinwale fixed, should be working now. |
@cdOut There is an error when I try to dismiss the modal by clicking outside of it on iOS native. Clicking on the "Got it" button works fine however. See the video below. 32667-ios-native-bug.mp4 |
@cdOut Also tested the same flow on mobile web (clicking outside the modal). This does nothing at all. Is the intended behaviour for the modal supposed to be dismissable on click outside or not? I'm guessing the latter, but let's try to unify for both mWeb and native platforms. |
@akinwale "fixed" it, as I've said above the current implementation code in the Wallet page is only for testing purposes and any errors regarding that implementation aren't really part of this PR since I will have to delete the code anyways, the implementation and usage of Menu and Page are going to be in the other Hold Request PRs. But for testing purposes I have added the close method now. |
Reviewer Checklist
Screenshots/VideosAndroid: Native |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Fantastic! 🎉 Maybe we can remove the test interstitial from the Wallet Page for now, and we can merge this for the time being 👍 |
@cdOut The PR author checklist was updated, so you need to update your first post with the new one from https://raw.githubusercontent.com/Expensify/App/main/.github/PULL_REQUEST_TEMPLATE.md Also, the "Hold" text in the title is preventing this from being merged. Looks like an over-eager check rule. Probably makes sense to change the title in this case. cc @robertjchen |
I am currently working on implementing all the changes needed atm, will update the PR soon. |
@robertjchen I removed the test implementation and also added a component that is shared between Hold PRs (TextPill). This is ready to be merged and any changes that may appear required for it will be made in the other PR. |
merge main into hold-request/educational-interstitial
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This broke main due to a lint issue |
Hi @cdOut could you please follow up with a lint issue fix? Thanks |
@Julesssss I'll create a follow up fix in a moment 😄 |
@Julesssss follow up fix is ready! 🙇🏻 |
🚀 Deployed to staging by https://github.com/robertjchen in version: 1.4.23-0 🚀
|
@cdOut Is this PR ready to be tested? As per this linked issue it is "Hold Request" |
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.23-4 🚀
|
Details
Implemented Educational Interstitial Menu and Page which will be part of the Hold Request functionality.
Fixed Issues
$ #31347
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 methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.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)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.Details
Implemented Educational Interstitial Menu and Page which will be part of the Hold Request functionality.
Fixed Issues
$ #31347
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 methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.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 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-NATIVE.mov
iOS: mWeb Safari
MacOS: Chrome / Safari
CHROME.mov
MacOS: Desktop
DESKTOP.mov