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

Shafin/bot 185/refactor remove connect journal load modal local #3

Conversation

shafin-deriv
Copy link
Collaborator

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

prince-deriv and others added 30 commits September 19, 2022 08:46
…y-com#6543)

* removed endpoint option and made dashboard as default homepage

* removed unsed components

* made dashboard page as the deafult route

* made dashboard page as the deafult route

* made dashboard page as the deafult route

* made dashboard page as the deafult route

* removed imports from app.jsx and used common import

* fixed review comments

* fixed review comments
* MaryiaF/feat: Quick Strategy

* MaryiaF/feat: create components for Quick Strategy

* feat: update implementation of the QStrategy form, create a new select for type of strategy

* feat: create reusable field for the form

* MaryiaF/feat: update data and properties for the reusable fields, implementation reusable methods, optimization of the code

* MaryiaF/fix: the issue when the field is undefined

* MaryiaF/fix: uniq input field for all types of strategies, renaming nessesary variables, replacing duplicate conditions with reusable methods

* MaryiaF/fix: setActiveTabIndex() rename to setActiveTypeStrategyIndex() in order to keep the previous implementation of the form and the new one working

* MaryiaF/refactor: improve reusable methods and cases, remove unnessesary methods for new design, code optimization

* MaryiaF/feat: optimize Field component for most of possible cases

* MaryiaF/refactor: form component, splite to SelectField component

* MaryiaF/refactor: form component, splite to SelectField component

* MaryiaF/refactor: improve the implementation of fields

* MaryiaF/chore: move the folder of q-strategy to dashboard

* MaryiaF/refactor: add types with TypeScript for components QStrategy and QStrategyContainer

* MaryiaF/refactor: add TS for common_inputs_properties object

* MaryiaF/refactor: add types for q-strategy, market-option, footer, form, trade-type-option components and for objects

* MaryiaF/fix: issues of TS of all components

* MaryiaF/chore: remove unused variables

* MaryiaF/chore: remove duplicated component SelectField

* MaryiaF/chore: remove unused remaining variables

* MaryiaF/refactor: add type for initial_values of the form with TS

* MaryiaF/refactor: improve InputField component of the form to more reusable

* MaryiaF/feat: add styles as per new design for the Quick strategy form

* MaryiaF/chore: remove unnessesary variables, fix styles of active item of the strategy of the select component

* MaryiaF/fex: to memoize components and avoid unnecessary re-renders

* MaryiaF/feat: validation all fields, refactoring re-renders

* MaryiaF/chore: remove unnecessary methods from the store quick-strategy-store

* MaryiaF/chore: fix consistent-return issue

* MaryiaF/fix: Eslint issues, console issues, TS issues

* MaryiaF/refactor: add types for store quick-strategy-store

* MaryiaF/feat: add by click button quick strategy open q-strategy form on the mobile, refactoring/fixing styles after pull changes

* MaryiaF/fix: types of quick-strategy-store

* MaryiaF/fix: rename functions, variables as per convention, fix types of TS

* MaryiaF/fix: remove matching 01 of the fields

* MaryiaF/refactor: jsx elements + add TODO for the future in the store quick-strategy-store.ts

* MaryiaF/refactor: rename files

* MaryiaF/chore: remove unnecessary types

* MaryiaF/fix: method createStrategy()

* MaryiaF/refactor: type of the RootStore in the QuickStrategy store

* MaryiaF/fix: add triggers on the form QStrategy for button "run/create and edit"

* MaryiaF/feat: form alight to the centre when the performance panel collapped

* MaryiaF/chore: rename components to full name

* MaryiaF/chore: remove unnecessary property of objects(id and name are the same)

* MaryiaF/chore: rename variables as per code convension

* MaryiaF/chore: remove unnecessary extra fragment

* MaryiaF/chore: rename variables as per convention

* MaryiaF/refactor: expressions
* Adrienne / Changed border bottom color for order details page in responsive for dark mode (binary-com#6221)

* changed border bottom color for order details

* Changed border bottom color for buy-sell modal

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

* hamid/65032/migrate-deposit-to-ts (binary-com#6307)

* Migrate Deposit to TS

* Remove package-lock.json

* Fix test errors

* Change data-testid name

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

* hamid/74066/migrate-shared-components-to-ts (binary-com#6342)

* Migrate Error to TS

* Migrate ResendEmailButtonWrapper to TS

* Migrate SideNote to TS

* Migrate USDTSideNote to TS

* Fix typo

* Rename RootStore to TRootStore

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

* Farzin/73307/TS migration of deposit related stores (binary-com#6262)

* update MobX libraries

* bot migration

* trader migration

* core migration

* cfd migration

* p2p migration

* cashier migration

* regenerate package-lock.json

* fix verification store issue on cashier

* temperately commented failed tests to find a solution

* fix console errors related to mobx

* regenerate package-lock.json

* fix general store issue on p2p

* bug: fix p2p stores bugs

* fix console errors

* fix: Open position blinking while there is active contract going on

* perf(cashier): add types for client, common, ui stores; refactor Types folder structure

* perf(cashier): add types in client, ui stores

* refactor(cashier): refactor root-store declaration into type

* refactor(cashier): refactor naming

* fix: blinking issue

* fix: nitpik

* feat(cashier): 🚧 migrate `ErrorStore` to TypeScript

* fix bot issue

* feat(cashier): 🚧 migrate `IframeStore` to TypeScript

* feat(cashier): 🚧 migrate `DepositStore` to TypeScript

* chores: change @deriv/deriv-charts versions

* fix(cashier): 🐛 fix `tsconfig`

* fix(cashier): 📝 resolve PR comments

* fix(cashier): 📝 resolve PR comments

* fix(cashier): 📝 resolve PR comments

* fix(cashier): 📝 resolve PR comments

* refactor(cashier): ⚰️ remove `container` as a prop in `setIframeUrl` method

* fix(cashier): 📝 resolve merge conflicts

* fix(cashier): 📝 resolve merge conflicts

Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>
Co-authored-by: george-usynin-binary <heorhi@binary.com>
Co-authored-by: George Usynin <103181646+george-usynin-binary@users.noreply.github.com>
Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>

* Farzin/73507/Duplicate ads shown on "My ad" page in DP2P,  after you edit and close the sell ad. (binary-com#6222)

* fix(dp2p): 🐛 fix duplicated adverts issue in my ads tab

* Trigger Build

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

* likhith/fixed rerouting to p2p from cashier dashboard (binary-com#6244)

* fix: refactored condition that resets the route

* fix: failing test cases

* merged master

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

* yauheni/74104/ts migration for account DemoMessage component (binary-com#6346)

Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>

* yauheni/74383/ converting app.jsx in account to functional component (binary-com#6282)

* yauheni/74383/ converting app in account to functional component

* converted to tsx with rootstore

* added todo for future types implementation

Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: Matin shafiei <matin@deriv.com>
Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>

* yauheni/74189/ts_migration_text_container-deleted_being_unused (binary-com#6378)

Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>

* feat: added configuration for account package migration (binary-com#6419)

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

* Revert "yauheni/74383/ converting app.jsx in account to functional component (binary-com#6282)" (binary-com#6612)

This reverts commit e1fc3e8.

* Revert "feat: added configuration for account package migration (binary-com#6419)" (binary-com#6613)

This reverts commit d9974cb.

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

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

* Update to single quote (binary-com#6618)

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

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

* Revert "sandeep/65842/unifiy-websocket -- using the same websocket instance from the core … (binary-com#6555)" (binary-com#6623)

This reverts commit e2b3d2e.

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

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

* P2P / Feature - Blocked advertiser (binary-com#6006)

* create feature branch

* Ameerul /Task 65488 Reusable modal to block advertiser (binary-com#5589)

* changed the margin-top for mobile view for buy-sell

* merging upstream master

* merge with local

* added new component (modal) for blocking/unblocking users and added a new observable in advertiser-page-store to view modal

* ammended observable bool value to false and made props required for the modal

* changed the ternary for each localized text to accomadate translations

* added minor changes

* changed the localize tags in button

* fixed isRequired

* removed observable is_block_user_modal_open, pass as prop to BlockUserModal instead

* Update branch (binary-com#5680)

* fixed translation for amount field in account transfer form cashier (binary-com#5605)

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

* farrah/updated deposit store test coverage (binary-com#5430)

* updated deposit store test coverage

* added a check for updateAccountStatus

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

* likhith/Fix validation message for payment methods (binary-com#5187)

* Added appropriate error message

* Fixed error messages in Edit form

* Added validation for SWIFT

* Added a hook to validate methods

* Removed commented code

* Refactored the code by moving the custom hook to hooks folder

* Minor bug fixes

* refactor: Renamed a variable

* fix: added regex to allow more characters as valid

* fix: implemented button disabled

* fix: changed the edit payment method

* fix: added payment error message overlapping issue

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

* Amina/poi_limited_test_case (binary-com#5642)

* poi_limited_test_case

* poi_limited_test_case

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

* yauheni / IdvRejected test coverage (binary-com#5637)

Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>

* yauheni / IdvNoSubmisssions test coverage (binary-com#5636)

* yauheni / IdvNoSubmisssions test coverage

* imports fix

* naming typo fix

* Delete poi-idv-rejected.spec.js

Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>

* feat: add check if has restricted parent (binary-com#5635)

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

* Adrienne / P2P responsive add PM full screen modal button footers are now fixed by design (binary-com#5561)

* Mobile add PM full screen modal button footers are now fixed by design specs

* Incorporated code review changes

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

* Bala/Add bootstrap dev script (binary-com#5659)

* chore: add bootstrap dev script

* Update package.json

Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com>

* chore: remove build from bootstrap

Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com>
Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>

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

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

* update branch

Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com>
Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com>
Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com>
Co-authored-by: Likhith Kolayari <likhith@deriv.com>
Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com>
Co-authored-by: yauheni-kryzhyk-deriv <103182683+yauheni-kryzhyk-deriv@users.noreply.github.com>
Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: maryiafrantsava-binary <103181650+maryiafrantsava-binary@users.noreply.github.com>
Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com>
Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com>
Co-authored-by: Yashim Wong <75345074+yashim-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>

* Adrienne / Create blocked advertisers tab (binary-com#5590)

* Added new blocked advertisers tab for desktop and mobile

* Refactored code

* Added blocked advertisers svg icon

* Resolved failed build, added blocked-advertisers.svg icon

* Incorporated code review suggestions

* Incorporated code review suggestions

* Show loading screen when icon is still loading

* Removed loading

* Removed manual font size

* fix: block user folder and stuff (binary-com#5848)

* Block unblock function draft (binary-com#5857)

* Added block/unblock function to general-store

* Added new observable

* Refactored

* Adrienne / Blocked user count icon with tooltip (binary-com#5684)

* Created component for blocked user count

* Added blocked user count component

* Added blocked user icon

* Linked blocked_by_count returned by BE

* Incorporated code reviews

* Added block user count modal for mobile when user taps on the block user count

* Ensure blocked user icon count has correct fill in dark mode

* Adrienne / Blocked advertiser overlay (binary-com#5859)

* Added block user overlay component for desktop/responsive

* Refacted sass file to use BEM convention and removed default

* Refactored code review changes

* Refactored code review changes

* Refactored overlay component as a wrapper

* Show unblock user modal and added unblock user action

* changed icon name

* Added checks for response

* Incorporated code review changes

* Fixed typo

* Change overlay height for mobile to ensure it fills remaining space

* Removed tabs in advertiser's page as per design

* Fixed test issues

* Made advertiser page non-scrollable when overlay is shown

* Removed close icon from block user modal as discussed

* Removed block me button

* Removed setIsBlockedUserModalOpen from advertiser page store

* Renamed props in block user overlay to onClickUnblock

* Renamed overlay props

* Added TODO regarding design changes on tabs in advertiser page

* updated observables

* added boolean checks

* Ameerul /Task 65494 list of blocked users feature (binary-com#5858)

* added 2 new components for row and table, added new scss file, added new functions and observables in my_profile and advertiser-page store

* fixed loading issue, mobile full page modal view and the css issue for viewing the table

* refactored code in advertiser store and block user modal

* removed promise for getBlockedAdvertisersList function

* merged blocked advertiser tab with list of users

* added removed code

* empty commit

* refactored code

* refactored blockUnblockUser function

* separated the block user table to my-profile and refactored code

* added blockUnblockUser function to general store

* added new functions to general store

* merged with master, added new functions in general store to block user table and to my profile store

* changed page header for blocked advertisers list

* Adrienne / Added search functionality for list of blocked advertisers (binary-com#6005)

* Added search functionality

* Refactored code changes

* Refactored code changes

* Renamed BlockedAdvertisersList to BlockUserList

* Fixed issues with block advertiser list table height

* Fixed issue with search box not loading

* Fixed an issue where the profile header is not fully width

* Reduced margin bottom height for tabs and stats height due to flex

* Ameerul /Task #65487 Dropdown Block User Feature (binary-com#5682)

* added dropdown, menu dots icon, added function for users to block advertisers with block user modal

* refactored code, and renamed dropdown component to advertiser-page-dropdown-menu

* renamed variables and functions according to comments

* refactored block user function in advertiser-page-store and block-user-modal

* minor changes to the imports

* merged with master and added changes

* removed old blockUser and showModal functions from advertiser store

* removed is_blocked from dropdown

* refactored code with comments

* moved showBlockUserModal function to the store

* removed curly brackets in name

* fixed gap in modal

* fixed tooltip message and user cannot block themselves

* fixed dropdown darkmode design and hid menu dots icon when user is blocked

* changed dropdown hover colour

* added useOnClickOutisde Hook to hide dropdown when clicked outside

* Refactored blocked user overlay css and advertiser page css (binary-com#6097)

* Blocked user feature sanity check (binary-com#6434)

* added dropdown, menu dots icon, added function for users to block advertisers with block user modal

* refactored code, and renamed dropdown component to advertiser-page-dropdown-menu

* renamed variables and functions according to comments

* refactored block user function in advertiser-page-store and block-user-modal

* minor changes to the imports

* merged with master and added changes

* removed old blockUser and showModal functions from advertiser store

* removed is_blocked from dropdown

* refactored code with comments

* moved showBlockUserModal function to the store

* removed curly brackets in name

* fixed gap in modal

* fixed tooltip message and user cannot block themselves

* fixed dropdown darkmode design and hid menu dots icon when user is blocked

* changed dropdown hover colour

* added useOnClickOutisde Hook to hide dropdown when clicked outside

* fixed bug fixes for advertiser page and my profile name

* Adrienne / Blocked user feature search box bug (Merge after sanity check PR is merged!) (binary-com#6436)

* added dropdown, menu dots icon, added function for users to block advertisers with block user modal

* refactored code, and renamed dropdown component to advertiser-page-dropdown-menu

* renamed variables and functions according to comments

* refactored block user function in advertiser-page-store and block-user-modal

* minor changes to the imports

* merged with master and added changes

* removed old blockUser and showModal functions from advertiser store

* removed is_blocked from dropdown

* refactored code with comments

* moved showBlockUserModal function to the store

* removed curly brackets in name

* fixed gap in modal

* fixed tooltip message and user cannot block themselves

* fixed dropdown darkmode design and hid menu dots icon when user is blocked

* changed dropdown hover colour

* added useOnClickOutisde Hook to hide dropdown when clicked outside

* fixed bug fixes for advertiser page and my profile name

* Fixed an issue where the block user table does not display No blocked advertisers after unblocking the last user during search

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

* Blocked user count not appearing in my profile (binary-com#6446)

* fixed bugs for blocked user count in my profile

* reverted changes from my profile and change my profile name

* Aligned avatar to flex start in advertiser page as per design requirements (binary-com#6553)

* Adrienne / Hide block user dropdown when user views their own advertiser page (binary-com#6529)

* Hide block user dropdown when user views their own advertiser page

* Removed dropdown when user views their own ad and also removes disabled dropdown prop functionality

* Adrienne / Fixed alignment issues with block user count in responsive and bug where Blocked Advertisers responsive tab is not fully visible (binary-com#6527)

* Fixed alignment issues with block user count in responsive and bug where Blocked Advertisers responsive tab is not fully visible

* Integrated code review

* Adrienne / Made block user count to be subscribed to updates (binary-com#6561)

* Moved blocked user count observable to general store's subscription to subscribe to block user count updates

* Destructure response

* Refactored code

* Ameerul /Bug 76978 Blocked advertiser list is not loading after barred one user and showing console error (binary-com#6565)

* added error handling if user is barred and wants to get blocked advertisers list

* updated ui for error message and added new component to handle errors in table

* changed mobile margin for error message

* added new icon for blocked advertisers barred

* removed commented code

* Adrienne / Removed hover styling for responsive in blocked advertisers list (binary-com#6567)

* test

* test

* test agane

* Added styling for unfocusing

* Added styling for unfocusing

* Removed hover styling for responsive

* Ameerul /Bug 77176 The Block modal keep on looping for Disable P2P user  (binary-com#6580)

* added error-modal in advertiser page to handle if advertiser is banned and user wants to block

* updated error modal has_close_icon and implemented comments

* added has_close_icon in props

* Ameerul /Bug 77339 When userA trying to block an advertiser is barred, once userA is unbarred on trying to block advertiser temporary barred error model is displayed (binary-com#6591)

* fixed issue when user is banneed and tries to block advertiser, and changed width for error modal

* fixed checking if user is barred and changed error modal styling

* Adrienne / Scrollable advertiser page when no ads in responsive (binary-com#6622)

* draft pr

* removed top margin in advertiser page ads table

Co-authored-by: Carol Sachdeva <carol@binary.com>
Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com>
Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>
Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com>
Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com>
Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com>
Co-authored-by: Likhith Kolayari <likhith@deriv.com>
Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com>
Co-authored-by: yauheni-kryzhyk-deriv <103182683+yauheni-kryzhyk-deriv@users.noreply.github.com>
Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: maryiafrantsava-binary <103181650+maryiafrantsava-binary@users.noreply.github.com>
Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com>
Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com>
Co-authored-by: Yashim Wong <75345074+yashim-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: Adrienne Rio <adrienne@deriv.com>
Co-authored-by: Ameerul Hady <ameerul@deriv.com>

* thisyahlen/fix for reset balance (binary-com#6630)

* fix for reset balance

* code refactor

* code refactor

* console rates fix

* Blocked advertiser hotfix (binary-com#6635)

* add: delay

* reduce delay

* set active tab to my stats on unmount in my profile

Co-authored-by: ameerul hady <ameerul@deriv.com>

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

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

* Akmal / Rename Synthetic accounts into Derived (binary-com#6568)

* Rename Synthetic accounts into Derived

* Update test cases

* Fix failed test cases

* Fix: icons naming

* Fix: remove unused function

* Fix: icons.js

* Rename latest strings

* Content and style changes for derived accounts

* Content changes for MT5 dashboard

* Rename DMT5 to Deriv Mt5

* Fix test cases

* Revert "Fix test cases"

This reverts commit 74dd2fb.

* Revert "Rename DMT5 to Deriv Mt5"

This reverts commit f0b74d7.

* Revert "Content changes for MT5 dashboard"

This reverts commit 32e03e6.

* Redo content changes

* Revert the fix

* Rename derived label to derived svg

* Change label for real account

* Revert revert 'Rename DMT5 password to Deriv MT5 password'

* Fix test cases

* Fix test case

* Change password modal title

* Fix test case

* Revert Derived SVG change

* Change DMT5 to Deriv MT5 in jurisdiction

* Add condition

* removed Dmt5 from the transfer dropdown in cashier

* fixed cashier related test cases

* Update jurisdiction modal

* Fix the whatever

* Temporarily remove test case until Deriv X part is done

* Add jurisdiction to success modal

* Fix getFormattedJurisdictionCode

* Add enter password label with jurisdiction

* Remove old test case, the value is set dynamically

* Temp fix: change derived label to synthetic for deriv x only

* Revert "Vinu/removed Dmt5 for synthetic account from the transfer dropdown in cashier"

* Fix: dxtrade label temp fix

* Fix: remp fix for dxtrade label in success modal

* Revert label for deriv x

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

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

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

* carol/ React simple star rating dependency (binary-com#6652)

* fix: dependency

* fix: dependency please

* reran bootstrap and build

Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com>
Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>
Co-authored-by: Hamid <hamid@re-work.dev>
Co-authored-by: Farzin Mirzaie <72082844+farzin-fs@users.noreply.github.com>
Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>
Co-authored-by: george-usynin-binary <heorhi@binary.com>
Co-authored-by: George Usynin <103181646+george-usynin-binary@users.noreply.github.com>
Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com>
Co-authored-by: yauheni-kryzhyk-deriv <103182683+yauheni-kryzhyk-deriv@users.noreply.github.com>
Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: Matin shafiei <matin@deriv.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: Sui Sin <103026762+suisin-deriv@users.noreply.github.com>
Co-authored-by: Nijil Nirmal <62882794+nijil-binary@users.noreply.github.com>
Co-authored-by: Carol Sachdeva <carol@binary.com>
Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com>
Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com>
Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com>
Co-authored-by: Likhith Kolayari <likhith@deriv.com>
Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com>
Co-authored-by: maryiafrantsava-binary <103181650+maryiafrantsava-binary@users.noreply.github.com>
Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com>
Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com>
Co-authored-by: Adrienne Rio <adrienne@deriv.com>
Co-authored-by: Ameerul Hady <ameerul@deriv.com>
Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com>
Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com>
Co-authored-by: Yashim Wong <yashim@deriv.com>
Co-authored-by: vinu-deriv <vinu@deriv.com>
* MaryiaF/fix: add optional for .field_name

* MaryiaF/fix: error field_name
* Adrienne / Changed border bottom color for order details page in responsive for dark mode (binary-com#6221)

* changed border bottom color for order details

* Changed border bottom color for buy-sell modal

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

* hamid/65032/migrate-deposit-to-ts (binary-com#6307)

* Migrate Deposit to TS

* Remove package-lock.json

* Fix test errors

* Change data-testid name

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

* hamid/74066/migrate-shared-components-to-ts (binary-com#6342)

* Migrate Error to TS

* Migrate ResendEmailButtonWrapper to TS

* Migrate SideNote to TS

* Migrate USDTSideNote to TS

* Fix typo

* Rename RootStore to TRootStore

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

* Farzin/73307/TS migration of deposit related stores (binary-com#6262)

* update MobX libraries

* bot migration

* trader migration

* core migration

* cfd migration

* p2p migration

* cashier migration

* regenerate package-lock.json

* fix verification store issue on cashier

* temperately commented failed tests to find a solution

* fix console errors related to mobx

* regenerate package-lock.json

* fix general store issue on p2p

* bug: fix p2p stores bugs

* fix console errors

* fix: Open position blinking while there is active contract going on

* perf(cashier): add types for client, common, ui stores; refactor Types folder structure

* perf(cashier): add types in client, ui stores

* refactor(cashier): refactor root-store declaration into type

* refactor(cashier): refactor naming

* fix: blinking issue

* fix: nitpik

* feat(cashier): 🚧 migrate `ErrorStore` to TypeScript

* fix bot issue

* feat(cashier): 🚧 migrate `IframeStore` to TypeScript

* feat(cashier): 🚧 migrate `DepositStore` to TypeScript

* chores: change @deriv/deriv-charts versions

* fix(cashier): 🐛 fix `tsconfig`

* fix(cashier): 📝 resolve PR comments

* fix(cashier): 📝 resolve PR comments

* fix(cashier): 📝 resolve PR comments

* fix(cashier): 📝 resolve PR comments

* refactor(cashier): ⚰️ remove `container` as a prop in `setIframeUrl` method

* fix(cashier): 📝 resolve merge conflicts

* fix(cashier): 📝 resolve merge conflicts

Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>
Co-authored-by: george-usynin-binary <heorhi@binary.com>
Co-authored-by: George Usynin <103181646+george-usynin-binary@users.noreply.github.com>
Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>

* Farzin/73507/Duplicate ads shown on "My ad" page in DP2P,  after you edit and close the sell ad. (binary-com#6222)

* fix(dp2p): 🐛 fix duplicated adverts issue in my ads tab

* Trigger Build

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

* likhith/fixed rerouting to p2p from cashier dashboard (binary-com#6244)

* fix: refactored condition that resets the route

* fix: failing test cases

* merged master

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

* yauheni/74104/ts migration for account DemoMessage component (binary-com#6346)

Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>

* yauheni/74383/ converting app.jsx in account to functional component (binary-com#6282)

* yauheni/74383/ converting app in account to functional component

* converted to tsx with rootstore

* added todo for future types implementation

Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: Matin shafiei <matin@deriv.com>
Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>

* yauheni/74189/ts_migration_text_container-deleted_being_unused (binary-com#6378)

Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>

* feat: added configuration for account package migration (binary-com#6419)

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

* Revert "yauheni/74383/ converting app.jsx in account to functional component (binary-com#6282)" (binary-com#6612)

This reverts commit e1fc3e8.

* Revert "feat: added configuration for account package migration (binary-com#6419)" (binary-com#6613)

This reverts commit d9974cb.

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

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

* Update to single quote (binary-com#6618)

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

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

* Revert "sandeep/65842/unifiy-websocket -- using the same websocket instance from the core … (binary-com#6555)" (binary-com#6623)

This reverts commit e2b3d2e.

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

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

* P2P / Feature - Blocked advertiser (binary-com#6006)

* create feature branch

* Ameerul /Task 65488 Reusable modal to block advertiser (binary-com#5589)

* changed the margin-top for mobile view for buy-sell

* merging upstream master

* merge with local

* added new component (modal) for blocking/unblocking users and added a new observable in advertiser-page-store to view modal

* ammended observable bool value to false and made props required for the modal

* changed the ternary for each localized text to accomadate translations

* added minor changes

* changed the localize tags in button

* fixed isRequired

* removed observable is_block_user_modal_open, pass as prop to BlockUserModal instead

* Update branch (binary-com#5680)

* fixed translation for amount field in account transfer form cashier (binary-com#5605)

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

* farrah/updated deposit store test coverage (binary-com#5430)

* updated deposit store test coverage

* added a check for updateAccountStatus

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

* likhith/Fix validation message for payment methods (binary-com#5187)

* Added appropriate error message

* Fixed error messages in Edit form

* Added validation for SWIFT

* Added a hook to validate methods

* Removed commented code

* Refactored the code by moving the custom hook to hooks folder

* Minor bug fixes

* refactor: Renamed a variable

* fix: added regex to allow more characters as valid

* fix: implemented button disabled

* fix: changed the edit payment method

* fix: added payment error message overlapping issue

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

* Amina/poi_limited_test_case (binary-com#5642)

* poi_limited_test_case

* poi_limited_test_case

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

* yauheni / IdvRejected test coverage (binary-com#5637)

Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>

* yauheni / IdvNoSubmisssions test coverage (binary-com#5636)

* yauheni / IdvNoSubmisssions test coverage

* imports fix

* naming typo fix

* Delete poi-idv-rejected.spec.js

Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>

* feat: add check if has restricted parent (binary-com#5635)

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

* Adrienne / P2P responsive add PM full screen modal button footers are now fixed by design (binary-com#5561)

* Mobile add PM full screen modal button footers are now fixed by design specs

* Incorporated code review changes

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

* Bala/Add bootstrap dev script (binary-com#5659)

* chore: add bootstrap dev script

* Update package.json

Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com>

* chore: remove build from bootstrap

Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com>
Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>

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

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

* update branch

Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com>
Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com>
Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com>
Co-authored-by: Likhith Kolayari <likhith@deriv.com>
Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com>
Co-authored-by: yauheni-kryzhyk-deriv <103182683+yauheni-kryzhyk-deriv@users.noreply.github.com>
Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: maryiafrantsava-binary <103181650+maryiafrantsava-binary@users.noreply.github.com>
Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com>
Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com>
Co-authored-by: Yashim Wong <75345074+yashim-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>

* Adrienne / Create blocked advertisers tab (binary-com#5590)

* Added new blocked advertisers tab for desktop and mobile

* Refactored code

* Added blocked advertisers svg icon

* Resolved failed build, added blocked-advertisers.svg icon

* Incorporated code review suggestions

* Incorporated code review suggestions

* Show loading screen when icon is still loading

* Removed loading

* Removed manual font size

* fix: block user folder and stuff (binary-com#5848)

* Block unblock function draft (binary-com#5857)

* Added block/unblock function to general-store

* Added new observable

* Refactored

* Adrienne / Blocked user count icon with tooltip (binary-com#5684)

* Created component for blocked user count

* Added blocked user count component

* Added blocked user icon

* Linked blocked_by_count returned by BE

* Incorporated code reviews

* Added block user count modal for mobile when user taps on the block user count

* Ensure blocked user icon count has correct fill in dark mode

* Adrienne / Blocked advertiser overlay (binary-com#5859)

* Added block user overlay component for desktop/responsive

* Refacted sass file to use BEM convention and removed default

* Refactored code review changes

* Refactored code review changes

* Refactored overlay component as a wrapper

* Show unblock user modal and added unblock user action

* changed icon name

* Added checks for response

* Incorporated code review changes

* Fixed typo

* Change overlay height for mobile to ensure it fills remaining space

* Removed tabs in advertiser's page as per design

* Fixed test issues

* Made advertiser page non-scrollable when overlay is shown

* Removed close icon from block user modal as discussed

* Removed block me button

* Removed setIsBlockedUserModalOpen from advertiser page store

* Renamed props in block user overlay to onClickUnblock

* Renamed overlay props

* Added TODO regarding design changes on tabs in advertiser page

* updated observables

* added boolean checks

* Ameerul /Task 65494 list of blocked users feature (binary-com#5858)

* added 2 new components for row and table, added new scss file, added new functions and observables in my_profile and advertiser-page store

* fixed loading issue, mobile full page modal view and the css issue for viewing the table

* refactored code in advertiser store and block user modal

* removed promise for getBlockedAdvertisersList function

* merged blocked advertiser tab with list of users

* added removed code

* empty commit

* refactored code

* refactored blockUnblockUser function

* separated the block user table to my-profile and refactored code

* added blockUnblockUser function to general store

* added new functions to general store

* merged with master, added new functions in general store to block user table and to my profile store

* changed page header for blocked advertisers list

* Adrienne / Added search functionality for list of blocked advertisers (binary-com#6005)

* Added search functionality

* Refactored code changes

* Refactored code changes

* Renamed BlockedAdvertisersList to BlockUserList

* Fixed issues with block advertiser list table height

* Fixed issue with search box not loading

* Fixed an issue where the profile header is not fully width

* Reduced margin bottom height for tabs and stats height due to flex

* Ameerul /Task #65487 Dropdown Block User Feature (binary-com#5682)

* added dropdown, menu dots icon, added function for users to block advertisers with block user modal

* refactored code, and renamed dropdown component to advertiser-page-dropdown-menu

* renamed variables and functions according to comments

* refactored block user function in advertiser-page-store and block-user-modal

* minor changes to the imports

* merged with master and added changes

* removed old blockUser and showModal functions from advertiser store

* removed is_blocked from dropdown

* refactored code with comments

* moved showBlockUserModal function to the store

* removed curly brackets in name

* fixed gap in modal

* fixed tooltip message and user cannot block themselves

* fixed dropdown darkmode design and hid menu dots icon when user is blocked

* changed dropdown hover colour

* added useOnClickOutisde Hook to hide dropdown when clicked outside

* Refactored blocked user overlay css and advertiser page css (binary-com#6097)

* Blocked user feature sanity check (binary-com#6434)

* added dropdown, menu dots icon, added function for users to block advertisers with block user modal

* refactored code, and renamed dropdown component to advertiser-page-dropdown-menu

* renamed variables and functions according to comments

* refactored block user function in advertiser-page-store and block-user-modal

* minor changes to the imports

* merged with master and added changes

* removed old blockUser and showModal functions from advertiser store

* removed is_blocked from dropdown

* refactored code with comments

* moved showBlockUserModal function to the store

* removed curly brackets in name

* fixed gap in modal

* fixed tooltip message and user cannot block themselves

* fixed dropdown darkmode design and hid menu dots icon when user is blocked

* changed dropdown hover colour

* added useOnClickOutisde Hook to hide dropdown when clicked outside

* fixed bug fixes for advertiser page and my profile name

* Adrienne / Blocked user feature search box bug (Merge after sanity check PR is merged!) (binary-com#6436)

* added dropdown, menu dots icon, added function for users to block advertisers with block user modal

* refactored code, and renamed dropdown component to advertiser-page-dropdown-menu

* renamed variables and functions according to comments

* refactored block user function in advertiser-page-store and block-user-modal

* minor changes to the imports

* merged with master and added changes

* removed old blockUser and showModal functions from advertiser store

* removed is_blocked from dropdown

* refactored code with comments

* moved showBlockUserModal function to the store

* removed curly brackets in name

* fixed gap in modal

* fixed tooltip message and user cannot block themselves

* fixed dropdown darkmode design and hid menu dots icon when user is blocked

* changed dropdown hover colour

* added useOnClickOutisde Hook to hide dropdown when clicked outside

* fixed bug fixes for advertiser page and my profile name

* Fixed an issue where the block user table does not display No blocked advertisers after unblocking the last user during search

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

* Blocked user count not appearing in my profile (binary-com#6446)

* fixed bugs for blocked user count in my profile

* reverted changes from my profile and change my profile name

* Aligned avatar to flex start in advertiser page as per design requirements (binary-com#6553)

* Adrienne / Hide block user dropdown when user views their own advertiser page (binary-com#6529)

* Hide block user dropdown when user views their own advertiser page

* Removed dropdown when user views their own ad and also removes disabled dropdown prop functionality

* Adrienne / Fixed alignment issues with block user count in responsive and bug where Blocked Advertisers responsive tab is not fully visible (binary-com#6527)

* Fixed alignment issues with block user count in responsive and bug where Blocked Advertisers responsive tab is not fully visible

* Integrated code review

* Adrienne / Made block user count to be subscribed to updates (binary-com#6561)

* Moved blocked user count observable to general store's subscription to subscribe to block user count updates

* Destructure response

* Refactored code

* Ameerul /Bug 76978 Blocked advertiser list is not loading after barred one user and showing console error (binary-com#6565)

* added error handling if user is barred and wants to get blocked advertisers list

* updated ui for error message and added new component to handle errors in table

* changed mobile margin for error message

* added new icon for blocked advertisers barred

* removed commented code

* Adrienne / Removed hover styling for responsive in blocked advertisers list (binary-com#6567)

* test

* test

* test agane

* Added styling for unfocusing

* Added styling for unfocusing

* Removed hover styling for responsive

* Ameerul /Bug 77176 The Block modal keep on looping for Disable P2P user  (binary-com#6580)

* added error-modal in advertiser page to handle if advertiser is banned and user wants to block

* updated error modal has_close_icon and implemented comments

* added has_close_icon in props

* Ameerul /Bug 77339 When userA trying to block an advertiser is barred, once userA is unbarred on trying to block advertiser temporary barred error model is displayed (binary-com#6591)

* fixed issue when user is banneed and tries to block advertiser, and changed width for error modal

* fixed checking if user is barred and changed error modal styling

* Adrienne / Scrollable advertiser page when no ads in responsive (binary-com#6622)

* draft pr

* removed top margin in advertiser page ads table

Co-authored-by: Carol Sachdeva <carol@binary.com>
Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com>
Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>
Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com>
Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com>
Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com>
Co-authored-by: Likhith Kolayari <likhith@deriv.com>
Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com>
Co-authored-by: yauheni-kryzhyk-deriv <103182683+yauheni-kryzhyk-deriv@users.noreply.github.com>
Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: maryiafrantsava-binary <103181650+maryiafrantsava-binary@users.noreply.github.com>
Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com>
Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com>
Co-authored-by: Yashim Wong <75345074+yashim-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: Adrienne Rio <adrienne@deriv.com>
Co-authored-by: Ameerul Hady <ameerul@deriv.com>

* thisyahlen/fix for reset balance (binary-com#6630)

* fix for reset balance

* code refactor

* code refactor

* console rates fix

* Blocked advertiser hotfix (binary-com#6635)

* add: delay

* reduce delay

* set active tab to my stats on unmount in my profile

Co-authored-by: ameerul hady <ameerul@deriv.com>

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

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

* Akmal / Rename Synthetic accounts into Derived (binary-com#6568)

* Rename Synthetic accounts into Derived

* Update test cases

* Fix failed test cases

* Fix: icons naming

* Fix: remove unused function

* Fix: icons.js

* Rename latest strings

* Content and style changes for derived accounts

* Content changes for MT5 dashboard

* Rename DMT5 to Deriv Mt5

* Fix test cases

* Revert "Fix test cases"

This reverts commit 74dd2fb.

* Revert "Rename DMT5 to Deriv Mt5"

This reverts commit f0b74d7.

* Revert "Content changes for MT5 dashboard"

This reverts commit 32e03e6.

* Redo content changes

* Revert the fix

* Rename derived label to derived svg

* Change label for real account

* Revert revert 'Rename DMT5 password to Deriv MT5 password'

* Fix test cases

* Fix test case

* Change password modal title

* Fix test case

* Revert Derived SVG change

* Change DMT5 to Deriv MT5 in jurisdiction

* Add condition

* removed Dmt5 from the transfer dropdown in cashier

* fixed cashier related test cases

* Update jurisdiction modal

* Fix the whatever

* Temporarily remove test case until Deriv X part is done

* Add jurisdiction to success modal

* Fix getFormattedJurisdictionCode

* Add enter password label with jurisdiction

* Remove old test case, the value is set dynamically

* Temp fix: change derived label to synthetic for deriv x only

* Revert "Vinu/removed Dmt5 for synthetic account from the transfer dropdown in cashier"

* Fix: dxtrade label temp fix

* Fix: remp fix for dxtrade label in success modal

* Revert label for deriv x

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

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

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

* carol/ React simple star rating dependency (binary-com#6652)

* fix: dependency

* fix: dependency please

Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com>
Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>
Co-authored-by: Hamid <hamid@re-work.dev>
Co-authored-by: Farzin Mirzaie <72082844+farzin-fs@users.noreply.github.com>
Co-authored-by: Niloofar Sadeghi <niloofar.sadeghi@firstsource.tech>
Co-authored-by: george-usynin-binary <heorhi@binary.com>
Co-authored-by: George Usynin <103181646+george-usynin-binary@users.noreply.github.com>
Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com>
Co-authored-by: yauheni-kryzhyk-deriv <103182683+yauheni-kryzhyk-deriv@users.noreply.github.com>
Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”>
Co-authored-by: Matin shafiei <matin@deriv.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: Sui Sin <103026762+suisin-deriv@users.noreply.github.com>
Co-authored-by: Nijil Nirmal <62882794+nijil-binary@users.noreply.github.com>
Co-authored-by: Carol Sachdeva <carol@binary.com>
Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com>
Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com>
Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com>
Co-authored-by: Likhith Kolayari <likhith@deriv.com>
Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com>
Co-authored-by: maryiafrantsava-binary <103181650+maryiafrantsava-binary@users.noreply.github.com>
Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com>
Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com>
Co-authored-by: Adrienne Rio <adrienne@deriv.com>
Co-authored-by: Ameerul Hady <ameerul@deriv.com>
Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com>
Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com>
Co-authored-by: Yashim Wong <yashim@deriv.com>
Co-authored-by: vinu-deriv <vinu@deriv.com>
* implementation of guide tab in tutorials

* refactored code and added debounce

* converted store from tsx to ts

* dashboard store changes

* fixed review comments
* Making Blockly workspace globally available

* Restructured dashboard tab and elevated blockly workspace initialization to the top

* Fixed bot-builder tab icon typo

* Added portal target id to modal_root

* Fixed design issues and tabs with run strategy panel visibility

* repositioned import and added todo comment

* Fixed field_name error in quick strategy components

* Fixed component naming and console warnings

* Added missing bot class name to fix the run-panel height

* destructured store items

* Added dashboard-store changes in ts file

* worked on comments/suggestions
…nary-com#6679)

* MaryiaF/refactor: implementation of new design DBot Hompage

* MaryiaF/fix: code smell issues related to TS

* MaryiaF/chore: replace px to rem

* MaryiaF/chore: use Text component instead of css properties

* MaryiaF/chore: use Text component instead of css properties

* MaryiaF/chore: avoid index in the key in the .map()

* MaryiaF/refactor: dropdowns

* MaryiaF/fix: remarks related to Text and endsWith()

* MaryiaF/fix: icons of dropdown

* MaryiaF/feat: center the form

* MaryiaF/chore: remove unnecessary prop

* MaryiaF/chore: remove unneccessary prop, move mixin
* feature--dashboard-UI

* added ternary for the main content

* Rupato New Dashboard -- removed console

* updated package-lock

* package lock json changes

* new-package-lock-json

* implemented joyride and ui tour guide development

* added react-joyride

* Added chart tab in new dbot-homepage

* resolved merge conflict and added beacon disable property

* fix for screen width

* added mobx and changes in joyride config

* added updated icon.js

* Worked on bot-builder and added toolbar & toolbox within it

* Worked on bot-builder

* Worked on bot-builder and added toolbar & toolbox within it

* updated icon package

* added icon package

* Fixed icons and resequenced tabs

* added run-panel to the dashboard

* created dashboard store to manage the tab state

* added sidebar and and tutorials UI and also cardpopup functionality

* converted to typescript joyride config

* changes for type in typescript

* Removed duplicate imports

* Fixed imports

* Removed unused components and placed run stretegy button on its place

* refactored dashboard component

* fix for code smells

* made suggested changes

* resolved merge conflict package.lock.json

* regenerated package.lock.json due to merge conflict

* changed file names

* resolved merge conflict

* removed dashboard tsx file

* fix for eslint

* removed sidebar and dashboard.tsx

* added sidebar and dashboard.tsx fiels

* removed translations file

* added translations file

* fix for mobx make observable

* Update packages/bot-web-ui/src/components/toolbar/runStrategy.tsx

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

* Update packages/bot-web-ui/package.json

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

* Update packages/bot-web-ui/src/components/dashboard/dashboard-components/index.scss

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

* Update packages/components/src/components/icon/icons.js

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

* fixed review comments

* fixed review comments

* fix for prettier on circle CI

* refactored component and updated typescript related definitions

* fixed typo and added react mouseevent

* run strategy position fix

* updated types in toolbar and joyride config

* tutorial faq accordion

* tutorial faq content'

* farabi/improved tutorial faq tab

* farabi/improved tutorial-faq tab

* fixed image loading issue

* resolved comments

* chore: undo package-lock.json changes

* improved typescript

* resolved comments

Co-authored-by: rupato-deriv <rupato@deriv.com>
Co-authored-by: Sandeep <sandeep@deriv.com>
Co-authored-by: rupato-deriv <97010868+rupato-deriv@users.noreply.github.com>
Co-authored-by: Sandeep Rajput <90243468+sandeep-deriv@users.noreply.github.com>
Co-authored-by: Matin shafiei <matin@binary.com>
Co-authored-by: Farabi <farabi@Farabi-Chowdhurys-MacBook-Pro-C02X37B9JG5H-Rapid-7-Test.local>
Co-authored-by: Prince <prince@deriv.com>
* added react joyride tour configuration

* resolved PR comments

Co-authored-by: Farabi <farabi@Farabi-Chowdhurys-MacBook-Pro-C02X37B9JG5H-Rapid-7-Test.local>
* Worked on code improvements

* Worked on the improvements and suggestions 2

* bot builder improvements 3

* worked on code improvements 4

* bot builder improvements 5

* bot-builder improvemetns 6

* fix: code smells in dbot dashboard-store

* fix: constants to upper case

* bot-builder improvements

* improvement: css use rem instead of px

* fix: added a comment to fix tab indexing later with a separate card
* feat: make new dasboard tabs vertically scrollable

* feat: fixed height of the tab container for all the tabs and added global variable for mobile and desktop tab content height

* fix: charts width for responsive
* fixed tutorial tab sidebar to stick

* removed border height

* sidebar issue fix

Co-authored-by: Farabi <farabi@Farabis-MacBook-Pro.local>
Co-authored-by: Farabi <farabi@Farabi-Chowdhurys-MacBook-Pro-LT2G9C9X0P-Rapid-7-Test.local>
Co-authored-by: Farabi <farabi@Farabi-Chowdhurys-MacBook-Pro-LT2G9C9X0P-Rapid-7-Test.local>
…-com#6762)

* changes for dashboard features

* changed folder name

* fixed the tcard props and element error naming

* fixed review comments

* fixed review comments

* added onboarding tour guide settings in local storage

* added function to common util function

* fixed review comment

* fix for the load modal popup

* fixed review comments

* changed variable name according to the guildeline naming convention

* added localize to the components

* fixed review comments

* fixed review comments

* fixed UI and scss structure for the google drive popup
* added dark theme colors for tour

* dark theme fix

* ui and content update

Co-authored-by: Farabi <farabi@Farabis-MacBook-Pro.local>
Co-authored-by: Farabi <farabi@Farabi-Chowdhurys-MacBook-Pro-LT2G9C9X0P-Rapid-7-Test.local>
Co-authored-by: Farabi <farabi@Farabi-Chowdhurys-MacBook-Pro-LT2G9C9X0P-Rapid-7-Test.local>
* added tour start or skip dialog

* updated to a reusable function

Co-authored-by: Farabi <farabi@Farabi-Chowdhurys-MacBook-Pro-LT2G9C9X0P-Rapid-7-Test.local>
* added tour retrigger

* minor css changes and fixes

* updated

* removed TODO comment

* added variable color
farabi-deriv and others added 23 commits May 10, 2023 18:12
* fix: replaced with lower height image

* fix: set height

* fix: replaced with lower height images

* fix: dark theme background
* fix: load issue

* fix: removed commented line

* fix: removed commented line

* fix: removed autorun

* fix: edit xml on edit

* fix: codecov trigger

* fix: for reloading default strategy

* fix: typo
* fix: back button functionality

* fix: added the conditon in a variable
* fix: step count and better images

* fix: image height

* fix: image height
* fix:  onboard tour step for mobile

* fix: using dbot_tabs instead of active_tab numbers

* fix: removed dbot_tabs as dependency
* fix: for-save-strategy-popup

* fix: for spelling

* fix: for recentrerender

* fix: for recent rerender settimeout

* fix: for name on popup

* fix: removed settimeout and also added fix for edit click

* fix: removed settimeout and added async await

* fix: trigger codecov

* fix: trigger codecov

* fix: trigger codecov

* fix: trigger codecov

* fix: strategy-popup
…8625)

* fix: removed first step from progress bar and fixed text color

* fix: added tour completion modal for dashboard

* fix: removed isMobile from dashboard store
* fix: for load strategy

* fix: for modal popup

* fix: for chart button

* fix: removed type from local.tsx
* fix: for xml error

* fix: exml error

* fix: for xml error
@shafin-deriv shafin-deriv merged commit ca9f71d into vinu-deriv:replace-connect-method-dbot May 30, 2023
vinu-deriv pushed a commit that referenced this pull request Jun 26, 2023
* feat: added derivez demo/real/static to tradershub/onboarding

* fix: call success modal instead of logging out

* fix: roundup patch #1 based on reviews

* fix: move consts to Helpers/constants file

* fix: roundup patch #2 based on reviews

* Revert "fix: roundup patch #2 based on reviews"

This reverts commit f0cf7f5.

* fix: round up patch#2 based on review

* fix: clean up

* fix: outdated icons after merging

* fix: fixed derivx testcase error

* fix: update derivx icon

* fix: fixed conflicts

* fix: roundup patch #3 based on code reviews

* fix: round up patch#3 based on code reviews

* chore: unit test for derivez static

* fix: asdf

* feat: token implementation for derivez (todo: pandats error)

* fix: qrcode, download links, and download options

* fix: round-up-patch 1

* fix: round-up-patch 2
 - Description Text below the Deriv EZ header on Onboarding page is different from Design
 - Text format is incorrect in DerivEZ Account creation success modal
 - Multiple discrepancies in Trade modal (fixed in round-up-patch 1)

* fix: round-up-patch 3

 - use <React.Fragment> instead ov <>
 - remove unintentional {' '} whitespaces

* fix: code smells

* fix: asdf

* feat: disable derivez real flow

* fix: added top up for DerivEz

* fix: qr code for derivez and derivx

* fix: hide qr box if isMobile

* fix: derivez fund topup text

* fix: derivx fund topup text

* fix: onboarding demo title

* fix: Deriv Ez -> Deriv EZ

* fix: Go -> GO

* fix: Description Text below the Deriv EZ header on Onboarding page

* fix: revert changes on tradershub

* fix: updated to latest description (derivez onboarding/tradershub)

* fix: hide derivez and dxtrade in cfd_restricted countries (japan, norway)

* fix: corrected the time in server maintenance notice on derivez trade modal

* fix: Server maintenance notice time

* fix: DerivEZ icon redirect to https://deriv.com/derivez/

* fix: derivez topupVirtual

* revert: undo changes in cfd-dashboard.tsx (deprecated file)

* remove unnecesary parameter

* fix: fixed derivX top up and trade button in onboarding page

* fix: disable button while getting account creating

* fix: disable GET button while account is being created

* fix: disable GET button while account is being created

* fix: setIsAccountBeingCreated(false) after account creation to reenable get buttons

* fix: remove redundant use of await

* fix: server maintenance time TEXT (not time) for derivez

* fix: reenable button when error is triggered too

* fix: blur derivez icon on onboarding 5th page

* fix: remove function call that trigger token error

* Update cfd-store.js

* fix: pull upstream

* fix: hide derivez from oboarding page

* fix: show derivez on onboarding and remove "Demo" from appname

* fix: empty commit

* fix: total asset included derivez balance

* fix: updated mockstore

* fix: separate dxtrade and derivez token loader into two reactions

* fix: rerunning all of our tests

* chore: empty commit

* fix: capitalization on module import

* chore: empty commit

---------

Co-authored-by: hirad-deriv <hirad@re-work.dev>
Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com>
vinu-deriv pushed a commit that referenced this pull request Jul 3, 2023
…m#9112)

* feat: added derivez demo/real/static to tradershub/onboarding

* fix: call success modal instead of logging out

* fix: roundup patch #1 based on reviews

* fix: move consts to Helpers/constants file

* fix: roundup patch #2 based on reviews

* Revert "fix: roundup patch #2 based on reviews"

This reverts commit f0cf7f5.

* fix: round up patch#2 based on review

* fix: clean up

* fix: outdated icons after merging

* fix: fixed derivx testcase error

* fix: update derivx icon

* fix: fixed conflicts

* fix: roundup patch #3 based on code reviews

* fix: round up patch#3 based on code reviews

* chore: unit test for derivez static

* fix: asdf

* feat: token implementation for derivez (todo: pandats error)

* fix: qrcode, download links, and download options

* fix: round-up-patch 1

* fix: round-up-patch 2
 - Description Text below the Deriv EZ header on Onboarding page is different from Design
 - Text format is incorrect in DerivEZ Account creation success modal
 - Multiple discrepancies in Trade modal (fixed in round-up-patch 1)

* fix: round-up-patch 3

 - use <React.Fragment> instead ov <>
 - remove unintentional {' '} whitespaces

* fix: code smells

* fix: asdf

* feat: disable derivez real flow

* fix: added top up for DerivEz

* fix: qr code for derivez and derivx

* fix: hide qr box if isMobile

* fix: derivez fund topup text

* fix: derivx fund topup text

* fix: onboarding demo title

* fix: Deriv Ez -> Deriv EZ

* fix: Go -> GO

* fix: Description Text below the Deriv EZ header on Onboarding page

* fix: revert changes on tradershub

* fix: updated to latest description (derivez onboarding/tradershub)

* fix: hide derivez and dxtrade in cfd_restricted countries (japan, norway)

* fix: corrected the time in server maintenance notice on derivez trade modal

* fix: Server maintenance notice time

* fix: DerivEZ icon redirect to https://deriv.com/derivez/

* fix: derivez topupVirtual

* revert: undo changes in cfd-dashboard.tsx (deprecated file)

* remove unnecesary parameter

* fix: fixed derivX top up and trade button in onboarding page

* fix: disable button while getting account creating

* fix: disable GET button while account is being created

* fix: disable GET button while account is being created

* fix: setIsAccountBeingCreated(false) after account creation to reenable get buttons

* fix: remove redundant use of await

* fix: server maintenance time TEXT (not time) for derivez

* fix: reenable button when error is triggered too

* fix: blur derivez icon on onboarding 5th page

* fix: remove function call that trigger token error

* Update cfd-store.js

* fix: pull upstream

* fix: hide derivez from oboarding page

* fix: show derivez on onboarding and remove "Demo" from appname

* fix: empty commit

* fix: total asset included derivez balance

* fix: updated mockstore

* fix: separate dxtrade and derivez token loader into two reactions

* fix: rerunning all of our tests

* chore: empty commit

* fix: capitalization on module import

* chore: empty commit

* fix: hotfix

* refactor: use switch-case instead of if-else for type_label

* fix: use short_title instead of title for type_label

* chore: empty commit

* fix: circle ci failing

* fix: font

* Update index.tsx

* fix: text

* fix: asdf

* chore: empty commit

* chore: update branch

* Update cfd-password-modal.tsx

---------

Co-authored-by: hirad-deriv <hirad@re-work.dev>
Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com>
vinu-deriv pushed a commit that referenced this pull request Jul 26, 2023
* fix: attemp #3

* chore: remove irrelevant check

* chore: unit test

* chore: unit test fail

* chore: fixes based on review

* chore: empty commit

* chore: code revie fixes

* chore: revert test case changes

* chore: rename type to TUseTotalAccountBalance

* chore: format doc and added test case for multiple accounts in different currencies

---------

Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com>
vinu-deriv pushed a commit that referenced this pull request Oct 17, 2023
* fix: initial commit

* fix: initial setup for useReportsStore

* chore: remove connect from account-statistics (#2)

* chore: remove connect from filter-component (#3)

* fix: refactor useReportsStores

* chore: remove connect from Indicative-cell (#4)

* fix: reduce typescript errors

* fix: sonarcloud

* fix: resolve typescript errors

* chore: remove connect from composite-calendar

* fix: type fix

* fix: remove connect files and mobx providers

* fix: resolve comments

* fix: resolve comment

* fix: remove unused files

* fix: fix types

* fix: resolve comments

* fix: resolve comments

* fix: snoarcloud

* fix: comment

* fix: comment

* fix: resolve comment

* fix: add onclick to test

* fix: reset with master

* fix: resolve comment

---------

Co-authored-by: Matin shafiei <matin@binary.com>
Co-authored-by: “Matin-deriv” <matin@deriv.com>
vinu-deriv pushed a commit that referenced this pull request Jul 1, 2024
* [DTRA] Farhan/DTRA-945/Dtrader's Tablet View (binary-com#14346)

* feat: tablet view

* revert: trade params test cases

* chore: remove unused imports

* chore: added test case for usedevice

* fix: height

* fix: accumulators stats

* fix: layout

* fix: test

* refactor: update test

* refactor: change mixins names

* fix: platform switcher

* refactor: remove shared isnewmobile and fix styles in contract page

* fix: blocker showing in different page besides dtrader, comments

* fix: comments

* revert: unneded changes

* fix: test failed

* fix: breaking designs because of rtl

* feat: empty

* fix: account switcher

* fix: account switcher and add blocker on portrait

* chore: update test case

* refactor: replace with hook from deriv-com/ui

* fix: failing test cases

* chore: update deriv-com/ui and remove redundant hook

* fix: useonclickoutside

* [TRAH] Sergei / TRAH - 2761 / Trader's hub tablet view (binary-com#13396)

* feat: update to deriv-com/ui

* feat: delete landscape blocker

* feat: add some mixins

* feat: complete with mixins

* feat: modify traders hub main page

* feat: modify main title

* feat: modify asset-summary

* feat: modify asset-summary styles

* feat: modify listing-container and currency-switcher styles

* feat: modify header

* feat: get back package-lock.json

* fix: add some our library to ignore patterns for jest

* chore: empty commit

* feat: get back landscape_blocker

* feat: better to update it in base.config intead of writing it in both files

* feat: update package.json

* feat: create hook to hide landscape_blocker

* feat: move landscape blocker to the react compnent

* feat: add routes to LandscapeBlocker

* feat: add mock for deriv-com/ui in globals.js

* fix: fix one test

* feat: remove jest deriv-com/ui from globals

* fix: trying to fix tests again

* fix: fix again and again

* fix: fix test case again

* feat: add isDesktop check for cfds-listing

* feat: override some styles

* feat: change breakpoints for footer

* fix: change package version

* feat: update mixins based on Farhan PR

* fix: fix lint issue

* feat: delete useEffect in App of trader package and style for landscape blocker

* feat: modify footer

* chore: made decision to delete unreachable code

* feat: get changes back for app component in trader package

* feat: remove routes.root from disable blocker array

* feat: change condition to else

* feat: implement review suggestions and fix mixin

* feat: rename sccs file

* feat: get changes back for trading.scss

* feat: implemet review suggestions

* [TRAH] Sergei / TRAH-2762, TRAH-2763 / Tablet view for Jurisdiction Modal and Compare CFDs Accounts modal (binary-com#14799)

* feat: modify regulators compare modal component

* feat: add correct mixins for cfd-compare-accounts modal

* fix: add resolver for react/jsx-runtime

* fix: mock deriv-com/ui useDevice hook

* feat: implement review suggestions

* Farhan/DTRA-1195/Reports's tablet view (binary-com#14772)

* chore: reports pages tablet view

* style: update width as per figma design

* refactor: landscape cloker component

* fix: comments

* chore: use bitwise to avoid nan value

* fix: comments

* fix: import

* chore: update function

* Farhan/Lock Dtrader Tablet View on Landscape Mode (binary-com#14781)

* chore: lock landscape mode on tablet view

* chore: only show tablet view on real tablet

* fix: notification

* chore: change implementation

* fix: change root

* refactor: comments

* fix: comments

* fix: height

* fix: rtl language

* refactor: remove extra property

* fix: positions modal height based on figma

* chore: add loader before rotating the screen

* fix: failing test

* chore: add timeout before hiding loader

* style: move styles

* chore: another ref for loader timeout cleanup

* fix: hide footer for dtrader

* DTRA / Kate / FEQ-2212 / Hide footer navigation links popovers (binary-com#15176)

* fix: add check for desktop

* refactor: add custom check for tablet os

* refactor: revert changes from endpoint note and server time

* refactor: device detection

* fix: style and update function for detection tablet os

* chore: remove empty space

* chore: remove used type

* DTRA / Kate / FEQ-2213 + FEQ-2205 / Made popover optional (binary-com#15197)

* fix: add check for purchase button popover for tablet

* fix: make popover optional for header

* refactor: add condition for wallets header

* [DTRA] Farhan/Dtrader Tablet Subtasks (binary-com#15123)

* chore: lock landscape mode on tablet view

* chore: only show tablet view on real tablet

* fix: notification

* chore: change implementation

* fix: change root

* refactor: comments

* fix: comments

* fix: height

* fix: rtl language

* refactor: remove extra property

* fix: positions modal height based on figma

* chore: add loader before rotating the screen

* fix: failing test

* chore: add timeout before hiding loader

* style: move styles

* chore: another ref for loader timeout cleanup

* fix: hide footer for dtrader

* chore: update os detect

* fix: failing tests

* fix: height issue

* fix: android device issue and toolbar widgets

* fix: reports height

* fix: test failing

* fix: position drawer on ios

* refactor: remove unused prop

* fix: route for contract

---------

Co-authored-by: balakrishna-deriv <56330681+balakrishna-deriv@users.noreply.github.com>

* chore: update @deriv/deriv-charts to 2.1.16 (binary-com#15212)

Co-authored-by: balakrishna-deriv <balakrishna-deriv@users.noreply.github.com>

* [DTRA] Farhan/Fix test failing (binary-com#15216)

* chore: lock landscape mode on tablet view

* chore: only show tablet view on real tablet

* fix: notification

* chore: change implementation

* fix: change root

* refactor: comments

* fix: comments

* fix: height

* fix: rtl language

* refactor: remove extra property

* fix: positions modal height based on figma

* chore: add loader before rotating the screen

* fix: failing test

* chore: add timeout before hiding loader

* style: move styles

* chore: another ref for loader timeout cleanup

* fix: hide footer for dtrader

* chore: update os detect

* fix: failing tests

* fix: height issue

* fix: android device issue and toolbar widgets

* fix: reports height

* fix: test failing

* fix: position drawer on ios

* refactor: remove unused prop

* fix: route for contract

* fix: failing test and ts

* fix: miseed ts errors

---------

Co-authored-by: balakrishna-deriv <56330681+balakrishna-deriv@users.noreply.github.com>

* feat: get changes back and just delete mixin for tablet (binary-com#15182)

* [FEQ] Sergei / FEQ-2200, FEQ-2201 / Add a real MT5 account, Identity verification, Choose a jurisdiction popup for tablet (binary-com#15205)

* feat: change styles for mt5 jurisdiction modal

* feat: change styles for adding a real mt5 account modal

* feat: change more styles

* fix: add mock for useDevice hook from deriv-com/ui

* [DTRA] Farhan/FEQ-2208/Hide indicators and drawing tools toolbar widgets on tablet (binary-com#15224)

* chore: lock landscape mode on tablet view

* chore: only show tablet view on real tablet

* fix: notification

* chore: change implementation

* fix: change root

* refactor: comments

* fix: comments

* fix: height

* fix: rtl language

* refactor: remove extra property

* fix: positions modal height based on figma

* chore: add loader before rotating the screen

* fix: failing test

* chore: add timeout before hiding loader

* style: move styles

* chore: another ref for loader timeout cleanup

* fix: hide footer for dtrader

* chore: update os detect

* fix: failing tests

* fix: height issue

* fix: android device issue and toolbar widgets

* fix: reports height

* fix: test failing

* fix: position drawer on ios

* refactor: remove unused prop

* fix: route for contract

* fix: failing test and ts

* fix: miseed ts errors

* fix: hide indicators and drawing tools for tablet view

* fix: test case

* fix: height reports

---------

Co-authored-by: balakrishna-deriv <56330681+balakrishna-deriv@users.noreply.github.com>

* [DTRA] Farhan/FEQ-2205/Header notification icon and account settings links are not working as expected (binary-com#15275)

* fix: hide popover on traders hub header

* fix: account switcher width

* fix: comments

* feat: change mixins and add isTablet for datepicker (binary-com#15349)

* feat: change 2 desktop mixins (binary-com#15362)

* [DTRA] Farhan/Tablet view subtasks (binary-com#15376)

* fix: subtasks 2

* fix: failing tests

* [DTRA] Farhan/FEQ-2280/tablet subtasks (binary-com#15404)

* fix: subtasks 2

* fix: failing tests

* fix: positions toggle icon

* refactor: digit breakpoint

* fix: drawer moving when coming back from reports

* fix: tablet tooltip

* fix: hide download widget for tablet

* fix: report open position footer

* fix: double sell button

* fix: digit container

* fix: failing tests

* fix: tests

---------

Co-authored-by: Farhan Ahmad Nurzi <farhan.nurzi@regentmarkets.com>

* FEQ-2313 / Kate / Android tablet- Long code message content is showing in smaller size (binary-com#15474)

* fix: css for link

* fix: css

* chore: get back line height

* refactor: add tablet os check and revert style changes

* Fix tablet view issues (binary-com#15469)

* fix: jest test trader

* fix: alignment issues

* fix: test cases

* fix: contract type dialog height (binary-com#15476)

* Ahmad/Fix Strike Icon color on firefox (binary-com#15481)

* chore: strike icon

* fix: revert all

* fix: tablet issues (binary-com#15497)

* chore: remove unused hook

* [FEX] Sergei / FEQ - 2310, 2311, 2319, 2320, 2344 / Tablet view issues #3 (binary-com#15522)

* fix: change isDisabledLandscapeBlockerRoute because traders hub route now is the root route

* feat: make logged out version of TH accesable for tablet view

* feat: add styles for mt5 password modal

* feat: fix notifications styles

* Ahmad/Strike Icon Svg fix on Firefox (binary-com#15578)

* chore: strike icon

* fix: revert all

* chore: add important

* Ahmad/ Fiix Strike Icon in firefox and update Deriv UI Package (binary-com#15609)

* chore: strike icon

* fix: revert all

* chore: add important

* fix: update packages and remove temp fix

* fix: creation banner and adding mt5 account (binary-com#15659)

* Revert "fix: creation banner and adding mt5 account (binary-com#15659)" (binary-com#15661)

This reverts commit ef2dddb.

* [FEQ] Sergei / FEQ - 2374, 2375, 2376 / Tablet view issues 4 (2) (binary-com#15666)

* fix: creation banner and adding mt5 account

* feat: add deriv-com/ui to account package json

* fix: add react/jsx-runtime to webpack resolvers because i have added deriv-com/ui to package json

* [FEQ] Sergei / FEQ - 2376 / "Get real account" button for DIEL (binary-com#15690)

* feat: tablet view suggestion

* feat: implement new design for tablet

* chore: fix test cases

* chore: add observer

---------

Co-authored-by: Farhan Ahmad Nurzi <125247833+farhan-nurzi-deriv@users.noreply.github.com>
Co-authored-by: Sergei Baranovski <120570511+sergei-deriv@users.noreply.github.com>
Co-authored-by: balakrishna-binary <bala.krishna@regentmarkets.com>
Co-authored-by: kate-deriv <121025168+kate-deriv@users.noreply.github.com>
Co-authored-by: balakrishna-deriv <56330681+balakrishna-deriv@users.noreply.github.com>
Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com>
Co-authored-by: balakrishna-deriv <balakrishna-deriv@users.noreply.github.com>
Co-authored-by: Farhan Ahmad Nurzi <farhan.nurzi@regentmarkets.com>
Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com>
Co-authored-by: ahmadtaimoor-deriv <129935294+ahmadtaimoor-deriv@users.noreply.github.com>
vinu-deriv pushed a commit that referenced this pull request Jul 1, 2024
* Farhan/Lock Dtrader Tablet View on Landscape Mode (binary-com#14781)

* chore: lock landscape mode on tablet view

* chore: only show tablet view on real tablet

* fix: notification

* chore: change implementation

* fix: change root

* refactor: comments

* fix: comments

* fix: height

* fix: rtl language

* refactor: remove extra property

* fix: positions modal height based on figma

* chore: add loader before rotating the screen

* fix: failing test

* chore: add timeout before hiding loader

* style: move styles

* chore: another ref for loader timeout cleanup

* fix: hide footer for dtrader

* feat: added teamp breakpoints

* feat: enable tablet view on accounts

* feat: enabled table view for financial assessment

* feat: tablet design for personal details

* chore: update css files

* feat: enable table view for financial assesment

* feat: enabled tablet view

* feat: removed unwanted code

* feat: updated with logical property

* feat: removd ui store and added devices

* feat: updated nav condition

* fix: removed usage of is_mobile, changed mixin name with latest, footer

* fix: padding of content and footer btn

* DTRA / Kate / FEQ-2212 / Hide footer navigation links popovers (binary-com#15176)

* fix: add check for desktop

* refactor: add custom check for tablet os

* refactor: revert changes from endpoint note and server time

* refactor: device detection

* fix: style and update function for detection tablet os

* chore: remove empty space

* chore: remove used type

* DTRA / Kate / FEQ-2213 + FEQ-2205 / Made popover optional (binary-com#15197)

* fix: add check for purchase button popover for tablet

* fix: make popover optional for header

* refactor: add condition for wallets header

* [DTRA] Farhan/Dtrader Tablet Subtasks (binary-com#15123)

* chore: lock landscape mode on tablet view

* chore: only show tablet view on real tablet

* fix: notification

* chore: change implementation

* fix: change root

* refactor: comments

* fix: comments

* fix: height

* fix: rtl language

* refactor: remove extra property

* fix: positions modal height based on figma

* chore: add loader before rotating the screen

* fix: failing test

* chore: add timeout before hiding loader

* style: move styles

* chore: another ref for loader timeout cleanup

* fix: hide footer for dtrader

* chore: update os detect

* fix: failing tests

* fix: height issue

* fix: android device issue and toolbar widgets

* fix: reports height

* fix: test failing

* fix: position drawer on ios

* refactor: remove unused prop

* fix: route for contract

---------

Co-authored-by: balakrishna-deriv <56330681+balakrishna-deriv@users.noreply.github.com>

* chore: update @deriv/deriv-charts to 2.1.16 (binary-com#15212)

Co-authored-by: balakrishna-deriv <balakrishna-deriv@users.noreply.github.com>

* style: initial style changes

* feat: tablet view changes for languages

* feat: removed unwanted new line

* [DTRA] Farhan/Fix test failing (binary-com#15216)

* chore: lock landscape mode on tablet view

* chore: only show tablet view on real tablet

* fix: notification

* chore: change implementation

* fix: change root

* refactor: comments

* fix: comments

* fix: height

* fix: rtl language

* refactor: remove extra property

* fix: positions modal height based on figma

* chore: add loader before rotating the screen

* fix: failing test

* chore: add timeout before hiding loader

* style: move styles

* chore: another ref for loader timeout cleanup

* fix: hide footer for dtrader

* chore: update os detect

* fix: failing tests

* fix: height issue

* fix: android device issue and toolbar widgets

* fix: reports height

* fix: test failing

* fix: position drawer on ios

* refactor: remove unused prop

* fix: route for contract

* fix: failing test and ts

* fix: miseed ts errors

---------

Co-authored-by: balakrishna-deriv <56330681+balakrishna-deriv@users.noreply.github.com>

* feat: get changes back and just delete mixin for tablet (binary-com#15182)

* [FEQ] Sergei / FEQ-2200, FEQ-2201 / Add a real MT5 account, Identity verification, Choose a jurisdiction popup for tablet (binary-com#15205)

* feat: change styles for mt5 jurisdiction modal

* feat: change styles for adding a real mt5 account modal

* feat: change more styles

* fix: add mock for useDevice hook from deriv-com/ui

* style: update self-exclusion deign tablet

* chore: update mixin names

* feat: enabled tablet view for trading assessment

* style: tablet design api token

* [DTRA] Farhan/FEQ-2208/Hide indicators and drawing tools toolbar widgets on tablet (binary-com#15224)

* chore: lock landscape mode on tablet view

* chore: only show tablet view on real tablet

* fix: notification

* chore: change implementation

* fix: change root

* refactor: comments

* fix: comments

* fix: height

* fix: rtl language

* refactor: remove extra property

* fix: positions modal height based on figma

* chore: add loader before rotating the screen

* fix: failing test

* chore: add timeout before hiding loader

* style: move styles

* chore: another ref for loader timeout cleanup

* fix: hide footer for dtrader

* chore: update os detect

* fix: failing tests

* fix: height issue

* fix: android device issue and toolbar widgets

* fix: reports height

* fix: test failing

* fix: position drawer on ios

* refactor: remove unused prop

* fix: route for contract

* fix: failing test and ts

* fix: miseed ts errors

* fix: hide indicators and drawing tools for tablet view

* fix: test case

* fix: height reports

---------

Co-authored-by: balakrishna-deriv <56330681+balakrishna-deriv@users.noreply.github.com>

* style: tablet design acnt limits

* feat: enabled poa for tablet view

* feat: removed unused code

* feat: used not desktop breakpoint

* fix: lof=gical property for css

* fix: css

* feat: updated device hook

* style: tablet view, modal fix

* style: tablet view changes for various POO status components, common-css

* [DTRA] Farhan/FEQ-2205/Header notification icon and account settings links are not working as expected (binary-com#15275)

* fix: hide popover on traders hub header

* fix: account switcher width

* fix: comments

* feat: enabled tablet view for proof of income section

* style: tablet view for 2FA

* fix: build_issue

* chore: email-pswd-section

* feat: change mixins and add isTablet for datepicker (binary-com#15349)

* feat: change 2 desktop mixins (binary-com#15362)

* fix: new button fixes

* fix: fixed containers

* fix: fixed comments1

* fix: fixed bug in desktop view

* fix: fixed comments 2

* fix: fixed comments 5

* fix: fixed comments 6

* fix: fixed padding and changed px to rem

* fix: removed lines

* fix: fixed code

* feat: added missing code which already merged

* chore: clean code

* fix: remove unused css

* fix: personal details section

* [DTRA] Farhan/Tablet view subtasks (binary-com#15376)

* fix: subtasks 2

* fix: failing tests

* fix: fixed scrolling issue for tablet and mobile

* chore: remove old is mobile and is desktop and added new

* fix: removed unwanted code

* fix: fixed footer width

* test: fix testcases for useDevice hook

* test: update api-token testcase

* test: update api-token testcase

* fix: fixed width and scroll issue

* test: update api-token testcase

* chore: added new break points and removed old

* fix: update testcases

* fix: close-acnt modal

* fix: address comments

* fix: address comments

* [DTRA] Farhan/FEQ-2280/tablet subtasks (binary-com#15404)

* fix: subtasks 2

* fix: failing tests

* fix: positions toggle icon

* refactor: digit breakpoint

* fix: drawer moving when coming back from reports

* fix: tablet tooltip

* fix: hide download widget for tablet

* fix: report open position footer

* fix: double sell button

* fix: digit container

* fix: failing tests

* fix: tests

---------

Co-authored-by: Farhan Ahmad Nurzi <farhan.nurzi@regentmarkets.com>

* chore: removed drag drop for tablet view

* fix: use new breakpoints r passkeys components

* fix: POI test cases

* fix: POI test cases2

* fix: POI test cases3

* fix: clean up and test cases in POI

* fix: POI clean up

* fix: style for tradingassessment

* fix: cleanup 3

* fix: style for tradingassessment

* fix: removed height

* fix: removed typoerror

* fix: removed code2

* chore: remove desktop/mobile wrappers

* chore: remove desktop/mobile wrappers

* fix: rtl changes

* style: update closing acnt

* chore: update prop name

* chore: update prop name

* style: close account margin

* fix: added missing code

* fix: added missing code2

* chore: resovled conflicts

* fix: replaced Desktop() with useDevice hook

* fix: replaced Desktop() with useDevice hook2

* fix: replaced Desktop() with useDevice hook3

* fix: replaced Desktop() with useDevice hook4

* fix: replaced Desktop() with useDevice hook5

* fix: replaced Desktop() with useDevice hook5

* style: empty commit to resolve conflicts

* FEQ-2313 / Kate / Android tablet- Long code message content is showing in smaller size (binary-com#15474)

* fix: css for link

* fix: css

* chore: get back line height

* refactor: add tablet os check and revert style changes

* Fix tablet view issues (binary-com#15469)

* fix: jest test trader

* fix: alignment issues

* fix: test cases

* fix: contract type dialog height (binary-com#15476)

* fix: added isDesktop to missing places2

* chore: fixed modal height issue and semicolon issue

* chore: removed extra semicolon

* fix: added isDesktop to missing places3

* fix: personal details error

* fix: added isDesktop to missing places4

* Ahmad/Fix Strike Icon color on firefox (binary-com#15481)

* chore: strike icon

* fix: revert all

* fix: tablet issues (binary-com#15497)

* fix: padding top for sections

* chore: fixed semocolon and scrollbar issue

* fix: fieldset max width

* fix: close acnt btn alignment

* fix: fixed scroll and padding in POI

* fix: close acnt btn alignment

* fix: px to rem fix

* fix: testcases

* chore: remove unused hook

* chore: updated with parent branch and resolved conflicts

* Revert "Fasih/ Updated with parent branch and resolved conflicts"

* fix: poi scroll screen issue

* [FEX] Sergei / FEQ - 2310, 2311, 2319, 2320, 2344 / Tablet view issues #3 (binary-com#15522)

* fix: change isDisabledLandscapeBlockerRoute because traders hub route now is the root route

* feat: make logged out version of TH accesable for tablet view

* feat: add styles for mt5 password modal

* feat: fix notifications styles

* fix: fixed build issue

* fix: added test cases for passkeys

* Ahmad/Strike Icon Svg fix on Firefox (binary-com#15578)

* chore: strike icon

* fix: revert all

* chore: add important

* fix: poi fixes1

* fix: fixed testcases

* fix: fixed testcases2

* fix: poi fixes2

* Ahmad/ Fiix Strike Icon in firefox and update Deriv UI Package (binary-com#15609)

* chore: strike icon

* fix: revert all

* chore: add important

* fix: update packages and remove temp fix

* fix: address comments

* fix: selfexclusion testcase

* fix: trading-assessment-user-observer-remove

* fix: api and connected apps

* fix: css fixes

* fix: icon1

* chore: resolved comments and added fragment

* fix: self exclusion and css

* fix: endpoint page

* fix: creation banner and adding mt5 account (binary-com#15659)

* Revert "fix: creation banner and adding mt5 account (binary-com#15659)" (binary-com#15661)

This reverts commit ef2dddb.

* fix: api token layout

* [FEQ] Sergei / FEQ - 2374, 2375, 2376 / Tablet view issues 4 (2) (binary-com#15666)

* fix: creation banner and adding mt5 account

* feat: add deriv-com/ui to account package json

* fix: add react/jsx-runtime to webpack resolvers because i have added deriv-com/ui to package json

* chore: fixed width of tray on mobile

* chore: addressed comments

* chore: removed duplicated import

* fix: border radius api card

* fix: btn aligmnent desktop

* fix: pull invalid date fix

* chore: back btn margin fix

* [FEQ] Sergei / FEQ - 2376 / "Get real account" button for DIEL (binary-com#15690)

* feat: tablet view suggestion

* feat: implement new design for tablet

* fix: fix passkeys and coverall issue

* fix: build fail

* fix: build fail

* fix: fix import

---------

Co-authored-by: Farhan Ahmad Nurzi <125247833+farhan-nurzi-deriv@users.noreply.github.com>
Co-authored-by: balakrishna-binary <bala.krishna@regentmarkets.com>
Co-authored-by: Muhammad Fasih Ali Naqvi <muhammadfasih@Muhammad-Fasihs-Mac-X7KDC4NKQ0-Standard.local>
Co-authored-by: utkarsha-deriv <utkarsha@regentmarkets.com>
Co-authored-by: kate-deriv <121025168+kate-deriv@users.noreply.github.com>
Co-authored-by: balakrishna-deriv <56330681+balakrishna-deriv@users.noreply.github.com>
Co-authored-by: utkarsha-deriv <125863995+utkarsha-deriv@users.noreply.github.com>
Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com>
Co-authored-by: balakrishna-deriv <balakrishna-deriv@users.noreply.github.com>
Co-authored-by: Sergei Baranovski <120570511+sergei-deriv@users.noreply.github.com>
Co-authored-by: fasihali-deriv <121229483+fasihali-deriv@users.noreply.github.com>
Co-authored-by: Dhruv Neb <dhruv@regentmarkets.com>
Co-authored-by: Farhan Ahmad Nurzi <farhan.nurzi@regentmarkets.com>
Co-authored-by: Muhammad Fasih Ali Naqvi <muhammadfasih@Muhammad-Fasihs-Mac-X7KDC4NKQ0-Standard-No-NextDNS.local>
Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com>
Co-authored-by: ahmadtaimoor-deriv <129935294+ahmadtaimoor-deriv@users.noreply.github.com>
Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com>
Co-authored-by: Habib Deriv <88178645+habib-deriv@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants