Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WALL] aum / WALL - [4916 / 4925] / implement-default-jurisdiction-fl…
…ows (deriv-com#17336) * feat: added created modal and added DocumentTile component * feat: added DocumentsList component * refactor: useSortedMT5Accounts to get default jurisdiction accounts * feat: created MT5LicenceNumber component * refactor: MT5 password related components to include info for the MT5LicenceMessage * feat: added getClientVerification util * fix: some UI issues * chore: bump deriv-com/ui from 1.35.0 to 1.35.2 * feat: added ClientVerificationStatusBadge component * feat: updated usage of badge in DocumentList component * fix: temporary hardcoding of compnay number for non-regulated in MT5LicenceMessage * refactor: converted getTileProps function to tileProps map in DocumentsList component * fix: refer to correct key for poa and translation for DocumentTile in DocumentsList component * fix: logic for getClientVerification util * refactor: DocumentList to use getClientVerification * chore: added unit tests for MT5LicenceMessage and DocumentList component * refactor: renamed and moved CFDPasswordModalTnc to screens/components/MT5PasswordModalTnc * fix: unit tests for MT5PasswordModalTnc * fix: added temporary types for default service * fix: unit tests for AvailableMT5AccountsList * chore: added unit tests for EnterPassword component * fix: sonarcloud issue * fix: the build CI * fix: unit test for DocumentsList * fix: added missing localize for getMarketTypeDetails * refactor: MT5 account filtering and sorting for displaying on traders hub * chore: applied suggestions * fix: warning for dependency array in MT5AccountAdded * fix: applied comments * feat: created AddedMT5AccountStatusBadge * refactor: AddedMt5AccountsList for default jurisdiction changes * fix: remove unwanted status checks for added MT5 accounts * fix: description width in desktop for ClientVerificationModal * fix: correct check for showing the ClientVerificationModal for pre-account creation flow * fix: MT5 account added success screen not showing for first time account creation * fix: add end margin to status badge for AddedMT5AccountsList * perf: added unit test for useSortedMT5Accounts hook * refactor: unit tests for AddedMT5AccountsList * perf: added unit tests for useAddedMT5Accounts * fix: ci error for ordering constants * feat: show the ClientVerificationModal only on the click of the badge for added accounts * fix: updated mt5 accounts sorting order with stp to show multiple accounts in post account creation * fix: showing of multiple existing MT5 accounts for a single product type * feat: reimplement disabled MT5 accounts flow * fix: disable eslint check for the ObjectWithKeyInUnion utility type * fix: added disabled flag for added account card component Co-authored-by: George Usynin <[email protected]> * feat: added poa_required and poa_pending statuses for showing badge on TH * feat(wallets): ✨ add Financial STP account * Update useSortedMT5Accounts.spec.ts * Update useSortedMT5Accounts.spec.ts * chore: add icon * chore: restore package-lock * Update EnterPassword.scss * fix: labuan poa * fix: add required tin check --------- Co-authored-by: George Usynin <[email protected]> Co-authored-by: heorhi-deriv <[email protected]>
- Loading branch information