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

Optimised dynamic fields with multiple country and states support #137

Merged
merged 26 commits into from
Nov 22, 2024

Conversation

manideepk90
Copy link
Contributor

@manideepk90 manideepk90 commented Nov 14, 2024

This pull request includes:

  • Optimization of dynamic fields by replacing array-based state updates with a dictionary structure for improved performance during input data entry.
  • Addition of support for filtering and rendering shipping options based on component prop.
  • Enhancement of country selection logic to match backend values.
  • Implementation of support for multiple countries and state logic within dynamicFields.
  • Introduction of an option to display pre-filled values based on component prop.
  • Introducing an option to sort fields based on array values [other, billing, shipping], with fields having the lowest values displayed first.
  • Addition of dynamic payment_method_data generation for paylater options:
    • Affirm
    • Afterpay/Clearpay
    • Klarna (Note: Requires path changes in the backend)

reactNativeWeb/DemoApp/DemoAppIndex.js Dismissed Show dismissed Hide dismissed
@manideepk90 manideepk90 self-assigned this Nov 22, 2024
@seekshiva seekshiva merged commit 76ddf84 into main Nov 22, 2024
3 checks passed
@seekshiva seekshiva deleted the dynamic-fields branch November 22, 2024 09:21
manideepk90 added a commit that referenced this pull request Nov 22, 2024
Co-authored-by: ChiragKV-Juspay <[email protected]>
Co-authored-by: Shivam Shashank <[email protected]>
Co-authored-by: Shivam <[email protected]>
Co-authored-by: Harsh <[email protected]>
@manideepk90 manideepk90 linked an issue Nov 23, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dynamic Fields backend refac
6 participants