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

fix: country selector change language and fetch residence list #46

Conversation

yauheni-deriv
Copy link
Collaborator

Changes:

Please provide a summary of the change.

Screenshots:

Please provide some screenshots of the change.

@@ -141,6 +143,8 @@ export const IdvDocSubmitOnSignup = ({
is_appstore
should_hide_helper_image={shouldHideHelperImage(values?.document_type?.id)}
editable_fields={changeable_fields}
residence_list={residence_list}
warning_items={undefined}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think its better to set the default value of warning_items as empty object rather than undefined?

@coveralls
Copy link

Pull Request Test Coverage Report for Build 5619666035

  • 5 of 163 (3.07%) changed or added relevant lines in 10 files are covered.
  • 389 unchanged lines in 16 files lost coverage.
  • Overall coverage decreased (-0.1%) to 8.742%

Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/account/src/Sections/Verification/ProofOfIdentity/proof-of-identity.jsx 0 1 0.0%
packages/components/src/components/dropdown-list/dropdown-list.tsx 0 3 0.0%
packages/account/src/Sections/Verification/ProofOfIdentity/proof-of-identity-container-for-mt5.jsx 0 4 0.0%
packages/components/src/components/autocomplete/autocomplete.tsx 0 13 0.0%
packages/account/src/Sections/Verification/ProofOfIdentity/proof-of-identity-container.jsx 0 16 0.0%
packages/account/src/Sections/Verification/ProofOfIdentity/proof-of-identity-submission-for-mt5.jsx 0 57 0.0%
packages/account/src/Sections/Verification/ProofOfIdentity/proof-of-identity-submission.jsx 0 64 0.0%
Files with Coverage Reduction New Missed Lines %
packages/account/src/Sections/Verification/ProofOfIdentity/proof-of-identity-submission-for-mt5.jsx 1 0%
packages/account/src/Sections/Verification/ProofOfIdentity/proof-of-identity-submission.jsx 1 0%
packages/cfd/src/Components/cfd-poi.tsx 1 71.43%
packages/components/src/components/autocomplete/autocomplete.tsx 1 0%
packages/account/src/Sections/Verification/ProofOfIdentity/proof-of-identity-container-for-mt5.jsx 2 0%
packages/account/src/Sections/Verification/ProofOfIdentity/proof-of-identity-container.jsx 3 0%
packages/cfd/dist/cfd/js/CFDDbviOnBoarding.js 19 0%
packages/cfd/dist/cfd/js/CFDFinancialStpRealAccountSignup.js 19 0%
packages/core/dist/cfd/js/CFDDbviOnBoarding.js 19 0%
packages/core/dist/cfd/js/CFDFinancialStpRealAccountSignup.js 19 0%
Totals Coverage Status
Change from base Build 5598509517: -0.1%
Covered Lines: 8610
Relevant Lines: 83917

💛 - Coveralls

@likhith-deriv likhith-deriv merged commit b712ac9 into likhith-deriv:likhith/KYC-274/add-missing-example-formats-for-idv-countries Jul 21, 2023
1 check passed
likhith-deriv added a commit that referenced this pull request Sep 15, 2023
…-com#9349)

* fix: 🐛 translation of IDV documents dropdown option

* fix: 🐛 translation of default config

* fix: 🐛 translation of default config

* fix: 🐛 removed unused-import

* fix: 🐛 refactored code

* fix: ♻️ incorporated review comments

* feat: ✨ added example formats for IDV docs

* feat: ✨ added new text as requested by compliance

* fix: ♻️ incorporated review comments

* fix: country selector change language and fetch residence list (#46)

* fix: country selector change language and fetch residence list

* fix: residence list call for mt5

* fix: autocomplete not_found issue, loading poi page directly issue

* refactor: avoid double call for fetching residence

* refactor: current_language removed from deps

* refactor: remove undefinied prop

* fix: failing tests

* fix: failing tests

---------

Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>

* refactor: remove commented code

* fix: wrong import

* refactor: ♻️ incorporated review comments

* fix: failing testcase

* fix: ts any rreplace

* fix: resolved path issues

* fix: translation issue with No results found text in dropdowns

* fix: translation issue with No results found text in dropdowns

* fix: Country selecror in mobile

* fix: Country selecror in mobile

* fix: wrong file import name

---------

Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com>
Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
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.

3 participants