-
Notifications
You must be signed in to change notification settings - Fork 303
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
feat: make new dasboard tabs vertically scrollable #6771
feat: make new dasboard tabs vertically scrollable #6771
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
A production App ID was automatically generated for this PR. (log)
Click here to copy & paste above information.
|
Codecov Report
@@ Coverage Diff @@
## dbot-homepage #6771 +/- ##
=================================================
- Coverage 21.63% 21.63% -0.01%
=================================================
Files 1442 1442
Lines 32870 32870
Branches 5740 5740
=================================================
- Hits 7113 7112 -1
- Misses 25290 25291 +1
Partials 467 467
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
…obal variable for mobile and desktop tab content height
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Kudos, SonarCloud Quality Gate passed! |
* Feature develop dashboard tabs (#6265) * 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 * run panel implementation and intro sidebar fix * Did final refactoring of the components * removed pacakge-lock and fixed casing in joyride config * removed inline css * Improvised code worked on the comments * added eslint-disable no-unused-expression * refactored db dashboard tab component * typo fixes * Removed redundunt joyride config Co-authored-by: Sandeep <sandeep@deriv.com> Co-authored-by: Sandeep Rajput <90243468+sandeep-deriv@users.noreply.github.com> Co-authored-by: Farabi <102643568+farabi-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> * removed endpoint option and made dashboard as default homepage (#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 as per new design (#6246) * 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 * Sandeep/dbot homepage fix conflicts (#6654) * Adrienne / Changed border bottom color for order details page in responsive for dark mode (#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 (#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 (#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 (#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): :construction: migrate `ErrorStore` to TypeScript * fix bot issue * feat(cashier): :construction: migrate `IframeStore` to TypeScript * feat(cashier): :construction: migrate `DepositStore` to TypeScript * chores: change @deriv/deriv-charts versions * fix(cashier): :bug: fix `tsconfig` * fix(cashier): :memo: resolve PR comments * fix(cashier): :memo: resolve PR comments * fix(cashier): :memo: resolve PR comments * fix(cashier): :memo: resolve PR comments * refactor(cashier): :coffin: remove `container` as a prop in `setIframeUrl` method * fix(cashier): :memo: resolve merge conflicts * fix(cashier): :memo: 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. (#6222) * fix(dp2p): :bug: 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 (#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 (#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 (#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 (#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 (#6419) Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Revert "yauheni/74383/ converting app.jsx in account to functional component (#6282)" (#6612) This reverts commit e1fc3e8af2bc0bfefa3427e0bcf257300563755c. * Revert "feat: added configuration for account package migration (#6419)" (#6613) This reverts commit d9974cbd6606f5f4d528d1ed165f473ce1930329. * translations: 📚 sync translations with crowdin (#6614) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Update to single quote (#6618) * translations: 📚 sync translations with crowdin (#6619) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Revert "sandeep/65842/unifiy-websocket -- using the same websocket instance from the core … (#6555)" (#6623) This reverts commit e2b3d2e2f6cdd2b1af097ce14f84d3bf03baf87f. * translations: 📚 sync translations with crowdin (#6624) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * P2P / Feature - Blocked advertiser (#6006) * create feature branch * Ameerul /Task 65488 Reusable modal to block advertiser (#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 (#5680) * fixed translation for amount field in account transfer form cashier (#5605) Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * farrah/updated deposit store test coverage (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#5848) * Block unblock function draft (#5857) * Added block/unblock function to general-store * Added new observable * Refactored * Adrienne / Blocked user count icon with tooltip (#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 (#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 (#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 (#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 (#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 (#6097) * Blocked user feature sanity check (#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!) (#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 (#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 (#6553) * Adrienne / Hide block user dropdown when user views their own advertiser page (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#6630) * fix for reset balance * code refactor * code refactor * console rates fix * Blocked advertiser hotfix (#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 (#6637) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Akmal / Rename Synthetic accounts into Derived (#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 74dd2fb1b095955c249d6db01a56fdf94ceb1d09. * Revert "Rename DMT5 to Deriv Mt5" This reverts commit f0b74d791f29005f749e85e53ac3b290a08d98a4. * Revert "Content changes for MT5 dashboard" This reverts commit 32e03e6c306a6fd680b22997393d25096acb10bf. * 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 (#6651) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * carol/ React simple star rating dependency (#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/refactor: Quick Strategy Tab Improvements (#6647) * MaryiaF/fix: add optional for .field_name * MaryiaF/fix: error field_name * Sandeep/fix conflicts 1 (#6663) * Adrienne / Changed border bottom color for order details page in responsive for dark mode (#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 (#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 (#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 (#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): :construction: migrate `ErrorStore` to TypeScript * fix bot issue * feat(cashier): :construction: migrate `IframeStore` to TypeScript * feat(cashier): :construction: migrate `DepositStore` to TypeScript * chores: change @deriv/deriv-charts versions * fix(cashier): :bug: fix `tsconfig` * fix(cashier): :memo: resolve PR comments * fix(cashier): :memo: resolve PR comments * fix(cashier): :memo: resolve PR comments * fix(cashier): :memo: resolve PR comments * refactor(cashier): :coffin: remove `container` as a prop in `setIframeUrl` method * fix(cashier): :memo: resolve merge conflicts * fix(cashier): :memo: 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. (#6222) * fix(dp2p): :bug: 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 (#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 (#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 (#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 (#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 (#6419) Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Revert "yauheni/74383/ converting app.jsx in account to functional component (#6282)" (#6612) This reverts commit e1fc3e8af2bc0bfefa3427e0bcf257300563755c. * Revert "feat: added configuration for account package migration (#6419)" (#6613) This reverts commit d9974cbd6606f5f4d528d1ed165f473ce1930329. * translations: 📚 sync translations with crowdin (#6614) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Update to single quote (#6618) * translations: 📚 sync translations with crowdin (#6619) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Revert "sandeep/65842/unifiy-websocket -- using the same websocket instance from the core … (#6555)" (#6623) This reverts commit e2b3d2e2f6cdd2b1af097ce14f84d3bf03baf87f. * translations: 📚 sync translations with crowdin (#6624) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * P2P / Feature - Blocked advertiser (#6006) * create feature branch * Ameerul /Task 65488 Reusable modal to block advertiser (#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 (#5680) * fixed translation for amount field in account transfer form cashier (#5605) Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * farrah/updated deposit store test coverage (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#5848) * Block unblock function draft (#5857) * Added block/unblock function to general-store * Added new observable * Refactored * Adrienne / Blocked user count icon with tooltip (#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 (#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 (#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 (#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 (#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 (#6097) * Blocked user feature sanity check (#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!) (#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 (#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 (#6553) * Adrienne / Hide block user dropdown when user views their own advertiser page (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#6630) * fix for reset balance * code refactor * code refactor * console rates fix * Blocked advertiser hotfix (#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 (#6637) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Akmal / Rename Synthetic accounts into Derived (#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 74dd2fb1b095955c249d6db01a56fdf94ceb1d09. * Revert "Rename DMT5 to Deriv Mt5" This reverts commit f0b74d791f29005f749e85e53ac3b290a08d98a4. * Revert "Content changes for MT5 dashboard" This reverts commit 32e03e6c306a6fd680b22997393d25096acb10bf. * 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 (#6651) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * carol/ React simple star rating dependency (#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> * chore: remove jurisdiction-modal * chore: remove unnecessary files * implementation of guide tab in tutorials (#6672) * 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 (#6575) * 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 * MaryiaF/77948/refactor: implementation of new design DBot Hompage (#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 * farabi/Added tutorial faq content (#6558) * 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 (#6767) * 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 (#6740) * 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 (#6771) * 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 (#6784) * 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> * updated icons and text as per design (#6806) Co-authored-by: Farabi <farabi@Farabi-Chowdhurys-MacBook-Pro-LT2G9C9X0P-Rapid-7-Test.local> * Feature dashboard tab && bot preview && joyride configuration (#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 * Farabi/78937/fix--tutorial tour improvement (#6796) * 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> * top overlapping with toolbar fixed (#6829) Co-authored-by: Farabi <farabi@Farabi-Chowdhurys-MacBook-Pro-LT2G9C9X0P-Rapid-7-Test.local> * farabi/fix--bot-builder-tour-design (#6836) * 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> * Rupato/79937/feature add tour retrigger (#6849) * added tour retrigger * minor css changes and fixes * updated * removed TODO comment * added variable color * padding for dashboard import text position (#6855) * padding for dashboard import text position * resized height * added cursor pointer on button icons * finalized height deduction amount * removed unused css Co-authored-by: Farabi <farabi@Farabi-Chowdhurys-MacBook-Pro-LT2G9C9X0P-Rapid-7-Test.local> * farabi/added close function on bot-builder tour (#6864) *…
Changes:
Please include a summary of the change and which issue is fixed below:
When you need to add unit test
When you need to add integration test
Test coverage checklist (for reviewer)
Type of change