Skip to content
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

feat(payout-link): add input validations for payment methods in CollectWidget #460

Merged
merged 20 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
17314cf
feat(payout-link): add input validations for payment methods in Colle…
kashif-m Jun 27, 2024
1b0cb7e
refactor: remove redundant lazy module
kashif-m Jun 27, 2024
406a2ce
refactor(collect-widget): add mobile UI
kashif-m Jul 1, 2024
b0c39e8
refactor(collect_widget): add mobile UI across collect widget's journey
kashif-m Jul 1, 2024
084685f
Merge remote-tracking branch 'origin/main' into payout_validations
kashif-m Jul 1, 2024
59d8d46
refactor(collect_widget): update status UI
kashif-m Jul 2, 2024
8e9ce52
refactor(collect_widget): add arrow down icon for PM selection
kashif-m Jul 2, 2024
11b4a6e
refactor(collect_widget): updated formLayout decoder
kashif-m Jul 2, 2024
96c7f49
refactor(collect_widget): update validations and journey layout
kashif-m Jul 2, 2024
eef1438
refactor: resolve comments
kashif-m Jul 8, 2024
ff61520
Merge remote-tracking branch 'origin/main' into payout_validations
kashif-m Jul 8, 2024
1dc6819
Merge remote-tracking branch 'origin/main' into payout_validations
kashif-m Jul 9, 2024
c05324c
refactor: resolve comments
kashif-m Jul 10, 2024
84c1ed8
Merge remote-tracking branch 'origin/main' into payout_validations
kashif-m Jul 10, 2024
9c9a034
Merge remote-tracking branch 'origin/main' into payout_validations
kashif-m Jul 11, 2024
ce0272d
refactor(payout): resolve comments
kashif-m Jul 15, 2024
238eb4c
Merge remote-tracking branch 'origin/main' into payout_validations
kashif-m Jul 15, 2024
0a6fade
refactor(payout): resolve more comments
kashif-m Jul 15, 2024
98ee053
refactor(payout): enhance code by resolving comments
kashif-m Jul 15, 2024
7031f44
fix: react fragmets removed
PritishBudhiraja Jul 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
107 changes: 88 additions & 19 deletions public/icons/orca.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 1 addition & 7 deletions src/App.res
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ let make = () => {
let url = RescriptReactRouter.useUrl()
let (integrateError, setIntegrateErrorError) = React.useState(() => false)
let setLoggerState = Recoil.useSetRecoilState(RecoilAtoms.loggerAtom)
let {showLoader} = Recoil.useRecoilValueFromAtom(RecoilAtoms.configAtom)

let paymentMode = CardUtils.getQueryParamsDictforKey(url.search, "componentName")
let paymentType = paymentMode->CardThemeType.getPaymentMode
Expand All @@ -20,12 +19,7 @@ let make = () => {
let renderFullscreen = switch paymentMode {
| "paymentMethodCollect" =>
<LoaderController paymentMode setIntegrateErrorError logger initTimestamp>
<React.Suspense
fallback={<RenderIf condition={showLoader}>
<PaymentElementShimmer />
</RenderIf>}>
<PaymentMethodCollectElementLazy integrateError logger />
</React.Suspense>
<PaymentMethodCollectElement integrateError logger />
kashif-m marked this conversation as resolved.
Show resolved Hide resolved
</LoaderController>
| _ =>
switch fullscreenMode {
Expand Down
Loading
Loading