-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2024-01-17] Hold Requests: Educational Interstitial #31347
Comments
Hello, I'm Tymoteusz Kałuzieński from Software Mansion, the expert agency, and I would like to work on this task. |
thanks @cdOut ! Let me know if you have any questions 🙇 |
@Expensify/design Would appreciate your input here! @cdOut Realized that while the educational interstitial in this mockup looks great on Mobile, we weren't sure how it would scale up to larger screen sizes. What would be the best approach here in displaying this? 🙏 |
For desktop, let's just put it in the RHP. Thoughts on that approach? We already have similar style modals in the RHP on desktop for things like the Workspace empty state. |
I agree with putting it in the RHP. |
Alright, I'll implement it for desktop / wider screens. |
@robertjchen @shawnborton @JmillsExpensify I noticed that a new feature has appeared in main which solves this case differently, anchoring the popup modal to the center of the screen on wide screens / desktop. I think I should reimplement it to work the exact same way so there aren't inconsistencies in the app. What do you think? |
I think we still want to use the right hand pane pattern here since we have the illustration + icons. |
Agreed |
As expected, the changes in this PR necessarily have a bit of overlap with the work ongoing in #31300, so we'll need to get both reconciled before this can go out. |
Please see main issue for a full-picture update: https://github.com/Expensify/Expensify/issues/274076#issuecomment-1878519877 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.23-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-01-17. 🎊 For reference, here are some details about the assignees on this issue:
|
Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO. |
This has been completed! |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
Educational interstitial when holding for the first time
Depends on some of the changes in: #31300 but can be done independently.
When "Hold" is tapped for the first time in our
<MoneyRequestOverflowMenu
we'll perform a check to see if it's the first time they've used the feature.We'll attempt to load a
private_holdUseExplained
NVP from the user's account. If this flag is false or does not exist, then we will show a new interstitial that explains the Hold feature.Under
src/components
create a new<ProcessMoneyRequestHoldMenu
for the Hold popover.This will be composed of rows three blocks, followed by the "Got it, thanks!" button to close it out. Each block consists of:
1 graphic
1 title text
1 explanation text
So, we have:
Expensicons.Hourglass, iou.whatIsHoldTitle, iou.whatIsHoldExplain
Expensicons.ChatBubble, iou.holdIsTemporaryTitle, iou.holdIsTemporaryExplain
Expensicons.TrashCan, iou.deleteHoldTitle, iou.deleteHoldExplain
Text and translations:
iou.whatIsHoldTitle
iou.whatIsHoldExplain
iou.holdIsTemporaryTitle
iou.holdIsTemporaryExplain
iou.deleteHoldTitle
iou.deleteHoldExplain
You may also consider adding the other required resources at this time:
Consts
The text was updated successfully, but these errors were encountered: