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

Niloofar Sadeghi / Task - Refactor tests in the toggle-positions.spec.tsx file #7287

Merged

Conversation

niloofar-deriv
Copy link
Contributor

@niloofar-deriv niloofar-deriv commented Jan 3, 2023

Changes:

Please include a summary of the change and which issue is fixed below:

  • ...

When you need to add unit test

  • If this change disrupt current flow
  • If this change is adding new flow

When you need to add integration test

  • If components from external libraries are being used to define the flow, e.g. @deriv/components
  • If it relies on a very specific set of props with no default behavior for the current component.

Test coverage checklist (for reviewer)

  • Ensure utility / function has a test case
  • Ensure all the tests are passing

Type of change

  • Bug fix
  • New feature
  • Update feature
  • Refactor code
  • Translation to code
  • Translation to crowdin
  • Script configuration
  • Improve performance
  • Style only
  • Dependency update
  • Documentation update
  • Release

@vercel
Copy link

vercel bot commented Jan 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
deriv-app ✅ Ready (Inspect) Visit Preview Jan 3, 2023 at 4:42PM (UTC)

@sonarcloud
Copy link

sonarcloud bot commented Jan 3, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@github-actions
Copy link
Contributor

github-actions bot commented Jan 3, 2023

A production App ID was automatically generated for this PR. (log)

Click here to copy & paste above information.
- **PR**: [https://github.com/binary-com/deriv-app/pull/7287](https://github.com/binary-com/deriv-app/pull/7287)
- **URLs**:
    - **w/ App ID + Server**: https://deriv-app-git-fork-niloofar-deriv-niloofar-83465refactor-tests.binary.sx?qa_server=frontend.binaryws.com&app_id=32227
    - **Original**: https://deriv-app-git-fork-niloofar-deriv-niloofar-83465refactor-tests.binary.sx
- **App ID**: `32227`

@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (develop@ad1dc0b). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop    #7287   +/-   ##
==========================================
  Coverage           ?   19.51%           
==========================================
  Files              ?     1477           
  Lines              ?    34587           
  Branches           ?     6366           
==========================================
  Hits               ?     6749           
  Misses             ?    27325           
  Partials           ?      513           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@farrah-deriv farrah-deriv merged commit 325d629 into binary-com:develop Jan 16, 2023
vinu-deriv pushed a commit that referenced this pull request Jan 17, 2023
Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>
farrah-deriv added a commit that referenced this pull request Jan 26, 2023
…hook (#7365)

* Shayan/52349/react17 migration (#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 (#7344)

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

* Revert "fix: 🐛 resolved issue with trade. odal (#7291)" (#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` (#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 (#7325)

* refactor: language tests

* fix: typo

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

* refactor: proposal tests (#7327)

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

* Niloofar Sadeghi / Task - Refactor tests in the error.spec.js file (#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 (#7288)

* refactor: binary-link tests

* refactor: improve testids namings

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

* refactor: money tests (#7353)

* refactor: toggle-positions tests (#7287)

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

* refactor: toggle-button tests (#7328)

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

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

* refactor: toggle-button-group tests

* fix: test issue

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

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

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

* refactor: remove extra files from reports

* refactor: marker-spot-label tests

* Niloofar Sadeghi / Task - Refactor tests in the binary-link.spec.tsx file (#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 (#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 (#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

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>
farrah-deriv added a commit that referenced this pull request Jan 27, 2023
…ge (#7278)

* refactor(cashier): 🔥 remove `mobx-react-lite` from `cashier`

* refactor(cashier): ♻️ replace `connect` with `useStore` for remaining components

* refactor(cashier): ♻️ fix test files to use `StoreProvider`

* refactor(cashier): 🔥 remove `connect` from `cashier`

* refactor(cashier): 🔥 remove extra store related types from `cashier`

* fix(stores): 🐛 stop persisting the stores when store is unmount

* feat(cashier): ✨ add `useCashierStore` hook

* refactor(cashier): ♻️ replace `modules.cashier` with `useCashierStore` hook

* refactor(cashier): ♻️ remove `useStore` hook return type override

* fix(cashier): 📝 resolve PR conflicts

* test(cashier): ✅ fix the tests

* chore(cashier): 🚚 rename `cashier_providers.tsx` to `cashier-providers.tsx`

* Shayan/52349/react17 migration (#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>

* test(cashier): ✅ fix the tests

* test(cashier): ✅ fix the tests

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

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

* feat(api): 🧑‍💻 improve `@deriv/api` typings

* chore(cashier): ✏️ fix React 17 type issue with `PropsWithChildren`

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

This reverts commit b6f7e4c.

* Farzin/85054/Call `resetWithrawForm` on `CryptoWithdrawForm` component `onunmount` (#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 (#7325)

* refactor: language tests

* fix: typo

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

* refactor: proposal tests (#7327)

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

* Niloofar Sadeghi / Task - Refactor tests in the error.spec.js file (#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 (#7288)

* refactor: binary-link tests

* refactor: improve testids namings

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

* refactor: money tests (#7353)

* refactor: toggle-positions tests (#7287)

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

* refactor: toggle-button tests (#7328)

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

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

* refactor: toggle-button-group tests

* fix: test issue

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

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

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

* refactor: remove extra files from reports

* refactor: marker-spot-label tests

* Niloofar Sadeghi / Task - Refactor tests in the binary-link.spec.tsx file (#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 (#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 (#7282)

* refactor: platform-dropdown tests

* refactor: improve testids namings

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

Co-authored-by: Farzin Mirzaie <farzin@deriv.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: Matin shafiei <matin@deriv.com>
Co-authored-by: Niloofar Sadeghi <93518187+niloofar-deriv@users.noreply.github.com>
Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>
sandeep-deriv added a commit that referenced this pull request Feb 1, 2023
* Shayan/52349/react17 migration (#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 (#7344)

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

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

This reverts commit b6f7e4c.

* Farzin/85054/Call `resetWithrawForm` on `CryptoWithdrawForm` component `onunmount` (#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 (#7325)

* refactor: language tests

* fix: typo

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

* refactor: proposal tests (#7327)

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

* Niloofar Sadeghi / Task - Refactor tests in the error.spec.js file (#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 (#7288)

* refactor: binary-link tests

* refactor: improve testids namings

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

* refactor: money tests (#7353)

* refactor: toggle-positions tests (#7287)

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

* refactor: toggle-button tests (#7328)

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

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

* refactor: toggle-button-group tests

* fix: test issue

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

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

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

* refactor: remove extra files from reports

* refactor: marker-spot-label tests

* Niloofar Sadeghi / Task - Refactor tests in the binary-link.spec.tsx file (#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 (#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 (#7282)

* refactor: platform-dropdown tests

* refactor: improve testids namings

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

* Farzin/76563/Replace `DepositStore` with hooks (#7180)

* refactor(cashier): 🔥 remove `is_deposit_locked` from `DepositStore`

* refactor(cashier): 🔥 remove `submitFundsProtection` from `DepositStore`

* fix(cashier): 💚 fix CI build

* fix(cashier): 💚 fix CI build

* test(hooks): ✅ add more test cases for `useDepositLocked` hook

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

* Adrienne / Github actions Lighthouse report workflow (#7317)

* chore: added checks to job to run only on pull requests

* chore: fixed issues with testing

* chore: testing github actions running on local branch

* chore: added workflow_dispatch event to test out manually

* chore: added workflow_dispatch event to test out manually

* chore: added workflow_dispatch event to test out manually

* chore: fix typo

* chore: fix issue where lighthouse config file is not found

* chore: fix issue where lighthouse config file is not found

* chore: test with hardcoded url

* chore: test with updated permissions

* chore: reverted changes due to lack of token permission

* chore: reverted changes due to lack of token permission

* chore: added progress comment

* chore: added progress comment

* chore: test

* chore: reverted test

* chore: reverted test

* chore: commented config path for lighthouse assertions

* chore: fixed syntax on like 38 where it expects a string instead of mapping

* translations: 📚 sync translations with crowdin (#7361)

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

Co-authored-by: Jim Daniels Wasswa <104334373+jim-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>

* likhith/POI status fix (#6792)

* feat: 🐛 POI status fix

* fix: ♻️ incorporated review comments

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

* translations: 📚 sync translations with crowdin (#7383)

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

* Suisin/chore: Notifications for gathering users POI and POA (#7381)

* chore: Notifications for gathering users POI and POA

* chore: resolve subtasks bugs

* chore: remove unused component

* chore: remove unused component

* chore: add and remove lines

* Shayan/86260/fix collapsable panel placeholder alignment (#7389)

* checking circle/ci test

* removed test changes

* fix: fixed react-content-loader in small screen

* fix: fixed react-content-loader issue with dark-mode

Co-authored-by: Shayan Khaleghparast <100833613+iman-fs@users.noreply.github.com>
Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com>

* fix: yml script (#7398)

* fix: yml script

* fix: added script to lighthouse

* sandeep/fix: dbot-slowness issue v2 (#7345)

* fix: multiplier is not working fine with the dbot slowness fix

* fix: please log in issue caused due to performance optimization

* Revert "Revert V20230106_0 (#7334)"

This reverts commit 69825d3.

* fix: multiplier contract purchase

* fix: removed multiplier check and new ws creation

* chore: clear timeout resolvers on bot close

Co-authored-by: balakrishna-binary <bala.krishna@regentmarkets.com>
Co-authored-by: Prince <prince@deriv.com>

* Revert "sandeep/fix: dbot-slowness issue v2 (#7345)" (#7407)

This reverts commit 0511e7f.

* Hamza/85369/clear button for notifications (#7348)

* chore: removed the unused variables v1.1

* feat: Mobile view Clear Functionality v1.2

* refactor: removed the commented code and added nit pick

* chore: css changes from hex to variables and px to rem

* fix: console error check 85369

* chore: textual change 85884 (#7409)

* fix: Higher/Lower Trade type contracts Rise/Fall is shown (#7346)

* Akmal / fix position drawer background (#7178)

* fix: position drawer background

* fix: sidebar width for empty list

* likhith/fix: 🐛 resolved flickering issue in platform switcher (#7342)

* fix: 🐛 resolved f;iclering issue in p[latform switcher

* refactor: ♻️ refactored code

* feat: reordered code block

* carol/P2P: Fix recommendation bug (#6712)

* fix recommendation

* Shayan/52349/react17 migration (#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 (#7344)

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

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

This reverts commit b6f7e4c.

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

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

* test(cashier): ✅ fix failing test

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

* fix: subtask

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 <72082844+farzin-deriv@users.noreply.github.com>
Co-authored-by: Farzin Mirzaie <farzin@deriv.com>

* fix: replaced old text with new one for modal title (#7337)

* Kate/ 84149/ getting error after changing language from account setting page (#7336)

* fix: remove extra call function from onclick in languagesettings component

* fix: Trigger codecov

* Ameerul /Task 84193 Deriv P2P - Encourage/Initiate Users to Create Ads when there are no ads on the Buy/Sell screen (#7257)

* chore: added new component to show no ads

* chore: fixed styling for mobile, added routing to create ad page

* chore: changed message for desktop

* chore: added missing fullstop

* chore: removed (hit the button) text

* chore: removed setTimeout

* chore: added emoji and fixed route to correct create ad page

* chore: added check if user is on different currency

* chore: updated text

* fix: fixed encourage message

* chore: added missing at in message

* fix: changed the emoji

* chore: fixed user is barred

* chore: wrapped NoAds with observer

* chore: fixed message for no ads

* chore: changed title

* chore: changed css styling for currency dropdown (#7221)

* Rostislav / 82947  / Task remove Changelly and Xanpool from Fiat Onramp (#7263)

* refactor: remove changelly and xanpool related code; change changelly tests to banxa; remove icons

* refactor: applied suggestions

* test: fix tests

* fix: tests mock fix

* fix: more tests fixed

* fix: a few extra changes

* Sandeep/85441/dbot performance fix 2  clone (#7408)

* fix: multiplier is not working fine with the dbot slowness fix

* fix: please log in issue caused due to performance optimization

* Revert "Revert V20230106_0 (#7334)"

This reverts commit 69825d3.

* fix: multiplier contract purchase

* fix: removed multiplier check and new ws creation

* chore: clear timeout resolvers on bot close

Co-authored-by: balakrishna-binary <bala.krishna@regentmarkets.com>
Co-authored-by: Prince <prince@deriv.com>

* translations: 📚 sync translations with crowdin (#7411)

Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com>
Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com>

* Add permissions to GITHUB_TOKEN (#7422)

* chore: github_token permissions (#7423)

* Specify GITHUB_TOKEN permissions for lighthouse.yml (#7424)

* fix: clear all button in notifications dialog (#7425)

* Suisin/84164/wrong fe request format (#7227)

* fix: sending wrong request to BE from websocket

* fix: added conditional check on currency before making WS callon traders-hub

* hamza/hotfix: dp2p notification comming incase of 2 accounts (#7433)

* hotfix: dp2p notification comming incase of 2 accounts

* fix: check for more notifications

* chore: loginId from variable

* fix: missing dropdown menu (#7420)

* translations: 📚 sync translations with crowdin (#7439)

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

* Farzin/85855/Refactor `ToggleMenuDrawer` component to use `useStore` hook (#7365)

* Shayan/52349/react17 migration (#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 (#7344)

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

* Revert "fix: 🐛 resolved issue with trade. odal (#7291)" (#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` (#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 (#7325)

* refactor: language tests

* fix: typo

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

* refactor: proposal tests (#7327)

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

* Niloofar Sadeghi / Task - Refactor tests in the error.spec.js file (#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 (#7288)

* refactor: binary-link tests

* refactor: improve testids namings

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

* refactor: money tests (#7353)

* refactor: toggle-positions tests (#7287)

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

* refactor: toggle-button tests (#7328)

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

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

* refactor: toggle-button-group tests

* fix: test issue

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

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

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

* refactor: remove extra files from reports

* refactor: marker-spot-label tests

* Niloofar Sadeghi / Task - Refactor tests in the binary-link.spec.tsx file (#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 (#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 (#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

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>

* Ameerul /Feature 82816 Block User Phase 2 (#7153)

* chore: changed tab to block users, change button style, added dropdown

* chore: refactored+restructured block-user-table files and fixed show verification component

* chore: user can now route to advertiser page from block users tab

* chore: removed comments, fixed icon

* chore: added icon, refactored block-user-list, fixed handling barred user

* chore: fixed block/unblock user if they are barred

* chore: integrated backend, display trade partners, search and dropdown

* chore: fixed styling, added filter modal/dropdown, refactored code

* fix: added suggestions

* fix: redirection when hiding advertiser page

* fix: changed block users label

* chore: fix button sizing, changed text, removed autosizer

* chore: show no users to show if user has no blocked users. changed no ads text

* chore: fixed block user modal padding issues

* chore: put autosizer back, changed table styling, changed logic for displaying dropdown values

* chore: removed styling

* chore: fixed duplicate rows for trade partners list

* chore: added error modal in block user tab if user B is banned whilst blocking

* chore: dont allow barred user to navigate to advertisers page, fixed styling issue stats

* chore: fixed navigation issue, styling, button hovering issue on mobile

* chore: changed Block users to My Counterparties

* chore: changed Counterparties to counterparties

* chore: fix hovering issue on button

* chore: removed hover effect in mobile for buttons

* chore: fixed block issue on sell order

Co-authored-by: Farrah Mae Ochoa <farrah@deriv.com>

* translations: 📚 sync translations with crowdin (#7446)

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

* Feature/82781/diel_for_all (#7311)

* fix: exit button issue

* fix: hide currency selection modal if user has an mf mt5 account

* fix: fixed an error in mobile mode and added isOnboardingVisited again

* fix: remove toggleExitTradersHubModal action from traders-hub-store

* fix: css styles

* fix: currency selector for EU demo

* fix: currency auto selecting first currency after refresh

* fix: tradershub header issues on mobile

* fix: multipliers_status_badge

* fix: demo_low_risk flg in tradershub store

* fix: add or remove modal

* fix: reloading of account_switcher

* chore: update currency switcher styles

* chore: hide derivx for low_risk_cr_eu clients for real and demo

* chore: update styles for currency switcher

* fix: mt5 dashboard fix

* fix: test cases

* fix: test case

* fix: fixed the alignment issue of password-selection-modal

* fix: switching on exit traders modal

* chore: show appropriate information on the account switcher in the old UI

* fix: next button disabled in eu signup

* fix: test case fix

* fix: account switcher

* fix: manage account in account switcher

* fix: dxtrade error

* fix: redirecting for traders_hub

* fix: header traders hub cursor pointer

* fix: acc switcher

* fix: fixing issues of the tour guide

* fix: change regulations to regulation

* fix: regulations v2

* fix: icon and message

* fix: cursor pointer for status badge

* fix: mf real account signup width

* fix: real account signup modal

* fix: place of birth for eu

* fix: tests

* fix: fixed the scroll issue and added a new condition to tour guide

* fix: removed the redundant line of trading-hub-header

* fix: made a small change for the handle scroll function

* fix: replaced interval with timeout

* fix: hide idv for EU

* fix: some capital characters

* fix: signup modal title

* fix: regulation compare table scroll smooth

* fix: compare account modal

* fix: responsive alignment

* fix: fix popup content

* fix: malta description fix and styles

* fix: regulation responsive scroll

* fix: compare account modal

* fix: update jurisdiction content

* fix: jurisdiction content

* fix: get_more_btn

* fix: regulators

* fix: css for account type dropdown

* fix: add options account for eu

* fix: onboarding content desc

* fix: onboarding content at stage 5

* fix: onboarding platform names

* chore: hide region for new accounts

* fix: add options account

* fix: design-difference-in-transfer-popup

* fix: regulator table scroll

* fix: success modal meesage

* fix: responsive scroll dashboard

* fix: regulation switcher appearing for high risk

* fix: 86699_stock_to_stocks

* fix: fix add new account

* fix: traders hub header dark theme icon

* fix: tooltip description for non-eu

* fix: dropdown icon for onboarding currency switcher

* fix: add short code text for derived and financial accounts

* fix: eu currency switcher showing in non-eu

* fix: change dmt5 to deriv mt5 in total assets

* fix: cfd learn more link

* test: fix tests

* fix: dark_mode_status_badge

* fix: add icon for deriv and financial accounts in receipt

* refactor: code refactoring

* fix: transfer now to top-up now

* fix: total assets to be shown based on selected region

* fix: total assets to be shown based on selected region

* fix: loginid error on logout

* fix: show popover in mobile

* fix: disable click on tourguide overlay and remove setting accountType on tour guide

* fix: onboarding footer

* fix: test failure

* fix: fixed the background color issue of onboarding in dark theme

* fix: region seitcher in mobile view

* fix: fixed the glitch issue with onboarding

* fix: fixed the issue of tour guide

* fix: dont show loader if user has no account when switching

* fix: deposit now style in cashier transfer modal

* fix: dashboard title size

* fix: decreased the delays

* fix: redirect to static pages

* fix: fixed the localization issue of tour guide

* fix: remove balance when account has mt5 status

* fix: regulation switcher glitch in high risk

* fix: onboarding labels

* fix: pointer display

* fix: status badge icon overflow and total assets currency in dark theme

* fix: success_message

* fix: minor issues in contents

* fix: account from field should be tha same as trading account

* trigger codecov

* fix: top-up to transfer

* fix: switch account to real for demo_low_risk

* fix: can create deriv x account if user has no cr account and status badge icon css

* fix: status badge color inconsistency and size

* fix: deriv x trade modal huawei css

* fix: jurisdiction modal content

* Account fix selected to (#27)

* fix: default selected to account

* fix: account transfer switch to default client acc

* fix: onboarding footer text padding

* fix: real account needed modal for mt5 if user has no cr account

* fix: eu onboarding footer

* fix: redirect_to_traders_hub_on_entering_mt5_url

* fix: redirect derivx url

* fix: icon design mismatch (#26)

* fix: simplified the conditions

* test: fix test

* fix: fixed all conflicts

* refactor: code refactoring

* fix: salutation

* fix: short code visibility

* fix: fix short code visibility

* refactor: code refactoring

* fix: remove icon for derivx trade modal

* fix: fixed the issue where is_pre_appstore was retrived from another place

* fix: add Assets alias to webpack/tsconfig, refactor imports

* test: fix jest config

* fix: default page should be demo in onboarding

* fix: freeze_mg_acc_on_cooling_perios

* fix: onboarding buttons

* fix: transfer_form_from_account_style

* fix: mt5 trade modal css alignment

* chore: hide disclaimer for low-risk clients

* fix: notification console error

* chore: add volatility in regulator modal

* fix: account_transfer_title

* chore: add disclamer to low risk eu

* fix: asterik_on_required_fields

* fix: adding loader to total asset balance on switching

* fix: loader

* fix: loader console error

* fix: regulation switcher glitch when switching

* fix: add back react content loader

* fix: safari styling shiii

* fix: close button on on boarding

* fix: Trader's hub title

* fix: disclaimer text change

* fix: all dem loaders

* fix: up/dpwn icon

* fix: dmt5 paswrd

* fix: low_risk flag in dbot

* fix: fix layout shift on safari

* fix: servererror component fix

* fix: circleci  and typo

* fix: header loader

* fix: investor password

* fix: merge conflicts

---------

Co-authored-by: amina-deriv <amina@deriv.com>
Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com>
Co-authored-by: Thisyahlen <thisyahlen@regentmarkets.com>
Co-authored-by: Hirad <hirad@re-work.dev>
Co-authored-by: mahdiyeh-fs <mahdiyeh@firstsource.tech>
Co-authored-by: Jim Daniels Wasswa <jim@deriv.com>
Co-authored-by: Thisyahlen Nair <thisyahlennair@Thisyahlens-MacBook-Pro.local>
Co-authored-by: Bahar <bahar@regentmarkets.com>
Co-authored-by: george-usynin-binary <heorhi@binary.com>
Co-authored-by: GeorgeUsynin <70709786+GeorgeUsynin@users.noreply.github.com>

* translations: 📚 sync translations with crowdin (#7458)

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

* translations: 📚 sync translations with crowdin (#7460)

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

* translations: 📚 sync translations with crowdin (#7461)

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

* chore: remove boom description for eu regulation (#7467)

* Amina/87406/fix: exit modal fix (#7464)

* fix: exit modal fix

* chore: empty commit to trigger vercel deployment

---------

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

* fix: empty notification dropdown (#7468)

Co-authored-by: Yashim Wong <yashim@deriv.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: Matin shafiei <matin@deriv.com>
Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.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>
Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com>
Co-authored-by: Jim Daniels Wasswa <104334373+jim-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: vinu-deriv <vinu@deriv.com>
Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com>
Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com>
Co-authored-by: rupato-deriv <97010868+rupato-deriv@users.noreply.github.com>
Co-authored-by: balakrishna-binary <bala.krishna@regentmarkets.com>
Co-authored-by: Prince <prince@deriv.com>
Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com>
Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com>
Co-authored-by: Sergei Baranovski <120570511+sergei-deriv@users.noreply.github.com>
Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com>
Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>
Co-authored-by: Farrah Mae Ochoa <farrah@deriv.com>
Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com>
Co-authored-by: Rostik Kayko <119863957+rostislav-deriv@users.noreply.github.com>
Co-authored-by: thibault-deriv <104425314+thibault-deriv@users.noreply.github.com>
Co-authored-by: amina-deriv <amina@deriv.com>
Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com>
Co-authored-by: Thisyahlen <thisyahlen@regentmarkets.com>
Co-authored-by: Hirad <hirad@re-work.dev>
Co-authored-by: mahdiyeh-fs <mahdiyeh@firstsource.tech>
Co-authored-by: Jim Daniels Wasswa <jim@deriv.com>
Co-authored-by: Thisyahlen Nair <thisyahlennair@Thisyahlens-MacBook-Pro.local>
Co-authored-by: Bahar <bahar@regentmarkets.com>
Co-authored-by: george-usynin-binary <heorhi@binary.com>
Co-authored-by: GeorgeUsynin <70709786+GeorgeUsynin@users.noreply.github.com>
Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com>
Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com>
Co-authored-by: Yashim Wong <yashim@deriv.com>
carolsachdeva pushed a commit to carolsachdeva/deriv-app that referenced this pull request Feb 9, 2023
…ge (binary-com#7278)

* refactor(cashier): 🔥 remove `mobx-react-lite` from `cashier`

* refactor(cashier): ♻️ replace `connect` with `useStore` for remaining components

* refactor(cashier): ♻️ fix test files to use `StoreProvider`

* refactor(cashier): 🔥 remove `connect` from `cashier`

* refactor(cashier): 🔥 remove extra store related types from `cashier`

* fix(stores): 🐛 stop persisting the stores when store is unmount

* feat(cashier): ✨ add `useCashierStore` hook

* refactor(cashier): ♻️ replace `modules.cashier` with `useCashierStore` hook

* refactor(cashier): ♻️ remove `useStore` hook return type override

* fix(cashier): 📝 resolve PR conflicts

* test(cashier): ✅ fix the tests

* chore(cashier): 🚚 rename `cashier_providers.tsx` to `cashier-providers.tsx`

* 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>

* test(cashier): ✅ fix the tests

* test(cashier): ✅ fix the tests

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

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

* feat(api): 🧑‍💻 improve `@deriv/api` typings

* chore(cashier): ✏️ fix React 17 type issue with `PropsWithChildren`

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

This reverts commit b6f7e4c.

* 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>

Co-authored-by: Farzin Mirzaie <farzin@deriv.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: Matin shafiei <matin@deriv.com>
Co-authored-by: Niloofar Sadeghi <93518187+niloofar-deriv@users.noreply.github.com>
Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>
carolsachdeva pushed a commit to carolsachdeva/deriv-app that referenced this pull request Feb 9, 2023
…ge (binary-com#7278)

* refactor(cashier): 🔥 remove `mobx-react-lite` from `cashier`

* refactor(cashier): ♻️ replace `connect` with `useStore` for remaining components

* refactor(cashier): ♻️ fix test files to use `StoreProvider`

* refactor(cashier): 🔥 remove `connect` from `cashier`

* refactor(cashier): 🔥 remove extra store related types from `cashier`

* fix(stores): 🐛 stop persisting the stores when store is unmount

* feat(cashier): ✨ add `useCashierStore` hook

* refactor(cashier): ♻️ replace `modules.cashier` with `useCashierStore` hook

* refactor(cashier): ♻️ remove `useStore` hook return type override

* fix(cashier): 📝 resolve PR conflicts

* test(cashier): ✅ fix the tests

* chore(cashier): 🚚 rename `cashier_providers.tsx` to `cashier-providers.tsx`

* 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>

* test(cashier): ✅ fix the tests

* test(cashier): ✅ fix the tests

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

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

* feat(api): 🧑‍💻 improve `@deriv/api` typings

* chore(cashier): ✏️ fix React 17 type issue with `PropsWithChildren`

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

This reverts commit b6f7e4c.

* 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>

Co-authored-by: Farzin Mirzaie <farzin@deriv.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: Matin shafiei <matin@deriv.com>
Co-authored-by: Niloofar Sadeghi <93518187+niloofar-deriv@users.noreply.github.com>
Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>
yashim-deriv pushed a commit that referenced this pull request Feb 9, 2023
* Thisyahlen/65078/cfd poa test (#7456)

* cfd-poa test first commit

* removed unused mocks and added a few more test cases

* removed unused mocks

* removed some test cases and adjusted some

* re-arranged some code to lessen the duplication

* convered address to an object

* refractored the poa test with the new changes

* Update cfd-poa.spec.js

* test: cfd-poa

* fix: regulatory information (#7543)

* Revert "fix: regulatory information (#7543)" (#7552)

This reverts commit 1ca6b30.

* fix: resolved conflicts of  develop branch with master

* fix: resolved build issues in crypto-transaction-history

* Merge remote-tracking branch 'upstream/master' into develop

* Amina/ fix: mf_list (#7516)

* fix: mf_list

* chore: trigger build

* Ameerul /Task 74218 Incorrect Deriv P2P Balance Information (#7491)

* chore: added info icon and corrected information

* chore: fixed modal for mobile and icon

* chore: changed text

* Aizad/87647/open real dialog issue (#7504)

* chore: fix sizing dialog for real account required on appstore

* fix: remove console.logs 😅

* fix: remove unused prop types

* 87814/fix blank onboarding  for non en lang (#7527)

* fix: exit traders hub

* fix: exit v2

* fix: exit remove async v3

* fix: remove await

* fix: blank onboarding page for non_EN languages

---------

Co-authored-by: Thisyahlen Nair <thisyahlen@regentmarkets.com>

* Henry/86550/feat/change tabs to dropdown reports (#7443)

* feat: change from tabs to dropdown menu in reports

* fix: changed variable names to contract types instead of trade types

* chore: change to more readable classname

* feat: ux improvement

* chore: deleted unneccesary commented out code

* fix: fixing circleCI error

* fix: CircleCI bug fix

* fix: fix CircleCI Issue

* fix: circleCI fix

* fix: circleCI fix

* chore: fix css naming and use convention

* fix: placeholder component was not being shown after closing multiplier contract

* fix: multiplier close button cut off in mobile view

---------

Co-authored-by: HENRY <henry@regentmarkets.com>

* Sergei / 87513 / change create mt5 demo account congratulations text (#7496)

* fix: change create mt5 deom account congratulations text

* feat: empty

* Update packages/cfd/src/Containers/cfd-password-modal.tsx

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

* fix: delete unnecessary spaces

---------

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

* Shayan/80609/components shared ts migration parent (#7294)

* checking circle/ci test

* removed test changes

* feat: 🎨 migrated component to tsx

* feat: 🎨 fixed index

* feat: 🎨 incorporated single logic for props

* feat: 🎨 migrated component to tsx

* feat: ♻️ incorporated review comments

* feat: 🎨 remoed comments

* feat: migrated index file

* feat: migrated index file

* feat: 🎨 migrated comeponent to tsx

* feat: 🎨 incorporated type

* feat: 🎨 incorporated type

* feat: ♻️ incorporated review comments

* yauheni/76888/icontradetypes ts migration

* feat: 🐛 resolved fialing testcase

* ts migration for idv expired

* feat: 🎨 migrated pageoverlay to tsx

* feat: 🐛 import statement fix

* feat: 🎨 migrated tooltip to tsx

* remove .jsx from idv-epired index.js

* feat: ♻️ incorporated review comments

* feat: ♻️ incorporated review comments

* ts migration for idv-rejected

* update any to unknown in globals.d.ts

* revert back to any to solve error

* refactor: formcancelbutton ts migration

* trigger

* refactor: ts migration for idv-submit-complete

* refactor: ts migration for idv-verified

* refactor: ts migration for idv-verified.spec.tsx

* feat: 🎨 migrated select-native to tsx

* feat: ♻️ incorporated review comments

* feat: 🎨 Replaced Fragment tag

* feat: 🎨 reduced typecasting

* refactor: ts migration for idv-limited.jsx

* fix: remove idv-limited.jsx from index.js

* feat: 🎨 migrated component to tsx

* Mobile Drawer migration

* Children Props change

* feat: ♻️ incorporated review comments

* feat: ♻️ incorporated review comments

* Fix for drag drawer

* Error fixes

* feat: 🎨 migrated component to tsx

* feat: ♻️ incorporated review comments

* feat: 🎨 migrate component to TSX

* Sanjam/76937/TS_Migration_TickPicker

* refactor: prop fix

* Padstart fix

* Made chnages to make some properties optional

* feat: 🐛 fixed label type

* optional sub-header fix

* removed parseInt from the state

* feat: 🐛 resolved import statements

* Made the props change

* Pr fix

* refactor: ts migration for missing-personal-detals

* refactor: ts migration for missing-personal-details

* refactor: ts migration for missing-personal-details

* TS Migration Inline Icon with Tests

* refactor: ts migration for poi/limited

* Removed unused declarations

* feat: ♻️ incorporated comments

* refactor: ts migration for poi/expired

* fix: conflicts

* fix: resolve cooonflicts

* fix: resolve conflicts

* fix: resolve conflicts

* fix: resolve conflicts

* feat: 🎨 migrated component

* refactor: ts migration for card-with-arrow

* refactor: ts migration for card-with-arrow

* refactor: ts migration for constants.js

* Passwordmeter

* Sanjam/ TS migration Password meter

* Converted message ti react node

* Uneccessary child props

* Reverted spec changes

* refactor: apply changes on globals.d.ts

* refactor: changed open_chat_window to packages/core/globals.d.ts

* refactor: ts migration for documents

* fix: remove .jsx

* fix: resolve conflicts

* Export removed

* MIgrated Password Meter component

* Fixes

* fix: removed prop types

* fix: empty

* fix: build

* fix: build

* fix: build

* fix: extra file removed

* fix: resolve conflicts

* fix: make has_close_icon to be optional

* fix: duplicated item

* fix: tests and buikd fix

* refactor: change HTMLElement to ReactElement and remove propTypes

* fix: build fix

* fix: fixing ts error[WIP]

* fix: fixed file-dropzone ts error

* fix: fixed ts errors

* fix: removed any

* fix: refactored useOnClickOutside hook to fix ts errors

* fix: fixed the codecov failing

* fix: fixed ts errors

---------

Co-authored-by: shayan khaleghparast <iman@firstsource.tech>
Co-authored-by: Shayan Khaleghparast <100833613+iman-fs@users.noreply.github.com>
Co-authored-by: Likhith Kolayari <likhith@regentmarkets.com>
Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: tay suisin <suisin@regentmarkets.com>
Co-authored-by: sanjam chhatwal <sanjam@deriv.com>
Co-authored-by: sanjam-deriv <99465624+sanjam-deriv@users.noreply.github.com>

* hamid/84403/add-mockStore-object-for-test-usage (#7440)

* feat: add mockStore object for test usage

* feat: use mockStore in withdrawal.spec.tsx

* chore: retrigged the test

* fix: failed tests fix

* fix: failed tests fix

* feat: add new properties to mockStore

* fix: missing types in mockStore

* Hubert / fixing IDV validation (#7372)

* chore: fixing IDV validation

* chore: refactoring code

---------

Co-authored-by: Hubert Koster <hubertkoster@Hubert-Kosters-MacBook-Pro-C02F1N65MD6M.local>

* fix: console error on edit ad where payment method is disabled from bo (#7427)

* Kate/80001/Remove unused query params from the URL on initialize  (#7447)

* fix: add check for specific unused params in query

* refactor: rename const, lift them up, move logic to a separate self declared function

* fix: change the passing value for excludeParamsFromUrlQuery function

* Rostislav / 86373 / Bug fix for side note on cashier page going missing once we navigate to different tabs like Withdrawal, Payments agents (#7416)

* refactor: init pr

* fix: bug fixed (by correctly timing adding side notes)

* Ameerul /Bug 86546 P2P clients (Not POI verified clients) are not temp. banned when we block temporary until 14th of next month or any further dates.  (#7444)

* chore: revert

* chore: added comment

* Farzin/87456/Extract `is_onramp_tab_visible` method from cashier `OnRampStore` to reusable hook (#7475)

* feat(core): ✨ add `is_crypto` method to `ClientStore`

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

* refactor(cashier): ♻️ replace `is_onramp_tab_visible` with `useOnrampVisible`

* refactor(core): ♻️ replace `is_onramp_tab_visible` with `useOnrampVisible`

* docs(cashier): 🗑️ deprecated legacy `is_onramp_tab_visible` method

---------

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

* chore: updated the readme file (#7388)

* chore: updated the readme file

* chore: updated readme

* chore: updated build:one in readme

* fix: updated build:one in readme

* hamid/86888/refactor-hook-test-files-to-use-testing-library-react-hooks (#7448)

* feat: enhance the tests with react-hooks testing library

* feat: enhance the tests with react-hooks testing library

* feat: refactor useCountdown store test

* feat: refactor useSubscription store test

* feat: refactor store test

* fix: fix pr comments

* fix: fix pr comments

* fix: issue with payment method search filter (#7426)

* fix: issue with payment method search filter

* fix: no search results found state not getting cleared on closing modal

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

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

* translations: 📚 sync translations with crowdin (#7537)

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

* hotfix: contract details for digits trade types from open positions were showing error (#7550)

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

* translations: 📚 sync translations with crowdin (#7546)

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

* chore: added setpreferredlanguage in trading-hub-header and exit-traders-hub-modal (#7553)

* Farzin/85472/R&D/Remove `CashierStore` initialization from core package (#7278)

* refactor(cashier): 🔥 remove `mobx-react-lite` from `cashier`

* refactor(cashier): ♻️ replace `connect` with `useStore` for remaining components

* refactor(cashier): ♻️ fix test files to use `StoreProvider`

* refactor(cashier): 🔥 remove `connect` from `cashier`

* refactor(cashier): 🔥 remove extra store related types from `cashier`

* fix(stores): 🐛 stop persisting the stores when store is unmount

* feat(cashier): ✨ add `useCashierStore` hook

* refactor(cashier): ♻️ replace `modules.cashier` with `useCashierStore` hook

* refactor(cashier): ♻️ remove `useStore` hook return type override

* fix(cashier): 📝 resolve PR conflicts

* test(cashier): ✅ fix the tests

* chore(cashier): 🚚 rename `cashier_providers.tsx` to `cashier-providers.tsx`

* Shayan/52349/react17 migration (#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>

* test(cashier): ✅ fix the tests

* test(cashier): ✅ fix the tests

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

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

* feat(api): 🧑‍💻 improve `@deriv/api` typings

* chore(cashier): ✏️ fix React 17 type issue with `PropsWithChildren`

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

This reverts commit b6f7e4c.

* Farzin/85054/Call `resetWithrawForm` on `CryptoWithdrawForm` component `onunmount` (#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 (#7325)

* refactor: language tests

* fix: typo

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

* refactor: proposal tests (#7327)

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

* Niloofar Sadeghi / Task - Refactor tests in the error.spec.js file (#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 (#7288)

* refactor: binary-link tests

* refactor: improve testids namings

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

* refactor: money tests (#7353)

* refactor: toggle-positions tests (#7287)

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

* refactor: toggle-button tests (#7328)

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

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

* refactor: toggle-button-group tests

* fix: test issue

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

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

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

* refactor: remove extra files from reports

* refactor: marker-spot-label tests

* Niloofar Sadeghi / Task - Refactor tests in the binary-link.spec.tsx file (#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 (#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 (#7282)

* refactor: platform-dropdown tests

* refactor: improve testids namings

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

Co-authored-by: Farzin Mirzaie <farzin@deriv.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: Matin shafiei <matin@deriv.com>
Co-authored-by: Niloofar Sadeghi <93518187+niloofar-deriv@users.noreply.github.com>
Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>

* fix prettier

* Revert "Thisyahlen/65078/cfd poa test (#7456)"

This reverts commit 4ed287c.

---------

Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com>
Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com>
Co-authored-by: vinu-deriv <vinu@deriv.com>
Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com>
Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com>
Co-authored-by: aizad-deriv <103104395+aizad-deriv@users.noreply.github.com>
Co-authored-by: Thisyahlen Nair <thisyahlen@regentmarkets.com>
Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com>
Co-authored-by: HENRY <henry@regentmarkets.com>
Co-authored-by: Sergei Baranovski <120570511+sergei-deriv@users.noreply.github.com>
Co-authored-by: Shayan Khaleghparast <100833613+shayan-deriv@users.noreply.github.com>
Co-authored-by: shayan khaleghparast <iman@firstsource.tech>
Co-authored-by: Shayan Khaleghparast <100833613+iman-fs@users.noreply.github.com>
Co-authored-by: Likhith Kolayari <likhith@regentmarkets.com>
Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: tay suisin <suisin@regentmarkets.com>
Co-authored-by: sanjam chhatwal <sanjam@deriv.com>
Co-authored-by: sanjam-deriv <99465624+sanjam-deriv@users.noreply.github.com>
Co-authored-by: Hamid <hamid@deriv.com>
Co-authored-by: hubert-deriv <80688204+hubert-deriv@users.noreply.github.com>
Co-authored-by: Hubert Koster <hubertkoster@Hubert-Kosters-MacBook-Pro-C02F1N65MD6M.local>
Co-authored-by: nada-deriv <122768621+nada-deriv@users.noreply.github.com>
Co-authored-by: kate-deriv <121025168+kate-deriv@users.noreply.github.com>
Co-authored-by: Rostik Kayko <119863957+rostislav-deriv@users.noreply.github.com>
Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>
Co-authored-by: Farzin Mirzaie <farzin@deriv.com>
Co-authored-by: Sandeep Rajput <90243468+sandeep-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: Niloofar Sadeghi <93518187+niloo-fs@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: Niloofar Sadeghi <93518187+niloofar-deriv@users.noreply.github.com>
Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>
bahar-sadeghzadeh pushed a commit to bahar-sadeghzadeh/deriv-app that referenced this pull request Feb 20, 2023
* Thisyahlen/65078/cfd poa test (binary-com#7456)

* cfd-poa test first commit

* removed unused mocks and added a few more test cases

* removed unused mocks

* removed some test cases and adjusted some

* re-arranged some code to lessen the duplication

* convered address to an object

* refractored the poa test with the new changes

* Update cfd-poa.spec.js

* test: cfd-poa

* fix: regulatory information (binary-com#7543)

* Revert "fix: regulatory information (binary-com#7543)" (binary-com#7552)

This reverts commit 1ca6b30.

* fix: resolved conflicts of  develop branch with master

* fix: resolved build issues in crypto-transaction-history

* Merge remote-tracking branch 'upstream/master' into develop

* Amina/ fix: mf_list (binary-com#7516)

* fix: mf_list

* chore: trigger build

* Ameerul /Task 74218 Incorrect Deriv P2P Balance Information (binary-com#7491)

* chore: added info icon and corrected information

* chore: fixed modal for mobile and icon

* chore: changed text

* Aizad/87647/open real dialog issue (binary-com#7504)

* chore: fix sizing dialog for real account required on appstore

* fix: remove console.logs 😅

* fix: remove unused prop types

* 87814/fix blank onboarding  for non en lang (binary-com#7527)

* fix: exit traders hub

* fix: exit v2

* fix: exit remove async v3

* fix: remove await

* fix: blank onboarding page for non_EN languages

---------

Co-authored-by: Thisyahlen Nair <thisyahlen@regentmarkets.com>

* Henry/86550/feat/change tabs to dropdown reports (binary-com#7443)

* feat: change from tabs to dropdown menu in reports

* fix: changed variable names to contract types instead of trade types

* chore: change to more readable classname

* feat: ux improvement

* chore: deleted unneccesary commented out code

* fix: fixing circleCI error

* fix: CircleCI bug fix

* fix: fix CircleCI Issue

* fix: circleCI fix

* fix: circleCI fix

* chore: fix css naming and use convention

* fix: placeholder component was not being shown after closing multiplier contract

* fix: multiplier close button cut off in mobile view

---------

Co-authored-by: HENRY <henry@regentmarkets.com>

* Sergei / 87513 / change create mt5 demo account congratulations text (binary-com#7496)

* fix: change create mt5 deom account congratulations text

* feat: empty

* Update packages/cfd/src/Containers/cfd-password-modal.tsx

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

* fix: delete unnecessary spaces

---------

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

* Shayan/80609/components shared ts migration parent (binary-com#7294)

* checking circle/ci test

* removed test changes

* feat: 🎨 migrated component to tsx

* feat: 🎨 fixed index

* feat: 🎨 incorporated single logic for props

* feat: 🎨 migrated component to tsx

* feat: ♻️ incorporated review comments

* feat: 🎨 remoed comments

* feat: migrated index file

* feat: migrated index file

* feat: 🎨 migrated comeponent to tsx

* feat: 🎨 incorporated type

* feat: 🎨 incorporated type

* feat: ♻️ incorporated review comments

* yauheni/76888/icontradetypes ts migration

* feat: 🐛 resolved fialing testcase

* ts migration for idv expired

* feat: 🎨 migrated pageoverlay to tsx

* feat: 🐛 import statement fix

* feat: 🎨 migrated tooltip to tsx

* remove .jsx from idv-epired index.js

* feat: ♻️ incorporated review comments

* feat: ♻️ incorporated review comments

* ts migration for idv-rejected

* update any to unknown in globals.d.ts

* revert back to any to solve error

* refactor: formcancelbutton ts migration

* trigger

* refactor: ts migration for idv-submit-complete

* refactor: ts migration for idv-verified

* refactor: ts migration for idv-verified.spec.tsx

* feat: 🎨 migrated select-native to tsx

* feat: ♻️ incorporated review comments

* feat: 🎨 Replaced Fragment tag

* feat: 🎨 reduced typecasting

* refactor: ts migration for idv-limited.jsx

* fix: remove idv-limited.jsx from index.js

* feat: 🎨 migrated component to tsx

* Mobile Drawer migration

* Children Props change

* feat: ♻️ incorporated review comments

* feat: ♻️ incorporated review comments

* Fix for drag drawer

* Error fixes

* feat: 🎨 migrated component to tsx

* feat: ♻️ incorporated review comments

* feat: 🎨 migrate component to TSX

* Sanjam/76937/TS_Migration_TickPicker

* refactor: prop fix

* Padstart fix

* Made chnages to make some properties optional

* feat: 🐛 fixed label type

* optional sub-header fix

* removed parseInt from the state

* feat: 🐛 resolved import statements

* Made the props change

* Pr fix

* refactor: ts migration for missing-personal-detals

* refactor: ts migration for missing-personal-details

* refactor: ts migration for missing-personal-details

* TS Migration Inline Icon with Tests

* refactor: ts migration for poi/limited

* Removed unused declarations

* feat: ♻️ incorporated comments

* refactor: ts migration for poi/expired

* fix: conflicts

* fix: resolve cooonflicts

* fix: resolve conflicts

* fix: resolve conflicts

* fix: resolve conflicts

* feat: 🎨 migrated component

* refactor: ts migration for card-with-arrow

* refactor: ts migration for card-with-arrow

* refactor: ts migration for constants.js

* Passwordmeter

* Sanjam/ TS migration Password meter

* Converted message ti react node

* Uneccessary child props

* Reverted spec changes

* refactor: apply changes on globals.d.ts

* refactor: changed open_chat_window to packages/core/globals.d.ts

* refactor: ts migration for documents

* fix: remove .jsx

* fix: resolve conflicts

* Export removed

* MIgrated Password Meter component

* Fixes

* fix: removed prop types

* fix: empty

* fix: build

* fix: build

* fix: build

* fix: extra file removed

* fix: resolve conflicts

* fix: make has_close_icon to be optional

* fix: duplicated item

* fix: tests and buikd fix

* refactor: change HTMLElement to ReactElement and remove propTypes

* fix: build fix

* fix: fixing ts error[WIP]

* fix: fixed file-dropzone ts error

* fix: fixed ts errors

* fix: removed any

* fix: refactored useOnClickOutside hook to fix ts errors

* fix: fixed the codecov failing

* fix: fixed ts errors

---------

Co-authored-by: shayan khaleghparast <iman@firstsource.tech>
Co-authored-by: Shayan Khaleghparast <100833613+iman-fs@users.noreply.github.com>
Co-authored-by: Likhith Kolayari <likhith@regentmarkets.com>
Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: tay suisin <suisin@regentmarkets.com>
Co-authored-by: sanjam chhatwal <sanjam@deriv.com>
Co-authored-by: sanjam-deriv <99465624+sanjam-deriv@users.noreply.github.com>

* hamid/84403/add-mockStore-object-for-test-usage (binary-com#7440)

* feat: add mockStore object for test usage

* feat: use mockStore in withdrawal.spec.tsx

* chore: retrigged the test

* fix: failed tests fix

* fix: failed tests fix

* feat: add new properties to mockStore

* fix: missing types in mockStore

* Hubert / fixing IDV validation (binary-com#7372)

* chore: fixing IDV validation

* chore: refactoring code

---------

Co-authored-by: Hubert Koster <hubertkoster@Hubert-Kosters-MacBook-Pro-C02F1N65MD6M.local>

* fix: console error on edit ad where payment method is disabled from bo (binary-com#7427)

* Kate/80001/Remove unused query params from the URL on initialize  (binary-com#7447)

* fix: add check for specific unused params in query

* refactor: rename const, lift them up, move logic to a separate self declared function

* fix: change the passing value for excludeParamsFromUrlQuery function

* Rostislav / 86373 / Bug fix for side note on cashier page going missing once we navigate to different tabs like Withdrawal, Payments agents (binary-com#7416)

* refactor: init pr

* fix: bug fixed (by correctly timing adding side notes)

* Ameerul /Bug 86546 P2P clients (Not POI verified clients) are not temp. banned when we block temporary until 14th of next month or any further dates.  (binary-com#7444)

* chore: revert

* chore: added comment

* Farzin/87456/Extract `is_onramp_tab_visible` method from cashier `OnRampStore` to reusable hook (binary-com#7475)

* feat(core): ✨ add `is_crypto` method to `ClientStore`

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

* refactor(cashier): ♻️ replace `is_onramp_tab_visible` with `useOnrampVisible`

* refactor(core): ♻️ replace `is_onramp_tab_visible` with `useOnrampVisible`

* docs(cashier): 🗑️ deprecated legacy `is_onramp_tab_visible` method

---------

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

* chore: updated the readme file (binary-com#7388)

* chore: updated the readme file

* chore: updated readme

* chore: updated build:one in readme

* fix: updated build:one in readme

* hamid/86888/refactor-hook-test-files-to-use-testing-library-react-hooks (binary-com#7448)

* feat: enhance the tests with react-hooks testing library

* feat: enhance the tests with react-hooks testing library

* feat: refactor useCountdown store test

* feat: refactor useSubscription store test

* feat: refactor store test

* fix: fix pr comments

* fix: fix pr comments

* fix: issue with payment method search filter (binary-com#7426)

* fix: issue with payment method search filter

* fix: no search results found state not getting cleared on closing modal

* fix(stores): 💚 add missing default value to `mockStore` (binary-com#7535)

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

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

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

* hotfix: contract details for digits trade types from open positions were showing error (binary-com#7550)

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

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

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

* chore: added setpreferredlanguage in trading-hub-header and exit-traders-hub-modal (binary-com#7553)

* Farzin/85472/R&D/Remove `CashierStore` initialization from core package (binary-com#7278)

* refactor(cashier): 🔥 remove `mobx-react-lite` from `cashier`

* refactor(cashier): ♻️ replace `connect` with `useStore` for remaining components

* refactor(cashier): ♻️ fix test files to use `StoreProvider`

* refactor(cashier): 🔥 remove `connect` from `cashier`

* refactor(cashier): 🔥 remove extra store related types from `cashier`

* fix(stores): 🐛 stop persisting the stores when store is unmount

* feat(cashier): ✨ add `useCashierStore` hook

* refactor(cashier): ♻️ replace `modules.cashier` with `useCashierStore` hook

* refactor(cashier): ♻️ remove `useStore` hook return type override

* fix(cashier): 📝 resolve PR conflicts

* test(cashier): ✅ fix the tests

* chore(cashier): 🚚 rename `cashier_providers.tsx` to `cashier-providers.tsx`

* 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>

* test(cashier): ✅ fix the tests

* test(cashier): ✅ fix the tests

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

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

* feat(api): 🧑‍💻 improve `@deriv/api` typings

* chore(cashier): ✏️ fix React 17 type issue with `PropsWithChildren`

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

This reverts commit b6f7e4c.

* 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>

Co-authored-by: Farzin Mirzaie <farzin@deriv.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: Matin shafiei <matin@deriv.com>
Co-authored-by: Niloofar Sadeghi <93518187+niloofar-deriv@users.noreply.github.com>
Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>

* fix prettier

* Revert "Thisyahlen/65078/cfd poa test (binary-com#7456)"

This reverts commit 4ed287c.

---------

Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com>
Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com>
Co-authored-by: vinu-deriv <vinu@deriv.com>
Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com>
Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com>
Co-authored-by: aizad-deriv <103104395+aizad-deriv@users.noreply.github.com>
Co-authored-by: Thisyahlen Nair <thisyahlen@regentmarkets.com>
Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com>
Co-authored-by: HENRY <henry@regentmarkets.com>
Co-authored-by: Sergei Baranovski <120570511+sergei-deriv@users.noreply.github.com>
Co-authored-by: Shayan Khaleghparast <100833613+shayan-deriv@users.noreply.github.com>
Co-authored-by: shayan khaleghparast <iman@firstsource.tech>
Co-authored-by: Shayan Khaleghparast <100833613+iman-fs@users.noreply.github.com>
Co-authored-by: Likhith Kolayari <likhith@regentmarkets.com>
Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: tay suisin <suisin@regentmarkets.com>
Co-authored-by: sanjam chhatwal <sanjam@deriv.com>
Co-authored-by: sanjam-deriv <99465624+sanjam-deriv@users.noreply.github.com>
Co-authored-by: Hamid <hamid@deriv.com>
Co-authored-by: hubert-deriv <80688204+hubert-deriv@users.noreply.github.com>
Co-authored-by: Hubert Koster <hubertkoster@Hubert-Kosters-MacBook-Pro-C02F1N65MD6M.local>
Co-authored-by: nada-deriv <122768621+nada-deriv@users.noreply.github.com>
Co-authored-by: kate-deriv <121025168+kate-deriv@users.noreply.github.com>
Co-authored-by: Rostik Kayko <119863957+rostislav-deriv@users.noreply.github.com>
Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>
Co-authored-by: Farzin Mirzaie <farzin@deriv.com>
Co-authored-by: Sandeep Rajput <90243468+sandeep-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: Niloofar Sadeghi <93518187+niloo-fs@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: Niloofar Sadeghi <93518187+niloofar-deriv@users.noreply.github.com>
Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>
amina-deriv pushed a commit that referenced this pull request Feb 28, 2023
…`GeneralStore` to reusable hook in `@deriv/hooks` (#7434)

* Shayan/52349/react17 migration (#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 (#7344)

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

* Revert "fix: 🐛 resolved issue with trade. odal (#7291)" (#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` (#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 (#7325)

* refactor: language tests

* fix: typo

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

* refactor: proposal tests (#7327)

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

* Niloofar Sadeghi / Task - Refactor tests in the error.spec.js file (#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 (#7288)

* refactor: binary-link tests

* refactor: improve testids namings

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

* refactor: money tests (#7353)

* refactor: toggle-positions tests (#7287)

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

* refactor: toggle-button tests (#7328)

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

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

* refactor: toggle-button-group tests

* fix: test issue

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

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

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

* refactor: remove extra files from reports

* refactor: marker-spot-label tests

* Niloofar Sadeghi / Task - Refactor tests in the binary-link.spec.tsx file (#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 (#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 (#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>
yashim-deriv pushed a commit to yashim-deriv/deriv-app that referenced this pull request Mar 2, 2023
…`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>
sanjam-deriv pushed a commit to sanjam-deriv/deriv-app that referenced this pull request Mar 13, 2023
…`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>
bahar-sadeghzadeh pushed a commit that referenced this pull request Mar 17, 2023
* fix: translation refresh issue

* fix: header loading

* fix: re-render issue

* fix: null checks

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

* Shayan/52349/react17 migration (#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 (#7344)

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

* Revert "fix: 🐛 resolved issue with trade. odal (#7291)" (#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` (#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 (#7325)

* refactor: language tests

* fix: typo

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

* refactor: proposal tests (#7327)

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

* Niloofar Sadeghi / Task - Refactor tests in the error.spec.js file (#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 (#7288)

* refactor: binary-link tests

* refactor: improve testids namings

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

* refactor: money tests (#7353)

* refactor: toggle-positions tests (#7287)

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

* refactor: toggle-button tests (#7328)

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

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

* refactor: toggle-button-group tests

* fix: test issue

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

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

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

* refactor: remove extra files from reports

* refactor: marker-spot-label tests

* Niloofar Sadeghi / Task - Refactor tests in the binary-link.spec.tsx file (#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 (#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 (#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>

* chore: cleanup

* fix: cfd strings not updating

* fix: translation refresh

* fix: language synching for platforms

* fix: types

* chore: cleanup unrelated changes

* fix: test mocks

* fix: header sync

* fix: service error modal translation

* fix: get status badge text

* fix: missing localize in regulators switcher

* fix: link with localization

* fix: regulators modal translation sync

* fix: switch sync

---------

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: 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>
Co-authored-by: Dev Sans <yashimwong@gmail.com>
sandeep-deriv pushed a commit that referenced this pull request May 2, 2023
…#7307)

* chore: ts migration for test case

* chore: remove .jsx

* refactor: ts migration for account limits article  and tests

* chore: remove all .jsx

* refactor: ts migration for account-limit-overlay

* chore: remove .jsx from files

* chore: update to use React.ComponentProps

* chore: change test case format

* refactor: ts migration for self-exclusion-article

* refactor: ts migration for self-excllusiono-wrapper

* chore: remove .jsx

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

This reverts commit b6f7e4c.

* refactor: ts migration for account-limits.js

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

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

* test(cashier): ✅ fix failing test

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

* refactor: ts migration for self-exclusion-modal

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

* refactor: language tests

* fix: typo

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

* refactor: proposal tests (#7327)

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

* Niloofar Sadeghi / Task - Refactor tests in the error.spec.js file (#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 (#7288)

* refactor: binary-link tests

* refactor: improve testids namings

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

* refactor: money tests (#7353)

* refactor: toggle-positions tests (#7287)

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

* refactor: toggle-button tests (#7328)

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

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

* refactor: toggle-button-group tests

* fix: test issue

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

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

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

* refactor: remove extra files from reports

* refactor: marker-spot-label tests

* Niloofar Sadeghi / Task - Refactor tests in the binary-link.spec.tsx file (#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 (#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 (#7282)

* refactor: platform-dropdown tests

* refactor: improve testids namings

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

* Farzin/76563/Replace `DepositStore` with hooks (#7180)

* refactor(cashier): 🔥 remove `is_deposit_locked` from `DepositStore`

* refactor(cashier): 🔥 remove `submitFundsProtection` from `DepositStore`

* fix(cashier): 💚 fix CI build

* fix(cashier): 💚 fix CI build

* test(hooks): ✅ add more test cases for `useDepositLocked` hook

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

* Adrienne / Github actions Lighthouse report workflow (#7317)

* chore: added checks to job to run only on pull requests

* chore: fixed issues with testing

* chore: testing github actions running on local branch

* chore: added workflow_dispatch event to test out manually

* chore: added workflow_dispatch event to test out manually

* chore: added workflow_dispatch event to test out manually

* chore: fix typo

* chore: fix issue where lighthouse config file is not found

* chore: fix issue where lighthouse config file is not found

* chore: test with hardcoded url

* chore: test with updated permissions

* chore: reverted changes due to lack of token permission

* chore: reverted changes due to lack of token permission

* chore: added progress comment

* chore: added progress comment

* chore: test

* chore: reverted test

* chore: reverted test

* chore: commented config path for lighthouse assertions

* chore: fixed syntax on like 38 where it expects a string instead of mapping

* translations: 📚 sync translations with crowdin (#7361)

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

Co-authored-by: Jim Daniels Wasswa <104334373+jim-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>

* feat: change file extension

* refactor: dropdownlist component ts migration

* fix: ref types

* fix: group types

* fix: review comments

* build: add alias to react-virtualized to bind it to its community types

* build: remove specific usage of react-virtualized type

* chore: remove manual type declaration for react-virtualized

* chore: change usage of react-virtualized to work with alias

* fix: review comments

* fix: review comments

* refactor: migrate calendar component to typescript

* chore: remove unnecessary check for undefined

* refactor: input with checkbox ts migration

* refactor: update fragment

* refactor: input with checkbox ts migration

* refactor: migrate to typescript

* refactor: remove manual type insertion

* refactor: rename decade to years

* fix: fix rowHeight issue

* refactor: input with checkbox ts migration

* feat: migrate data-list-cell to typescript

* feat: migrate data-list-row to typescript

* feat: export RowRenderPropType type

* refactor: input with checkbox ts migration

* feat: update autosizer import path

* feat: remove file extension from import statement

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

* feat: update CellMeasurer import path

* feat: update MeasuredCellParent import path

* feat: update List import path

* feat: update List import path

* refactor: migrate contract-card to ts

* refactor: input with checkbox ts migration

* ci: update List import path

* chore: update type declaration to use union instead of intersection

* chore: remove unnecessary export

* refactor: ts migration for self exclusion confirm page and tests

* chore: remove .jsx from files

* refactor: ts migration for self exclusion form and test

* chore: remove .jsx

* refactor: input with checkbox ts migration

* refactor: resolve type mismatches

* refactor: dropdown component ts migration

* Update packages/components/src/components/data-list/data-list-cell.tsx

chore: update type name

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

* feat: update type names

* feat: update index file extenstion to ts

* feat: update measure return type

* feat: update destination link return type

* feat: update measure to be optional

* chore: update CellType usage

* chore: remove redundant CELL assignment

* fix: nodes type

* refactor: ts migration for self-exclusion-inputs

* build: update package-lock.json

* feat: update types and usages

* feat: update wrong prop(className)

* fix: circle/ci issue

* fix: circle/ci issue

* fix: circle/ci issue

* fix: circle/ci issue

* feat: add generic types

* feat: update data source type

* build: add @types/classnames

* build: update package-lock.json

* feat: add optional changing instead of if condition

* feat: disable eslint error

* feat: remove generic types and use static types instead

* refactor: ts migration for self-exclusion

* refactor: ts migration for self-exclusion

* chore: edited code based on commits

* chore: resolve conflicts

* refactor: evgeniy/76943/verticaltab ts migration

* refactor: ts migration for address details and test

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

* chore: edited based on comments

* refactor: setSelectedIndex props types fix

* refactor: side notes array is set incorrectly

* refactor: review suggestion implementation

* refactor: exclamation mark replacing

* fix: dropdown issue

* fix: review comment

* fix: circle/ci issue

* fix: circle/ci issue

* fix: conflicts

* chore: update sorting for derived_ordered

* chore: update code to be same as in production

* fix: security issue

* fix: sonar issues

* fix: dropdown issue

* build: Trigger Build

* fix: ts errors

* fix: circle/ci issue

* fix: circle/ci issue

* fix: vercel failed

* fix: vercel failed

* fix: vercel failed

* test: git guard

* fix: git guard

* fix: review comments

---------

Co-authored-by: tay suisin <suisin@regentmarkets.com>
Co-authored-by: Farrah Mae Ochoa <farrah@deriv.com>
Co-authored-by: Matin shafiei <matin@deriv.com>
Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>
Co-authored-by: Farzin Mirzaie <farzin@deriv.com>
Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>
Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com>
Co-authored-by: Jim Daniels Wasswa <104334373+jim-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: Ako <ali.hosseini@re-work.dev>
Co-authored-by: Jim Daniels Wasswa <jim@deriv.com>
Co-authored-by: yaswanth-deriv <121096908+yaswanth-deriv@users.noreply.github.com>
Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
ali-hosseini-deriv pushed a commit that referenced this pull request Jun 30, 2023
…t-card] (#7683)

* Amina/fix: 89022_personal_details_section_on_signup (#7668)

* fix: personal details broke

* chore: trigger circleci_build

* fix: account switcher

* fix: 🐛 fix contact us link (#7653)

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

* fix: 🐛 safely pulls lang from query params, defaults to english (#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 (#7568)

* Refactor shaheer/87591/app modals (#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 (#6769)

* added modal manager component (#6768)

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

* perf: configured webpack for lazy loading

* added css lazy loading

* fix: fixed missing css

* refactor: myAdsFloatingRateSwitchModal (#7173)

* refactor: emailLinkVerifiedModal (#7118)

* refactor: myAdsDeleteModal (#7024)

* refactor: adExceedsDailyLimitModal (#7027)

* farrah/78909/refactor FilterModal (#6906)

* refactor filter modal

* perf: added lazy loading

* fix: added publicPath

* farrah/78919/refactor OrderDetailsCancelModal (#7018)

* refactor: order details cancel modal

* fix: tests

* Adrienne / BuySellModal and CancelAddPaymentMethodModal component with saved form state component (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#7283)

* saved draft

* refactor: added error modal

* chore: reverted old changes modals folder

* Adrienne / Currency Selector modal (#7279)

* saved draft

* refactor: added currency selector modal

* chore: revert old changes modals folder

* Adrienne / Block User Modal (#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 (#7006)

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

* Adrienne / Rate Change Modal (#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 (#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 (#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 (#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 (#7545)

* saved draft

* fix: verification modal now shows once

* Adrienne / Add payment method not dismissed create ad (#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 (#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 (#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 (#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 (#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 '?' (#7481)

* Thisyahlen/87700/no option to change currency for mf (#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 (#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 (#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 (#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 (#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 (#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 (#7688)

* fix: 89134_real_account_signup_fields_not_editable

* fix: real account editable fields

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

* fix: Incomplete URL substring sanitization (#7597)

* thisyahlen/fix: add and manage account button logic in account switcher (#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 (#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 (#7717)

* fix: translation files

* fix: extract translations

* chore: alphabetical order

* chore: sync translation

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

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

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

* translations: 📚 sync translations with crowdin (#7722)

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

* thisyahlen/fix: account switcher for mf (#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 (#7725)

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

* translations: 📚 sync translations with crowdin (#7730)

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

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

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

* fix: barrel rolls on loader (#7672)

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

* fix: 🐛 fixes the truncated cookie banner for non-en languages (#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 (#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 (#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 (#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 (#7738)

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

* translations: 📚 sync translations with crowdin (#7739)

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

* translations: 📚 sync translations with crowdin (#7747)

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

* translations: 📚 sync translations with crowdin (#7748)

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

* translations: 📚 sync translations with crowdin (#7749)

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

* fix: missing localise/improper use of localise (#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` (#7434)

* Shayan/52349/react17 migration (#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 (#7344)

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

* Revert "fix: 🐛 resolved issue with trade. odal (#7291)" (#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` (#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 (#7325)

* refactor: language tests

* fix: typo

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

* refactor: proposal tests (#7327)

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

* Niloofar Sadeghi / Task - Refactor tests in the error.spec.js file (#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 (#7288)

* refactor: binary-link tests

* refactor: improve testids namings

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

* refactor: money tests (#7353)

* refactor: toggle-positions tests (#7287)

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

* refactor: toggle-button tests (#7328)

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

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

* refactor: toggle-button-group tests

* fix: test issue

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

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

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

* refactor: remove extra files from reports

* refactor: marker-spot-label tests

* Niloofar Sadeghi / Task - Refactor tests in the binary-link.spec.tsx file (#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 (#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 (#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 (#7751)

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

* yashim/fix: translations (#7754)

* translations: 📚 sync translations with crowdin (#7755)

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

* fix: onboarding translations (#7757)

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

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

* translations: 📚 sync translations with crowdin (#7762)

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

* translations: 📚 sync translations with crowdin (#7763)

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

* carol/fix: translation issue (#7764)

* translations: 📚 sync translations with crowdin (#7766)

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

* translations: 📚 sync translations with crowdin (#7767)

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

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

* fix: update extraction regex

* fix: update test for new extraction

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

* fix: improper formatted strings

* translations: 📚 sync translations with crowdin (#7770)

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

* translations: 📚 sync translations with crowdin (#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 (#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 (#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 (#7429)

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

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

* fix: pass is_eu_country flag to SmartChart

* fix: bala change deploy command

* fix: add server maintenance notice (#7498)

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

* likhith/feat:incorporated string normalization to match non english characters (#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 (#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 (#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 (#7679)

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

* fix: ✏️ fixes text content & size in Account Limits settings (#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 (#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 (#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 (#7791)

* translations: 📚 sync translations with crowdin (#7795)

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

* Jim/85458/allow poo submission on valid data (#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 (#7608)

* Ameerul /Bug 87254 Scrolling is not working when reduce the screen size  (#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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants