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

Suisin/diel flow change #55

Conversation

shaheer-deriv
Copy link
Owner

Changes:

Please provide a summary of the change.

Screenshots:

Please provide some screenshots of the change.

amina-deriv and others added 30 commits June 5, 2023 15:11
…iv-app into amina/WALL-611/account_added_modal_if_client_doesnt_deposit
…iv-app into suisin/WALL884/add_country_in_poi_modal
…iv-app into suisin/WALL884/add_country_in_poi_modal
…nary-com#9165)

* fix: fixed the issue where the user could not trade in the deriv EZ platform

* fix: changed the URL of Deriv EZ

* fix: adding empty commit to pass the tests

* fix: rerunning the tests
Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com>
* fix: fixed the issue of deriv ez token

* fix: fixed the dxtrade token
* fix: changed the naming of the token

* fix: added return to the service token

* fix: commented derivx reaction

---------

Co-authored-by: Matin shafiei <matin@deriv.com>
* fix: hidding deriv ez

* fix: removed deriv ez from onboarindg

* fix: removed deriv ez from onboarding and tests

* fix: hid the deriv ez and fixed the tests
* fix: hidding deriv ez

* fix: fixed test cases
…t-card] (binary-com#7683)

* Amina/fix: 89022_personal_details_section_on_signup (binary-com#7668)

* fix: personal details broke

* chore: trigger circleci_build

* fix: account switcher

* fix: 🐛 fix contact us link (binary-com#7653)

Co-authored-by: Carol Sachdeva <58209918+carol-deriv@users.noreply.github.com>

* fix: 🐛 safely pulls lang from query params, defaults to english (binary-com#7662)

Co-authored-by: Carol Sachdeva <58209918+carol-deriv@users.noreply.github.com>

* chore: add characters for regex in address line 1 and 2 in account signup (binary-com#7568)

* Refactor shaheer/87591/app modals (binary-com#7626)

* refactor: 🎨 minimize if checks, refactored individual if checks to if-else-if checks

* refactor: 🎨 Refactored and seperated modal

* refactor: packages shared utils array ts migration

* refactor: array check remove

* refactor: function returned to arrow

* refactor: function returned to arrow

* farrah/ modal refactoring (binary-com#6769)

* added modal manager component (binary-com#6768)

* farrah/81373/lazy loading in p2p (binary-com#6907)

* perf: configured webpack for lazy loading

* added css lazy loading

* fix: fixed missing css

* refactor: myAdsFloatingRateSwitchModal (binary-com#7173)

* refactor: emailLinkVerifiedModal (binary-com#7118)

* refactor: myAdsDeleteModal (binary-com#7024)

* refactor: adExceedsDailyLimitModal (binary-com#7027)

* farrah/78909/refactor FilterModal (binary-com#6906)

* refactor filter modal

* perf: added lazy loading

* fix: added publicPath

* farrah/78919/refactor OrderDetailsCancelModal (binary-com#7018)

* refactor: order details cancel modal

* fix: tests

* Adrienne / BuySellModal and CancelAddPaymentMethodModal component with saved form state component (binary-com#7077)

* saved draft

* Refactored out cleanupFn argument in hideModal

* fix: added modal form and saving state

* fixed issues with mobile stacking modal

* refactored out comments

* refactor: remove cancel add payment method modal from my profile

* removed add payment method modal in my profile

* removed icons.js

* removed icons.js

* refactor: fix import path for modal form

* refactor: fix import path for modal form

* refactor: fix import path for modal form

* chore: reverted change on cancel add payment method modal in my profile folder

* chore: refactored code

* chore: revert

* Fix merge conflicts

* Adrienne / Refactored Create Ad Add Payment Method Modal and Add Payment Method Error Modal (binary-com#7210)

* chore: fixed issues with dropdown detecting as clicking outside modal

* chore: updated branch with drafted branch

* chore: added sycned branch changes

* farrah/78918/refactor EmailVerificationModal (binary-com#7056)

* refactor: emailVerificationModal

* Refactored out EmailLinkVerifiedModal since that related modal card is merged to p2p-modal-manager

* Refactored out EmailLinkVerifiedModal observables

Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com>

* farrah/78920/refactor OrderDetailsConfirmModal (binary-com#7038)

* refactor: orderDetailsConfirmModal

* refactor: onClick handler

* chore: fix issues with build after merge conflicts

Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com>

* farrah/78927/refactor EditAdCancelModal (binary-com#7122)

* refactor: editAdCancelModal

* Refactored out CreateAdAddPaymentMethodModal since its already merged to p2p-modal-manager

Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com>

* farrah/78925/refactor CreateAdErrorModal (binary-com#7052)

* refactor: createAdErrorModal

* chore: fixed merge conflict issues

Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com>

* Adrienne / Rating modal and Recommended modal (binary-com#7132)

* saved draft

* refactor: added rating modal

* added recommended modal

* refactored code

* refactored code

* refactor: fixed issues with test

* fix: added mock function for useModalManagerContext in app content test

* refactored out comment for should_show_rating_modal

* refactor: refactored out props for rating modal

* chore: removed modal props on cleanup

* chore: fixed issues with test

* chore: refactor based on reviews

* chore: refactor

* Adrienne / Refactored Delete Payment Method Error modal and Cancel Edit Payment method modal (binary-com#7222)

* saved draft

* refactor: added delete payment method error modal

* chore: fixed an issue where payment methods are not listed for sell ads

* chore: fixed issue where back button does not trigger cancel edit pm modal

* farrah/78916/refactor InvalidVerificationLinkModal (binary-com#7017)

* refactor: invalid verification link modal

* refactor: error message

* chore: fixed merge conflicts

Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com>

* Adrienne / Error modal (binary-com#7283)

* saved draft

* refactor: added error modal

* chore: reverted old changes modals folder

* Adrienne / Currency Selector modal (binary-com#7279)

* saved draft

* refactor: added currency selector modal

* chore: revert old changes modals folder

* Adrienne / Block User Modal (binary-com#7276)

* saved draft

* refactor: added block user modal

* chore: fix issues with test build

* chore: removed comments

* chore: updated comment

* chore: fixed issues with running build

* chore: fixed issues with running test

* refactor: loading modal (binary-com#7006)

Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com>

* Adrienne / Rate Change Modal (binary-com#7266)

* saved draft

* refactor: added rate change modal

* chore: changed isRateChanged function

* chore: refactored hideModal with options

* chore: reverted comments

* chore: refactored naming options for hidemodal

* Adrienne / Quick Add Modal and integrating new payment method dropdown component for buy ads in the modal (binary-com#7308)

* saved draft

* refactor: added quick add modal and new dropdown component

* chore: refactored out unusesd files

* chore: reverted merge conflict issues

* chore: removed old merge conflicts

* chore: fixed merge conflicts and added 2 new modals

* chore: reverted refactor and used error modal instead

* farrah/78906/refactor MarketRateChangeErrorModal (binary-com#7357)

* refactor: market rate change error modal

* refactor: code

* refactor: unnecessary code

* refactor: fixed issues with buy ad payment methods list

Co-authored-by: adrienne-rio <adrienne@deriv.com>

* fix: conflicts

* fix: conflicts

* Adrienne / Wrong popup message counterparty block user modal (binary-com#7459)

* saved draft

* fix: fixed an issue where incorrect block user modal message is shown in block user list

* chore: removed old commits

* Adrienne / Fix issue verification link modal showing twice (binary-com#7545)

* saved draft

* fix: verification modal now shows once

* Adrienne / Add payment method not dismissed create ad (binary-com#7505)

* saved draft

* fix: create ad add payment method modal now closes when user adds a pm

* chore: removed old commits

* chore: added multiple arguments for iscurrentmodal

* Adrienne / Market rate change popup not displayed (binary-com#7478)

* saved draft

* fix: fixed an issue where rate change modal is not shown when user changes to different currency

* chore: removed old commits

* Adrienne / Fixed issue with block user error modal (binary-com#7539)

* saved draft

* fix: reset error status

* chore: removed old commits

* fix: fixed an issue where the error modal is displayed twice

* Adrienne / Fix bug in buy sell header and refactored code (binary-com#7624)

* saved draft

* refactor: refactored buy sell modal header

* chore: removed comments

* chore: applied code review refactors

---------

Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com>
Co-authored-by: adrienne-rio <adrienne@deriv.com>

* Sergei / 86749 / delete some console errors when user watches onboarding (binary-com#7431)

* fix: delete some console errors

* fix: move spanButton to components package

* fix: export TButtonProps

* fix: put div putside p and use SpanButton instead of Button

* fix: remove React.FC from SpanButton

* fix: add optional operators '?' (binary-com#7481)

* Thisyahlen/87700/no option to change currency for mf (binary-com#7520)

* fix: exit traders hub

* fix: remove is_currency_switcher_disabled_for_mf from the currency switcher dropdown

* Thisyahlen/87555/switching to mf account upon login if no cr account for low risk (binary-com#7519)

* fix: exit traders hub

* fix: When login back to the account with has EU only the data for MF is showing

* fix: exit from non-eu from traders hub, multipliers is still the active account

* Aizad/87648/scroll-issue-onboarding-tradershub (binary-com#7615)

* chore: change stylings add more padding below to how content in different screen size 📱

* fix: scroll issue on smaller screens

* feat: testing sikit

* fix: change onboarding sizing to fit mobile

* fix: remove max-height on footer

* fix: added more height to the body

* fix: readjust body height (again😀)

* thisyahlen/fix: Unable to add CR fiat account (binary-com#7680)

* fix: Unable to add CR fiat account

* fix: Unable to add CR fiat account

* Sergei / 88771 / Australian VRTC accounts are not able to create real account (binary-com#7633)

* fix: add button for adding account

* fix: convert total assets for demo in account currency

* fix: add check for restricted_countries for is_high function in client-store

* Update packages/core/src/Stores/client-store.js

Co-authored-by: Matin shafiei <matin@binary.com>

* Update packages/core/src/Stores/client-store.js

Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com>

* chore: empty

* fix: delete unnecessary '`'

* refactor: change restricted_countries

* chore: empty

* fix: demo account total assets is always USD

* fix: delete 'add or manage account' by checking 'filtered_remaining_real_accounts' length

---------

Co-authored-by: Matin shafiei <matin@deriv.com>
Co-authored-by: Matin shafiei <matin@binary.com>
Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com>
Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com>

* Sergei / 88801 / Add button does not allow to add crypto accounts under Non EU Deriv Account when inside of Traders Hub (binary-com#7648)

* fix: add crypto for EU

* fix: change modal height and define crypto array

---------

Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com>

* Amina/fix: 89134_real_account_signup_fields_not_editable (binary-com#7688)

* fix: 89134_real_account_signup_fields_not_editable

* fix: real account editable fields

* fix: security-issues: Client-side URL redirect (binary-com#7600)

* fix: Incomplete URL substring sanitization (binary-com#7597)

* thisyahlen/fix: add and manage account button logic in account switcher (binary-com#7657)

* fix: add and manage account button logic in account switcher

* fix: account switcher for low risk

* fix: mockstore

* fix: account switcher for the final time hopefully

* redeploy: a

* fix: deriv api versioning

* fix: account switcher outside traders hub

* fix: manage accounts text change

* george / 89176  / transfer between cryptocurrency to other currencies is not possible (binary-com#7709)

* fix: transfer form crypto to fiat

* fix: display transferred amount in thousands

* fix: display values with scientific notation

---------

Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com>

* yashim/fix: enable strings extraction (binary-com#7717)

* fix: translation files

* fix: extract translations

* chore: alphabetical order

* chore: sync translation

* fix: convert demo CFD currency to vrtc currency (binary-com#7719)

* fix: min and max dispaly value (binary-com#7714)

Co-authored-by: Nijil Nirmal <62882794+nijil-deriv@users.noreply.github.com>

* translations: 📚 sync translations with crowdin (binary-com#7722)

Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com>

* thisyahlen/fix: account switcher for mf (binary-com#7723)

* fix: account switcher for mf

* fix: undefined loginid

* fix: add real account modal height

* chore: removed unused props

* chore: remove unused v2

* translations: 📚 sync translations with crowdin (binary-com#7725)

Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com>

* translations: 📚 sync translations with crowdin (binary-com#7730)

Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com>

* fix: trade type highlight changed to All + Rise Fall not highlighted fix (binary-com#7700)

Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com>

* fix: barrel rolls on loader (binary-com#7672)

Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com>

* fix: 🐛 fixes the truncated cookie banner for non-en languages (binary-com#7669)

* fix: 🐛 fixes the truncateed cookie banner for non-en langs

* fix: 🐛 fixes the text out of button bug in cookie banner

---------

Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com>

* fix: localize (binary-com#7720)

Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com>

* Sergei / 89437 / Traders Hub: Total assets showing wrong amount when clients having multiple currency (binary-com#7728)

* fix: ad exchange rate for total assets in traders hub

* refactor: change types for setExchangeRate

---------

Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com>

* fix: evgeniy/ 88007/ enable paste in idv information (binary-com#7647)

* fix: evgeniy/ 88007/ enable paste in idv information

* refactor: prevent event while empty data pasting

* refactor: using default validation error message

* refactor: reusing prevent func

* refactor: typo name fix, function passing shortage

* refactor: useToggleValidation fix

---------

Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com>

* translations: 📚 sync translations with crowdin (binary-com#7738)

Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com>

* translations: 📚 sync translations with crowdin (binary-com#7739)

Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com>

* translations: 📚 sync translations with crowdin (binary-com#7747)

Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com>

* translations: 📚 sync translations with crowdin (binary-com#7748)

Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com>

* translations: 📚 sync translations with crowdin (binary-com#7749)

Co-authored-by: yashim-deriv <yashim@deriv.com>

* fix: missing localise/improper use of localise (binary-com#7750)

* Merge branch 'develop' of github.com:binary-com/deriv-app into niloo/88920/ts-migration-parent

* Farzin/85955/Extract `replaceCashierMenuOnclick` method from cashier `GeneralStore` to reusable hook in `@deriv/hooks` (binary-com#7434)

* Shayan/52349/react17 migration (binary-com#6908)

* refactor: react version is upgraded to version 17

* fix: fixed typo

* fix: changed declaration file location

* fix: temporarily commented our two test cases that are failing

* fix: fixed react-content-loader props

* fix: fixed some bugs

* fix: fixed z-index issue for popover in DBot page

* fix: fixed popover position issue in DBot page

* chore: an small change on how to turn string to array

* fix: merge upstream develop into my branch and resolved conflicts

* fix: resolved pr comments

* fix: removed rc-drawer and refactored mobile drawer

* fix: fixed test cases

* fix: resolved pr comments

* fix: resolved pr comment

* fix: fixed typo

* fix: resolved pr comments

* fix: fixed slide-in component bug

* fix: resolved pr comments

* fix: resolved pr comments

* fix: removed unnecessary lines

* fix: resolved pr comments

* Update packages/account/src/Components/personal-details/__tests__/personal-details.spec.js

Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com>

* Update packages/account/src/Components/personal-details/__tests__/personal-details.spec.js

Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com>

* Update packages/account/src/Components/personal-details/personal-details.jsx

Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com>

* fix: fixed mt5 modal not appear on screen when clicking on trade button

* fix: fixed Bug #84787

Co-authored-by: Shayan Khaleghparast <100833613+iman-fs@users.noreply.github.com>
Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com>

* fix: add optional chaining in getMinDuration function (binary-com#7344)

* fix: 🐛 resolved issue with trade. odal (binary-com#7291)

* Revert "fix: 🐛 resolved issue with trade. odal (binary-com#7291)" (binary-com#7364)

This reverts commit b6f7e4c.

* feat(core): ✨ add `@deriv/hooks` and `@deriv/stores` to `@deriv/core`

* refactor(core): 🔥 remove `ToggleMenuDrawer` prop drilling and use `useStore` hook

* refactor(core): 🔥 remove dead props

* refactor(core): 🔥 remove unnecessary ref in `ToggleMenuDrawer`

* refactor(core): 🔥 remove `react-import-loader` from `@deriv/core`

* refactor(core): 🔥 remove `platform_switcher` prop from `ToggleMenuDrawer`

* Farzin/85054/Call `resetWithrawForm` on `CryptoWithdrawForm` component `onunmount` (binary-com#7331)

* fix(cashier): 🐛 call `resetWithrawForm` on `CryptoWithdrawForm` component `onunmount`

* test(cashier): ✅ fix failing test

Co-authored-by: Farzin Mirzaie <farzin@deriv.com>

* Niloofar Sadeghi / Task - Refactor tests in the language.spec.js file (binary-com#7325)

* refactor: language tests

* fix: typo

Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>

* refactor: proposal tests (binary-com#7327)

Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>

* Niloofar Sadeghi / Task - Refactor tests in the error.spec.js file (binary-com#7324)

* refactor: errors validator tests

* fix: typo

Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>

* Niloofar Sadeghi / Task - Refactor tests in the binary-link.spec.tsx file (binary-com#7288)

* refactor: binary-link tests

* refactor: improve testids namings

Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>

* refactor: money tests (binary-com#7353)

* refactor: toggle-positions tests (binary-com#7287)

Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>

* refactor: toggle-button tests (binary-com#7328)

Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>

* Niloofar Sadeghi / Task - Refactor tests in the toggle-button-group.spec.tsx file (binary-com#7330)

* refactor: toggle-button-group tests

* fix: test issue

Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>

* refactor: open-positions-table tests (binary-com#7374)

* Niloofar Sadeghi / Task - Refactor tests in the marker-spot-label.spec.tsx file (binary-com#7355)

* refactor: remove extra files from reports

* refactor: marker-spot-label tests

* Niloofar Sadeghi / Task - Refactor tests in the binary-link.spec.tsx file (binary-com#7286)

* refactor: binary-link tests

* test: added more tests

Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>

* Niloofar Sadeghi / Task - Refactor tests in the contract-type-dialog.spec.tsx file (binary-com#7285)

* refactor: contract-type-dialog tests

* test: added more tests

* fix: circle/ci issue

Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>

* Niloofar Sadeghi / Task - Refactor tests in the platform-dropdown.spec.tsx file (binary-com#7282)

* refactor: platform-dropdown tests

* refactor: improve testids namings

Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>

* fix(core): 📝 resolve conflicts

* fix(core): 📝 resolve conflicts

* feat(hooks): ✨ add `useP2PNotificationCount` hook

* feat(hooks): ✨ add `useHasSetCurrency` and `useHasActiveRealAccount` hooks

* refactor(core): ♻️ refactor `MenuLinks` component

* refactor(cashier): 🔥 remove `CashierNotifications` component

* refactor(core): 🔥 remove `MenuStore` store

* refactor(cashier): 🔥 remove `attachCashierToMenu` and `replaceCashierMenuOnclick` methods

* fix(stores): 💚 add missing default value to `mockStore`

---------

Co-authored-by: Shayan Khaleghparast <100833613+shayan-deriv@users.noreply.github.com>
Co-authored-by: Shayan Khaleghparast <100833613+iman-fs@users.noreply.github.com>
Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com>
Co-authored-by: kate-deriv <121025168+kate-deriv@users.noreply.github.com>
Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com>
Co-authored-by: Farrah Mae Ochoa <farrah@deriv.com>
Co-authored-by: Matin shafiei <matin@deriv.com>
Co-authored-by: Farzin Mirzaie <farzin@deriv.com>
Co-authored-by: Niloofar Sadeghi <93518187+niloofar-deriv@users.noreply.github.com>
Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>

* translations: 📚 sync translations with crowdin (binary-com#7751)

Co-authored-by: yashim-deriv <yashim@deriv.com>

* yashim/fix: translations (binary-com#7754)

* translations: 📚 sync translations with crowdin (binary-com#7755)

Co-authored-by: yashim-deriv <yashim@deriv.com>

* fix: onboarding translations (binary-com#7757)

* yashim/fix: onboarding carousel translations (binary-com#7758)

* yashim/fix: translation in tour-steps-config (binary-com#7761)

* translations: 📚 sync translations with crowdin (binary-com#7762)

Co-authored-by: yashimwong <yashimwong@gmail.com>

* translations: 📚 sync translations with crowdin (binary-com#7763)

Co-authored-by: yashim-deriv <yashim@deriv.com>

* carol/fix: translation issue (binary-com#7764)

* translations: 📚 sync translations with crowdin (binary-com#7766)

Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com>

* translations: 📚 sync translations with crowdin (binary-com#7767)

Co-authored-by: yashim-deriv <yashim@deriv.com>

* yashim/fix: update extraction regex (binary-com#7765)

* fix: update extraction regex

* fix: update test for new extraction

* yashim/fix: improper formatted strings (binary-com#7769)

* fix: improper formatted strings

* translations: 📚 sync translations with crowdin (binary-com#7770)

Co-authored-by: yashim-deriv <yashim@deriv.com>

* translations: 📚 sync translations with crowdin (binary-com#7771)

Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com>

* Farzin/87070/Extract `is_account_transfer_visible` method from cashier `AccountTransferStore` to reusable hook (binary-com#7445)

* feat(hooks): ✨ add `useAccountTransferVisible` and `useHasMaltaInvestAccount` hooks

* refactor(core): ♻️ replace `is_account_transfer_visible` with `useAccountTransferVisible`

* refactor(cashier): ♻️ replace `is_account_transfer_visible` with `useAccountTransferVisible`

* refactor(cashier): 🔥 remove `is_account_transfer_visible` method

* test(cashier): ✅ fix failing test

* fix(stores): 💚 add missing default value to `mockStore`

---------

Co-authored-by: Farzin Mirzaie <farzin@deriv.com>

* Farzin/88636/Debounce `p2p_order_list` call (binary-com#7613)

* perf(p2p): ⚡ debounce `p2p_order_list` call and check if p2p is available before making the call

* fix(core): 🐛 use `WS` from services

* fix(core): 🐛 add timeout before fetching `p2p_order_list`

* fix(core): 🐛 fix cannot read properties of undefined `authorized`

* fix(core): 🐛 fix cannot read properties of undefined `authorized`

* fix(core): 🐛 fix cannot read properties of undefined `authorized`

* fix(core): 🐛 fix cannot read properties of undefined `authorized`

---------

Co-authored-by: Farzin Mirzaie <farzin@deriv.com>

* fix: shows cancel dialog on selecting payment method (binary-com#7429)

* refactor: move search box to components package (binary-com#7664)

* henry/89211/fix: pass is_eu_country flag to SmartChart (binary-com#7712)

* fix: pass is_eu_country flag to SmartChart

* fix: bala change deploy command

* fix: add server maintenance notice (binary-com#7498)

Co-authored-by: Carol Sachdeva <58209918+carol-deriv@users.noreply.github.com>

* likhith/feat:incorporated string normalization to match non english characters (binary-com#7649)

* feat: ⚡ incorporated string normalization to match non english character

* fix: ensuring non english character match

* feat: resolved import issue

* feat: incorporated helper function

* feat: added testcases for helper function

* feat: incorporated helper function to all case

* feat: 🎨 refactored code

* feat: code refactor

---------

Co-authored-by: Matin shafiei <matin@deriv.com>
Co-authored-by: Carol Sachdeva <58209918+carol-deriv@users.noreply.github.com>

* Aizad/89056/deriv go text change (binary-com#7701)

* chore: update packages

* chore: change deriv go name

* fix: open new tab when click trade

* fix: fix codecov

* fix: updated packages one more

* fix: circleci failing

* fix: change DerivGO branding on onboarding page aswell

* fix: small changes

---------

Co-authored-by: Carol Sachdeva <58209918+carol-deriv@users.noreply.github.com>

* Likhith/88162/sub section navigation for trading assessment (binary-com#7685)

* feat: 💄 added subsection indicator for FormStepper

* feat: 💄 incorporated form-progress for mobile and Desktop

* feat: ✨ integrated changes to exisiting user TA questions

* feat: 🎨 update type of uistore

* feat: added changes to mock store

* feat: ♻️ incorporated review comments

* feat: ♻️ incorporated review comments

* feat: ♻️ incorporated review comments

* feat: ✨ incorporated form wobbling

* feat: 🐛 incorporated designs as specified in Figma

* fix: 🐛 content not translated to selected languages

* feat: reverted text changes

* feat: modified content as per figma

* feat: 🎨 content change

* feat: added missing fullstop

* feat: content mismatch fix

---------

Co-authored-by: Matin shafiei <matin@deriv.com>
Co-authored-by: Carol Sachdeva <58209918+carol-deriv@users.noreply.github.com>

* fix: policy page reload issue (binary-com#7679)

Co-authored-by: Carol Sachdeva <58209918+carol-deriv@users.noreply.github.com>

* fix: ✏️ fixes text content & size in Account Limits settings (binary-com#7708)

* fix: ✏️ fixes text content & size in Account Limits settings

* fix: ✏️ code review changes - fixes text content & size in Account Limits settings

---------

Co-authored-by: Carol Sachdeva <58209918+carol-deriv@users.noreply.github.com>

* Kate/88725/No quick access to trade type description (binary-com#7667)

* refactor: make info icon always visible

* refactor: add info icon for mobile

* fix: add arrow and trade type to the trade type info in mobile

* fix: add scss for mobile scrollbar

* refactor: remove important from css

* refactor: change to positive condition

* feat: add style for button responsive in trade type info

* chore: empty commit to trigger codcov

---------

Co-authored-by: Carol Sachdeva <58209918+carol-deriv@users.noreply.github.com>

* translations: 📚 sync translations with crowdin (binary-com#7787)

Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com>
Co-authored-by: Carol Sachdeva <58209918+carol-deriv@users.noreply.github.com>

* fix: add styles in cfd-dashboard (binary-com#7791)

* translations: 📚 sync translations with crowdin (binary-com#7795)

Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com>

* Jim/85458/allow poo submission on valid data (binary-com#7592)

* feat: enable button when valid information is provided

* chore: add check for status

* refactor: combine conditionals

* chore: seperate conditionals

* chore: replace nullish coalescing with or operator

* chore: update based on reviews

* chore: refactor based on code reviews

* fix: dependabot alerts (binary-com#7608)

* Ameerul /Bug 87254 Scrolling is not working when reduce the screen size  (binary-com#7457)

* chore: fixed scrolling issue on smaller screens

* chore: fixed height of table to show 5 users at a time

* refactor: ♻️ migrated code to TSX

* feat: ♻️ incorporated review comments

* fix: build fix

* fix: react_virtualized_types

* fix: build fix

* chore: make prop types optional

* fix: sonarcloud issue fix, test add

* fix: test failing fix

* fix: remove comments

* fix: sonar bug

* chore: remove noClick check in the component

* fix: review changes

* fix: build fix

* refactor: accountclosed ts migration

* refactor: evgeniy/88400/ accountlimit ts migration

* fix: import error

* refactor: review changes

* refactor: types replaced

* refactor: pushState replaced with history.push

* refactor: security section api token ts migration

* refactor: routes root usage added

* refactor: evgeniy/88388/modules page404 ts migration

* fix: types

* feat: 🎨 migrated to TS

* fix: 🐛 resolved TS type bugs

* fix: sonar error

* feat: incorporated changes to Trading assessment

* feat: merging TS changes

* fix: circle/ci errors

* fix: circle/ci errors

* build: trigger build

* feat: migrated connect to observe

* feat: 🎨 migrated component to TS

* feat: migrated index files

* chore: date picker file migration from  to

* feat: 🐛 resolved failing TS issues

* fix: ♻️ incorporated review comments

* feat: incorporated review comments

* fix: sonar issue

* chore: date-picker-native ts migration

* chore: date-picker-input ts migration

* chore: `date-picker-calender` ts migration

* chore: `date-picker-native` ts migration

* chore: convert `index.js` to `index.ts` of `date-picker` module

* refactor: migrate date picker component to ts

* fix: remove console error related to input props

* fix: naming convention for parameters

* refactor: migrate date-of-birth-picker to typescript

* fix: typo in param of `onSelect` function

Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com>

* refactor: use date picker type in `date-of-birth` picker

* refactor: resolve review comments

* fix: undo the script change

* chore: change target element type to `HTMLDivElement`

Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com>

* refactor: move expression directly to prop

* fix: pass `readOnly` prop to date of birth picker

* refactor: put props spread down inside date of birth component

* refactor: address `as` changes and null checks on date-picker module

* fix: check native date picker null value properly

* refactor: change position of prop spreading in `date-picker` component

* refactor: omit placement and style from props

* refactor: omit refs from date picker props

* refactor: TS migration of connected apps folder

* fix: circleCI errors

* fix: vercel errors

* refactor: infinite datalist component ts migration

* fix: circle/ci issue

* refactor: to fix circle ci issues

* fix: circle/ci issues

* fix: circle/ci issue

* fix: review comments

* fix: review comments

* fix: review comments

* fix: sonarcloud issue

* fix: sonarcloud issue

* fix: review comments

* fix: review comments

* fix: build issue

* fix: trading assessment issue

* build: trigger build

* fix: 🐛 removed useStore

* fix: 🐛 file dropzone migration fix

* fix: 🐛 ts lint issues

* fix: number pad to set take profit for accumulator doesn't work as expected in responsive

* fix: build errors

* fix: build errors

* fix: circle/ci issue

---------

Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com>
Co-authored-by: mitra-deriv <64970259+mitra-deriv@users.noreply.github.com>
Co-authored-by: Carol Sachdeva <58209918+carol-deriv@users.noreply.github.com>
Co-authored-by: Shaheer <122449658+shaheer-deriv@users.noreply.github.com>
Co-authored-by: Aizad Ridzo <103104395+aizad-deriv@users.noreply.github.com>
Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com>
Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com>
Co-authored-by: adrienne-rio <adrienne@deriv.com>
Co-authored-by: Sergei Baranovski <120570511+sergei-deriv@users.noreply.github.com>
Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com>
Co-authored-by: Matin shafiei <matin@deriv.com>
Co-authored-by: Matin shafiei <matin@binary.com>
Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com>
Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com>
Co-authored-by: George Usynin <103181646+heorhi-deriv@users.noreply.github.com>
Co-authored-by: Yashim Wong <yashim@regentmarkets.com>
Co-authored-by: Nijil Nirmal <62882794+nijil-deriv@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com>
Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com>
Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com>
Co-authored-by: yashim-deriv <yashim@deriv.com>
Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@re-work.dev>
Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>
Co-authored-by: Shayan Khaleghparast <100833613+shayan-deriv@users.noreply.github.com>
Co-authored-by: Shayan Khaleghparast <100833613+iman-fs@users.noreply.github.com>
Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com>
Co-authored-by: kate-deriv <121025168+kate-deriv@users.noreply.github.com>
Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com>
Co-authored-by: Farrah Mae Ochoa <farrah@deriv.com>
Co-authored-by: Farzin Mirzaie <farzin@deriv.com>
Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>
Co-authored-by: yashimwong <yashimwong@gmail.com>
Co-authored-by: nada-deriv <122768621+nada-deriv@users.noreply.github.com>
Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com>
Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com>
Co-authored-by: Likhith Kolayari <likhith@regentmarkets.com>
Co-authored-by: sanjam chhatwal <sanjam@deriv.com>
Co-authored-by: Jim Daniels Wasswa <jim@deriv.com>
Co-authored-by: Taysuisin <suisin@regentmarkets.com>
Co-authored-by: sanjam-deriv <99465624+sanjam-deriv@users.noreply.github.com>
Co-authored-by: amir ali <amir.ali@regentmarkets.com>
Co-authored-by: amir-deriv <129206554+amir-deriv@users.noreply.github.com>
Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com>
Co-authored-by: Henry Hein <henry@regentmarkets.com>
Co-authored-by: yaswanth-deriv <121096908+yaswanth-deriv@users.noreply.github.com>
* fix: add video to accumulators info description

* fix: change to has_toggle_buttons and make video component generic

* fix: change to rem

* fix: disable pic-in-pic mode for chrome and firefox

* fix: empty commit

* fix: remove download video option

* fix: empty commit
* fix: updated user guide button in both themes

* fix: user guide button on different language
* fix: padding for language

* redeploy: circleci

* redeploy: vercel

---------

Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com>
Co-authored-by: Hamid <hamid@regentmarkets.com>
Co-authored-by: Thisyahlen Nair <thisyahlen@regentmarkets.com>
Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com>
Co-authored-by: Hamid <hamid@regentmarkets.com>
* chore: fix cfd modal display

* fix: finishing touches ✨
Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com>
Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com>
* build: update max_worker for circleci runner

* build: add accounts build before all the rest

* ci: disable proptypes for ts and tsx on husky

* build: fix typo on the script
…nary-com#9199)

* ci: add overrides attr to eslintrc

* build: add ts to eslint script

* ci: remove override attr
* ci: add overrides attr to eslintrc

* build: add ts to eslint script

* ci: remove override attr

* ci: add overrides to eslint config

* build: remove ts from eslint script
shayan-deriv and others added 24 commits July 10, 2023 18:35
…y-com#9160)

* fix: added missing initial values for reduce()

* fix: revert back workspace_svg changes since they broke bot page

* fix: resolved pr comments

---------

Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com>
* fix: hide placeholder

* fix: hide placeholder

* fix: test_cases

* fix: test_cases
* test: 🧪 adds basic testcases for personal details section component

* test: 🧪 required fields error validation

* test: 🧪 basic tests for first and last name fields

* fix: 🧪 const function reference circleci fix

* refactor: 🧪 renames data-testid as per convention

* test: 🧪 fixes circleci test failure
* chore: add italian language to production

* chore: empty

---------

Co-authored-by: hirad-deriv <hirad@re-work.dev>
…cation_modal_for_dtrader

Amina/feat: pending verification modal
* fix: 🐛 fixed failing testcase

* refactor: ♻️ removed commented lines
* fix: for z-index of performance panel

* fix: for zindex
…inid (binary-com#9017)

* fix: redirect user to correct withdrawal page using loginid

* fix: fixed a typo error

* chore: empty-commit

* chore: empty-commit

* chore: empty-commit

* chore: empty-commit

* chore: empty-commit

* chore: remove useStore usage from redirect.jsx

* chore: added test case for redirect.jsx

* chore: fixed condition for root redirection in redirect.jsx

* chore: empty-commit

* chore: added suggestions from PR comments

* fix: fixed bug for DIEL accounts as well

* chore: removed test file for redirect.spec.jsx

* chore: added suggested change from comments
…ry-com#9204)

* fix: css for compare account af pk mg

* refactor: removed excess residence function and added dynamic css classes

---------

Co-authored-by: Hirad <hirad@regentmarkets.com>
Co-authored-by: Matin shafiei <matin@deriv.com>
* fix: previous-active-route

* fix: for mobile view

* fix: added NaN check

* fix: refactored code

* fix: removed numbers and addded tab names

---------

Co-authored-by: hirad-deriv <hirad@re-work.dev>
* fix: Make-the-tour-previous-and-next-button-bold

* fix: Make-the-tour-previous-and-next-button-bold

* fix: added loacalize

* fix: trigger

* fix: trigger test
…firmation (binary-com#8957)

* feat(cashier): ✨ add `Confirmations` column to crypto transactions history

* refactor(cashier): ♻️ improve `CashierBreadcrumb`

* refactor(cashier): ♻️ improve `PageContainer`

* refactor(cashier): 🚚 move `SwitchToFiatAccountDialog` to components

* refactor(cashier): ♻️ clean-up cashier onboarding components

* feat(cashier): ✨ add `Confirmations` to recent transaction side note

* fix(cashier): ✅ fix failing test

* fix(cashier): ✅ fix failing test

* fix(cashier): 🐛 fix reaise issues

* fix(cashier): 🐛 fix raised issues

* fix(cashier): 🐛 fix raised issues

* fix(cashier): 🐛 fix raised issues

* fix(cashier): 🐛 fix raised issues

* fix(cashier): 🐛 fix raised issues

* fix(cashier): 🐛 fix raised issues

* fix(cashier): 🐛 fix raised issues

* fix(cashier): 📝 resolve conflicts

* fix(cashier): 📝 resolve conflicts

* Merge branch 'master' into farzin/wall-852/show_pending_crypto_deposit_transaction_even_if_0_confirmation

---------

Co-authored-by: Farzin Mirzaie <farzin@deriv.com>
Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com>
Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com>
@shaheer-deriv shaheer-deriv merged commit 1ef7cc9 into shaheer-deriv:shaheer/DIEL_feature_branch Jul 12, 2023
1 check passed
suisin-deriv pushed a commit that referenced this pull request Nov 9, 2023
* refactor: review comments

* refactor: review comments css

* fix: 🐛 incorporated message to display document type

* fix: resolved code smell

* fix: 🐛 incorporated generic error message

* fix: 🐛 added missing dependency

* chore: 🔀 synced with master

* fix: ♻️ incorporated review comments

* fix: resolved un necessary render issue

* fix: 🐛 resolved issue with expired status

* style: fix side container width in poi (#39)

* style: container height fix for POI error messages when content in not overflowing (#40)

* fix: onfido message alignment

* fix: 🐛 incorporated continue trade button

* fix: onfido page mobile

* style: no padding on fields container in idv screen (#41)

* refactor: onfido hint center alignment fix

* fix: odd translate value fix

* fix: 🐛 minor CSS fix

* fix: green message responsive position

* fix: green message full width

* fix: ✅ updated testcases

* fix: failing tests

* refactor: code and ts fixes

* fix: display of IDV error

* chore: add duplication account error

* refactor: added undefined check to response data

* chore: review comments

* chore: review comments

* fix: ⬆️ upgraded SDK and handled language change

* fix: ♻️ incorporated review comments

* fix: ♻️ refactored code to remove useRef

* fix: barriers test fix form master

* fix: barriers test

* chore: refactored object.freeze to as const

* chore: optional chaining to document type

* chore: update spec file for idv-form

* test: update personal-details spec

* chore: review comments

* refactor: ♻️ incorporated hooks to handle business logic

* refactor: css structure

* fix: barriers test

* fix: ⚰️ removed unwanted code

* test: 🔥 removed mocked tokens

* chore: 📝 Added documentation for UseNotificationEvent hook

* fix: 💄 incorporated styling

* fix: ♻️ incorporated review comments

* refactor: rename properties

* refactor: remove is_appstore from tests

* fix: ♻️ incorporated review comments

* refactor: styles refactor

* fix: ⚡ reduced duplicate data

* fix: incorporated review comments

* fix: ♻️ incorporated review comments

* chore: Trigger Build

* fix: 🚚 modified path

* chore: remove unused fila and variable, updated icons

* revert: 🍻 removed icon changes

* refactor: removed formatting

* fix: removed assignment of default values

* fix: 🐛 unable to select a new doc supporting country

* fix: 🐛 resolved re-render issue

* fix: ⚡ resolved message issue

* refactor: 🚚 renamed varibales

* fix: 🧪 failing testcase

* fix: 🐛 resolved issues with failure messages

* fix: 🐛 resolved issue with DIEL accounts

* fix: 🐛 fixed issue for DIEL clients

* fix: styling issues

* fix: ts error for format-response

* build: 📌 updated package-lock after updating onfido-sdk-ui

* fix: 🚚 fixed path

* fix: 🚚 fixed path

* fix: 🐛 resolved styling bugs

* fix: 🐛 resolved styling bugs

* fix: ♻️ removed default values

* fix: 🔥 incorporated new styles to fix icon size

* fix: 🔥 incorporated new styles to fix icon size

* fix: ✅ fixed failing testcase

* fix: 💚 eslint issues

* fix: ⚡ incorporated platform language change

* fix: removed store

* fix: layout styles

* fix: style issues

* fix: styles

* fix: moved common styles to core

* refactor: incorporated review comments

* fix: 💄 updated styles

* fix: 🐛 reverted code

* fix: 🐛 reverted code

* refactor: incorporated review comments

* fix: 🐛 Onfido SDK language code conversion

* fix: migrated hooks

* revert: logic for generating code

* chore: adding missing testcases

* fix: recatored Onfido constants

* fix: onfido screen css issues

* fix: removed package-lock to resolve merge error

* Merge branch 'master' into likhith/KYC-363/onfido-sdk-updation

* chore: added package-lock

* Merge branch 'master' into combined/wall-400/IDV-error-message-handled

* chore: Trigger Build

* fix: bug: /WEBREL-1358/personal-details page and poa page css issue

* fix: layout button

* fix: layout button

* fix: mt5 next button not getting enabled

* fix: resolved issue with button

* fix: resolved issue with button

* fix: resolved missing dropdown

* fix: removed console

* fix: incorporated review comments

* feat: ✨ incorporated new images and merged checkbox feature

* feat: ✨ incorporated new images and merged checkbox feature

* fix: idv failed document type

* fix: removed duplicate import

* fix: incorporated error message scenario

* fix: styling as per new figma

* fix: styling as per new figma

* fix: spacing between fields

* fix: spacing between fields

* fix: spacing between fields

* fix: incorporated new error code and styles as per new figma

* fix: incorporated new error code and styles as per new figma

* Merge branch 'master' into likhith/kyc-195/display-idv-error-messages

* fix: reverted changes

* Incorporate poi context (#55)

* chore: incorporate POIContext to keep track of submission

* chore: reset poi context state upon route change

* refactor: added reset for all path

* fix: changed testcases

---------

Co-authored-by: Likhith Kolayari <likhith@regentmarkets.com>

* fix: code smells

* chore: trigger rebuild

* fix: issue with checkbox

* fix: removed unused import

* fix: added keyboard event

* fix: resolved build failure

* Merge branch 'master' into likhith/KYC-363/onfido-sdk-updation

* fix: Onfido styles

* fix: resolved code-smells

---------

Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com>
Co-authored-by: Shahzaib <shahzaib@deriv.com>
shaheer-deriv pushed a commit that referenced this pull request Nov 23, 2023
…10711)

* fix: ✅ updated testcases

* fix: failing tests

* refactor: code and ts fixes

* fix: display of IDV error

* chore: add duplication account error

* refactor: added undefined check to response data

* chore: review comments

* chore: review comments

* fix: ⬆️ upgraded SDK and handled language change

* fix: ♻️ incorporated review comments

* fix: ♻️ refactored code to remove useRef

* fix: barriers test fix form master

* fix: barriers test

* chore: refactored object.freeze to as const

* chore: optional chaining to document type

* chore: update spec file for idv-form

* test: update personal-details spec

* chore: review comments

* refactor: ♻️ incorporated hooks to handle business logic

* refactor: css structure

* fix: barriers test

* fix: ⚰️ removed unwanted code

* test: 🔥 removed mocked tokens

* chore: 📝 Added documentation for UseNotificationEvent hook

* fix: 💄 incorporated styling

* fix: ♻️ incorporated review comments

* refactor: rename properties

* refactor: remove is_appstore from tests

* fix: ♻️ incorporated review comments

* refactor: styles refactor

* fix: ⚡ reduced duplicate data

* fix: incorporated review comments

* fix: ♻️ incorporated review comments

* chore: Trigger Build

* fix: 🚚 modified path

* chore: remove unused fila and variable, updated icons

* revert: 🍻 removed icon changes

* refactor: removed formatting

* fix: removed assignment of default values

* fix: 🐛 unable to select a new doc supporting country

* fix: 🐛 resolved re-render issue

* fix: ⚡ resolved message issue

* refactor: 🚚 renamed varibales

* fix: 🧪 failing testcase

* fix: 🐛 resolved issues with failure messages

* fix: 🐛 resolved issue with DIEL accounts

* fix: 🐛 fixed issue for DIEL clients

* fix: styling issues

* fix: ts error for format-response

* build: 📌 updated package-lock after updating onfido-sdk-ui

* fix: 🚚 fixed path

* fix: 🚚 fixed path

* fix: 🐛 resolved styling bugs

* fix: 🐛 resolved styling bugs

* fix: ♻️ removed default values

* fix: 🔥 incorporated new styles to fix icon size

* fix: 🔥 incorporated new styles to fix icon size

* fix: ✅ fixed failing testcase

* fix: 💚 eslint issues

* fix: ⚡ incorporated platform language change

* fix: removed store

* fix: layout styles

* fix: style issues

* fix: styles

* fix: moved common styles to core

* refactor: incorporated review comments

* fix: 💄 updated styles

* fix: 🐛 reverted code

* fix: 🐛 reverted code

* refactor: incorporated review comments

* fix: 🐛 Onfido SDK language code conversion

* fix: migrated hooks

* revert: logic for generating code

* chore: adding missing testcases

* fix: recatored Onfido constants

* fix: onfido screen css issues

* fix: removed package-lock to resolve merge error

* Merge branch 'master' into likhith/KYC-363/onfido-sdk-updation

* chore: added package-lock

* Merge branch 'master' into combined/wall-400/IDV-error-message-handled

* chore: Trigger Build

* fix: bug: /WEBREL-1358/personal-details page and poa page css issue

* fix: layout button

* fix: layout button

* fix: mt5 next button not getting enabled

* fix: resolved issue with button

* fix: resolved issue with button

* fix: resolved missing dropdown

* fix: removed console

* fix: incorporated review comments

* feat: ✨ incorporated new images and merged checkbox feature

* feat: ✨ incorporated new images and merged checkbox feature

* refactor: split components

* fix: idv failed document type

* fix: removed duplicate import

* fix: incorporated error message scenario

* fix: styling as per new figma

* fix: styling as per new figma

* fix: spacing between fields

* fix: spacing between fields

* fix: spacing between fields

* fix: incorporated new error code and styles as per new figma

* fix: incorporated new error code and styles as per new figma

* feat: incorporated idv-error codes

* Merge branch 'master' into likhith/kyc-195/display-idv-error-messages

* fix: reverted changes

* Incorporate poi context (#55)

* chore: incorporate POIContext to keep track of submission

* chore: reset poi context state upon route change

* refactor: added reset for all path

* fix: changed testcases

---------

Co-authored-by: Likhith Kolayari <likhith@regentmarkets.com>

* fix: incorporated Onfido error messages

* chore: removed dead code

* fix: incorporated review comments

* fix: incorporated review comments

* fix: import paths

* fix: Onfido error for failed selfie check

* fix: incorporated missing status code

* fix: button width

* fix: Error text for Failure of IDV

* fix: changed icon badge

* fix: onfido check in POI

* fix: failing testcase

* fix: user flow for POI

* fix: layout for Expired scenario in onfido

* fix: styling of erro message

* fix: code smells

* chore: trigger rebuild

* fix: issue with checkbox

* fix: removed unused import

* fix: added keyboard event

* fix: resolved build failure

* Merge branch 'master' into likhith/KYC-363/onfido-sdk-updation

* fix: Onfido styles

* fix: resolved code-smells

* fix: resolved code smells

* fix: code styling

* fix: review comments

---------

Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com>
Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: Shahzaib <shahzaib@deriv.com>
shaheer-deriv pushed a commit that referenced this pull request Nov 28, 2023
…-com#10942)

* style: fix side container width in poi (#39)

* style: container height fix for POI error messages when content in not overflowing (#40)

* fix: onfido message alignment

* fix: 🐛 incorporated continue trade button

* fix: onfido page mobile

* style: no padding on fields container in idv screen (#41)

* refactor: onfido hint center alignment fix

* fix: odd translate value fix

* fix: 🐛 minor CSS fix

* fix: green message responsive position

* fix: green message full width

* fix: ✅ updated testcases

* fix: failing tests

* refactor: code and ts fixes

* fix: display of IDV error

* chore: add duplication account error

* refactor: added undefined check to response data

* chore: review comments

* chore: review comments

* fix: ⬆️ upgraded SDK and handled language change

* fix: ♻️ incorporated review comments

* fix: ♻️ refactored code to remove useRef

* fix: barriers test fix form master

* fix: barriers test

* chore: refactored object.freeze to as const

* chore: optional chaining to document type

* chore: update spec file for idv-form

* test: update personal-details spec

* chore: review comments

* refactor: ♻️ incorporated hooks to handle business logic

* refactor: css structure

* fix: barriers test

* fix: ⚰️ removed unwanted code

* test: 🔥 removed mocked tokens

* chore: 📝 Added documentation for UseNotificationEvent hook

* fix: 💄 incorporated styling

* fix: ♻️ incorporated review comments

* refactor: rename properties

* refactor: remove is_appstore from tests

* fix: ♻️ incorporated review comments

* refactor: styles refactor

* fix: ⚡ reduced duplicate data

* fix: incorporated review comments

* fix: ♻️ incorporated review comments

* chore: Trigger Build

* fix: 🚚 modified path

* chore: remove unused fila and variable, updated icons

* revert: 🍻 removed icon changes

* refactor: removed formatting

* fix: removed assignment of default values

* fix: 🐛 unable to select a new doc supporting country

* fix: 🐛 resolved re-render issue

* fix: ⚡ resolved message issue

* refactor: 🚚 renamed varibales

* fix: 🧪 failing testcase

* fix: 🐛 resolved issues with failure messages

* fix: 🐛 resolved issue with DIEL accounts

* fix: 🐛 fixed issue for DIEL clients

* fix: styling issues

* fix: ts error for format-response

* build: 📌 updated package-lock after updating onfido-sdk-ui

* fix: 🚚 fixed path

* fix: 🚚 fixed path

* fix: 🐛 resolved styling bugs

* fix: 🐛 resolved styling bugs

* fix: ♻️ removed default values

* fix: 🔥 incorporated new styles to fix icon size

* fix: 🔥 incorporated new styles to fix icon size

* fix: ✅ fixed failing testcase

* fix: 💚 eslint issues

* fix: ⚡ incorporated platform language change

* fix: removed store

* fix: layout styles

* fix: style issues

* fix: styles

* fix: moved common styles to core

* refactor: incorporated review comments

* fix: 💄 updated styles

* fix: 🐛 reverted code

* fix: 🐛 reverted code

* refactor: incorporated review comments

* fix: 🐛 Onfido SDK language code conversion

* fix: migrated hooks

* revert: logic for generating code

* chore: adding missing testcases

* fix: recatored Onfido constants

* fix: onfido screen css issues

* fix: removed package-lock to resolve merge error

* Merge branch 'master' into likhith/KYC-363/onfido-sdk-updation

* chore: added package-lock

* Merge branch 'master' into combined/wall-400/IDV-error-message-handled

* chore: Trigger Build

* fix: bug: /WEBREL-1358/personal-details page and poa page css issue

* fix: layout button

* fix: layout button

* fix: mt5 next button not getting enabled

* fix: resolved issue with button

* fix: resolved issue with button

* fix: resolved missing dropdown

* fix: removed console

* fix: incorporated review comments

* feat: ✨ incorporated new images and merged checkbox feature

* feat: ✨ incorporated new images and merged checkbox feature

* fix: idv failed document type

* fix: removed duplicate import

* fix: incorporated error message scenario

* fix: styling as per new figma

* fix: styling as per new figma

* fix: spacing between fields

* fix: spacing between fields

* fix: spacing between fields

* fix: incorporated new error code and styles as per new figma

* fix: incorporated new error code and styles as per new figma

* Merge branch 'master' into likhith/kyc-195/display-idv-error-messages

* fix: reverted changes

* Incorporate poi context (#55)

* chore: incorporate POIContext to keep track of submission

* chore: reset poi context state upon route change

* refactor: added reset for all path

* fix: changed testcases

---------

Co-authored-by: Likhith Kolayari <likhith@regentmarkets.com>

* feat: added message for High risk

* refactor: incorporated review comment

* fix: added the right check for high-risk

* refactor: incorporated review comments

* fix: resolved issues pointed out in sonar-cloud

* fix: code smells

* chore: trigger rebuild

* fix: issue with checkbox

* fix: added CSS changes to resolve the spacing

* fix: added CSS changes to resolve the spacing

* fix: removed unused import

* fix: added keyboard event

* fix: resolved build failure

* Merge branch 'master' into likhith/KYC-363/onfido-sdk-updation

* fix: Onfido styles

* fix: resolved code-smells

* fix: Content changes

---------

Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com>
Co-authored-by: Shahzaib <shahzaib@deriv.com>
Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
shaheer-deriv pushed a commit that referenced this pull request Dec 5, 2023
…11912)

* fix: ✅ updated testcases

* fix: failing tests

* refactor: code and ts fixes

* fix: display of IDV error

* chore: add duplication account error

* refactor: added undefined check to response data

* chore: review comments

* chore: review comments

* fix: ⬆️ upgraded SDK and handled language change

* fix: ♻️ incorporated review comments

* fix: ♻️ refactored code to remove useRef

* fix: barriers test fix form master

* fix: barriers test

* chore: refactored object.freeze to as const

* chore: optional chaining to document type

* chore: update spec file for idv-form

* test: update personal-details spec

* chore: review comments

* refactor: ♻️ incorporated hooks to handle business logic

* refactor: css structure

* fix: barriers test

* fix: ⚰️ removed unwanted code

* test: 🔥 removed mocked tokens

* chore: 📝 Added documentation for UseNotificationEvent hook

* fix: 💄 incorporated styling

* fix: ♻️ incorporated review comments

* refactor: rename properties

* refactor: remove is_appstore from tests

* fix: ♻️ incorporated review comments

* refactor: styles refactor

* fix: ⚡ reduced duplicate data

* fix: incorporated review comments

* fix: ♻️ incorporated review comments

* chore: Trigger Build

* fix: 🚚 modified path

* chore: remove unused fila and variable, updated icons

* revert: 🍻 removed icon changes

* refactor: removed formatting

* fix: removed assignment of default values

* fix: 🐛 unable to select a new doc supporting country

* fix: 🐛 resolved re-render issue

* fix: ⚡ resolved message issue

* refactor: 🚚 renamed varibales

* fix: 🧪 failing testcase

* fix: 🐛 resolved issues with failure messages

* fix: 🐛 resolved issue with DIEL accounts

* fix: 🐛 fixed issue for DIEL clients

* fix: styling issues

* fix: ts error for format-response

* build: 📌 updated package-lock after updating onfido-sdk-ui

* fix: 🚚 fixed path

* fix: 🚚 fixed path

* fix: 🐛 resolved styling bugs

* fix: 🐛 resolved styling bugs

* fix: ♻️ removed default values

* fix: 🔥 incorporated new styles to fix icon size

* fix: 🔥 incorporated new styles to fix icon size

* fix: ✅ fixed failing testcase

* fix: 💚 eslint issues

* fix: ⚡ incorporated platform language change

* fix: removed store

* fix: layout styles

* fix: style issues

* fix: styles

* fix: moved common styles to core

* refactor: incorporated review comments

* fix: 💄 updated styles

* fix: 🐛 reverted code

* fix: 🐛 reverted code

* refactor: incorporated review comments

* fix: 🐛 Onfido SDK language code conversion

* fix: migrated hooks

* revert: logic for generating code

* chore: adding missing testcases

* fix: recatored Onfido constants

* fix: onfido screen css issues

* fix: removed package-lock to resolve merge error

* Merge branch 'master' into likhith/KYC-363/onfido-sdk-updation

* chore: added package-lock

* Merge branch 'master' into combined/wall-400/IDV-error-message-handled

* chore: Trigger Build

* fix: bug: /WEBREL-1358/personal-details page and poa page css issue

* fix: layout button

* fix: layout button

* fix: mt5 next button not getting enabled

* fix: resolved issue with button

* fix: resolved issue with button

* fix: resolved missing dropdown

* fix: removed console

* fix: incorporated review comments

* feat: ✨ incorporated new images and merged checkbox feature

* feat: ✨ incorporated new images and merged checkbox feature

* refactor: split components

* fix: idv failed document type

* fix: removed duplicate import

* fix: incorporated error message scenario

* fix: styling as per new figma

* fix: styling as per new figma

* fix: spacing between fields

* fix: spacing between fields

* fix: spacing between fields

* fix: incorporated new error code and styles as per new figma

* fix: incorporated new error code and styles as per new figma

* feat: incorporated idv-error codes

* Merge branch 'master' into likhith/kyc-195/display-idv-error-messages

* fix: reverted changes

* Incorporate poi context (#55)

* chore: incorporate POIContext to keep track of submission

* chore: reset poi context state upon route change

* refactor: added reset for all path

* fix: changed testcases

---------

Co-authored-by: Likhith Kolayari <likhith@regentmarkets.com>

* fix: incorporated Onfido error messages

* chore: removed dead code

* fix: incorporated review comments

* fix: incorporated review comments

* fix: import paths

* fix: Onfido error for failed selfie check

* fix: incorporated missing status code

* fix: button width

* fix: Error text for Failure of IDV

* fix: changed icon badge

* fix: onfido check in POI

* fix: failing testcase

* fix: user flow for POI

* fix: layout for Expired scenario in onfido

* fix: styling of erro message

* fix: code smells

* chore: trigger rebuild

* fix: issue with checkbox

* fix: removed unused import

* fix: added keyboard event

* fix: resolved build failure

* Merge branch 'master' into likhith/KYC-363/onfido-sdk-updation

* fix: Onfido styles

* fix: resolved code-smells

* fix: resolved code smells

* fix: code styling

* fix: review comments

* Merge remote-tracking branch 'upstream/master' into likhith/WALL-1714/enhance-error-message-handling-for-poi

* Merge remote-tracking branch 'upstream/master' into likhith/WALL-1714/enhance-error-message-handling-for-poi

* Merge remote-tracking branch 'upstream/master' into likhith/WALL-1714/enhance-error-message-handling-for-poi

---------

Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com>
Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: Shahzaib <shahzaib@deriv.com>
shaheer-deriv pushed a commit that referenced this pull request Dec 5, 2023
…11977)

* fix: ✅ updated testcases

* fix: failing tests

* refactor: code and ts fixes

* fix: display of IDV error

* chore: add duplication account error

* refactor: added undefined check to response data

* chore: review comments

* chore: review comments

* fix: ⬆️ upgraded SDK and handled language change

* fix: ♻️ incorporated review comments

* fix: ♻️ refactored code to remove useRef

* fix: barriers test fix form master

* fix: barriers test

* chore: refactored object.freeze to as const

* chore: optional chaining to document type

* chore: update spec file for idv-form

* test: update personal-details spec

* chore: review comments

* refactor: ♻️ incorporated hooks to handle business logic

* refactor: css structure

* fix: barriers test

* fix: ⚰️ removed unwanted code

* test: 🔥 removed mocked tokens

* chore: 📝 Added documentation for UseNotificationEvent hook

* fix: 💄 incorporated styling

* fix: ♻️ incorporated review comments

* refactor: rename properties

* refactor: remove is_appstore from tests

* fix: ♻️ incorporated review comments

* refactor: styles refactor

* fix: ⚡ reduced duplicate data

* fix: incorporated review comments

* fix: ♻️ incorporated review comments

* chore: Trigger Build

* fix: 🚚 modified path

* chore: remove unused fila and variable, updated icons

* revert: 🍻 removed icon changes

* refactor: removed formatting

* fix: removed assignment of default values

* fix: 🐛 unable to select a new doc supporting country

* fix: 🐛 resolved re-render issue

* fix: ⚡ resolved message issue

* refactor: 🚚 renamed varibales

* fix: 🧪 failing testcase

* fix: 🐛 resolved issues with failure messages

* fix: 🐛 resolved issue with DIEL accounts

* fix: 🐛 fixed issue for DIEL clients

* fix: styling issues

* fix: ts error for format-response

* build: 📌 updated package-lock after updating onfido-sdk-ui

* fix: 🚚 fixed path

* fix: 🚚 fixed path

* fix: 🐛 resolved styling bugs

* fix: 🐛 resolved styling bugs

* fix: ♻️ removed default values

* fix: 🔥 incorporated new styles to fix icon size

* fix: 🔥 incorporated new styles to fix icon size

* fix: ✅ fixed failing testcase

* fix: 💚 eslint issues

* fix: ⚡ incorporated platform language change

* fix: removed store

* fix: layout styles

* fix: style issues

* fix: styles

* fix: moved common styles to core

* refactor: incorporated review comments

* fix: 💄 updated styles

* fix: 🐛 reverted code

* fix: 🐛 reverted code

* refactor: incorporated review comments

* fix: 🐛 Onfido SDK language code conversion

* fix: migrated hooks

* revert: logic for generating code

* chore: adding missing testcases

* fix: recatored Onfido constants

* fix: onfido screen css issues

* fix: removed package-lock to resolve merge error

* Merge branch 'master' into likhith/KYC-363/onfido-sdk-updation

* chore: added package-lock

* Merge branch 'master' into combined/wall-400/IDV-error-message-handled

* chore: Trigger Build

* fix: bug: /WEBREL-1358/personal-details page and poa page css issue

* fix: layout button

* fix: layout button

* fix: mt5 next button not getting enabled

* fix: resolved issue with button

* fix: resolved issue with button

* fix: resolved missing dropdown

* fix: removed console

* fix: incorporated review comments

* feat: ✨ incorporated new images and merged checkbox feature

* feat: ✨ incorporated new images and merged checkbox feature

* refactor: split components

* fix: idv failed document type

* fix: removed duplicate import

* fix: incorporated error message scenario

* fix: styling as per new figma

* fix: styling as per new figma

* fix: spacing between fields

* fix: spacing between fields

* fix: spacing between fields

* fix: incorporated new error code and styles as per new figma

* fix: incorporated new error code and styles as per new figma

* feat: incorporated idv-error codes

* Merge branch 'master' into likhith/kyc-195/display-idv-error-messages

* fix: reverted changes

* Incorporate poi context (#55)

* chore: incorporate POIContext to keep track of submission

* chore: reset poi context state upon route change

* refactor: added reset for all path

* fix: changed testcases

---------

Co-authored-by: Likhith Kolayari <likhith@regentmarkets.com>

* fix: incorporated Onfido error messages

* chore: removed dead code

* fix: incorporated review comments

* fix: incorporated review comments

* fix: import paths

* fix: Onfido error for failed selfie check

* fix: incorporated missing status code

* fix: button width

* fix: Error text for Failure of IDV

* fix: changed icon badge

* fix: onfido check in POI

* fix: failing testcase

* fix: user flow for POI

* fix: layout for Expired scenario in onfido

* fix: styling of erro message

* fix: code smells

* chore: trigger rebuild

* fix: issue with checkbox

* fix: removed unused import

* fix: added keyboard event

* fix: resolved build failure

* Merge branch 'master' into likhith/KYC-363/onfido-sdk-updation

* fix: Onfido styles

* fix: resolved code-smells

* fix: resolved code smells

* fix: code styling

* fix: review comments

* Merge remote-tracking branch 'upstream/master' into likhith/WALL-1714/enhance-error-message-handling-for-poi

* Merge remote-tracking branch 'upstream/master' into likhith/WALL-1714/enhance-error-message-handling-for-poi

* Merge remote-tracking branch 'upstream/master' into likhith/WALL-1714/enhance-error-message-handling-for-poi

* chore: trigger rebuild

---------

Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: Shahzaib <shahzaib@deriv.com>
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.