-
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
Vinu/migrated recent-transaction component to typescript #5791
Vinu/migrated recent-transaction component to typescript #5791
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.
|
95cc7a9
to
cc4a862
Compare
Codecov Report
@@ Coverage Diff @@
## ts-cashier #5791 +/- ##
=============================================
Coverage ? 21.74%
=============================================
Files ? 1290
Lines ? 29303
Branches ? 4944
=============================================
Hits ? 6373
Misses ? 22572
Partials ? 358 Continue to review full report at Codecov.
|
Kudos, SonarCloud Quality Gate passed! |
* added ts related change required for migrating all components (#5760) * ts-migration-crypto-fiat-converter (#5796) * Trigger build * Update package-lock * ts-migration-cashier-notifications (#5765) * bahar/funds_protection_component-ts-migration (#5756) * funds_protection_component-ts-migration * remove_extra_type_file * fix_merge_issue * hamid/migrate-transfer-confirm-to-ts (#5815) * Migrate TransferConfirm to TS * Rename component in test file * Replace Confirm with TransferConfirm in PAs * Enhance Tests * ts-migration-page-404 (#5766) * Vinu/converted percentage-selector component into typescript (#5785) * converted percentage-selector component into typescript * changed the name of test_ids in percentage-selector spec file as per new guidlines * updated with latest upstream branch * added reactMouse event in props.types.ts * Vinu/migrated recent-transaction component to typescript (#5791) * migrated recent-transaction component to typescript * fixed Rootsore path in recent-transaction * tsconfig.json change in types path * ts-migration-verification-email (#5769) * bahar/Ts migration no balance (#5774) * ts-migration-no-balance * fix_merge_issue * Vinu/migrating cashier-container into ts (#5780) * migrting cashier-container into ts WIP * added type in virtual.tsx * changed test-ids in cashier-container * updated the branch with latest upstream branch * fixed Rootsore path in cashier-container * tsconfig.json change in types path * Vinu/Ts cashier error dialog (#5820) * migrated error-dialog to typescript * removed proptypes from error-dialog * added appropriate types to message variable in error-dialog * updated code with latest upstream branch * fixed type of rootstore in error-dialog * fixed Rootsore path in error dialog * added type for ReactElement in props.types.ts cashier * Vinu/migration of crypto-transaction-history component into typescript (#5834) * migration of crypto-transaction-history component into typescript * Trigger Build * Trigger Build * fixed Rootstore path in crypto-transactions-history * added type for crypto-transaction-details * added ReactMouseEvent in prop.types * added data-testid's in crypto-transaction-renderer component * Migrate CashierLocked to TS (#5959) * Fix security hotspot reported by sonarcloud Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: Hamid <hamid@re-work.dev>
* Suisin/Update validation rules (#6145) * update letter symbol rules * new rulels * Update declarative-validation-rules.js * Suisin/Renew validation rules (#6147) * update letter symbol rules * new rulels * Updated Rules * edited rules * Update rules to accept multiple space * translations: 📚 sync translations with crowdin (#6158) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * remove personal-details-step-from-financial-svg (#6135) * TS migration of cashier UI components (#5947) * added ts related change required for migrating all components (#5760) * ts-migration-crypto-fiat-converter (#5796) * Trigger build * Update package-lock * ts-migration-cashier-notifications (#5765) * bahar/funds_protection_component-ts-migration (#5756) * funds_protection_component-ts-migration * remove_extra_type_file * fix_merge_issue * hamid/migrate-transfer-confirm-to-ts (#5815) * Migrate TransferConfirm to TS * Rename component in test file * Replace Confirm with TransferConfirm in PAs * Enhance Tests * ts-migration-page-404 (#5766) * Vinu/converted percentage-selector component into typescript (#5785) * converted percentage-selector component into typescript * changed the name of test_ids in percentage-selector spec file as per new guidlines * updated with latest upstream branch * added reactMouse event in props.types.ts * Vinu/migrated recent-transaction component to typescript (#5791) * migrated recent-transaction component to typescript * fixed Rootsore path in recent-transaction * tsconfig.json change in types path * ts-migration-verification-email (#5769) * bahar/Ts migration no balance (#5774) * ts-migration-no-balance * fix_merge_issue * Vinu/migrating cashier-container into ts (#5780) * migrting cashier-container into ts WIP * added type in virtual.tsx * changed test-ids in cashier-container * updated the branch with latest upstream branch * fixed Rootsore path in cashier-container * tsconfig.json change in types path * Vinu/Ts cashier error dialog (#5820) * migrated error-dialog to typescript * removed proptypes from error-dialog * added appropriate types to message variable in error-dialog * updated code with latest upstream branch * fixed type of rootstore in error-dialog * fixed Rootsore path in error dialog * added type for ReactElement in props.types.ts cashier * Vinu/migration of crypto-transaction-history component into typescript (#5834) * migration of crypto-transaction-history component into typescript * Trigger Build * Trigger Build * fixed Rootstore path in crypto-transactions-history * added type for crypto-transaction-details * added ReactMouseEvent in prop.types * added data-testid's in crypto-transaction-renderer component * Migrate CashierLocked to TS (#5959) * Fix security hotspot reported by sonarcloud Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: Hamid <hamid@re-work.dev> * limit the number of chunks creating by webpack (#6040) * limit the number of chunks creating by webpack * webpack chunk strategy try 2 * webpack optmzn try 3 * add minchunks count as 30 * webpack max chunks set as 10 * chunk strategy maxchunks updated to 10 * webpack strat minsize rule * webpack strat update try 5 * webpack strat update try6 * Revert "MaryiaF/fix: P/L is not getting updated when a contract is terminated… (#6024)" (#6034) This reverts commit ba506880a588f34b911c9acf85829975b1c48f57. * translations: 📚 sync translations with crowdin (#6037) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * p2p/Floating rate feature (#5494) * Merge branch 'binary-com:master' into floating_rate (#5080) * Nijil / DBot - Add multipliers (#4172) * Retrigger vercel deployment * Init dbot multiplier * Fix es-lint issues * Add contract update dialog validations * logic added to hasAllRequiredBlocks for multipliers * Fix es-lint errors * Update stop loss block description and label * Filter out multipliers in quick-strategy * Fix incorrect rendering of duration/multiplier blocks on workspace when they're dragged out from toolbox * Fix typos * Add missing proptypes and other minor refactors * Fix minor issues + logic * Fix: trade option block not changing according to the selected trade type once it is dragged to workspace first and then plugged to the trade parameters block * Fix: Disable trade option block when plugged inside trade parameters * Remove connection to next statement in trade_defintion_restartonerror block * Make multiplier_stop_loss and multiplier_take_profit independant blocks + other UX improvement Description \n1.Make multiplier_stop_loss and multiplier_take_profit input field shadow blocks. \n2. Add check such that duplicate multiplier_take_profit and multiplier_stop_loss cannot be added to trade_definition_multiplier block. \n3.Show amount limits in trade_definition_multiplier block. * Cleanup workspace when switching between multiplier and other trade options * Remove extensice validation for multiplier_stop_loss block * Show dialog for multiplier contract on stop button click + minor cleanups * Update stop multiplier dialog content * Update stop multiplier dialog content and button actions * Minor bug fix * Fix stop multiplier dialog buttons styling * fix: multiplier contract not bought even after disabling TP/SL block inside multiiplier block * Disable stray blocks and their optional children recursively * fix: recover all pending transactions on page refresh or if client left page mid-contract * Restrict TP/SL blocks to multiplier block + add close button logic for dialog component * Fix profit not showing when it's zero * Add condition for restricted blocks to enable/disable stack option in context menu * Optimised proposal_open_contract call on mount of transaction tab * fix es-lint error * Update logic for recovering open contracts * Fix no-unused-vars error * Refactor code for readability * Refactor code for readability * Add logic to handle action of reset button in toolbar * Remove condition where it enabled the button in run panel while the contract is still closing * Fix default-case expected test error * Add note for multiplier block * Add condition to disable run panel button when multiplier contract is closing * Fix issue where connectWithContractUpdate tried to destructure undefined at first render * Add Learn more help content for multiplier trade option block * Minor change in toggle-card-dialog.jsx file * Refractored help-content from bot-skeleton to bot-web-ui package and updated help content for multiplier trade option block * Fix missing key prop error * Minor change in fix where connectWithContractUpdate tried to destructure undefined * Show banner for bot MF Real & VRTC Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> * Hirad/Cfd reset password modal js to ts (#4706) * Changed cfd-reset-password-modal container from js to ts * fix--Auto styling is done on the components * fix--Separated types from component * fix--Auto styling is done on the components * fix--Added a separate type for errors and Changed the type of current_list * Auto styling is done on the components * fix--Used Record utility type to improve readability * fix--Removed redundant imports and duplicate types * Pulled the latest changes from master * fix--Replaced ReactElement with ReactNode * Pulled from master * Made some changes to pass the tests * fix--Changed ReactNode to ReactElement to pass the tests * fix--Shortened one of the types * Fixed the conflicts Co-authored-by: Matin shafiei <matin@binary.com> * Chore: Added NIN option in IDV dropdown for ng clients (#4970) * fix: payment info issue (#4978) Co-authored-by: Matin shafiei <matin@binary.com> * Bala/Cleanup dashboard (#4967) * refactor: change folder name to appstore * chore: cleanup dashboard svgs * refactor: rename to appstore * remove separate build for dashboard * refactor: rename to appstore * cleanup build * remove appstore assets * fix: api-types auto generation * chore: cleanup dashboard * chore: cleanup appstore build * chore: fix appstore main file path * chore: use consistent configs * chore: refactor store usage to be consistent * chore: cleanup dist and routes * chore: remove old routes config * cleanup routes config * setup trading-hub path * cleanup asset_path * cleanup redirects * fix ts lint issues * fix lint issues * fix lint issue * fix test issues * update tsconfig path * update codeowners * chore: added a space * Update README.md Co-authored-by: Matin shafiei <matin@binary.com> * Maryia/TrackJS_Avoiding_Pushwoosh_Failed_to_fetch_error (#4894) * Maryia/Checking network status before initializing Pushwoosh * Maryia/refactoring Co-authored-by: Matin shafiei <matin@binary.com> * translations: 📚 sync translations with crowdin (#4987) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * salar / Hotfix/multiplier eu (#4989) * Add helper function for EU countries * Show digital options banner to VRTC-only EU clients * Add comment to remove duplicate code * Fix: apply more compliance conditions * Fix issue for EU residence * Apply prettier * Fix mobx issue for residence * Fix: prevent calls on undefined * Fix: check for blockly div first * Apply prettier * export_components_which_needed_to_be_used_in_app_store (#4972) * refactor_payment_agent_component_for_app_store (#4968) * translations: 📚 sync translations with crowdin (#5005) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * refactor: investor password (#4992) * Nuri/Refactor: Refactor compare account (#4969) * refactor compare account * retrigger circleci * retrigger deployment * removed unused text * likhith/OrderConfirmCompleted error status displayed on slow n/w (#4832) * Resolved: #56123 - OrderConfirmCompleted error status displayed on slow n/w * Refactored code * Fixed lint errors * implemented review comment * Resolved eslint issues * Resolved Console.log error * Added comments to changes * Resolved lint errors * Removed unwanted component * fix storybook build (#4997) * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function (#4892) * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function * Maryia/Fix for styles of POI & POA steps in Settings and CFD modals (#4761) * Maryia/fixed styles of poa upload block * Maryia/fixed cfd poa modal for responsive mode * Maryia/fix for POI step style in CFD modal * Maryia/fixed style of upload criteria in CFD modal POA step * Maryia/refactoring as per deriv app code standard * Maryia/replaced px with rem * Maryia/fix for the upload box style requiring nesting inside list * Maryia/fixed POI styles * Hirad/Cfd dashboard container JS to TS (#4941) * Changed cfd-dashboard container from javascript to typescript * fix--Fixed the default export of the cfd-dashboard * Pulled from master * fix--Invisible tab menu should be fixed * Auto styling is done * IDV notification changes and refactoring (#5001) * Akmal / Add trustpilot notification (#4974) * Add trustpilot notification * Fix formatting * Add undefined check * Vijayasree/Manage Account modal from Cashier Onboarding links are broken on iphoneSE (#4948) * Manage Account modal from Cashier Onboarding links are broken on iphone SE * Manage Account modal from Cashier Onboarding links are broken on iphone SE * Manage Account modal from Cashier Onboarding links are broken on iphoneSE * Update account-wizard.scss Co-authored-by: Matin shafiei <matin@binary.com> * likhith/Added jest config and test cases for App-Content component (#4876) * Added jest config and test cases for App-Content component * Added test cases for App Content component * Fixed lint errors * Removed lint errors and configured webpack * Reordered webpack extension array * Implemented review comments * implemented review comments * george / added test for "PaymentAgentList" component (#4825) * added test for "PaymentAgentList" component * fixed a spelling error * refactored code, changed query method * code refactoring * george / added tests for OnRampProviderCard (#4880) * added tests for OnRampProviderCard * code refactoring (add data-testid into Icon component) * naming refactoring data-testid * naming refactoring * add new prop (data_testid) to Icon component * code refactoring using icon prop data_testid * add prop types for data_testid * likhith/Removed unused functions from Cashier container and added test cases (#4821) * likhith/added testcases to cashier-container * added loader check test case * Variable change * Fixed variable scoping * Refactored code inline with naming conventions * Removed code smells * Improved code visibility * Removed unused functionality in CashierComponent * Removed unused imports * Removed unused property and improved test cases * modified input data * Incorporated review comments * Incorporated review comments * Added test cases to order and order-table (#4916) * fix test cases because of refactoring the component (#5029) * Nijil/Pass correct value to SelectNative value prop from PA dropdown (#5034) * fix: pass correct value to SelectNative value prop * minor refactor * translations: 📚 sync translations with crowdin (#5039) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * MaryiaF/fix: bold the menu option when the user has gone by the child… (#4965) * MaryiaF/fix: bold the menu option when the user has gone by the child menu items and then navigated one of them to the corresponding page * MaryiaF/refactor: solution with switching to the bold menu item * MaryiaF/chore: revert intent * MaryiaF/refactor: use Text component instead of spane in toggle-menu-drawer file * MaryiaF/refactor: remove unuseful style and change import * Merge branch 'master' of github.com:binary-com/deriv-app into 57685_2 * MaryiaF/fix: all the sub menus are not supposed to be in bold in first visit, 1 of the sub menu should be bold during the visit * MaryiaF/fix: condition when the menu item should be bold * MaryiaF/fix: remove console.log * Revert "Merge branch 'master' of github.com:binary-com/deriv-app into 57685_2" This reverts commit 2c19bed858d09d2dee7b4ffb939f80617a91972e. Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * <SearchBox /> test coverage (#4900) Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Artsem / <Verification /> test coverage (#4890) * <Verification /> test coverage * remove redundant import * fix testid naming * fix testid and elements naming * remove redundant mockProps() Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test_coverage_for_poi-verified_component_in_account_package (#5006) * poi-verified-spec * poi-verified-spec Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test_coverage_for_poa_unverified_component_in_account_package (#4993) * unverified-spec * poa-unverified Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test coverage for poa-submitted (#4990) * test_coverage_for_poa_submitted * fix Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * george / test coverage for "recent transaction" component (#4838) * added tests for RecentTransaction component * fixed condition for cashier transaction icon * removed code duplication * refactored code * code refactoring (add data-testid into Item component) * code refactoring * naming refactoring data-testid * naming refactoring * add new prop (data_testid) to Icon component * code refactoring using icon prop data_testid * add prop types for data_testid Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#5048) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * update branch with master (#5010) * Maryia/Set notifications together with each handling of notifications (#4958) * Maryia/Set notifications before each handling of notifications * Maryia/style fix to fit in long FR, ES & PT text on the notification button * Fix design for DMT5 investor password reset modal (#4942) * Ako/ Codecov integration (#5053) * build/ add test:ci script to run tests in the ci with different config * ci/ add codecov github action * ci/ workflow update * ci/ update coverage path * ci/ get coverage over all of the files * ci/ get coverage on pull request * Revert "build/ add test:ci script to run tests in the ci with different config" This reverts commit 2771958602f5af3048c334e28868d05f9ff4f6cd. * doc/ add codecov badge to readme file * Vijayasree/Crypto icon in withdrawal page is not shown for specific device IOS (#4976) * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * re-trigger build * re-trigger build * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Sara / Fixed issue with error handling (#4966) * Fixed issue with error handling * Removed extra code * fixed issue with aggregation methods * MaryiaF/chore: remove consoles (#5059) * Matin/Add: TS files for translation extraction (#5073) * remove appstore package from translations (#5075) Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> Co-authored-by: hirad-rewok <91878582+hirad-rewok@users.noreply.github.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> Co-authored-by: Maryia <87321516+maryia-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: Salar Hafezi <76559464+salarhfz-fs@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: njazuli-deriv <78890281+njazuli-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: Maryia Frantsava <88426229+maryiafrantsava-deriv@users.noreply.github.com> Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: vijayasree-deriv <98810931+vijayasree-deriv@users.noreply.github.com> Co-authored-by: george-usynin-deriv <89790856+george-usynin-deriv@users.noreply.github.com> Co-authored-by: Artsem Kavaleu <88381164+artsemkavaleu-deriv@users.noreply.github.com> Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: mitra-fs <64970259+mitra-fs@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: sara-fs <55442058+sara-fs@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> * Revert "Merge branch 'binary-com:master' into floating_rate (#5080)" (#5081) This reverts commit 725636b267eb434a278976b67c3461ccc2130338. * Artsem / Floating rate banner and warning for existing ads (#4975) * Add floating rate enable banner and warning icon * remove extra function call * remove deprecated conditions * remove conditional render, add todo comment * fix Localize settings * likhith/Created Floating rate custom component (#4971) * Created Floating rate custom component * Removed hardcoded values * Incorporated review comments * Reordered functions as per style guide * Replaced Css units * Incorporated review comments * Empty commit * Minor bug fix * Renamed functions appropriately * Incorporated review comments * Fetching floating rate status from const * Resolved lint errors * Incorporated review comments * incoeporated review comments * Added syles as per UX * Added a comment to explian props * Changed CSS as per BEM standard * Changes naming conventions * Implemented review comments * Refactored code as per comments * Fixed eslint errors * Reverted the changes made * Minor bug fixes * Added currecnt_focus prop * likhith/create floating-rate ad (#4964) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Minor bug fixes * Minor bug fixes * removed console logs * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Incorporated review comments * Reduced spacing between the banner * Formatted user input * Fixed failing test case * Added comments to explain functionality * Fetching date and time from server * Renamed function * Refactored code * Added review comments * Resolved decimal round off issue * Fixed Rounding off of decimal digits * Regex change in psoitive integer check * Resolved issue with round off to decimal point * Re-arranged imports * Fixed the testcase * Fixed floating_rate input check * Removed Math.sign * Reverted decimal change * Implemented round of logic for decimal places * refactor: Renamed variables * fix: Round off issue in Create Ad summary * fix: resolved decimal point to 2 digits * Resolved lint errors * fix: Renamed the function * chore: Ad display table rate will be calculated from * fix: test color in dark theme * fix: label changes b/w fixed and floating * fix: invoking api call to fetch the changes * fix: rate synced b/w myads and buy/sell * fix: range offset validation * fix: modified rate property in edit ads * fix: Float rate input suffix * fix: code formatted * fix: setting floating rate to 2 decimals on blur * fix: spacing issue with floating rate input * Trigger build * Trigger build * fix: removed unwanted padding * fix: added ellipse to fix over lapping * fix: removed disabling of floating rate field buttons * fix: resolved issue with error message * fix: Overlapping CSS issues in Mobile * fix: added missing background color for dark theme * fix: removed button highlight in mobile * fix: button higlight issue * fix: display of cursor pointer on scroll * fix: resolved issue with message * fix: Ad change warning message * fix: color for dark mode Co-authored-by: Likhith Kolayari <likhith@deriv.com> * fix: conflict message not updated * likhith/created edit my ad screen (#4988) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Implemented edit ads for floating rates * Inorporated review comment * minor bug fixes * Minor bug fixes * Minor bug fixes * removed console logs * Added rae_type prop * Incorporated API changes * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Added styles as per UX * Refactoring code * Css changes to summary component * Trigger Build * Minor bug fix in Create Ad form * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Migrated create ad comments to Edit ad * Resolved lint errors * Fixed lint issues * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Incorporated review comments * Reduced spacing between the banner * Formatted user input * Fixed failing test case * Added comments to explain functionality * Fetching date and time from server * Renamed function * Refactored code * Added review comments * Resolved decimal round off issue * Fixed Rounding off of decimal digits * Added test case for create ad * Regex change in psoitive integer check * Added test case to test form values * Resolved decimal round off issue * Added test acss to edit form * Resolved lint errors * Resolved issue with round off to decimal point * Re-arranged imports * Fixed the testcase * Removed unused imports * Fixed floating_rate input check * Removed Math.sign * Reverted decimal change * Implemented round of logic for decimal places * refactor: Renamed variables * refactor: Added fallback condition * fix: added a exchange rate fallback condition * fix: Round off issue in Create Ad summary * fix: resolved decimal point to 2 digits * Resolved lint errors * fix: Renamed the function * chore: Ad display table rate will be calculated from * fix: test color in dark theme * fix: label changes b/w fixed and floating * fix: invoking api call to fetch the changes * fix: rate synced b/w myads and buy/sell * fix: range offset validation * fix: modified rate property in edit ads * fix: Float rate input suffix * fix: code formatted * fix: setting floating rate to 2 decimals on blur * fix: spacing issue with floating rate input * Trigger build * Trigger build * fix: removed unwanted padding * fix: added ellipse to fix over lapping * incorporated changes * fix: removed disabling of floating rate field buttons * fix: resolved issue with error message * fix: Overlapping CSS issues in Mobile * fix: added missing background color for dark theme * fix: removed button highlight in mobile * fix: button higlight issue * fix: display of cursor pointer on scroll * fix: resolved issue with message * fix: modified display of summary in edit ad component * fix: removed spec code * fix: Removed test cases * chore: reverted old commit * feat: Added banner for switch rate * fix: Error message text * fix: incorporated review comments * fix: removed unwanted store condition and added subscription to exchange rates * fix: removed incorrect function call * fix: added a null check * fix: refactored code * ref: Added comments * ref: Refactored code for performance * ref: refactored code * ref: code refactor * ref: Incorporated review comments * Trigger Build * fix: removed fixed size * fix: resolved conflict * fix: moved functionality from component to store * fix: removed unnecessary commenting * ref: renamed cancel action functions * ref: refactored code for increated readability * feat: implemented a function for removing trailing zeros * ref: refactored the code in edit ad summary * fix: reverted decimal round off rules * fix: resolved issue with resetting selected Ad id * fix: switching ad types in edit * fix: issue with edit ad switch * fix: display rate change dialog even when ads are deactivated * fix: disabled activate ad when past date is passed * fix: displaying error message based on the required ad type * fix: banner glitch occurs when data loaded in chunks * fix: enable ads after switch update * fix: Form should not be checked for value change when ad switch is triggered * fix: test to incorporate sign * fix: implemented dynamic type for field in mobile * fix: added css to fix disable styling * fix: enforcing disable bg color for popover * fix: responsive view of switch ad modal * fix: added missing theme color for dark mode * fix: banner width consistancy * fix: incorporated touched state for Payment method Co-authored-by: Likhith Kolayari <likhith@deriv.com> * likhith/Feature buy sell confirmation (#5487) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Minor bug fixes * Minor bug fixes * removed console logs * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Incorporated review comments * Reduced spacing between the banner * Formatted user input * Fixed failing test case * Added comments to explain functionality * Fetching date and time from server * Renamed function * Refactored code * Added review comments * Resolved decimal round off issue * Fixed Rounding off of decimal digits * Regex change in psoitive integer check * Resolved issue with round off to decimal point * Re-arranged imports * Fixed the testcase * Fixed floating_rate input check * Removed Math.sign * Reverted decimal change * Implemented round of logic for decimal places * refactor: Renamed variables * fix: Round off issue in Create Ad summary * fix: resolved decimal point to 2 digits * Resolved lint errors * fix: Renamed the function * chore: Ad display table rate will be calculated from * fix: test color in dark theme * fix: label changes b/w fixed and floating * fix: invoking api call to fetch the changes * fix: rate synced b/w myads and buy/sell * fix: range offset validation * fix: modified rate property in edit ads * fix: Float rate input suffix * fix: code formatted * fix: setting floating rate to 2 decimals on blur * fix: spacing issue with floating rate input * Trigger build * Trigger build * fix: removed unwanted padding * fix: added ellipse to fix over lapping * fix: removed disabling of floating rate field buttons * fix: resolved issue with error message * feat: Implemented floating rate for buy/sell * fix: Overlapping CSS issues in Mobile * fix: added missing background color for dark theme * fix: removed button highlight in mobile * fix: button higlight issue * fix: display of cursor pointer on scroll * fix: resolved issue with message * fix: color for dark mode * fix: buy/sell modal styling * fix: render data in accordian * feat: incorporated expand all accordian * feat: Implemented Expand & Collapse all feature * ref: code refactor * fix: removed console errors * fix: removed unused prop * fix: incorporated review comments * fix: incorporated review comments * fix: incorporated Expamd all button * fix: incorrect prop name in accordion component * fix: incorporated review comments * ref: Removed code duplication * ref: refactored the code * fix: changes px to rem * fix: incorporated rate change error dialog * fix: removed unwanted CSS * fix: renamed porptype in Rate Change modal * ref: code refactored * ref: rate change modal code refactored * ref: Refactored code * fix: css issues related to buy-sell dialog * fix: fixed failing test cases * fix: Added a error code check to display appropriate popups * fix: CSS inssues in Buy-sell modal * fix: css issue of error hintbox * fix: resolved issue with rounding digit in receive amount * fix: blocking order creation when balance is low * fix: css changes to fix disabling form * fix: modal condition to display low balance * fix: blocking user from entering value more than balance * fix: display Form error messages in footer and account balance error in banner * fix: resolved lint errors * ref: changed the TODO comment * ref: fixed the comment * fix: incorporated subscribeWS method * fix: resolved failing testcase issue * fix: removed commented code * fix: display of incorrect efective rate * fix: decimal round off * fix: navigation to buy/sell table when try again is clicked * fix: buy/sell order dialog title to match the design * fix: css issues in buy/sell * fix: design mismatch in order confiormation dialog * ref: Refactored code to reuse functionality * fix: removed commented code * fix: market change update in Advertiser section * fix: re-render on balance change * fix: disabling fields when balance is low * fix: expand/collapse issue * fix: resolved issue with expand and collapse * fix: restricted rate input to 8 characters * fix: resolved console error * fix: file name * fix: fixed failing test case * fix: added order input check against account balance * fix: css issues in add payment method in buy-sell form * fix: validation of sell order * fix: currency format of balance * fix: re-establish n/w connection on reload * ref: Incorporated safety null check * fix: moved low balance banner display to be handled by state Co-authored-by: Likhith Kolayari <likhith@deriv.com> * farrah/ removed payment method banner in p2p (#5755) * removed transaction time and payment method banners * removed setting of missing payment methods * reverted removal of reduced transaction time banner * likhith/incorporated market rate calculation with 6 decimals (#5770) * feat: incorporated market rate calculation with 6 decimals * ref: refactored code to generate effective rate * ref: removed commented code * fix: round off decimal calculation of effective market rate * fix: formatting decimals in effective rate * fix: set the form to be dirty when PM is selected * fix: checking for change when PM methods are modified * fix: enable button for edit ad * fix: enabling submit method for buy ads * fix: decimal round off issue in buy-sell * fix: display min of 2 decimal points * fix: displying initial value of buy-sell ad * Trigger build * fix: removed unnecessary spacing * Trigger build * fix: effective rate round off in Buy/sell * Trigger build * fix: setting correct ad type * fix: display order rate amount * fix: removed formatted text usage * fix: removed incorrect round off * fix: sunc effective_rate calculation b/w FE & BE (#5910) * fixed order table row spacing (#5900) * fixed post ad button (#5912) * farrah/ update received amount if rate has changed (#5911) * fixed received amount when rate has changed * refactor code * formatted received amount (#5913) * farrah/ fixed input amount validation on buy/sell form (#5928) * fixed input amount validation * refactor code * disabled edit button for temporary banned users (#5926) * Remove duplicate setRemount entry * farrah/ fixed overlapping status in order page (#5950) * fixed overlapping status in order page * refactor code * farrah/ fixed buy and sell form spacing (#5899) * fixed buy and sell form spacing * fixed banner spacing * fixed banner spacing in mobile * fixed spacing on responsive Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> Co-authored-by: hirad-rewok <91878582+hirad-rewok@users.noreply.github.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> Co-authored-by: Maryia <87321516+maryia-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: Salar Hafezi <76559464+salarhfz-fs@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: njazuli-deriv <78890281+njazuli-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: Maryia Frantsava <88426229+maryiafrantsava-deriv@users.noreply.github.com> Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: vijayasree-deriv <98810931+vijayasree-deriv@users.noreply.github.com> Co-authored-by: george-usynin-deriv <89790856+george-usynin-deriv@users.noreply.github.com> Co-authored-by: Artsem Kavaleu <88381164+artsemkavaleu-deriv@users.noreply.github.com> Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: mitra-fs <64970259+mitra-fs@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: sara-fs <55442058+sara-fs@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Likhith Kolayari <likhith@deriv.com> Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6041) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * add minchunks count as 30 * webpack max chunks set as 10 * chunk strategy maxchunks updated to 10 * fixed exchange rate subscription error (#6046) * reverted commit * webpack start try7 * farrah/ fixed sell form validation (#6047) * fixed sell form validation * fixed buy/sell form validations * reset amount with empty field * maxchunks to 25 * webpack strategy update * webpack strategy update minSizeReduction * webpack chunk strategy optimization * re arrange and update configs Co-authored-by: ashrafali-v <ashrafalifrk@gmail.com> Co-authored-by: Farrah Mae Ochoa <82315152+farrah-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: Nijil Nirmal <62882794+nijil-binary@users.noreply.github.com> Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> Co-authored-by: hirad-rewok <91878582+hirad-rewok@users.noreply.github.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> Co-authored-by: Maryia <87321516+maryia-deriv@users.noreply.github.com> Co-authored-by: Salar Hafezi <76559464+salarhfz-fs@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: njazuli-deriv <78890281+njazuli-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: Maryia Frantsava <88426229+maryiafrantsava-deriv@users.noreply.github.com> Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: vijayasree-deriv <98810931+vijayasree-deriv@users.noreply.github.com> Co-authored-by: george-usynin-deriv <89790856+george-usynin-deriv@users.noreply.github.com> Co-authored-by: Artsem Kavaleu <88381164+artsemkavaleu-deriv@users.noreply.github.com> Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: mitra-fs <64970259+mitra-fs@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: sara-fs <55442058+sara-fs@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Likhith Kolayari <likhith@deriv.com> * MaryiaF/refactor: convert summary-card to ts (#6001) * MaryiaF/refactor: convert summary-card to ts * MaryiaF/refactor: contract-card-loading * MaryiaF/refactor: summary-card * MaryiaF/refactor: SummaryCard Co-authored-by: Yashim Wong <yashim@deriv.com> * fix(cashier): avoid screen blinking of restricted pages during the first download (#6039) * try submitting an id document instead message removed (#5968) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * likith/testing functionality of reset trading password modal (#5823) * feat: test cases on reset-trading password-modal * feat: Added test acses for reset Password modal * fix: renamed data-testid as per guide * fix: created a reusable function containing interaction block * feat: added test case to check navigation reroute * ref: refactored code * ref: renamed the testid * Vinu/Service worker caching (#5887) * service-worker-precaching in progress * added images in runtime caching * added core js file to runtime caching * number of images to be kept at runtime caching kept at 15 * adjusted path for runtimecaching * added html files to caching * removed all files from precaching other than css * fixed pathnames in config.js * added path to cache js-core file * implemented review comments for runtime caching * implementation on review comments in progress * added smartchart-files to precaching * Vinu/Test coverage sent email modal (#5463) * added test coverage for sent-email-modal * fixed linting issue in sent-email-modal * props change in sent-email-modal.spec * fixed linting issue in sent-email-modal.spec * rearragned the order of imports in sent-email-modal.spec * Trigger Build * Trigger Build * implemented review comments in sent-email-modal-spec file * fixed linting issue in sent-email-modal * implemented review comments for sent email modal test coverage * adjusted the sent-email-modal spec file as per new guidlines * implemented review comments in sent-email-modal spec.js file * gave appropriate name to data-testid in sent-email-modal * thisyahlen/ added icon for tether trc20 (#6060) * added icon for tether trc20 * icons revert * fix for test cases * changed tooltip for all the tether coins * fixed the deposit page error and the tusdt lowercase * translations: 📚 sync translations with crowdin (#6174) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * refactor(confirm component): refactor confirm component, fix tests * Hirad/ Finished MF urgent changes (#6159) * Finished MF urgent changes * Changed the styling of the condition * Jim / Publisher documentation (#6002) * docs: update README.md in publisher * docs: update README.md in publisher * docs: update README.md in publisher * Jim / Components documentation (#6008) * docs: update README.md, add description for valid script and replace lerna bootstrap * docs: remove empty docs * docs: update README.md * docs: update README * chore: fix end of note in README * docs: change note in components README.md * move PositionsDrawerCard from reports to components (#6049) * yauheni/#69488 changing language for closed market redirecting fix (#5999) * yauheni/#69488 changing language for closed market redirecting fix * func name fix * proptypes fix * interval delete fix, is_lang_change moved * store fix for language changing * several attempts of changing fix * closed word translation fix * logout active symbols loading fix * logout redirection to default markets fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Hirad/ Fixed the issue where landing company was shown for eu users who have… (#6078) * Fixed the issue where landing company was shown for eu users who have just financial options * Changed the naming convention of one_or_two_cards variable * made some changes to the naming according to the suggestions * Pulled from master Co-authored-by: Matin shafiei <matin@deriv.com> * Ameerul /Bug 64559 delete pm name handle for long value (#6107) * changed the margin-top for mobile view for buy-sell * merging upstream master * changed the payment methods list modal and wrapped the text for long bank names * hamid/overwrite-overflow-of-app-contents-in-cashier (#5915) * Overwrite overflow of app contents in cashier) * Update packages/cashier/src/containers/cashier/cashier.scss Co-authored-by: Nijil Nirmal <62882794+nijil-binary@users.noreply.github.com> * Update branch and Enhance style Co-authored-by: Nijil Nirmal <62882794+nijil-binary@users.noreply.github.com> * george / rm70573 / payment agent error visibility (#6023) * fix: pa error visibility * fix failed test * yauheni/70841 trackJS setUserId should be string (#6139) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Hirad/ Account switcher demo total asset change (#5622) * Account switcher total asset is shown correctly * Changed currency that is shown * fix--api call is put in useEffect now * Made the condition shorter * Removed the redundant parameter in the exchange_rates call * Pulled from master * Pulled from master * Added currency exchange to real account tab of account switcher * translations: 📚 sync translations with crowdin (#6199) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> Co-authored-by: suisin-deriv <103026762+suisin-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: amina-deriv <84661147+amina-deriv@users.noreply.github.com> Co-authored-by: Nijil Nirmal <62882794+nijil-binary@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: Hamid <hamid@re-work.dev> Co-authored-by: ashraf-deriv <97999159+ashraf-deriv@users.noreply.github.com> Co-authored-by: ashrafali-v <ashrafalifrk@gmail.com> Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> Co-authored-by: hirad-rewok <91878582+hirad-rewok@users.noreply.github.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> Co-authored-by: Maryia <87321516+maryia-deriv@users.noreply.github.com> Co-authored-by: Salar Hafezi <76559464+salarhfz-fs@users.noreply.github.com> Co-authored-by: njazuli-deriv <78890281+njazuli-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: Maryia Frantsava <88426229+maryiafrantsava-deriv@users.noreply.github.com> Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: vijayasree-deriv <98810931+vijayasree-deriv@users.noreply.github.com> Co-authored-by: george-usynin-deriv <89790856+george-usynin-deriv@users.noreply.github.com> Co-authored-by: Artsem Kavaleu <88381164+artsemkavaleu-deriv@users.noreply.github.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: mitra-fs <64970259+mitra-fs@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: sara-fs <55442058+sara-fs@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Likhith Kolayari <likhith@deriv.com> Co-authored-by: maryiafrantsava-binary <103181650+maryiafrantsava-binary@users.noreply.github.com> Co-authored-by: Yashim Wong <yashim@deriv.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: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: jim-deriv <104334373+jim-deriv@users.noreply.github.com> Co-authored-by: mahdiyeh-fs <82078941+mahdiyeh-fs@users.noreply.github.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com>
* chore: update charts (#6028) * Matin/ Hirad/ Amina/ Maryia-task_push_labuan_bvi_vanuatu (#5697) * Added add account buttons * Fixed add button issues * Added disabled * feat: sorry amina * Changed the condition of add account button * Added condition for add account * Renamed add account button and fixes its condition * Revert "feat: sorry amina" This reverts commit ca7bc6c330973d95fd836b6f0ac999341871e471. * Fixed the undefined issue in disabled cards * Fixed the issue of undefined data * Added condition for failed POI and POA * Maryia/Fix: for tests and add buttons (#15) * Maryia/fix for tests and account buttons * Fix: removed duplication for ModalCheckbox * poa_error_msg * Changed the conditions of POI and POA failed * Pulled from master * Added conditional modal button function * Maryia/fix: jurisdiction modal next button enabling (#16) * Maryia/fix: jurisdiction modal next buton enabling * refactoring * Fixed buttonText conditions * Chore: MT5 Trade Modal implementation * Maryia/used local state for setting selected card & updated flow (#17) * Maryia/used local state for setting selected card & updated flow * fix: for tests * Added the compare accounts add button integration * Pulled from master * Added box shadow hover to jurisdiction card * Chore: Account signup flow improvement * Chore: code cleanup * Fixed some of the stylings of MT5 cards * Fixed the mobile banner issue * Maryia/Fix: CFDPersonalDetails styles & logics + refactoring (#18) * Maryia/Fix: synthetic flow + refactoring * Maryia/Fix: CFDPersonalDetails styles + refactoring * Maryia/Fix: for Labuan footnote to not appear when pending status is visible * Chore: small bug fixes * Added three new conditions for modal footnote * Pulled from master * Maryia/fix: quick fix for failed & pending statuses (#19) * fix for pending statuses * showing status when the card is selected * quick fix for poi/poa failed statuses & footnotes * Maryia/used shortcode + updated mt5_new_account request & cfd personal account modal (#20) * Maryia/used shortcode + updated mt5_new_account request & cfd personal account modal * commented out personal details form tests temporarily * Revert "Maryia/used shortcode + updated mt5_new_account request & cfd personal account modal (#20)" (#21) This reverts commit 05bd322f35c328ee663d426379ecb88021a8fdda. * Maryia/used shortcode + updated mt5_new_account request (#23) * Maryia/using shortcode + mt5_new_account request + updated cfd personal account modal * commented out personal details form tests temporarily * revert personal details form * revert tests for cfd personal detail form * revert cfd personal details modal * revert prop types * prevent memory leak in cfd personal details modal * Chore: update jurisdiction cards style * Chore: Fixed bug on CFD card banners * Fixed poa failed and poi failed conditions * Changed is pending footnote condition * Maryia/fix: next button for failed+pending (#24) * Fixed the texts of jurisdiction cards * style fix for poi-poa * style fix for poi-poa * Added condition for Account added * maltainvest * Finished DXTrade styling * Pulled from main branch * Maryia/fix: state for failed+none (#25) * Maryia/fix: state for failed+none * getting settings in jurisdiction modal to check if the client has already submitted personal details * fix: statuses for failed + none * Fixes some styling issues * Fixed some stylings * Fixed paddings of verification statuses * Chore: Fix trade modal heading title * Fixes some of our issues * Maryia/fix: jurisdiction modal styles & open account request (financial flow check) (#26) * Maryia/fix: tnc agreement footnote * Maryia/fixed styles & added more data to open account request * fix: remove used classname * Chore: Fix logged out MT5 dashboard bug * Chore: Hide adding account from compare accounts modal when logged out * Chore: Huawei appgallery - CFD dashboard style updates * Chore: Huawei on mobile * Chore: Fix a tiny bug * Added seperator to the modal footer * Fixed console warning issues * Maryia/Merged from master & resolved conflicts + small style fix for dmt5 dashboard (#27) * Niloofar / Indicators documentation review (#5825) * indicators documentation review * resolved review comment Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * Niloofar / Trader documentation review (#5792) * edit some parts of trader docs * remove extra information from traders docs Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * shayan / cfd documentation updated (#5800) * docs/ cfd readme.md updated * Update README.md * docs/ Readme file updated * docs/ readme file updated * docs/ Update packages/cfd/README.md Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * docs/ Update packages/cfd/README.md Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * docs /Update packages/cfd/README.md Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * docs/ update readme file * doc/ updated readme file * doc/ updated readme file * doc/ updated readme file Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * yauheni / Notify users about sharing tokens with admin scope selected (#5741) * yauheni / Notify users about sharing tokens with admin scope selected, added note * tests fix * created token scope styling * deleted option test fix * token value fild markup * clipboard with warning dialog implemented * responsive version done, tests refactoring * dialog fix for admin scope * check commit after rebuild * css fixes, refactor after review * svg icon fill color fix * inline note fix * Delete package-lock.json * fix commit * fix * dots component placing fix * dialog fixes * api token tests fix * css fix for token table * review fixes * naming fix, close delete dialog timeout deleted * testcase fix * localize fix * admin note message change * copy token hover message fix * token alignment eye button fix * ok button capital letters fix * delete button hover fix, clipboard refactor Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * farrah/ fixed cfd lint errors (#5607) * ci/ exclude dist files from eslint scan * ci/ disable spaced-comment * ci/ exclude lib dir from eslint scan * fixed cfd eslint errors * renamed variables and fixed types * fixed missing return function * refactor code * fixed cleanup function * fixed invalid property document_file on submit Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> * yashim/feat: add TTI Measurement (#5764) * feat: add TTI Measurement * fix: security error * fix: add regex to fire only in specific domain * chore: remove console log * fix: remove TTI script. Offload to GTM * chore: revert gtm loading changes * translations: 📚 sync translations with crowdin (#5965) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * chore: removed unused prop from jurisdiction card * fix for dmt5 server maintenance & download center styles Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> Co-authored-by: Shayan Khaleghparast <100833613+iman-fs@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: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * eu-cfd-modal * Fixed compare accounts modal account creation issues * Added financial in front of the malatinvest for Adding account * Maryia/updated t&c links and improved jurisdiction modal (#29) * modal * modal- style * add account fix * Chore: hide compare accounts button * Chore: Display all MT5 accounts created * vanuatu-only-onfido * Fixed the issue where modal goes to the left * banner condition changes * Fixed the issue where selected card was showing wrong data * Pulled from main branch * Fixed the real mt5 account top up button issue * onfido failed * Fixed existing financial_stp account not being shown * real-account-under-virtual deriv * Increased the delay before closing and opening of modals * Fixed the sliding of the compare accounts modal * Account transfer will show the landing company to the end of accounts name * Added some more timeout function to prevent sliding modal to the left * Added timeout for all of toggle modals * Fixed POI acknowledged issue * Fixed can have more real synthetic mt5 condition to hide add account button if we do not have any more accounts to create * notifications * remove duplicate notifications * Changed the styling of disabled account * Made banners text capitalization exactly like the design * Account switcher add button won't show up when we cannot create anymore accounts * Maryia/fix: showing only available accounts in CompareAccountsModal (#30) * Maryia/fix: showing only available accounts in CompareAccountsModal * fix: getting complete content for all available accounts + removed unused has_cfd_account * Maryia/finalized CompareAccountsModal table * Merge branch master of github.com:binary-com/deriv-app into task_push_labuan_bvi_vanuatu * cfd-personal-details * Chore: JY's requests reflected. * Maryia/Refactor: compare account modal content + improvements (#32) * Maryia/refactoring compare accounts modal content * added a case for 0 financial or 0 synthetic accounts count * improved synthetic & financial header style loop * Chore: cfd card height update * svg routing * Added new conditions for add account button * Fixed the capital letter demonstration of SVG and BVI banner texts * Fixed the TTradingPlatfromAvailabeAccount Type * Fixed CodeCov error * svg routing * Fixed labuan account creation bug * Fixed Code Cov errors * Fixed demo account dashboard error and hid the add button for it * compare account fix * compare account fix * poi-poa-mobile-style-fixes * Changed over header color * Fixed the issue where server name was shown for BVI, Labuan and ... * Fixed compare accounts account creation flow * Added new styling for demo accounts * poa-fix * Added login id to demo accounts * Fixed the account transfer text upper and lower cases * account swtcher fix * region in account switcher * overheader change in jurisdiction * Fixed eu password manager modal header title * Fixed eu user cfd icon color and trading account label * Fixed the add account buttun issue where having more than one account with same landing_company_shortcode hides the button * Fixed the redirected account to reset password errors * Fixed demo accounts backward compatibility * Fixed EU demo account text in account switcher * Chore: Resolve SonarCloud bug * server name for account switcher * server name for account switcher * Fixed account switcher bug which shows add button even when we have accounts created * revert-last commit * Fixed the issue where add button in account switcher was shown even after having all of the accounts created * Chore: login id padding issues fixed for Demo * Chore: Small padding update for Labuan clients * Fixed derivx account name in cashier transfer * tnc fix * Fixed POIPOA submited text * remove equities * Fixed the checkbox issue in mobile mode * Fixed account switcher issues * labuan -compare-accounts-modal-content-update * Fixed the font size of Proof of identity and address are required in verification statuses * Changed the straight through processing text style * Fixed account switcher bug * fix in tnc checkbox * Consolidated the responsive design * separator line in demo account switcher * Maryia/Fixed modals sliding to the left using styles * compare modal * Fixed the issue of account switcher for backward compatibility * Fixed the mt5-trade-modal title for eu users * Chore: added tooltip info to jurisdiction modal for Financial Labuan account * fix loading * Fixed the grammatical issue of MT5 server maintenance message * Fixed mt5 trade modal header title for eu accounts * compare account fix * compare accout fix * Added malta invest footnote * Fixed the text color of one of jurisdiction footnotes * Maryia/fix: add buttons + accounts switcher + only svg available to add in demo (#35) * Maryia/fix: add buttons + accounts switcher + only svg available for demo * showing company shortcode for added demo accounts * show company shortcode in demo only for financial labuan * fix: setting company code for demo account opening request * fix for tests * Fixed the issue where jurisdiction cards were linked in responsive design * Fixed sonar cloud issue * Sonar cloud fix * Fixed sonar cloud issue * Sonar cloud issue * Maryia/fix: sliding trade modal & compare accounts modal (#36) * Sonar cloud issue * Checking sonar cloud issue * Fixed MT5 success dialog icon * Maryia/fix add buttons for multiple real accounts * Fixed server tag for account switcher * Maryia/fix: CompareAccountsModal Add button to open real account needed modal (#37) * Maryia/fix showing real acc needed when adding acc from compare acc modal * fixed compare accounts modal for logged out clients * removed unused loading state from poi/poa * vanuatu flow from compare accounts modal * Maryia/fix: console TS warning for exit_classname type * Fix: Display popovers on top of Trade modal * Fixed the issue where server name was shown for bvi accounts as well * Maryia/fix: setting account type in compare accounts modal * next button logic * vanuatu flow * Fix: title update and css changes * app crash issue * vanuatu banner and next button labels * Fixed the issue where server banner was shown even for accounts with 1 synthetic svg account in account switcher * onfido blank screen check * Maryia/fix: avoided state update on unmounted CFDFinancialStpRealAccountSignup + removed unused setSubmitting * fix for loading * mt5 add g * Maryia/fix: Trade modal for demo to display only STP shortcode * update branch with master * typo fix * checkbox missing issue * maltainvest * Maryia/fix: responsive CompareAccountsModal * code cleanup in packages/account/src/Components/poi-poa-docs-submitted Co-authored-by: hirad-rework <hirad@re-work.dev> Co-authored-by: yashim-deriv <yashim@deriv.com> Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-binary@users.noreply.github.com> Co-authored-by: Matin-binary <matin@deriv.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: Shayan Khaleghparast <100833613+iman-fs@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: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> 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: maryia-binary <maryia@binary.com> Co-authored-by: Matin shafiei <matin@binary.com> * Updated MT5 windows app url (#6055) * translations: 📚 sync translations with crowdin (#6065) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * investor (#6066) * translations: 📚 sync translations with crowdin (#6067) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Use context instead repository defined environment variables (#6070) * Jim / Resolve Eslint errors in components package (#5943) * ci/ exclude dist files from eslint scan * ci/ disable spaced-comment * ci/ exclude lib dir from eslint scan * chore: add auto-generated icon.js file to packages/components/.eslintignore * fix: resolve eslint errors * Resolve conflicts * fix: eslint error fix * chore: add support for webpack aliases * refactor: change relative paths to aliases * refactor: add new line * chore: remove changes for file outside components package Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> * Shayan / 65941 / Fixed eslint errors and warnings for core workspace (#5902) * ci/ exclude dist files from eslint scan * ci/ disable spaced-comment * ci/ exclude lib dir from eslint scan * unnecessary escape character warning fixed * removed .js on file importing * unexpected semicolon error fixed * fixed inline export error in Redirect * working on unexpected semicolon error in progress * fix/ fixed some eslint warning related to PropTypes * fix/ fixed eslint warnings * fix/ all eslint warnings fixed * refactor/ changed settings_extension type * fix/ fixed some errors that caused console errors * refactor / revert commenting out key in propTypes * build / extend added to core package.json * fix/ updated hasNoAvailableCrypto type * fix/ fixed some new eslint errors Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: Farrah Mae Ochoa <farrah@deriv.com> * review core readme && core docs (#5927) * review core readme && core docs * review core readme && core docs * core docs review * fix cname description * fix core-readme * add some points * add some points * add some points * add some points * fix Folder Structure Co-authored-by: Yashim Wong <yashim@deriv.com> * Niloofar/ Translation documentation update (#6026) * translation documentation review * resolve pr comments * docs: add more details to translation's documentation Co-authored-by: Yashim Wong <yashim@deriv.com> * Termsandconditionslink (#5873) * add terms and conditions link to the error message * changed the name and added jsx * mobile view fix * added full stop Co-authored-by: Thisyahlen <thisyahlen@Thisyahlens-MacBook-Pro.local> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> * yashim/chore: upgrade onfido (#5653) * chore: upgrade onfido package * chore: upgrade onfido + hoist changes to package lock * chore: exact versioning. remove package lock * chore: update main package lock * feat: bump onfido packages * chore: update package lock * style(payment agent transfer): change the width of the submit button in responsive view (#6043) * shayan / 67210/ p2p documentation updated (#5829) * docs/ updated readme for p2p * docs/ readme file updated * docs/ readme updated * docs/ readme updated * docs / updated readme file * docx/ update readme * docs/ updated readme file * Shayan/69364/fix eslint errors for p2p (#5942) * fix/ fixed some warnings and errors * fix/ fixed some eslint errors * fix / all eslint errors e=returned by test:eslint fixed * fix/ disabled eslint for jest expect().to.be.empty * fix/ removed unnecessary lines * fix/ disable eslint for useEffect empty dependency list * fix/ changed function name * Update packages/p2p/src/components/buy-sell/filter-modal/filter-modal.jsx Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * fix / review fixes Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * fixed component eslint errors (#6088) * translations: 📚 sync translations with crowdin (#6089) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * trade-modal-fix (#6090) * translations: 📚 sync translations with crowdin (#6091) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * ci/ enable eslint on ts files globally (#6045) * translations: 📚 sync translations with crowdin (#6105) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Convert string into integer (#6101) * Maryia/fix: eliminated DataListRow infinite update + console warning (#6096) * fixed trackjs connection error (#6022) * Added scroll on the y axis for mt5-trade-modal (#6102) * Farzin/72134/Spacing is less comparing to design in DMT5 account creation page (#6072) * fix(cfd): :lipstick: fix DMT5 account creation footer spacing issue on mobile * style(cfd): :lipstick: use `px` instead of `rem` for `box-shadow` * fixed typo error in price rate validation message (#6057) * george / rm71464 / align api token (#6056) * style(api token): align api token * style(api token): align rows in api token details * added space between the buttons (#6053) * fix profit_loss color in profit table of reports (#6050) * Make cashier-onboarding-detail card full-width (#6033) * Message validation first name (#6051) * Regex edited for validLetterSymbol * Update Regex Rules * Update REGX for address and phone * Update Regex for phone number * Mahdiyeh/ Fix: show barrier price when hover on open positions cards (#6025) * show barrier price when hover on open positions cards * pass symbol as a props instead of getting from localStorage * thisyahlen/changed expiry box and tooltip date format (#6052) * changed expiry box and tooltip date format * fixed expiry tooltip for mobile * changed text for pop up message Co-authored-by: Yashim Wong <yashim@deriv.com> * fix: notification counter style (#5925) * Akmal / update: Add document upload for Nigerian clients (#4198) * Static navigation for unsupported countries * Fix mobile for icon uploads * WIP separating components * WIP separating components * wipe: add steps * wipe: add steps * wip: add upload documents * wip: fix ui * wip: fix ui * wip: add api * wip: add api * wip: add manual upload * wip; add new design * wip: add new filedrop design * wip: add validation for files * wip: add selfie step * add error handling * update: add lifetime_valid * remove extra files * fix: optimize svgs * fix: add localize, use classNames instead of cn * fix: add asterisk to mandatory fields, fix font color, fix preview image glitch * fix: don't accept less that 6 month for expiry date * Add back button icon * Update text content * Update nimc UI * Update nimc styles * Fix next/back buttons logic * Fix websocket unresolved import * Fix POA upload failure * Fix next button issue * Update messages * Fix POI uploaded nessage * Fix document_id, document_type and lifetime_valid * test * temp commit * Temp commit * Fix nigerian onfido flow * Fix issues * Temp commit * Merge latest * Merge unsupported * Add semicolon * Add console logs * Fix formatting * Update pre-commit * Update idv.jsx * Update constants.js * Update proof-of-identity-container.jsx * Fix import paths * Delete old test * Add continue trading feature * Remove unused properties * Remove extra function * Empty-Commit * Fix cfd poi issues * Remove no longer valid test case * Fix next button state behavior * Merge with master * Change message to longer timeframe * Prioritise pending status from BO * Fix selfie upload issue after response error * Fix infinite uploading for files * Fix merge conflicts * Remove old test cases Co-authored-by: Mohammadreza Ghorbani <reza@firstsource.email> Co-authored-by: Amir Ghadimi <amir.ghadimi@firstsource.tech> Co-authored-by: Yashim Wong <yashim@deriv.com> * translations: 📚 sync translations with crowdin (#6130) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6131) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6132) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6133) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * fixed town/city validation (#6134) * Suisin/Update validation rules (#6145) * update letter symbol rules * new rulels * Update declarative-validation-rules.js * Suisin/Renew validation rules (#6147) * update letter symbol rules * new rulels * Updated Rules * edited rules * Update rules to accept multiple space * translations: 📚 sync translations with crowdin (#6158) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * remove personal-details-step-from-financial-svg (#6135) * TS migration of cashier UI components (#5947) * added ts related change required for migrating all components (#5760) * ts-migration-crypto-fiat-converter (#5796) * Trigger build * Update package-lock * ts-migration-cashier-notifications (#5765) * bahar/funds_protection_component-ts-migration (#5756) * funds_protection_component-ts-migration * remove_extra_type_file * fix_merge_issue * hamid/migrate-transfer-confirm-to-ts (#5815) * Migrate TransferConfirm to TS * Rename component in test file * Replace Confirm with TransferConfirm in PAs * Enhance Tests * ts-migration-page-404 (#5766) * Vinu/converted percentage-selector component into typescript (#5785) * converted percentage-selector component into typescript * changed the name of test_ids in percentage-selector spec file as per new guidlines * updated with latest upstream branch * added reactMouse event in props.types.ts * Vinu/migrated recent-transaction component to typescript (#5791) * migrated recent-transaction component to typescript * fixed Rootsore path in recent-transaction * tsconfig.json change in types path * ts-migration-verification-email (#5769) * bahar/Ts migration no balance (#5774) * ts-migration-no-balance * fix_merge_issue * Vinu/migrating cashier-container into ts (#5780) * migrting cashier-container into ts WIP * added type in virtual.tsx * changed test-ids in cashier-container * updated the branch with latest upstream branch * fixed Rootsore path in cashier-container * tsconfig.json change in types path * Vinu/Ts cashier error dialog (#5820) * migrated error-dialog to typescript * removed proptypes from error-dialog * added appropriate types to message variable in error-dialog * updated code with latest upstream branch * fixed type of rootstore in error-dialog * fixed Rootsore path in error dialog * added type for ReactElement in props.types.ts cashier * Vinu/migration of crypto-transaction-history component into typescript (#5834) * migration of crypto-transaction-history component into typescript * Trigger Build * Trigger Build * fixed Rootstore path in crypto-transactions-history * added type for crypto-transaction-details * added ReactMouseEvent in prop.types * added data-testid's in crypto-transaction-renderer component * Migrate CashierLocked to TS (#5959) * Fix security hotspot reported by sonarcloud Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: Hamid <hamid@re-work.dev> * limit the number of chunks creating by webpack (#6040) * limit the number of chunks creating by webpack * webpack chunk strategy try 2 * webpack optmzn try 3 * add minchunks count as 30 * webpack max chunks set as 10 * chunk strategy maxchunks updated to 10 * webpack strat minsize rule * webpack strat update try 5 * webpack strat update try6 * Revert "MaryiaF/fix: P/L is not getting updated when a contract is terminated… (#6024)" (#6034) This reverts commit ba506880a588f34b911c9acf85829975b1c48f57. * translations: 📚 sync translations with crowdin (#6037) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * p2p/Floating rate feature (#5494) * Merge branch 'binary-com:master' into floating_rate (#5080) * Nijil / DBot - Add multipliers (#4172) * Retrigger vercel deployment * Init dbot multiplier * Fix es-lint issues * Add contract update dialog validations * logic added to hasAllRequiredBlocks for multipliers * Fix es-lint errors * Update stop loss block description and label * Filter out multipliers in quick-strategy * Fix incorrect rendering of duration/multiplier blocks on workspace when they're dragged out from toolbox * Fix typos * Add missing proptypes and other minor refactors * Fix minor issues + logic * Fix: trade option block not changing according to the selected trade type once it is dragged to workspace first and then plugged to the trade parameters block * Fix: Disable trade option block when plugged inside trade parameters * Remove connection to next statement in trade_defintion_restartonerror block * Make multiplier_stop_loss and multiplier_take_profit independant blocks + other UX improvement Description \n1.Make multiplier_stop_loss and multiplier_take_profit input field shadow blocks. \n2. Add check such that duplicate multiplier_take_profit and multiplier_stop_loss cannot be added to trade_definition_multiplier block. \n3.Show amount limits in trade_definition_multiplier block. * Cleanup workspace when switching between multiplier and other trade options * Remove extensice validation for multiplier_stop_loss block * Show dialog for multiplier contract on stop button click + minor cleanups * Update stop multiplier dialog content * Update stop multiplier dialog content and button actions * Minor bug fix * Fix stop multiplier dialog buttons styling * fix: multiplier contract not bought even after disabling TP/SL block inside multiiplier block * Disable stray blocks and their optional children recursively * fix: recover all pending transactions on page refresh or if client left page mid-contract * Restrict TP/SL blocks to multiplier block + add close button logic for dialog component * Fix profit not showing when it's zero * Add condition for restricted blocks to enable/disable stack option in context menu * Optimised proposal_open_contract call on mount of transaction tab * fix es-lint error * Update logic for recovering open contracts * Fix no-unused-vars error * Refactor code for readability * Refactor code for readability * Add logic to handle action of reset button in toolbar * Remove condition where it enabled the button in run panel while the contract is still closing * Fix default-case expected test error * Add note for multiplier block * Add condition to disable run panel button when multiplier contract is closing * Fix issue where connectWithContractUpdate tried to destructure undefined at first render * Add Learn more help content for multiplier trade option block * Minor change in toggle-card-dialog.jsx file * Refractored help-content from bot-skeleton to bot-web-ui package and updated help content for multiplier trade option block * Fix missing key prop error * Minor change in fix where connectWithContractUpdate tried to destructure undefined * Show banner for bot MF Real & VRTC Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> * Hirad/Cfd reset password modal js to ts (#4706) * Changed cfd-reset-password-modal container from js to ts * fix--Auto styling is done on the components * fix--Separated types from component * fix--Auto styling is done on the components * fix--Added a separate type for errors and Changed the type of current_list * Auto styling is done on the components * fix--Used Record utility type to improve readability * fix--Removed redundant imports and duplicate types * Pulled the latest changes from master * fix--Replaced ReactElement with ReactNode * Pulled from master * Made some changes to pass the tests * fix--Changed ReactNode to ReactElement to pass the tests * fix--Shortened one of the types * Fixed the conflicts Co-authored-by: Matin shafiei <matin@binary.com> * Chore: Added NIN option in IDV dropdown for ng clients (#4970) * fix: payment info issue (#4978) Co-authored-by: Matin shafiei <matin@binary.com> * Bala/Cleanup dashboard (#4967) * refactor: change folder name to appstore * chore: cleanup dashboard svgs * refactor: rename to appstore * remove separate build for dashboard * refactor: rename to appstore * cleanup build * remove appstore assets * fix: api-types auto generation * chore: cleanup dashboard * chore: cleanup appstore build * chore: fix appstore main file path * chore: use consistent configs * chore: refactor store usage to be consistent * chore: cleanup dist and routes * chore: remove old routes config * cleanup routes config * setup trading-hub path * cleanup asset_path * cleanup redirects * fix ts lint issues * fix lint issues * fix lint issue * fix test issues * update tsconfig path * update codeowners * chore: added a space * Update README.md Co-authored-by: Matin shafiei <matin@binary.com> * Maryia/TrackJS_Avoiding_Pushwoosh_Failed_to_fetch_error (#4894) * Maryia/Checking network status before initializing Pushwoosh * Maryia/refactoring Co-authored-by: Matin shafiei <matin@binary.com> * translations: 📚 sync translations with crowdin (#4987) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * salar / Hotfix/multiplier eu (#4989) * Add helper function for EU countries * Show digital options banner to VRTC-only EU clients * Add comment to remove duplicate code * Fix: apply more compliance conditions * Fix issue for EU residence * Apply prettier * Fix mobx issue for residence * Fix: prevent calls on undefined * Fix: check for blockly div first * Apply prettier * export_components_which_needed_to_be_used_in_app_store (#4972) * refactor_payment_agent_component_for_app_store (#4968) * translations: 📚 sync translations with crowdin (#5005) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * refactor: investor password (#4992) * Nuri/Refactor: Refactor compare account (#4969) * refactor compare account * retrigger circleci * retrigger deployment * removed unused text * likhith/OrderConfirmCompleted error status displayed on slow n/w (#4832) * Resolved: #56123 - OrderConfirmCompleted error status displayed on slow n/w * Refactored code * Fixed lint errors * implemented review comment * Resolved eslint issues * Resolved Console.log error * Added comments to changes * Resolved lint errors * Removed unwanted component * fix storybook build (#4997) * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function (#4892) * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function * Maryia/Fix for styles of POI & POA steps in Settings and CFD modals (#4761) * Maryia/fixed styles of poa upload block * Maryia/fixed cfd poa modal for responsive mode * Maryia/fix for POI step style in CFD modal * Maryia/fixed style of upload criteria in CFD modal POA step * Maryia/refactoring as per deriv app code standard * Maryia/replaced px with rem * Maryia/fix for the upload box style requiring nesting inside list * Maryia/fixed POI styles * Hirad/Cfd dashboard container JS to TS (#4941) * Changed cfd-dashboard container from javascript to typescript * fix--Fixed the default export of the cfd-dashboard * Pulled from master * fix--Invisible tab menu should be fixed * Auto styling is done * IDV notification changes and refactoring (#5001) * Akmal / Add trustpilot notification (#4974) * Add trustpilot notification * Fix formatting * Add undefined check * Vijayasree/Manage Account modal from Cashier Onboarding links are broken on iphoneSE (#4948) * Manage Account modal from Cashier Onboarding links are broken on iphone SE * Manage Account modal from Cashier Onboarding links are broken on iphone SE * Manage Account modal from Cashier Onboarding links are broken on iphoneSE * Update account-wizard.scss Co-authored-by: Matin shafiei <matin@binary.com> * likhith/Added jest config and test cases for App-Content component (#4876) * Added jest config and test cases for App-Content component * Added test cases for App Content component * Fixed lint errors * Removed lint errors and configured webpack * Reordered webpack extension array * Implemented review comments * implemented review comments * george / added test for "PaymentAgentList" component (#4825) * added test for "PaymentAgentList" component * fixed a spelling error * refactored code, changed query method * code refactoring * george / added tests for OnRampProviderCard (#4880) * added tests for OnRampProviderCard * code refactoring (add data-testid into Icon component) * naming refactoring data-testid * naming refactoring * add new prop (data_testid) to Icon component * code refactoring using icon prop data_testid * add prop types for data_testid * likhith/Removed unused functions from Cashier container and added test cases (#4821) * likhith/added testcases to cashier-container * added loader check test case * Variable change * Fixed variable scoping * Refactored code inline with naming conventions * Removed code smells * Improved code visibility * Removed unused functionality in CashierComponent * Removed unused imports * Removed unused property and improved test cases * modified input data * Incorporated review comments * Incorporated review comments * Added test cases to order and order-table (#4916) * fix test cases because of refactoring the component (#5029) * Nijil/Pass correct value to SelectNative value prop from PA dropdown (#5034) * fix: pass correct value to SelectNative value prop * minor refactor * translations: 📚 sync translations with crowdin (#5039) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * MaryiaF/fix: bold the menu option when the user has gone by the child… (#4965) * MaryiaF/fix: bold the menu option when the user has gone by the child menu items and then navigated one of them to the corresponding page * MaryiaF/refactor: solution with switching to the bold menu item * MaryiaF/chore: revert intent * MaryiaF/refactor: use Text component instead of spane in toggle-menu-drawer file * MaryiaF/refactor: remove unuseful style and change import * Merge branch 'master' of github.com:binary-com/deriv-app into 57685_2 * MaryiaF/fix: all the sub menus are not supposed to be in bold in first visit, 1 of the sub menu should be bold during the visit * MaryiaF/fix: condition when the menu item should be bold * MaryiaF/fix: remove console.log * Revert "Merge branch 'master' of github.com:binary-com/deriv-app into 57685_2" This reverts commit 2c19bed858d09d2dee7b4ffb939f80617a91972e. Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * <SearchBox /> test coverage (#4900) Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Artsem / <Verification /> test coverage (#4890) * <Verification /> test coverage * remove redundant import * fix testid naming * fix testid and elements naming * remove redundant mockProps() Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test_coverage_for_poi-verified_component_in_account_package (#5006) * poi-verified-spec * poi-verified-spec Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test_coverage_for_poa_unverified_component_in_account_package (#4993) * unverified-spec * poa-unverified Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test coverage for poa-submitted (#4990) * test_coverage_for_poa_submitted * fix Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * george / test coverage for "recent transaction" component (#4838) * added tests for RecentTransaction component * fixed condition for cashier transaction icon * removed code duplication * refactored code * code refactoring (add data-testid into Item component) * code refactoring * naming refactoring data-testid * naming refactoring * add new prop (data_testid) to Icon component * code refactoring using icon prop data_testid * add prop types for data_testid Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#5048) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * update branch with master (#5010) * Maryia/Set notifications together with each handling of notifications (#4958) * Maryia/Set notifications before each handling of notifications * Maryia/style fix to fit in long FR, ES & PT text on the notification button * Fix design for DMT5 investor password reset modal (#4942) * Ako/ Codecov integration (#5053) * build/ add test:ci script to run tests in the ci with different config * ci/ add codecov github action * ci/ workflow update * ci/ update coverage path * ci/ get coverage over all of the files * ci/ get coverage on pull request * Revert "build/ add test:ci script to run tests in the ci with different config" This reverts commit 2771958602f5af3048c334e28868d05f9ff4f6cd. * doc/ add codecov badge to readme file * Vijayasree/Crypto icon in withdrawal page is not shown for specific device IOS (#4976) * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * re-trigger build * re-trigger build * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Sara / Fixed issue with error handling (#4966) * Fixed issue with error handling * Removed extra code * fixed issue with aggregation methods * MaryiaF/chore: remove consoles (#5059) * Matin/Add: TS files for translation extraction (#5073) * remove appstore package from translations (#5075) Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> Co-authored-by: hirad-rewok <91878582+hirad-rewok@users.noreply.github.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> Co-authored-by: Maryia <87321516+maryia-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: Salar Hafezi <76559464+salarhfz-fs@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: njazuli-deriv <78890281+njazuli-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: Maryia Frantsava <88426229+maryiafrantsava-deriv@users.noreply.github.com> Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: vijayasree-deriv <98810931+vijayasree-deriv@users.noreply.github.com> Co-authored-by: george-usynin-deriv <89790856+george-usynin-deriv@users.noreply.github.com> Co-authored-by: Artsem Kavaleu <88381164+artsemkavaleu-deriv@users.noreply.github.com> Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: mitra-fs <64970259+mitra-fs@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: sara-fs <55442058+sara-fs@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> * Revert "Merge branch 'binary-com:master' into floating_rate (#5080)" (#5081) This reverts commit 725636b267eb434a278976b67c3461ccc2130338. * Artsem / Floating rate banner and warning for existing ads (#4975) * Add floating rate enable banner and warning icon * remove extra function call * remove deprecated conditions * remove conditional render, add todo comment * fix Localize settings * likhith/Created Floating rate custom component (#4971) * Created Floating rate custom component * Removed hardcoded values * Incorporated review comments * Reordered functions as per style guide * Replaced Css units * Incorporated review comments * Empty commit * Minor bug fix * Renamed functions appropriately * Incorporated review comments * Fetching floating rate status from const * Resolved lint errors * Incorporated review comments * incoeporated review comments * Added syles as per UX * Added a comment to explian props * Changed CSS as per BEM standard * Changes naming conventions * Implemented review comments * Refactored code as per comments * Fixed eslint errors * Reverted the changes made * Minor bug fixes * Added currecnt_focus prop * likhith/create floating-rate ad (#4964) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Minor bug fixes * Minor bug fixes * removed console logs * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Incorporated review comments * Reduced spacing between the banner * Formatted user input * Fixed failing test case * Added comments to explain functionality * Fetching date and time from server * Renamed function * Refactored code * Added review comments * Resolved decimal round off issue * Fixed Rounding off of decimal digits * Regex change in psoitive integer check * Resolved issue with round off to decimal point * Re-arranged imports * Fixed the testcase * Fixed floating_rate input check * Removed Math.sign * Reverted decimal change * Implemented round of logic for decimal places * refactor: Renamed variables * fix: Round off issue in Create Ad summary * fix: resolved decimal point to 2 digits * Resolved lint errors * fix: Renamed the function * chore: Ad display table rate will be calculated from * fix: test color in dark theme * fix: label changes b/w fixed and floating * fix: invoking api call to fetch the changes * fix: rate synced b/w myads and buy/sell * fix: range offset validation * fix: modified rate property in edit ads * fix: Float rate input suffix * fix: code formatted * fix: setting floating rate to 2 decimals on blur * fix: spacing issue with floating rate input * Trigger build * Trigger build * fix: removed unwanted padding * fix: added ellipse to fix over lapping * fix: removed disabling of floating rate field buttons * fix: resolved issue with error message * fix: Overlapping CSS issues in Mobile * fix: added missing background color for dark theme * fix: removed button highlight in mobile * fix: button higlight issue * fix: display of cursor pointer on scroll * fix: resolved issue with message * fix: Ad change warning message * fix: color for dark mode Co-authored-by: Likhith Kolayari <likhith@deriv.com> * fix: conflict message not updated * likhith/created edit my ad screen (#4988) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Implemented edit ads for floating rates * Inorporated review comment * minor bug fixes * Minor bug fixes * Minor bug fixes * removed console logs * Added rae_type prop * Incorporated API changes * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Added styles as per UX * Refactoring code * Css changes to summary component * Trigger Build * Minor bug fix in Create Ad form * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Migrated create ad comments to Edit ad * Resolved lint errors * Fixed lint issues * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Incorporated review comments * Reduced spacing between the banner * Formatted user input * Fixed failing test case * Added comments to explain functionality * Fetching date and time from server * Renamed function * Refactored code * Added review comments * Resolved decimal round off issue * Fixed Rounding off of decimal digits * Added test case for create ad * Regex change in psoitive integer check * Added test case to test form values * Resolved decimal round off issue * Added test acss to edit form * Resolved lint errors * Resolved issue with round off to decimal point * Re-arranged imports * Fixed the testcase * Removed unused imports * Fixed floating_rate input check * Removed Math.sign * Reverted decimal change * Implemented round of logic for decimal places * refactor: Renamed variables * refactor: Added fallback condition * fix: added a exchange rate fallback condition * fix: Round off issue in Create Ad summary * fix: resolved decimal point to 2 digits * Resolved lint errors * fix: Renamed the function * chore: Ad display table rate will be calculated from * fix: test color in dark theme * fix: label changes b/w fixed and floating * fix: invoking api call to fetch the changes * fix: rate synced b/w myads and buy/sell * fix: range offset validation * fix: modified rate property in edit ads * fix: Float rate input suffix * fix: code formatted * fix: setting floating rate to 2 decimals on blur * fix: spacing issue with floating rate input * Trigger build * Trigger build * fix: removed unwanted padding * fix: added ellipse to fix over lapping * incorporated changes * fix: removed disabling of floating rate field buttons * fix: resolved issue with error message * fix: Overlapping CSS issues in Mobile * fix: added missing background color for dark theme * fix: removed button highlight in mobile * fix: button higlight issue * fix: display of cursor pointer on scroll * fix: resolved issue with message * fix: modified display of summary in edit ad component * fix: removed spec code * fix: Removed test cases * chore: reverted old commit * feat: Added banner for switch rate * fix: Error message text * fix: incorporated review comments * fix: removed unwanted store condition and added subscription to exchange rates * fix: removed incorrect function call * fix: added a null check * fix: refactored code * ref: Added comments * ref: Refactored code for performance * ref: refactored code * ref: code refactor * ref: Incorporated review comments * Trigger Build * fix: removed fixed size * fix: resolved conflict * fix: moved functionality from component to store * fix: removed unnecessary commenting * ref: renamed cancel action functions * ref: refactored code for increated readability * feat: implemented a function for removing trailing zeros * ref: refactored the code in edit ad summary * fix: reverted decimal round off rules * fix: resolved issue with resetting selected Ad id * fix: switching ad types in edit * fix: issue with edit ad switch * fix: display rate change dialog even when ads are deactivated * fix: disabled activate ad when past date is passed * fix: displaying error message based on the required ad type * fix: banner glitch occurs when data loaded in chunks * fix: enable ads after switch update * fix: Form should not be checked for value change when ad switch is triggered * fix: test to incorporate sign * fix: implemented dynamic type for field in mobile * fix: added css to fix disable styling * fix: enforcing disable bg color for popover * fix: responsive view of switch ad modal * fix: added missing theme color for dark mode * fix: banner width consistancy * fix: incorporated touched state for Payment method Co-authored-by: Likhith Kolayari <likhith@deriv.com> * likhith/Feature buy sell confirmation (#5487) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Minor bug fixes * Minor bug fixes * removed console logs * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Incorporated review comments * Reduced spacing between the banner * Formatted user input * Fixed failing test case * Added comments to explain functionality * Fetching date and time from server * Renamed function * Refactored code * Added review comments * Resolved decimal round off issue * Fixed Rounding off of decimal digits * Regex change in psoitive integer check * Resolved issue with round off to decimal point * Re-arranged imports * Fixed the testcase * Fixed floating_rate input check * Removed Math.sign * Reverted decimal change * Implemented round of logic for decimal places * refactor: Renamed variables * fix: Round off issue in Create Ad summary * fix: resolved decimal point to 2 digits * Resolved lint errors * fix: Renamed the function * chore: Ad display table rate will be calculated from * fix: test color in dark theme * fix: label changes b/w fixed and floating * fix: invoking api call to fetch the changes * fix: rate synced b/w myads and buy/sell * fix: range offset validation * fix: modified rate property in edit ads * fix: Float rate input suffix * fix: code formatted * fix: setting floating rate to 2 decimals on blur * fix: spacing issue with floating rate input * Trigger build * Trigger build * fix: removed unwanted padding * fix: added ellipse to fix over lapping * fix: removed disabling of floating rate field buttons * fix: resolved issue with error message * feat: Implemented floating rate for buy/sell * fix: Overlapping CSS issues in Mobile * fix: added missing background color for dark theme * fix: removed button highlight in mobile * fix: button higlight issue * fix: display of cursor pointer on scroll * fix: resolved issue with message * fix: color for dark mode * fix: buy/sell modal styling * fix: render data in accordian * feat: incorporated expand all accordian * feat: Implemented Expand & Collapse all feature * ref: code refactor * fix: removed console errors * fix: removed unused prop * fix: incorporated review comments * fix: incorporated review comments * fix: incorporated Expamd all button * fix: incorrect prop name in accordion component * fix: incorporated review comments * ref: Removed code duplication * ref: refactored the code * fix: changes px to rem * fix: incorporated rate change error dialog * fix: removed unwanted CSS * fix: renamed porptype in Rate Change modal * ref: code refactored * ref: rate change modal code refactored * ref: Refactored code * fix: css issues related to buy-sell dialog * fix: fixed failing test cases * fix: Added a error code check to display appropriate popups * fix: CSS inssues in Buy-sell modal * fix: css issue of error hintbox * fix: resolved issue with rounding digit in receive amount * fix: blocking order creation when balance is low * fix: css changes to fix disabling form * fix: modal condition to display low balance * fix: blocking user from entering value more than balance * fix: display Form error messages in footer and account balance error in banner * fix: resolved lint errors * ref: changed the TODO comment * ref: fixed the comment * fix: incorporated subscribeWS method * fix: resolved failing testcase issue * fix: removed commented code * fix: display of incorrect efective rate * fix: decimal round off * fix: navigation to buy/sell table when try again is clicked * fix: buy/sell order dialog title to match the design * fix: css issues in buy/sell * fix: design mismatch in order confiormation dialog * ref: Refactored code to reuse functionality * fix: removed commented code * fix: market change update in Advertiser section * fix: re-render on balance change * fix: disabling fields when balance is low * fix: expand/collapse issue * fix: resolved issue with expand and collapse * fix: restricted rate input to 8 characters * fix: resolved console error * fix: file name * fix: fixed failing test case * fix: added order input check against account balance * fix: css issues in add payment method in buy-sell form * fix: validation of sell order * fix: currency format of balance * fix: re-establish n/w connection on reload * ref: Incorporated safety null check * fix: moved low balance banner display to be handled by state Co-authored-by: Likhith Kolayari <likhith@deriv.com> * farrah/ removed payment method banner in p2p (#5755) * removed transaction time and payment method banners * removed setting of missing payment methods * reverted removal of reduced transaction time banner * likhith/incorporated market rate calculation with 6 decimals (#5770) * feat: incorporated market rate calculation with 6 decimals * ref: refactored code to generate effective rate * ref: removed commented code * fix: round off decimal calculation of effective market rate * fix: formatting decimals in effective rate * fix: set the form to be dirty when PM is selected * fix: checking for change when PM methods are modified * fix: enable button for edit ad * fix: enabling submit method for buy ads * fix: decimal round off issue in buy-sell * fix: display min of 2 decimal points * fix: displying initial value of buy-sell ad * Trigger build * fix: removed unnecessary spacing * Trigger build * fix: effective rate round off in Buy/sell * Trigger build * fix: setting correct ad type * fix: display order rate amoun…
* added ts related change required for migrating all components (#5760) * ts-migration-crypto-fiat-converter (#5796) * Trigger build * Update package-lock * ts-migration-cashier-notifications (#5765) * bahar/funds_protection_component-ts-migration (#5756) * funds_protection_component-ts-migration * remove_extra_type_file * fix_merge_issue * hamid/migrate-transfer-confirm-to-ts (#5815) * Migrate TransferConfirm to TS * Rename component in test file * Replace Confirm with TransferConfirm in PAs * Enhance Tests * ts-migration-page-404 (#5766) * Vinu/converted percentage-selector component into typescript (#5785) * converted percentage-selector component into typescript * changed the name of test_ids in percentage-selector spec file as per new guidlines * updated with latest upstream branch * added reactMouse event in props.types.ts * Vinu/migrated recent-transaction component to typescript (#5791) * migrated recent-transaction component to typescript * fixed Rootsore path in recent-transaction * tsconfig.json change in types path * ts-migration-verification-email (#5769) * bahar/Ts migration no balance (#5774) * ts-migration-no-balance * fix_merge_issue * Vinu/migrating cashier-container into ts (#5780) * migrting cashier-container into ts WIP * added type in virtual.tsx * changed test-ids in cashier-container * updated the branch with latest upstream branch * fixed Rootsore path in cashier-container * tsconfig.json change in types path * refactor(cashier): ♻️ extract empty state component into a reusable component * refactor(cashier): ✨ extract all cashier empty states into separate components * refactor(cashier): 🔥 clean up cashier locked component using empty states * fix(cashier): ✏️ fix wrong message in `EmptyStateDepositLockedSystemMaintenance` * Vinu/Ts cashier error dialog (#5820) * migrated error-dialog to typescript * removed proptypes from error-dialog * added appropriate types to message variable in error-dialog * updated code with latest upstream branch * fixed type of rootstore in error-dialog * fixed Rootsore path in error dialog * added type for ReactElement in props.types.ts cashier * Vinu/migration of crypto-transaction-history component into typescript (#5834) * migration of crypto-transaction-history component into typescript * Trigger Build * Trigger Build * fixed Rootstore path in crypto-transactions-history * added type for crypto-transaction-details * added ReactMouseEvent in prop.types * added data-testid's in crypto-transaction-renderer component * Migrate CashierLocked to TS (#5959) * Fix security hotspot reported by sonarcloud * fix(cashier): 📝 resolve PR comments * fix(cashier): 📝 resolve PR comments * fix(cashier): 📝 resolve PR comments * fix(cashier): 📝 resolve PR comments * refactor(cashier): ♻️ refactor the initial solution with the suggested one in the pr comments * fix(cashier): ✅ fix the failing test * fix(cashier): 📝 resolve PR comments * fix(cashier): 📝 resolve PR comments * chore(cashier): 🔀 resolve merge conflic * fix(cashier): 💄 fix inconsistenc padding in cashier tabs when cashier locked * fix(cashier): 📝 resolve PR comments * feat(cashier): ✨ handle `PACommisionWithdrawalLimit` state in `CashierLocked` Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: Nijil Nirmal <nijil@deriv.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: Hamid <hamid@re-work.dev>
* translations: 📚 sync translations with crowdin (#6366) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6373) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * fix bug (#6154) * yauheni/ 70488/ edit note in self-exclusion message box (#6044) * text|edit_note_self_exclusion_message_box * test fix * regexp in tests fix * accident text deleted * popup message text fix * text fixes * test text query fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Akmal / Ignore IDV verification if client is high risk && withdrawals are locked (#4644) * Ignore IDV verification if client is high risk * Fix formatting * Fix cfd-poi issue due to client store unavailability * Fix formatting * Merge with master * Fix formatting * Merge with master * Revert "Merge with master" This reverts commit 4bead99f8c318caaee22e3e49bfd0159af8d0d65. * Fix merge issues * Chain extra condition to cover wrong status returned from BE * Fix: wrong component shown when manual upload is triggered * fix:tax_number_validation (#6259) * george / rm65047 / convert routes, cashier, error-component components to TS (#6361) * perf(cashier routes): convert csahier routes to TS * perf(cashier routes): convert error-component to TS * refactor(error-dialog, types): refactor error-dialog types, move error type to shared types * perf(cashier): convert cashier to TS * perf(types): refactor types * refactor(routes with sub routes): refactor default subroute * refactor(types): add/refactor server error type * test: refactor pathname * refactor(route types): refactor route types * fix: fix ts error in React.Suspense * george / rm65033 / ts migration of withdraw UI components (#6343) * perf(cashier withdraw): convert withdrawal-verification-email to TS * perf: add data-testid for checklist action * perf(cashier withdraw): convert withdrawal-locked to TS * perf(types): add types for TClinetStore * perf(cashier withdraw): convert withdraw to TS * perf(cashier withdraw): convert crypto-withdraw-receipt to TS * perf(cashier withdraw): convert crypto-withdraw-form to TS * perf(cashier withdraw): convert withdrawal to TS * refactor(cashier withdraw): refactor array syntax (ts) * test(cashier withdraw): remove eslint disables for tests * update deriv go redirection link (#6386) * Farzin/68320/Update cashier withdrawal locked status if PA already withdraw all his allowable withdrawal amount (#6032) * fix(cashier): :sparkles: handle `PACommisionWithdrawalLimit` state in `CashierLocked` * test(cashier): :white_check_mark: add test case to `CashierLocked` for `PACommisionWithdrawalLimit` * Trigger Build * Jim/73479/appstore-workspace-ts-fix (#6208) * chore: update appstore tsconfig * chore: update appstore tsconfig * chore: add react and types/react packages to appstore * refactor: remove unnecessary includes * refactor: change from reexports to import -> export * Niloofar Sadeghi / Trader Typescript configuration issue (#6275) * fix: trader typscript configuration issue * fix: tsc errors on trader * Niloofar Sadeghi / Add typescript configuration on reports (#6276) * chores: add typescript configuration on reports * fix: remove extra paths * fix: revert removing packages * george / rm65041 / migrate p2p-cashier component to TS (#6177) * refactor(p2p-cashier): migrate p2p-cashier component to TS * commit * perf(types): add types for notification store * perf(types): add types for ui store * perf(types): convert p2p-cashier to TS * refactor(types): change RootStore type to TRootStore * test(p2p-cashier): test fix (change wrapper order fro p2p-cashier component) * refactor(types): refactor current_focus type * test(p2p-cashier): remove eslint disables * Vinu/Ts onramp cashier (#5727) * refactor: converted on-ramp module into typescript * refactor: included type related to store in on-ramp * ts fix in on-ramp-provider-card.spec.tsx * added path in tsconfig * added path in tsconfig * added type for react-router-dom * added ts related change required for migrating all components (#5760) * changed the name of data-testid in on-ramp component * ts-migration-crypto-fiat-converter (#5796) * Trigger build * Update package-lock * ts-migration-cashier-notifications (#5765) * implemented review comments and updated branch as per latest upstream branch * bahar/funds_protection_component-ts-migration (#5756) * funds_protection_component-ts-migration * remove_extra_type_file * fix_merge_issue * hamid/migrate-transfer-confirm-to-ts (#5815) * Migrate TransferConfirm to TS * Rename component in test file * Replace Confirm with TransferConfirm in PAs * Enhance Tests * ts-migration-page-404 (#5766) * corrected imports in on-ramp pages * coreected setSideNotes type in on-ramp file * arranged the order of imports in on-ramp * refactor: add menu-option type to types folder in cashier * replaced type for FormEvent in on-ramp from Types * added types from TRootstore * added types of TClientStore, TUiStore and TCommonStore in on-ramp Co-authored-by: Nijil Nirmal <nijil@deriv.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: Hamid <hamid@re-work.dev> * hamid/65036/migrate-account-transfer-to-ts (#6305) * Migrate Account Transfer to TS * Enhance type names * Remove eslint ignore line * Remove generic type from useState * trigger tests * Fix test errors * Change data-testid name * Niloofar Sadeghi / Account typscript configuration issue (#6273) * fix: account typscript configuration issue * text: remove include comment on account tsconfig * Niloofar Sadeghi / Circleci issue (#6402) * fix: circle ci issue * fix: circle ci issue * Niloofar Sadeghi / Add typescript to each workspace dependency (#6306) * build: add typescript to all packages * build: move typescript to devdependency * add some TS configs to eslint file * fix: conflicts * Shayan/74388/fix ts config on cfd (#6351) * checking circle/ci test * removed test changes * fix: updated tsconfig and fixed some errors * fix: updated tsconfig and added globals.d.ts * chore: removed experimentalsDecorators from local config * translations: 📚 sync translations with crowdin (#6405) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * hamid/75726/missing-grey-box-side-note (#6410) * Fix sidenote in mobile view of account-transfer * Remove duplicate title * Add sideNote title * translations: 📚 sync translations with crowdin (#6413) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Revert "george / rm65041 / migrate p2p-cashier component to TS (#6177)" (#6424) This reverts commit 503e77ecc4cfc7097bbef7396d2dc08a72fdcc65. * P2p 2fa feature (#6422) * carol/ P2P: 2FA (#6009) * add: icons * add: one more icon * add email verification modal * add invalid verification link modal * add email verified * add email blocked modal * add email blocked modal * use align prop instead * carol/ P2P: Email verification for orders (#6299) * fix: quotes * add: email verification * cleanup * don't kill me * add response checks * add comment * add: amount + currency * fixed loading of order details and chat * fixed design on responsive * fixed verification modal in responsive * show modal if error * fix * fixed truncated modal in ios * fix time * fix invalid verification modal * fix * fix * fixed verification modal in desktop * fix responsive +logged out user * fix: design for seller * the solution to all my problems * fix: modal * fix logout + modal * hide extra modal * i got 99 problems and 2fa is all of em * fix * fix * fix: amount * fix: amount * fix: add modal * fix: rating modal Co-authored-by: Farrah Mae Ochoa <farrah@deriv.com> Co-authored-by: Nijil Nirmal <nijil@deriv.com> Co-authored-by: Farrah Mae Ochoa <farrah@deriv.com> * translations: 📚 sync translations with crowdin (#6426) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Added scroll to cfd personal details modal (#6235) * Shayan/74387/Update TS Config and Fix TS Errors on Cashier (#6284) * checking circle/ci test * removed test changes * fix: updated ts config and fixed two errors returnd by tsc * fix: fixing errors returned by tsc (WIP) * fix: fixed all ts errors * chore: removed experimentalDecorators from tsconfig * fix: removed unnecessary path from tsconfig * fix: type added to transfer_to_hint * Fixed the font size for non authenticated svg accounts (#6077) * Farzin/70813/Fix date picker month issue for non english languages (#6027) * fix(components): :bug: fix date picker month issue for non english languages by setting moment locale to `en` * refactor(components): :recycle: refactor `calendar-months` component to rely on month number instead of month name * fix(components): :globe_with_meridians: add localization support for date picker month names * refactor(components): :fire: remove redundant `month_headers` * chore(components): :heavy_minus_sign: remove redundant `@deriv/translations` dependency * Trigger Build * fix(cashier): :memo: resolve PR comments * remove disabled country validation from citizenship (#6236) * farabi/improved-numpad-for-visibility (#6241) * farabi/improved-numpad-for-visibility * changed value to global variable Co-authored-by: Farabi <farabi@Farabi-Chowdhurys-MacBook-Pro-C02X37B9JG5H-Standard.local> * farabi / added a new tooltip for contract type 'both' (#6189) * added a new tooltip for contract type both * branch update Co-authored-by: Farabi <farabi@Farabis-MacBook-Pro.local> * george / rm73888 / fix Transfer button enabling when amount field is empty (#6252) * fix(account transfer): fix Transfer button enabling when amount field is empty * fix(account transfer): fix Transfer button enabling between account with the same currency * refactor(account transfer): refactor condition into function * fix(account transfer): disable Transfer button when amount is not valid * fix(account transfer): fix validation error visibility * likhith/incorporating a nation id image for ZW (#6175) * feat: incorporating a nation id image for ZW * feat: replaced image for zw identity card * fix: regex format of sample input * fix: replaced image for zw * george / rm74876 / missing payment agent's phone number and url address (#6337) * fix(payment agent withdraw): fix pa's phone number and url address visibility in receipt * style(payment agent withdraw): fix style for submit buttons * test(payment agent withdraw): refactor tests * test(payment agent store): fix tests * Niloofar Sadeghi / Jest issue with typescript (#6442) * fix: indicator ts-jest config * fix: add ts-jest to the root of the project * fix: resolve comments * fix: review comments * translations: 📚 sync translations with crowdin (#6470) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6471) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6472) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6475) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6476) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * use github action token (#6335) * mobile_fix (#6481) * translations: 📚 sync translations with crowdin (#6482) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6486) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * fix auto pr creation (#6487) * translations: 📚 sync translations with crowdin (#6489) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6491) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6493) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * carol/Derivgo link (#6445) * use platform from query params to set app id * add: check * thisyahlen/ test coverage for cfd-account-card component (#5903) * first commit, managed to render the component * added derivx test cases * type fix * added a few more test cases * covered commission message to make it 80% * moved the new props * moved the new props * finished up mt5 tests * added dxtrade * added derivx and more mt5 test cases * added beforeeach * description change * changed file to typescript * removed mfsa and used svg Co-authored-by: Thisyahlen <thisyahlen@Thisyahlens-MacBook-Pro.local> * Maryia/chore: add test coverage for cfd-dashboard (#6181) * Maryia/chore: add test coverage for cfd-dashboard * Added more tests * removed unnecessary check * added more tests * added more tests + improvements * finalized tests for CFD dashboard * fix: PropTypes warning * migrated test file to tsx * avoiding direct dom node access * removed redundant global before window * moved props outside beforeEach as they are never redefined, neither do their properties * improved tests and added props types * Fix word break in payment agent contant details (#5953) * thisyahlen/ test coverage for investor-password-manager (#5973) * test coverage for investor-password-manager * refractored the test and tested again for the new bvi changes * refractored code for better readability * changed descriptions and lowercase * fix spelling errors * removed repeated test case * thisyahlen/cfd-server-error-dialog test coverage (#5767) * test coverage for cfd-server-error-dialog container * test coverage for cfd-server-error-dialog * changed role and added an error message test case * remove screen debug * removed last test case Co-authored-by: Thisyahlen <thisyahlen@Thisyahlens-MacBook-Pro.local> * thisyahlen/test coverage on compare-accounts-content container (#5847) * first commit * added test case for derivx * added residence for derivx test case * added a few more test cases * refractored the code * removed test case and changed description * refractored the test * changed eu to true Co-authored-by: Thisyahlen <thisyahlen@Thisyahlens-MacBook-Pro.local> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> * likhith/test cases for CFD password modal (#6202) * feat: incorporated test cases * feat: incorporated test cases to test password modal for Financial STP and DerivX * fix: failing test case * ref: incorporated review comments * feat: incorporated error message check * fix: incorporated review comments * fix: incorporated review comments * fix: retitled the test cases * fix: incorporated review comments * fix: reducing duplicated code * fix: removed commented code * fix: removed commented code * ref: refactored the code * hamid/hide-reset-balance (#6104) * Hide reset button if balance is 10000 * Fix console error of propTypes * Change the location of the condition * Add const for account init balance * Ignore eslint warning * Change namve convention of the method * translations: 📚 sync translations with crowdin (#6508) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * hamid/76567/fix-word-break-pa (#6511) * Fix word break in payment agent contant details * Fix word break in payment agent contant details * carol/ P2P: Remove confirm modal (#6430) * remove extra modal from 2FA flow * hide reasons * Suisin/created scam warning pop up message (#6358) * created scam warning pop up message * Update website logo * Updated Scam Message Logo * changed client_country to br * rearrange imports * Updated all issue according to github comments * Update scss design * Update scss and modal * Update className and scss * Update scss margins for title * Update Modal into the correct component * Update dark mode and change country code from my to br * Update ui store to call function and set function * change my to br * Update UI Store and Update Scss modal * Update ui store * Remove unused width in modal * Update my to br * Update values for locaization for brandName and remove unuse scamMessageDisplay * Update logic for local storage * Update Toggle Modal Element * Update logout to remove localStorage element for scamMessage * Moving localStorage.removeItem to cleanUp function * Update scss and remove is_dark_mode * Update my to br * Not to display on Signup Page * Update new logic on not displaying message in new account * rearrange functions * Update Scss for mobile view * Update packages/core/src/App/Containers/WarningScamMessageModal/warning-scam-message.jsx Co-authored-by: Farzin Mirzaie <72082844+farzin-fs@users.noreply.github.com> * Update Scss format * Update divider into the modal Co-authored-by: Farzin Mirzaie <72082844+farzin-fs@users.noreply.github.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * likhith/track js reading loginid of undefined (#6452) * fix: added a fallback case if virtual account is not available * fix: added fallback to missing objects containing loginid Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6548) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * hamid/74062/cfd-dashboard-demo-account (#6427) * Add required packages and icon and update qrcode * CFD dashboard for demo account * Fix tests errors * Fix PR comments * Add Huawei Link * Resolve PR comments * Edit SCSS classes * Resolve conflict * Change dxtrade type from synthetic to all * Resolve PR comments * Change texts * Apply QA commnets * Update AccoutSwitcher * Fix tests errors * Remove unneeded code * Enhance code * Run svgo for new dxtrade icons * Change QRCode url * Change QRCode url * Enhance Code * Check enabled property for existing accounts * Hide disabled account in the Account-Switcher * Change icon and text of the succes modal * Change Title of account information modal: currency * Add mobile app hint * Update Password Modal Text * Add TODO Co-authored-by: Yashim Wong <yashim@deriv.com> * translations: 📚 sync translations with crowdin (#6569) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6570) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6571) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6572) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Add padding to the balance of the MT5 acocunt card (#6577) * translations: 📚 sync translations with crowdin (#6581) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Akmal / Fix styles for cfd financial stp modal (#6432) * Fix styles for cfd financial stp modal * fix: :bug: resolved an error related to pending status * fix: :bug: added a check for empty obj leading to props of undefined error Co-authored-by: Likhith Kolayari <likhith@regentmarkets.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * fixed sendbird exception (#6544) Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Jim/75250/bot skeleton ts config fix (#6363) * refactor: update bot-skeleton-ts-config * fix: fix bot-skeleton module not found in bot-web-ui Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Jim/74989/card component ts migration (#6455) * refactor: migrate card component to ts * chore: add new line between type declarations * chore: render only if truthy Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Removed banner Fixed rates are enabled for {{local_currency}}. Ads with floating rates will be deactivated. Switch to fixed rates by {{end_date}} (#6300) Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * fix: display the status for manual upload (#6093) * fix: display the status for manual upload * ref: reverted changes * fix: incorporated POI status change for manual update * fix: added null check * fix: after onfido submission fails multiple times, user must be sent to manual upload * trigger build * fix: incorporated review comment * fix: incorporated review comments * fix: incorporated review comments * fix: included a check regd resubmission for Manual upload * fix: added verified and expired status Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Revert "fix: display the status for manual upload (#6093)" (#6590) This reverts commit 1f5392f68274a6221ab91d118a66c8d3c43e6cf0. * yauheni/76174/ total assets not reflected at account switcher when client have crypto account (#6474) * yauheni/67283/ displaying accumulated number without exchange * dxtrade_demo field name fix * yauheni/76174/ total assets not reflected at account switcher when client have crypto account * exchange_rate requests, total balance refactor Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Yashim Wong <yashim@deriv.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * sandeep/65842/unifiy-websocket -- using the same websocket instance from the core … (#6555) * unified websocket -- using the same websocket instance from the core packages * added reset transaction_subscription_id on close of instance Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * george / rm72476 / account switching issue when using p2p/cash-deposit with crypto account (#6247) * fix(cashier onboarding): fix switching from crypto to fiat accounts using p2p or cash deposit * test(cashier onboarding): fix tests * refactor(cashier onboarding): refactor code (apply memorization) * fix(account propmt dialog): fix dispaly proper currency in switch account modal window * test(account propmt dialog): fix failed test * perf(account propmt dialog): add check for non_crypto_currency variable Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Update Text Translation by removing brandName (#6582) Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Mahdiyeh/ logout client when enable or disable 2FA in different windows (#6062) * logout client when enable or disable 2FA in different windows * use json.parse to check the loginid * remove Uncaught SyntaxError in Json.parse Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * yauheni / 70832 trackJS error: InternalServerError (#6237) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * feat: refactored import of assets in account package (#6253) Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * 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 * 74461/Amina/new_kyc_flow_for_mt5 (#6352) * initail refactor * new component for card * refactor attempt 2 * refactor attempt 2 * jurisdiction modal * folder * folder 2 * folder * removed unused * renamed fn name * refactor * condition change) * type * modal selection fix added to this pr * refactor modal footer{ * redo * added pending * type_ts * remove code smell * removed pending * new flow changes * banner-fix * footer_note * notifications * new notification added * kyc-flow * cashier_changes * type fix * typo fix * cashier changes * poa resubmit msg * button text fix * fix * footnote fix * typo fix * typo fix * remove code smell * not-submitted-fix * poa * remove livechat * fix * pointer * changes from akmal's manual upload fix * changes to manual upload for new mt5 design * fixing livechat screen in account settings * poa restiction * pr review * pr review * fix * review fix * changes from likhith PR * review fix * changes from likhith's PR) * changes from likhith's PR * background color fix * fix status * revert change from manual upload PR * merge master and fix test case * labuan_flow * remove code smell * new_notification * merge master * merge master and remove code smell * restrict second bvi account once first bvi account becomes poa_failed * disable citizen field if it is immutable from BE * merging master and remove code smell * typo fix * fix account added in mt5 compare table * pr review changes * pr review changes * pr review changes * style fix * message * message * merge master and resolve conflicts Co-authored-by: Yashim Wong <yashim@deriv.com> Co-authored-by: Matin shafiei <matin@binary.com> * translations: 📚 sync translations with crowdin (#6669) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hirad/ Updated api-types to version 1.0.53 and updated some of cfd types (#6230) * Updated api-types to version 1.0.53 and updated some of cfd types * Pulled from master * Pulled from master * fix: resend email counter fix on language change (#6450) * Ameerul /Bug 63121 Buy/Sell ads are both listed after quickly switching tabs (#6418) * changed the margin-top for mobile view for buy-sell * merging upstream master * changed the payment methods list modal and wrapped the text for long bank names * reverted changes * filtered the buy/sell items in rendered_items to only return table_type f(buy or sell) * fixed for mobile view switch tabs * simplified condition and used buy_sell to check type * Ameerul / Bug 74750 Responsive : Inconsistent behaviour when doing rating from Order list page (#6408) * changed the margin-top for mobile view for buy-sell * merging upstream master * changed the payment methods list modal and wrapped the text for long bank names * reverted changes * changed the logic for buttons when the advertiser was previously recommended * removed passthrough from requestWs * rating now resets after rating a user as it didnt reset when rating in dorder-details page * destructured the response in p2p_order_list * yauheni/75860/responsive change password modal is not shown for dmt5 and deriv x (#6509) * yauheni/75860/responsive change password modal is not shown for dmt5 and derivx * boolean value fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Scrolling icons overlap text on fiat-onramp in cashier (#6383) * fix(dp2p): :lipstick: remove `hover` style for advertiser name (#6457) * fixed floating rate limit (#6312) * Vinu / fix: fix when blank screen is shown up when deposit via bank wire (#6409) * fix: fix when blank screen is shown up when deposit via bank wire option in chosen * failing test case fix * adjusted typescript types in iframe * fixed default sorting label (#6298) * Adrienne / Made Fixed rate field for edit ad form to be highlighted (#6272) * Made Fixed rate field for edit ad form to be highlighted * Refactored code * fix: the redirection to balnk page in pa-withdrawal page on language switch (#6574) * yauheni/74098/ts migration account article component (#6368) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * added local currency to rate (#6530) * Jim/74982/auto-height-wrapper-component-ts-migration (#6412) * refactor: auto height wrapper ts migration * chore: remove unnecessary export keyword * temporarily remove modal (#6257) * Sara / Added dark theme to the bot (#6215) * Added dark theme to the bot * Added dark theme details * Removed extra comments * Changed color variable to const * Trigger build * Added # before color * Added theme color to the journal text * Added flyout border color * Added plus color * Fixed issue with QS cform color * Fixed issue with whas this color * Changed summary bgcolor * Fixed issue with section colors * Changed the dropdown menu item colors * Fixed issue with journal bg color * Changed tooltip color * Changed color of transaction * Added dark theme to smartchart * Added dark theme menu to bot * Changed numpad color * Added animation to contractloader * Changed line color in summary * Changed block menu color Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> * Farzin/POC/74924/Add `useStore` and `useWS` hooks (#6339) * fix(cashier): :bug: fix `tsconfig` * feat(shared): :sparkles: expose `WS` object from `shared` package via `useWS` * feat(cashier): :sparkles: add `useCountdown` hook * feat(cashier): :sparkles: add `useWS` hook * feat(cashier): :sparkles: add `useStore` hook and `StoreContext` * feat(cashier): :sparkles: add `useVerifyEmail` hook * test(cashier): :white_check_mark: add test for `useCountdown` hook * test(cashier): :white_check_mark: add test for `useWS` hook * 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): :recycle: improve types for `useWS` hook * Farzin/70772/Refactor cashier locked component (#5929) * added ts related change required for migrating all components (#5760) * ts-migration-crypto-fiat-converter (#5796) * Trigger build * Update package-lock * ts-migration-cashier-notifications (#5765) * bahar/funds_protection_component-ts-migration (#5756) * funds_protection_component-ts-migration * remove_extra_type_file * fix_merge_issue * hamid/migrate-transfer-confirm-to-ts (#5815) * Migrate TransferConfirm to TS * Rename component in test file * Replace Confirm with TransferConfirm in PAs * Enhance Tests * ts-migration-page-404 (#5766) * Vinu/converted percentage-selector component into typescript (#5785) * converted percentage-selector component into typescript * changed the name of test_ids in percentage-selector spec file as per new guidlines * updated with latest upstream branch * added reactMouse event in props.types.ts * Vinu/migrated recent-transaction component to typescript (#5791) * migrated recent-transaction component to typescript * fixed Rootsore path in recent-transaction * tsconfig.json change in types path * ts-migration-verification-email (#5769) * bahar/Ts migration no balance (#5774) * ts-migration-no-balance * fix_merge_issue * Vinu/migrating cashier-container into ts (#5780) * migrting cashier-container into ts WIP * added type in virtual.tsx * changed test-ids in cashier-container * updated the branch with latest upstream branch * fixed Rootsore path in cashier-container * tsconfig.json change in types path * refactor(cashier): :recycle: extract empty state component into a reusable component * refactor(cashier): :sparkles: extract all cashier empty states into separate components * refactor(cashier): :fire: clean up cashier locked component using empty states * fix(cashier): :pencil2: fix wrong message in `EmptyStateDepositLockedSystemMaintenance` * Vinu/Ts cashier error dialog (#5820) * migrated error-dialog to typescript * removed proptypes from error-dialog * added appropriate types to message variable in error-dialog * updated code with latest upstream branch * fixed type of rootstore in error-dialog * fixed Rootsore path in error dialog * added type for ReactElement in props.types.ts cashier * Vinu/migration of crypto-transaction-history component into typescript (#5834) * migration of crypto-transaction-history component into typescript * Trigger Build * Trigger Build * fixed Rootstore path in crypto-transactions-history * added type for crypto-transaction-details * added ReactMouseEvent in prop.types * added data-testid's in crypto-transaction-renderer component * Migrate CashierLocked to TS (#5959) * Fix security hotspot reported by sonarcloud * 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): :recycle: refactor the initial solution with the suggested one in the pr comments * fix(cashier): :white_check_mark: fix the failing test * fix(cashier): :memo: resolve PR comments * fix(cashier): :memo: resolve PR comments * chore(cashier): :twisted_rightwards_arrows: resolve merge conflic * fix(cashier): :lipstick: fix inconsistenc padding in cashier tabs when cashier locked * fix(cashier): :memo: resolve PR comments * feat(cashier): :sparkles: handle `PACommisionWithdrawalLimit` state in `CashierLocked` Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: Nijil Nirmal <nijil@deriv.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: Hamid <hamid@re-work.dev> * translations: 📚 sync translations with crowdin (#6705) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Ako / lerna and nx integrations (#6311) * build/ update lerna-nx and use nx scripts * build/ add nx config file * build/ add nx token key * build/ replace build scripts with nx * build/ run build local in parallel * ci/ update build command * ci/ update build command * build/ update package-lock * build/ update nx script * build/ remove deprecated --all flag * build/ update nx to latest version * build/ update package-lock file * config/fix cacheOperation for linting * build/ update package-lock file * ci/ fix nx accesstoken * build/ update package-lock * ci/ add nx-cloud env example file * ci/ add nx-cloud env example file * build: use nx build for build:travis script * build/ update lerna to 5.5.1 * ci/ use process.env to get nx accessToken * translations: 📚 sync translations with crowdin (#6707) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6710) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * update with master * tib/chore: remove storybook deployment (#6542) * remove getIdentityStatusInfo and use getAuthenticationStatusInfo instead 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: Eduard Hrachou <107860964+eduard-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: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.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> Co-authored-by: Farzin Mirzaie <72082844+farzin-fs@users.noreply.github.com> Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: Nijil Nirmal <nijil@deriv.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: Hamid <hamid@re-work.dev> Co-authored-by: Shayan Khaleghparast <100833613+iman-fs@users.noreply.github.com> Co-authored-by: Farrah Mae Ochoa <farrah@deriv.com> Co-authored-by: hirad-rewok <91878582+hirad-rewok@users.noreply.github.com> Co-authored-by: Farabi <102643568+farabi-deriv@users.noreply.github.com> Co-authored-by: Farabi <farabi@Farabi-Chowdhurys-MacBook-Pro-C02X37B9JG5H-Standard.local> Co-authored-by: Farabi <farabi@Farabis-MacBook-Pro.local> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Thisyahlen <thisyahlen@Thisyahlens-MacBook-Pro.local> Co-authored-by: Maryia <103177211+maryia-binary@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Yashim Wong <yashim@deriv.com> Co-authored-by: Likhith Kolayari <likhith@regentmarkets.com> Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Sandeep Rajput <90243468+sandeep-deriv@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: 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: Likhith Kolayari <likhith@deriv.com> Co-authored-by: maryiafrantsava-binary <103181650+maryiafrantsava-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: vinu-deriv <vinu@deriv.com> Co-authored-by: Matin shafiei <matin@binary.com> Co-authored-by: sara-fs <55442058+sara-fs@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: thibault-deriv <104425314+thibault-deriv@users.noreply.github.com>
… withdrawal flow (screens), add searchbar (#6113) * george / add icons to cashier pa-redesign (#5954) * add payment-method icons, optimize icons in cashier folder with svgo * add icons * optimize cashier icons, fix icons * george / PA list improvements. Deposit flow (#5816) * add icons, add payment-agent-card * add props types * add capitalizeFirstLetter method * add payment-agent-providers constant * add shuffle array utility * add shuffling of payment agent list * make payment method filter visible, shuffle payment agent list * fix broken test (payment-agent-store) * add test for PaymentAgentCard * add test for PaymentAgentCardDescription * add tests for PaymentAgentCardDetails * add tests for heplpers payment agent * heplers test improvement * add pa-deposit-withdraw container * add hasNormalizedPaymentMethods hepler, add test for helper * code refactoring * fix tests * code refactoring * fix arrow expansion panel size * add payment-method icons, optimize icons in cashier folder with svgo * fix css issues, add icons, add disclaimer, fix tests * fix tests * fix dropdown width in 320px * fix tests payment-agent-disclaimer * fix comments * add detail shared component * replace px to rem * fix detail import, refactoring pa-card css * add index file for detail compoennt * change array utils to plain js files * refactoring details compoent * refactoring pa-card-deposit-details * fix tests, refactoring detail component * add card background in dark mode * refactor pa-deposit-details component * return ic-cashier icon * fix onload flashing of pa list * css refactoring * refcator detail component * fix css border * refactor pa detail component, add test * fix padding for deposit/withdraw tabs * fix naming data-testid * fix link attributes in pa-detail * george / pa list improvements - withdrawal flow (#5817) * add icons, add payment-agent-card * add props types * add capitalizeFirstLetter method * add payment-agent-providers constant * add shuffle array utility * add shuffling of payment agent list * make payment method filter visible, shuffle payment agent list * fix broken test (payment-agent-store) * add test for PaymentAgentCard * add test for PaymentAgentCardDescription * add tests for PaymentAgentCardDetails * add tests for heplpers payment agent * heplers test improvement * add pa-deposit-withdraw container * add hasNormalizedPaymentMethods hepler, add test for helper * code refactoring * fix tests * code refactoring * fix arrow expansion panel size * add icons, add payment-agent-card * add props types * add capitalizeFirstLetter method * add payment-agent-providers constant * add shuffle array utility * add shuffling of payment agent list * make payment method filter visible, shuffle payment agent list * fix broken test (payment-agent-store) * add test for PaymentAgentCard * add test for PaymentAgentCardDescription * add tests for PaymentAgentCardDetails * add tests for heplpers payment agent * heplers test improvement * add pa-deposit-withdraw container * test refactoring * add hasNormalizedPaymentMethods hepler, add test for helper * code refactoring * fix tests * add payment agent withdraw details * add withdraw for listed payment agents * fix text size * george / fix adding of payment methods for filtering by payment method (#5757) * fix adding of payment methods for filtering by payment method * fix resetting filter to default option * fix default filter option in mobile * refactored if statement * fix payment-agent-store tests * remove unused field * add unlisted withdrawal * resolve name import * css refactoring * fix payment agent receipt test * fix tests for payment agent withdraw confirm component * fix payment agent store tests * fiex PaymentAgentCardDepositDetails tests * fix test for Confirm component * add fixed deposit/withdraw mobile tabs * add test for payment-agent-withdraw-form * fic tests for payment agent transfer confirm component * add side note disclaimer, css refactoring * fix tests * css formatting, fix error dialog css * css refactoring * test refactoring, add test for payment-agent-withdrawal-details * add tests for payment-agent-deposit-withdraw-container * tests refactoring * add payment-method icons, optimize icons in cashier folder with svgo * fix pa card scc, icons rendering * fix: remove empty string banks * code refactoring * add test for disclaimer component, fix propstypes * fix scc confirm, fix tests * code refactoring, tesst fix * css refactoring * fix css pa transfer confirm * add close icon in form, fix css * fix account number regex * add payment-method icons, optimize icons in cashier folder with svgo * fix css issues, add icons, add disclaimer, fix tests * fix tests * fix dropdown width in 320px * fix tests payment-agent-disclaimer * fix comments * add detail shared component * replace px to rem * fix detail import, refactoring pa-card css * add index file for detail compoennt * change array utils to plain js files * refactoring details compoent * refactoring pa-card-deposit-details * fix tests, refactoring detail component * add card background in dark mode * refactor pa-deposit-details component * return ic-cashier icon * fix onload flashing of pa list * css refactoring * refcator detail component * fix scroll to top app-contents * fix css border * refactor pa detail component, add test * fix tests * fix padding for deposit/withdraw tabs * refactor code * slpit withdrawal to listed and ulisted * fix: responsive screen fix for payment-agent-transfer-receipt * added money icon and border in transfer to client success page * css fix for buttons in payment-agent-transfer-receipt * move pa-deposit-details to separate folder * refactor css pa-card * fix dark mode prop in pa card * refactor pa details, pa-deposit-details, refactor icons * refactor icons * refactor pa-details css * fix pa-receipt test * fix details link attributes, add desc-wrapper * refactor app-contents useEffect hook * implemented design change in pa-agent transfer pages as per the new design * adjusted test cases as per new change in payment-agent-transfer-confirm and confirm spec * implemented review comments * implemented review comments reverted unit of border to px from rem in pa transfer receipt scss * remove redundant test for pa-disclaimer component * remove pa-details * conflict fix * fix icons * refactor confirm component * fix tests * refactor pa-detail css * refactor disclaimer side note * fix ending of pa name in pa receipt * fix tests * fix css * fix comments * fix failed tests * fix useEffect dependencies * fix dependency eslint warning * improve useEffect hook * rename pa-deposit-withdraw-conainer to pa-container * style: change confirm submit buttons top margin * fix(payment agent withdraw): change payment agent account number validation * style(payment agent withdraw): fix withdrawal hint overlapping in crypto acount * fix(payment agent withdraw): clear withdrawal amount input field when switching between payment methods * fix(payment agent withdraw): dispaly unlisted payment agent name * fix(payment agent withdraw): change explanation for listed and unlisted pa in withdrawal receipt * style(payment agent withdraw): change margins for header and explanation blocks in receipt * fix(payment agent withdraw): fix test for pa-withdraw-receipt component * style(payment agent withdraw): margins for payment agent receipt * test(payment agent withdraw): fix tests * refactor: refactor payment agent name, fix tests * refactor(payment agent withdraw): refactor localize Co-authored-by: vinu-deriv <vinu@deriv.com> * george / rm66637 / PA list improvements. Search bar (#5970) * add search bar component * add css for pa-list-search * add pa search box in deposit-withdraw container * fix comments * remove setTimeout from casgier search * add lodash.debounce as a dependency * add tests (cashier-search-box, pa-store, pa-deposit-withdraw-container) * style: fix overlapping in search input * fix: reset payment agent search term when moving between the pages * test: fix failed test * style: fix autofill overlapping * fix: fix proptypes for value, add number type (#6112) * george / fix conflicts in pa-redesign branch (#6188) * Suisin/Update validation rules (#6145) * update letter symbol rules * new rulels * Update declarative-validation-rules.js * Suisin/Renew validation rules (#6147) * update letter symbol rules * new rulels * Updated Rules * edited rules * Update rules to accept multiple space * translations: 📚 sync translations with crowdin (#6158) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * remove personal-details-step-from-financial-svg (#6135) * TS migration of cashier UI components (#5947) * added ts related change required for migrating all components (#5760) * ts-migration-crypto-fiat-converter (#5796) * Trigger build * Update package-lock * ts-migration-cashier-notifications (#5765) * bahar/funds_protection_component-ts-migration (#5756) * funds_protection_component-ts-migration * remove_extra_type_file * fix_merge_issue * hamid/migrate-transfer-confirm-to-ts (#5815) * Migrate TransferConfirm to TS * Rename component in test file * Replace Confirm with TransferConfirm in PAs * Enhance Tests * ts-migration-page-404 (#5766) * Vinu/converted percentage-selector component into typescript (#5785) * converted percentage-selector component into typescript * changed the name of test_ids in percentage-selector spec file as per new guidlines * updated with latest upstream branch * added reactMouse event in props.types.ts * Vinu/migrated recent-transaction component to typescript (#5791) * migrated recent-transaction component to typescript * fixed Rootsore path in recent-transaction * tsconfig.json change in types path * ts-migration-verification-email (#5769) * bahar/Ts migration no balance (#5774) * ts-migration-no-balance * fix_merge_issue * Vinu/migrating cashier-container into ts (#5780) * migrting cashier-container into ts WIP * added type in virtual.tsx * changed test-ids in cashier-container * updated the branch with latest upstream branch * fixed Rootsore path in cashier-container * tsconfig.json change in types path * Vinu/Ts cashier error dialog (#5820) * migrated error-dialog to typescript * removed proptypes from error-dialog * added appropriate types to message variable in error-dialog * updated code with latest upstream branch * fixed type of rootstore in error-dialog * fixed Rootsore path in error dialog * added type for ReactElement in props.types.ts cashier * Vinu/migration of crypto-transaction-history component into typescript (#5834) * migration of crypto-transaction-history component into typescript * Trigger Build * Trigger Build * fixed Rootstore path in crypto-transactions-history * added type for crypto-transaction-details * added ReactMouseEvent in prop.types * added data-testid's in crypto-transaction-renderer component * Migrate CashierLocked to TS (#5959) * Fix security hotspot reported by sonarcloud Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: Hamid <hamid@re-work.dev> * limit the number of chunks creating by webpack (#6040) * limit the number of chunks creating by webpack * webpack chunk strategy try 2 * webpack optmzn try 3 * add minchunks count as 30 * webpack max chunks set as 10 * chunk strategy maxchunks updated to 10 * webpack strat minsize rule * webpack strat update try 5 * webpack strat update try6 * Revert "MaryiaF/fix: P/L is not getting updated when a contract is terminated… (#6024)" (#6034) This reverts commit ba506880a588f34b911c9acf85829975b1c48f57. * translations: 📚 sync translations with crowdin (#6037) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * p2p/Floating rate feature (#5494) * Merge branch 'binary-com:master' into floating_rate (#5080) * Nijil / DBot - Add multipliers (#4172) * Retrigger vercel deployment * Init dbot multiplier * Fix es-lint issues * Add contract update dialog validations * logic added to hasAllRequiredBlocks for multipliers * Fix es-lint errors * Update stop loss block description and label * Filter out multipliers in quick-strategy * Fix incorrect rendering of duration/multiplier blocks on workspace when they're dragged out from toolbox * Fix typos * Add missing proptypes and other minor refactors * Fix minor issues + logic * Fix: trade option block not changing according to the selected trade type once it is dragged to workspace first and then plugged to the trade parameters block * Fix: Disable trade option block when plugged inside trade parameters * Remove connection to next statement in trade_defintion_restartonerror block * Make multiplier_stop_loss and multiplier_take_profit independant blocks + other UX improvement Description \n1.Make multiplier_stop_loss and multiplier_take_profit input field shadow blocks. \n2. Add check such that duplicate multiplier_take_profit and multiplier_stop_loss cannot be added to trade_definition_multiplier block. \n3.Show amount limits in trade_definition_multiplier block. * Cleanup workspace when switching between multiplier and other trade options * Remove extensice validation for multiplier_stop_loss block * Show dialog for multiplier contract on stop button click + minor cleanups * Update stop multiplier dialog content * Update stop multiplier dialog content and button actions * Minor bug fix * Fix stop multiplier dialog buttons styling * fix: multiplier contract not bought even after disabling TP/SL block inside multiiplier block * Disable stray blocks and their optional children recursively * fix: recover all pending transactions on page refresh or if client left page mid-contract * Restrict TP/SL blocks to multiplier block + add close button logic for dialog component * Fix profit not showing when it's zero * Add condition for restricted blocks to enable/disable stack option in context menu * Optimised proposal_open_contract call on mount of transaction tab * fix es-lint error * Update logic for recovering open contracts * Fix no-unused-vars error * Refactor code for readability * Refactor code for readability * Add logic to handle action of reset button in toolbar * Remove condition where it enabled the button in run panel while the contract is still closing * Fix default-case expected test error * Add note for multiplier block * Add condition to disable run panel button when multiplier contract is closing * Fix issue where connectWithContractUpdate tried to destructure undefined at first render * Add Learn more help content for multiplier trade option block * Minor change in toggle-card-dialog.jsx file * Refractored help-content from bot-skeleton to bot-web-ui package and updated help content for multiplier trade option block * Fix missing key prop error * Minor change in fix where connectWithContractUpdate tried to destructure undefined * Show banner for bot MF Real & VRTC Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> * Hirad/Cfd reset password modal js to ts (#4706) * Changed cfd-reset-password-modal container from js to ts * fix--Auto styling is done on the components * fix--Separated types from component * fix--Auto styling is done on the components * fix--Added a separate type for errors and Changed the type of current_list * Auto styling is done on the components * fix--Used Record utility type to improve readability * fix--Removed redundant imports and duplicate types * Pulled the latest changes from master * fix--Replaced ReactElement with ReactNode * Pulled from master * Made some changes to pass the tests * fix--Changed ReactNode to ReactElement to pass the tests * fix--Shortened one of the types * Fixed the conflicts Co-authored-by: Matin shafiei <matin@binary.com> * Chore: Added NIN option in IDV dropdown for ng clients (#4970) * fix: payment info issue (#4978) Co-authored-by: Matin shafiei <matin@binary.com> * Bala/Cleanup dashboard (#4967) * refactor: change folder name to appstore * chore: cleanup dashboard svgs * refactor: rename to appstore * remove separate build for dashboard * refactor: rename to appstore * cleanup build * remove appstore assets * fix: api-types auto generation * chore: cleanup dashboard * chore: cleanup appstore build * chore: fix appstore main file path * chore: use consistent configs * chore: refactor store usage to be consistent * chore: cleanup dist and routes * chore: remove old routes config * cleanup routes config * setup trading-hub path * cleanup asset_path * cleanup redirects * fix ts lint issues * fix lint issues * fix lint issue * fix test issues * update tsconfig path * update codeowners * chore: added a space * Update README.md Co-authored-by: Matin shafiei <matin@binary.com> * Maryia/TrackJS_Avoiding_Pushwoosh_Failed_to_fetch_error (#4894) * Maryia/Checking network status before initializing Pushwoosh * Maryia/refactoring Co-authored-by: Matin shafiei <matin@binary.com> * translations: 📚 sync translations with crowdin (#4987) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * salar / Hotfix/multiplier eu (#4989) * Add helper function for EU countries * Show digital options banner to VRTC-only EU clients * Add comment to remove duplicate code * Fix: apply more compliance conditions * Fix issue for EU residence * Apply prettier * Fix mobx issue for residence * Fix: prevent calls on undefined * Fix: check for blockly div first * Apply prettier * export_components_which_needed_to_be_used_in_app_store (#4972) * refactor_payment_agent_component_for_app_store (#4968) * translations: 📚 sync translations with crowdin (#5005) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * refactor: investor password (#4992) * Nuri/Refactor: Refactor compare account (#4969) * refactor compare account * retrigger circleci * retrigger deployment * removed unused text * likhith/OrderConfirmCompleted error status displayed on slow n/w (#4832) * Resolved: #56123 - OrderConfirmCompleted error status displayed on slow n/w * Refactored code * Fixed lint errors * implemented review comment * Resolved eslint issues * Resolved Console.log error * Added comments to changes * Resolved lint errors * Removed unwanted component * fix storybook build (#4997) * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function (#4892) * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function * Maryia/Fix for styles of POI & POA steps in Settings and CFD modals (#4761) * Maryia/fixed styles of poa upload block * Maryia/fixed cfd poa modal for responsive mode * Maryia/fix for POI step style in CFD modal * Maryia/fixed style of upload criteria in CFD modal POA step * Maryia/refactoring as per deriv app code standard * Maryia/replaced px with rem * Maryia/fix for the upload box style requiring nesting inside list * Maryia/fixed POI styles * Hirad/Cfd dashboard container JS to TS (#4941) * Changed cfd-dashboard container from javascript to typescript * fix--Fixed the default export of the cfd-dashboard * Pulled from master * fix--Invisible tab menu should be fixed * Auto styling is done * IDV notification changes and refactoring (#5001) * Akmal / Add trustpilot notification (#4974) * Add trustpilot notification * Fix formatting * Add undefined check * Vijayasree/Manage Account modal from Cashier Onboarding links are broken on iphoneSE (#4948) * Manage Account modal from Cashier Onboarding links are broken on iphone SE * Manage Account modal from Cashier Onboarding links are broken on iphone SE * Manage Account modal from Cashier Onboarding links are broken on iphoneSE * Update account-wizard.scss Co-authored-by: Matin shafiei <matin@binary.com> * likhith/Added jest config and test cases for App-Content component (#4876) * Added jest config and test cases for App-Content component * Added test cases for App Content component * Fixed lint errors * Removed lint errors and configured webpack * Reordered webpack extension array * Implemented review comments * implemented review comments * george / added test for "PaymentAgentList" component (#4825) * added test for "PaymentAgentList" component * fixed a spelling error * refactored code, changed query method * code refactoring * george / added tests for OnRampProviderCard (#4880) * added tests for OnRampProviderCard * code refactoring (add data-testid into Icon component) * naming refactoring data-testid * naming refactoring * add new prop (data_testid) to Icon component * code refactoring using icon prop data_testid * add prop types for data_testid * likhith/Removed unused functions from Cashier container and added test cases (#4821) * likhith/added testcases to cashier-container * added loader check test case * Variable change * Fixed variable scoping * Refactored code inline with naming conventions * Removed code smells * Improved code visibility * Removed unused functionality in CashierComponent * Removed unused imports * Removed unused property and improved test cases * modified input data * Incorporated review comments * Incorporated review comments * Added test cases to order and order-table (#4916) * fix test cases because of refactoring the component (#5029) * Nijil/Pass correct value to SelectNative value prop from PA dropdown (#5034) * fix: pass correct value to SelectNative value prop * minor refactor * translations: 📚 sync translations with crowdin (#5039) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * MaryiaF/fix: bold the menu option when the user has gone by the child… (#4965) * MaryiaF/fix: bold the menu option when the user has gone by the child menu items and then navigated one of them to the corresponding page * MaryiaF/refactor: solution with switching to the bold menu item * MaryiaF/chore: revert intent * MaryiaF/refactor: use Text component instead of spane in toggle-menu-drawer file * MaryiaF/refactor: remove unuseful style and change import * Merge branch 'master' of github.com:binary-com/deriv-app into 57685_2 * MaryiaF/fix: all the sub menus are not supposed to be in bold in first visit, 1 of the sub menu should be bold during the visit * MaryiaF/fix: condition when the menu item should be bold * MaryiaF/fix: remove console.log * Revert "Merge branch 'master' of github.com:binary-com/deriv-app into 57685_2" This reverts commit 2c19bed858d09d2dee7b4ffb939f80617a91972e. Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * <SearchBox /> test coverage (#4900) Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Artsem / <Verification /> test coverage (#4890) * <Verification /> test coverage * remove redundant import * fix testid naming * fix testid and elements naming * remove redundant mockProps() Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test_coverage_for_poi-verified_component_in_account_package (#5006) * poi-verified-spec * poi-verified-spec Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test_coverage_for_poa_unverified_component_in_account_package (#4993) * unverified-spec * poa-unverified Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test coverage for poa-submitted (#4990) * test_coverage_for_poa_submitted * fix Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * george / test coverage for "recent transaction" component (#4838) * added tests for RecentTransaction component * fixed condition for cashier transaction icon * removed code duplication * refactored code * code refactoring (add data-testid into Item component) * code refactoring * naming refactoring data-testid * naming refactoring * add new prop (data_testid) to Icon component * code refactoring using icon prop data_testid * add prop types for data_testid Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#5048) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * update branch with master (#5010) * Maryia/Set notifications together with each handling of notifications (#4958) * Maryia/Set notifications before each handling of notifications * Maryia/style fix to fit in long FR, ES & PT text on the notification button * Fix design for DMT5 investor password reset modal (#4942) * Ako/ Codecov integration (#5053) * build/ add test:ci script to run tests in the ci with different config * ci/ add codecov github action * ci/ workflow update * ci/ update coverage path * ci/ get coverage over all of the files * ci/ get coverage on pull request * Revert "build/ add test:ci script to run tests in the ci with different config" This reverts commit 2771958602f5af3048c334e28868d05f9ff4f6cd. * doc/ add codecov badge to readme file * Vijayasree/Crypto icon in withdrawal page is not shown for specific device IOS (#4976) * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * re-trigger build * re-trigger build * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Sara / Fixed issue with error handling (#4966) * Fixed issue with error handling * Removed extra code * fixed issue with aggregation methods * MaryiaF/chore: remove consoles (#5059) * Matin/Add: TS files for translation extraction (#5073) * remove appstore package from translations (#5075) Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> Co-authored-by: hirad-rewok <91878582+hirad-rewok@users.noreply.github.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> Co-authored-by: Maryia <87321516+maryia-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: Salar Hafezi <76559464+salarhfz-fs@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: njazuli-deriv <78890281+njazuli-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: Maryia Frantsava <88426229+maryiafrantsava-deriv@users.noreply.github.com> Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: vijayasree-deriv <98810931+vijayasree-deriv@users.noreply.github.com> Co-authored-by: george-usynin-deriv <89790856+george-usynin-deriv@users.noreply.github.com> Co-authored-by: Artsem Kavaleu <88381164+artsemkavaleu-deriv@users.noreply.github.com> Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: mitra-fs <64970259+mitra-fs@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: sara-fs <55442058+sara-fs@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> * Revert "Merge branch 'binary-com:master' into floating_rate (#5080)" (#5081) This reverts commit 725636b267eb434a278976b67c3461ccc2130338. * Artsem / Floating rate banner and warning for existing ads (#4975) * Add floating rate enable banner and warning icon * remove extra function call * remove deprecated conditions * remove conditional render, add todo comment * fix Localize settings * likhith/Created Floating rate custom component (#4971) * Created Floating rate custom component * Removed hardcoded values * Incorporated review comments * Reordered functions as per style guide * Replaced Css units * Incorporated review comments * Empty commit * Minor bug fix * Renamed functions appropriately * Incorporated review comments * Fetching floating rate status from const * Resolved lint errors * Incorporated review comments * incoeporated review comments * Added syles as per UX * Added a comment to explian props * Changed CSS as per BEM standard * Changes naming conventions * Implemented review comments * Refactored code as per comments * Fixed eslint errors * Reverted the changes made * Minor bug fixes * Added currecnt_focus prop * likhith/create floating-rate ad (#4964) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Minor bug fixes * Minor bug fixes * removed console logs * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Incorporated review comments * Reduced spacing between the banner * Formatted user input * Fixed failing test case * Added comments to explain functionality * Fetching date and time from server * Renamed function * Refactored code * Added review comments * Resolved decimal round off issue * Fixed Rounding off of decimal digits * Regex change in psoitive integer check * Resolved issue with round off to decimal point * Re-arranged imports * Fixed the testcase * Fixed floating_rate input check * Removed Math.sign * Reverted decimal change * Implemented round of logic for decimal places * refactor: Renamed variables * fix: Round off issue in Create Ad summary * fix: resolved decimal point to 2 digits * Resolved lint errors * fix: Renamed the function * chore: Ad display table rate will be calculated from * fix: test color in dark theme * fix: label changes b/w fixed and floating * fix: invoking api call to fetch the changes * fix: rate synced b/w myads and buy/sell * fix: range offset validation * fix: modified rate property in edit ads * fix: Float rate input suffix * fix: code formatted * fix: setting floating rate to 2 decimals on blur * fix: spacing issue with floating rate input * Trigger build * Trigger build * fix: removed unwanted padding * fix: added ellipse to fix over lapping * fix: removed disabling of floating rate field buttons * fix: resolved issue with error message * fix: Overlapping CSS issues in Mobile * fix: added missing background color for dark theme * fix: removed button highlight in mobile * fix: button higlight issue * fix: display of cursor pointer on scroll * fix: resolved issue with message * fix: Ad change warning message * fix: color for dark mode Co-authored-by: Likhith Kolayari <likhith@deriv.com> * fix: conflict message not updated * likhith/created edit my ad screen (#4988) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Implemented edit ads for floating rates * Inorporated review comment * minor bug fixes * Minor bug fixes * Minor bug fixes * removed console logs * Added rae_type prop * Incorporated API changes * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Added styles as per UX * Refactoring code * Css changes to summary component * Trigger Build * Minor bug fix in Create Ad form * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Migrated create ad comments to Edit ad * Resolved lint errors * Fixed lint issues * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Incorporated review comments * Reduced spacing between the banner * Formatted user input * Fixed failing test case * Added comments to explain functionality * Fetching date and time from server * Renamed function * Refactored code * Added review comments * Resolved decimal round off issue * Fixed Rounding off of decimal digits * Added test case for create ad * Regex change in psoitive integer check * Added test case to test form values * Resolved decimal round off issue * Added test acss to edit form * Resolved lint errors * Resolved issue with round off to decimal point * Re-arranged imports * Fixed the testcase * Removed unused imports * Fixed floating_rate input check * Removed Math.sign * Reverted decimal change * Implemented round of logic for decimal places * refactor: Renamed variables * refactor: Added fallback condition * fix: added a exchange rate fallback condition * fix: Round off issue in Create Ad summary * fix: resolved decimal point to 2 digits * Resolved lint errors * fix: Renamed the function * chore: Ad display table rate will be calculated from * fix: test color in dark theme * fix: label changes b/w fixed and floating * fix: invoking api call to fetch the changes * fix: rate synced b/w myads and buy/sell * fix: range offset validation * fix: modified rate property in edit ads * fix: Float rate input suffix * fix: code formatted * fix: setting floating rate to 2 decimals on blur * fix: spacing issue with floating rate input * Trigger build * Trigger build * fix: removed unwanted padding * fix: added ellipse to fix over lapping * incorporated changes * fix: removed disabling of floating rate field buttons * fix: resolved issue with error message * fix: Overlapping CSS issues in Mobile * fix: added missing background color for dark theme * fix: removed button highlight in mobile * fix: button higlight issue * fix: display of cursor pointer on scroll * fix: resolved issue with message * fix: modified display of summary in edit ad component * fix: removed spec code * fix: Removed test cases * chore: reverted old commit * feat: Added banner for switch rate * fix: Error message text * fix: incorporated review comments * fix: removed unwanted store condition and added subscription to exchange rates * fix: removed incorrect function call * fix: added a null check * fix: refactored code * ref: Added comments * ref: Refactored code for performance * ref: refactored code * ref: code refactor * ref: Incorporated review comments * Trigger Build * fix: removed fixed size * fix: resolved conflict * fix: moved functionality from component to store * fix: removed unnecessary commenting * ref: renamed cancel action functions * ref: refactored code for increated readability * feat: implemented a function for removing trailing zeros * ref: refactored the code in edit ad summary * fix: reverted decimal round off rules * fix: resolved issue with resetting selected Ad id * fix: switching ad types in edit * fix: issue with edit ad switch * fix: display rate change dialog even when ads are deactivated * fix: disabled activate ad when past date is passed * fix: displaying error message based on the required ad type * fix: banner glitch occurs when data loaded in chunks * fix: enable ads after switch update * fix: Form should not be checked for value change when ad switch is triggered * fix: test to incorporate sign * fix: implemented dynamic type for field in mobile * fix: added css to fix disable styling * fix: enforcing disable bg color for popover * fix: responsive view of switch ad modal * fix: added missing theme color for dark mode * fix: banner width consistancy * fix: incorporated touched state for Payment method Co-authored-by: Likhith Kolayari <likhith@deriv.com> * likhith/Feature buy sell confirmation (#5487) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Minor bug fixes * Minor bug fixes * removed console logs * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Incorporated review comments * Reduced spacing between the banner * Formatted user input * Fixed failing test case * Added comments to explain functionality * Fetching date and time from server * Renamed function * Refactored code * Added review comments * Resolved decimal round off issue * Fixed Rounding off of decimal digits * Regex change in psoitive integer check * Resolved issue with round off to decimal point * Re-arranged imports * Fixed the testcase * Fixed floating_rate input check * Removed Math.sign * Reverted decimal change * Implemented round of logic for decimal places * refactor: Renamed variables * fix: Round off issue in Create Ad summary * fix: resolved decimal point to 2 digits * Resolved lint errors * fix: Renamed the function * chore: Ad display table rate will be calculated from * fix: test color in dark theme * fix: label changes b/w fixed and floating * fix: invoking api call to fetch the changes * fix: rate synced b/w myads and buy/sell * fix: range offset validation * fix: modified rate property in edit ads * fix: Float rate input suffix * fix: code formatted * fix: setting floating rate to 2 decimals on blur * fix: spacing issue with floating rate input * Trigger build * Trigger build * fix: removed unwanted padding * fix: added ellipse to fix over lapping * fix: removed disabling of floating rate field buttons * fix: resolved issue with error message * feat: Implemented floating rate for buy/sell * fix: Overlapping CSS issues in Mobile * fix: added missing background color for dark theme * fix: removed button highlight in mobile * fix: button higlight issue * fix: display of cursor pointer on scroll * fix: resolved issue with message * fix: color for dark mode * fix: buy/sell modal styling * fix: render data in accordian * feat: incorporated expand all accordian * feat: Implemented Expand & Collapse all feature * ref: code refactor * fix: removed console errors * fix: removed unused prop * fix: incorporated review comments * fix: incorporated review comments * fix: incorporated Expamd all button * fix: incorrect prop name in accordion component * fix: incorporated review comments * ref: Removed code duplication * ref: refactored the code * fix: changes px to rem * fix: incorporated rate change error dialog * fix: removed unwanted CSS * fix: renamed porptype in Rate Change modal * ref: code refactored * ref: rate change modal code refactored * ref: Refactored code * fix: css issues related to buy-sell dialog * fix: fixed failing test cases * fix: Added a error code check to display appropriate popups * fix: CSS inssues in Buy-sell modal * fix: css issue of error hintbox * fix: resolved issue with rounding digit in receive amount * fix: blocking order creation when balance is low * fix: css changes to fix disabling form * fix: modal condition to display low balance * fix: blocking user from entering value more than balance * fix: display Form error messages in footer and account balance error in banner * fix: resolved lint errors * ref: changed the TODO comment * ref: fixed the comment * fix: incorporated subscribeWS method * fix: resolved failing testcase issue * fix: removed commented code * fix: display of incorrect efective rate * fix: decimal round off * fix: navigation to buy/sell table when try again is clicked * fix: buy/sell order dialog title to match the design * fix: css issues in buy/sell * fix: design mismatch in order confiormation dialog * ref: Refactored code to reuse functionality * fix: removed commented code * fix: market change update in Advertiser section * fix: re-render on balance change * fix: disabling fields when balance is low * fix: expand/collapse issue * fix: resolved issue with expand and collapse * fix: restricted rate input to 8 characters * fix: resolved console error * fix: file name * fix: fixed failing test case * fix: added order input check against account balance * fix: css issues in add payment method in buy-sell form * fix: validation of sell order * fix: currency format of balance * fix: re-establish n/w connection on reload * ref: Incorporated safety null check * fix: moved low balance banner display to be handled by state Co-authored-by: Likhith Kolayari <likhith@deriv.com> * farrah/ removed payment method banner in p2p (#5755) * removed transaction time and payment method banners * removed setting of missing payment methods * reverted removal of reduced transaction time banner * likhith/incorporated market rate calculation with 6 decimals (#5770) * feat: incorporated market rate calculation with 6 decimals * ref: refactored code to generate effective rate * ref: removed commented code * fix: round off decimal calculation of effective market rate * fix: formatting decimals in effective rate * fix: set the form to be dirty when PM is selected * fix: checking for change when PM methods are modified * fix: enable button for edit ad * fix: enabling submit method for buy ads * fix: decimal round off issue in buy-sell * fix: display min of 2 decimal points * fix: displying initial value of buy-sell ad * Trigger build * fix: removed unnecessary spacing * Trigger build * fix: effective rate round off in Buy/sell * Trigger build * fix: setting correct ad type * fix: display order rate amount * fix: removed formatted text usage * fix: removed incorrect round off * fix: sunc effective_rate calculation b/w FE & BE (#5910) * fixed order table row spacing (#5900) * fixed post ad button (#5912) * farrah/ update received amount if rate has changed (#5911) * fixed received amount when rate has changed * refactor code * formatted received amount (#5913) * farrah/ fixed input amount validation on buy/sell form (#5928) * fixed input amount validation * refactor code * disabled edit button for temporary banned users (#5926) * Remove duplicate setRemount entry * farrah/ fixed overlapping status in order page (#5950) * fixed overlapping status in order page * refactor code * farrah/ fixed buy and sell form spacing (#5899) * fixed buy and sell form spacing * fixed banner spacing * fixed banner spacing in mobile * fixed spacing on responsive Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> Co-authored-by: hirad-rewok <91878582+hirad-rewok@users.noreply.github.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> Co-authored-by: Maryia <87321516+maryia-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: Salar Hafezi <76559464+salarhfz-fs@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: njazuli-deriv <78890281+njazuli-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: Maryia Frantsava <88426229+maryiafrantsava-deriv@users.noreply.github.com> Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: vijayasree-deriv <98810931+vijayasree-deriv@users.noreply.github.com> Co-authored-by: george-usynin-deriv <89790856+george-usynin-deriv@users.noreply.github.com> Co-authored-by: Artsem Kavaleu <88381164+artsemkavaleu-deriv@users.noreply.github.com> Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: mitra-fs <64970259+mitra-fs@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: sara-fs <55442058+sara-fs@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Likhith Kolayari <likhith@deriv.com> Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6041) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * add minchunks count as 30 * webpack max chunks set as 10 * chunk strategy maxchunks updated to 10 * fixed exchange rate subscription error (#6046) * reverted commit * webpack start try7 * farrah/ fixed sell form validation (#6047) * fixed sell form validation * fixed buy/sell form validations * reset amount with empty field * maxchunks to 25 * webpack strategy update * webpack strategy update minSizeReduction * webpack chunk strategy optimization * re arrange and update configs Co-authored-by: ashrafali-v <ashrafalifrk@gmail.com> Co-authored-by: Farrah Mae Ochoa <82315152+farrah-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: Nijil Nirmal <62882794+nijil-binary@users.noreply.github.com> Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> Co-authored-by: hirad-rewok <91878582+hirad-rewok@users.noreply.github.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> Co-authored-by: Maryia <87321516+maryia-deriv@users.noreply.github.com> Co-authored-by: Salar Hafezi <76559464+salarhfz-fs@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: njazuli-deriv <78890281+njazuli-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: Maryia Frantsava <88426229+maryiafrantsava-deriv@users.noreply.github.com> Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: vijayasree-deriv <98810931+vijayasree-deriv@users.noreply.github.com> Co-authored-by: george-usynin-deriv <89790856+george-usynin-deriv@users.noreply.github.com> Co-authored-by: Artsem Kavaleu <88381164+artsemkavaleu-deriv@users.noreply.github.com> Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: mitra-fs <64970259+mitra-fs@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: sara-fs <55442058+sara-fs@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Likhith Kolayari <likhith@deriv.com> * MaryiaF/refactor: convert summary-card to ts (#6001) * MaryiaF/refactor: convert summary-card to ts * MaryiaF/refactor: contract-card-loading * MaryiaF/refactor: summary-card * MaryiaF/refactor: SummaryCard Co-authored-by: Yashim Wong <yashim@deriv.com> * fix(cashier): avoid screen blinking of restricted pages during the first download (#6039) * try submitting an id document instead message removed (#5968) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * likith/testing functionality of reset trading password modal (#5823) * feat: test cases on reset-trading password-modal * feat: Added test acses for reset Password modal * fix: renamed data-testid as per guide * fix: created a reusable function containing interaction block * feat: added test case to check navigation reroute * ref: refactored code * ref: renamed the testid * Vinu/Service worker caching (#5887) * service-worker-precaching in progress * added images in runtime caching * added core js file to runtime caching * number of images to be kept at runtime caching kept at 15 * adjusted path for runtimecaching * added html files to caching * removed all files from precaching other than css * fixed pathnames in config.js * added path to cache js-core file * implemented review comments for runtime caching * implementation on review comments in progress * added smartchart-files to precaching * Vinu/Test coverage sent email modal (#5463) * added test coverage for sent-email-modal * fixed linting issue in sent-email-modal * props change in sent-email-modal.spec * fixed linting issue in sent-email-modal.spec * rearragned the order of imports in sent-email-modal.spec * Trigger Build * Trigger Build * implemented review comments in sent-email-modal-spec file * fixed linting issue in sent-email-modal * implemented review comments for sent email modal test coverage * adjusted the sent-email-modal spec file as per new guidlines * implemented review comments in sent-email-modal spec.js file * gave appropriate name to data-testid in sent-email-modal * thisyahlen/ added icon for tether trc20 (#6060) * added icon for tether trc20 * icons revert * fix for test cases * changed tooltip for all the tether coins * fixed the deposit page error and the tusdt lowercase * translations: 📚 sync translations with crowdin (#6174) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * refactor(confirm component): refactor confirm component, fix tests * Hirad/ Finished MF urgent changes (#6159) * Finished MF urgent changes * Changed the styling of the condition * Jim / Publisher documentation (#6002) * docs: update README.md in publisher * docs: update README.md in publisher * docs: update README.md in publisher * Jim / Components documentation (#6008) * docs: update README.md, add description for valid script and replace lerna bootstrap * docs: remove empty docs * docs: update README.md * docs: update README * chore: fix end of note in README * docs: change note in components README.md * move PositionsDrawerCard from reports to components (#6049) * yauheni/#69488 changing language for closed market redirecting fix (#5999) * yauheni/#69488 changing language for closed market redirecting fix * func name fix * proptypes fix * interval delete fix, is_lang_change moved * store fix for language changing * several attempts of changing fix * closed word translation fix * logout active symbols loading fix * logout redirection to default markets fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Hirad/ Fixed the issue where landing company was shown for eu users who have… (#6078) * Fixed the issue where landing company was shown for eu users who have just financial options * Changed the naming convention of one_or_two_cards variable * made some changes to the naming according to the suggestions * Pulled from master Co-authored-by: Matin shafiei <matin@deriv.com> * Ameerul /Bug 64559 delete pm name handle for long value (#6107) * changed the margin-top for mobile view for buy-sell * merging upstream master * changed the payment methods list modal and wrapped the text for long bank names * hamid/overwrite-overflow-of-app-contents-in-cashier (#5915) * Overwrite overflow of app contents in cashier) * Update packages/cashier/src/containers/cashier/cashier.scss Co-authored-by: Nijil Nirmal <62882794+nijil-binary@users.noreply.github.com> * Update branch and Enhance style Co-authored-by: Nijil Nirmal <62882794+nijil-binary@users.noreply.github.com> * george / rm70573 / payment agent error visibility (#6023) * fix: pa error visibility * fix failed test * yauheni/70841 trackJS setUserId should be string (#6139) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Hirad/ Account switcher demo total asset change (#5622) * Account switcher total asset is shown correctly * Changed currency that is shown * fix--api call is put in useEffect now * Made the condition shorter * Removed the redundant parameter in the exchange_rates call * Pulled from master * Pulled from master * Added currency exchange to real account tab of account switcher * translations: 📚 sync translations with crowdin (#6199) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> Co-authored-by: suisin-deriv <103026762+suisin-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: amina-deriv <84661147+amina-deriv@users.noreply.github.com> Co-authored-by: Nijil Nirmal <62882794+nijil-binary@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: Hamid <hamid@re-work.dev> Co-authored-by: ashraf-deriv <97999159+ashraf-deriv@users.noreply.github.com> Co-authored-by: ashrafali-v <ashrafalifrk@gmail.com> Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> Co-authored-by: hirad-rewok <91878582+hirad-rewok@users.noreply.github.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> Co-authored-by: Maryia <87321516+maryia-deriv@users.noreply.github.com> Co-authored-by: Salar Hafezi <76559464+salarhfz-fs@users.noreply.github.com> Co-authored-by: njazuli-deriv <78890281+njazuli-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: Maryia Frantsava <88426229+maryiafrantsava-deriv@users.noreply.github.com> Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: vijayasree-deriv <98810931+vijayasree-deriv@users.noreply.github.com> Co-authored-by: george-usynin-deriv <89790856+george-usynin-deriv@users.noreply.github.com> Co-authored-by: Artsem Kavaleu <88381164+artsemkavaleu-deriv@users.noreply.github.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: mitra-fs <64970259+mitra-fs@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: sara-fs <55442058+sara-fs@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Likhith Kolayari <likhith@deriv.com> Co-authored-by: maryiafrantsava-binary <103181650+maryiafrantsava-binary@users.noreply.github.com> Co-authored-by: Yashim Wong <yashim@deriv.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: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: jim-deriv <104334373+jim-deriv@users.noreply.github.com> Co-authored-by: mahdiyeh-fs <82078941+mahdiyeh-fs@users.noreply.github.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> * Revert "george / fix conflicts in pa-redesign branch (#6188)" (#6212) This reverts commit 93f4389bb039eb2cb8f526e3613222b3dcebb0a6. * style(transfer-confirm): fix class name (#6213) * george / rm73705 / fix payment agent search last symbol remaining (#6234) * style(transfer-confirm): fix class name * fix(payment agent search): fix payment agent search last symbol remaining * george / fix failed test in payment-agent-container (#6376) * style(transfer-confirm): fix class name * fix(payment agent search): fix payment agent search last symbol remaining * test(payment agent container): fix failed test Co-authored-by: Nijil Nirmal <nijil@deriv.com> Co-authored-by: vinu-deriv <vinu@deriv.com> Co-authored-by: suisin-deriv <103026762+suisin-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: amina-deriv <84661147+amina-deriv@users.noreply.github.com> Co-authored-by: Nijil Nirmal <62882794+nijil-binary@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: Hamid <hamid@re-work.dev> Co-authored-by: ashraf-deriv <97999159+ashraf-deriv@users.noreply.github.com> Co-authored-by: ashrafali-v <ashrafalifrk@gmail.com> Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> Co-authored-by: hirad-rewok <91878582+hirad-rewok@users.noreply.github.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> Co-authored-by: Maryia <87321516+maryia-deriv@users.noreply.github.com> Co-authored-by: Salar Hafezi <76559464+salarhfz-fs@users.noreply.github.com> Co-authored-by: njazuli-deriv <78890281+njazuli-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-autho…
* added ts related change required for migrating all components (deriv-com#5760) * ts-migration-crypto-fiat-converter (deriv-com#5796) * Trigger build * Update package-lock * ts-migration-cashier-notifications (deriv-com#5765) * bahar/funds_protection_component-ts-migration (deriv-com#5756) * funds_protection_component-ts-migration * remove_extra_type_file * fix_merge_issue * hamid/migrate-transfer-confirm-to-ts (deriv-com#5815) * Migrate TransferConfirm to TS * Rename component in test file * Replace Confirm with TransferConfirm in PAs * Enhance Tests * ts-migration-page-404 (deriv-com#5766) * Vinu/converted percentage-selector component into typescript (deriv-com#5785) * converted percentage-selector component into typescript * changed the name of test_ids in percentage-selector spec file as per new guidlines * updated with latest upstream branch * added reactMouse event in props.types.ts * Vinu/migrated recent-transaction component to typescript (deriv-com#5791) * migrated recent-transaction component to typescript * fixed Rootsore path in recent-transaction * tsconfig.json change in types path * ts-migration-verification-email (deriv-com#5769) * bahar/Ts migration no balance (deriv-com#5774) * ts-migration-no-balance * fix_merge_issue * Vinu/migrating cashier-container into ts (deriv-com#5780) * migrting cashier-container into ts WIP * added type in virtual.tsx * changed test-ids in cashier-container * updated the branch with latest upstream branch * fixed Rootsore path in cashier-container * tsconfig.json change in types path * refactor(cashier): ♻️ extract empty state component into a reusable component * refactor(cashier): ✨ extract all cashier empty states into separate components * refactor(cashier): 🔥 clean up cashier locked component using empty states * fix(cashier): ✏️ fix wrong message in `EmptyStateDepositLockedSystemMaintenance` * Vinu/Ts cashier error dialog (deriv-com#5820) * migrated error-dialog to typescript * removed proptypes from error-dialog * added appropriate types to message variable in error-dialog * updated code with latest upstream branch * fixed type of rootstore in error-dialog * fixed Rootsore path in error dialog * added type for ReactElement in props.types.ts cashier * Vinu/migration of crypto-transaction-history component into typescript (deriv-com#5834) * migration of crypto-transaction-history component into typescript * Trigger Build * Trigger Build * fixed Rootstore path in crypto-transactions-history * added type for crypto-transaction-details * added ReactMouseEvent in prop.types * added data-testid's in crypto-transaction-renderer component * Migrate CashierLocked to TS (deriv-com#5959) * Fix security hotspot reported by sonarcloud * fix(cashier): 📝 resolve PR comments * fix(cashier): 📝 resolve PR comments * fix(cashier): 📝 resolve PR comments * fix(cashier): 📝 resolve PR comments * refactor(cashier): ♻️ refactor the initial solution with the suggested one in the pr comments * fix(cashier): ✅ fix the failing test * fix(cashier): 📝 resolve PR comments * fix(cashier): 📝 resolve PR comments * chore(cashier): 🔀 resolve merge conflic * fix(cashier): 💄 fix inconsistenc padding in cashier tabs when cashier locked * fix(cashier): 📝 resolve PR comments * feat(cashier): ✨ handle `PACommisionWithdrawalLimit` state in `CashierLocked` Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: Nijil Nirmal <nijil@deriv.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: Hamid <hamid@re-work.dev>
… withdrawal flow (screens), add searchbar (deriv-com#6113) * george / add icons to cashier pa-redesign (#5954) * add payment-method icons, optimize icons in cashier folder with svgo * add icons * optimize cashier icons, fix icons * george / PA list improvements. Deposit flow (#5816) * add icons, add payment-agent-card * add props types * add capitalizeFirstLetter method * add payment-agent-providers constant * add shuffle array utility * add shuffling of payment agent list * make payment method filter visible, shuffle payment agent list * fix broken test (payment-agent-store) * add test for PaymentAgentCard * add test for PaymentAgentCardDescription * add tests for PaymentAgentCardDetails * add tests for heplpers payment agent * heplers test improvement * add pa-deposit-withdraw container * add hasNormalizedPaymentMethods hepler, add test for helper * code refactoring * fix tests * code refactoring * fix arrow expansion panel size * add payment-method icons, optimize icons in cashier folder with svgo * fix css issues, add icons, add disclaimer, fix tests * fix tests * fix dropdown width in 320px * fix tests payment-agent-disclaimer * fix comments * add detail shared component * replace px to rem * fix detail import, refactoring pa-card css * add index file for detail compoennt * change array utils to plain js files * refactoring details compoent * refactoring pa-card-deposit-details * fix tests, refactoring detail component * add card background in dark mode * refactor pa-deposit-details component * return ic-cashier icon * fix onload flashing of pa list * css refactoring * refcator detail component * fix css border * refactor pa detail component, add test * fix padding for deposit/withdraw tabs * fix naming data-testid * fix link attributes in pa-detail * george / pa list improvements - withdrawal flow (#5817) * add icons, add payment-agent-card * add props types * add capitalizeFirstLetter method * add payment-agent-providers constant * add shuffle array utility * add shuffling of payment agent list * make payment method filter visible, shuffle payment agent list * fix broken test (payment-agent-store) * add test for PaymentAgentCard * add test for PaymentAgentCardDescription * add tests for PaymentAgentCardDetails * add tests for heplpers payment agent * heplers test improvement * add pa-deposit-withdraw container * add hasNormalizedPaymentMethods hepler, add test for helper * code refactoring * fix tests * code refactoring * fix arrow expansion panel size * add icons, add payment-agent-card * add props types * add capitalizeFirstLetter method * add payment-agent-providers constant * add shuffle array utility * add shuffling of payment agent list * make payment method filter visible, shuffle payment agent list * fix broken test (payment-agent-store) * add test for PaymentAgentCard * add test for PaymentAgentCardDescription * add tests for PaymentAgentCardDetails * add tests for heplpers payment agent * heplers test improvement * add pa-deposit-withdraw container * test refactoring * add hasNormalizedPaymentMethods hepler, add test for helper * code refactoring * fix tests * add payment agent withdraw details * add withdraw for listed payment agents * fix text size * george / fix adding of payment methods for filtering by payment method (#5757) * fix adding of payment methods for filtering by payment method * fix resetting filter to default option * fix default filter option in mobile * refactored if statement * fix payment-agent-store tests * remove unused field * add unlisted withdrawal * resolve name import * css refactoring * fix payment agent receipt test * fix tests for payment agent withdraw confirm component * fix payment agent store tests * fiex PaymentAgentCardDepositDetails tests * fix test for Confirm component * add fixed deposit/withdraw mobile tabs * add test for payment-agent-withdraw-form * fic tests for payment agent transfer confirm component * add side note disclaimer, css refactoring * fix tests * css formatting, fix error dialog css * css refactoring * test refactoring, add test for payment-agent-withdrawal-details * add tests for payment-agent-deposit-withdraw-container * tests refactoring * add payment-method icons, optimize icons in cashier folder with svgo * fix pa card scc, icons rendering * fix: remove empty string banks * code refactoring * add test for disclaimer component, fix propstypes * fix scc confirm, fix tests * code refactoring, tesst fix * css refactoring * fix css pa transfer confirm * add close icon in form, fix css * fix account number regex * add payment-method icons, optimize icons in cashier folder with svgo * fix css issues, add icons, add disclaimer, fix tests * fix tests * fix dropdown width in 320px * fix tests payment-agent-disclaimer * fix comments * add detail shared component * replace px to rem * fix detail import, refactoring pa-card css * add index file for detail compoennt * change array utils to plain js files * refactoring details compoent * refactoring pa-card-deposit-details * fix tests, refactoring detail component * add card background in dark mode * refactor pa-deposit-details component * return ic-cashier icon * fix onload flashing of pa list * css refactoring * refcator detail component * fix scroll to top app-contents * fix css border * refactor pa detail component, add test * fix tests * fix padding for deposit/withdraw tabs * refactor code * slpit withdrawal to listed and ulisted * fix: responsive screen fix for payment-agent-transfer-receipt * added money icon and border in transfer to client success page * css fix for buttons in payment-agent-transfer-receipt * move pa-deposit-details to separate folder * refactor css pa-card * fix dark mode prop in pa card * refactor pa details, pa-deposit-details, refactor icons * refactor icons * refactor pa-details css * fix pa-receipt test * fix details link attributes, add desc-wrapper * refactor app-contents useEffect hook * implemented design change in pa-agent transfer pages as per the new design * adjusted test cases as per new change in payment-agent-transfer-confirm and confirm spec * implemented review comments * implemented review comments reverted unit of border to px from rem in pa transfer receipt scss * remove redundant test for pa-disclaimer component * remove pa-details * conflict fix * fix icons * refactor confirm component * fix tests * refactor pa-detail css * refactor disclaimer side note * fix ending of pa name in pa receipt * fix tests * fix css * fix comments * fix failed tests * fix useEffect dependencies * fix dependency eslint warning * improve useEffect hook * rename pa-deposit-withdraw-conainer to pa-container * style: change confirm submit buttons top margin * fix(payment agent withdraw): change payment agent account number validation * style(payment agent withdraw): fix withdrawal hint overlapping in crypto acount * fix(payment agent withdraw): clear withdrawal amount input field when switching between payment methods * fix(payment agent withdraw): dispaly unlisted payment agent name * fix(payment agent withdraw): change explanation for listed and unlisted pa in withdrawal receipt * style(payment agent withdraw): change margins for header and explanation blocks in receipt * fix(payment agent withdraw): fix test for pa-withdraw-receipt component * style(payment agent withdraw): margins for payment agent receipt * test(payment agent withdraw): fix tests * refactor: refactor payment agent name, fix tests * refactor(payment agent withdraw): refactor localize Co-authored-by: vinu-deriv <vinu@deriv.com> * george / rm66637 / PA list improvements. Search bar (#5970) * add search bar component * add css for pa-list-search * add pa search box in deposit-withdraw container * fix comments * remove setTimeout from casgier search * add lodash.debounce as a dependency * add tests (cashier-search-box, pa-store, pa-deposit-withdraw-container) * style: fix overlapping in search input * fix: reset payment agent search term when moving between the pages * test: fix failed test * style: fix autofill overlapping * fix: fix proptypes for value, add number type (#6112) * george / fix conflicts in pa-redesign branch (#6188) * Suisin/Update validation rules (#6145) * update letter symbol rules * new rulels * Update declarative-validation-rules.js * Suisin/Renew validation rules (#6147) * update letter symbol rules * new rulels * Updated Rules * edited rules * Update rules to accept multiple space * translations: 📚 sync translations with crowdin (#6158) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * remove personal-details-step-from-financial-svg (#6135) * TS migration of cashier UI components (#5947) * added ts related change required for migrating all components (#5760) * ts-migration-crypto-fiat-converter (#5796) * Trigger build * Update package-lock * ts-migration-cashier-notifications (#5765) * bahar/funds_protection_component-ts-migration (#5756) * funds_protection_component-ts-migration * remove_extra_type_file * fix_merge_issue * hamid/migrate-transfer-confirm-to-ts (#5815) * Migrate TransferConfirm to TS * Rename component in test file * Replace Confirm with TransferConfirm in PAs * Enhance Tests * ts-migration-page-404 (#5766) * Vinu/converted percentage-selector component into typescript (#5785) * converted percentage-selector component into typescript * changed the name of test_ids in percentage-selector spec file as per new guidlines * updated with latest upstream branch * added reactMouse event in props.types.ts * Vinu/migrated recent-transaction component to typescript (#5791) * migrated recent-transaction component to typescript * fixed Rootsore path in recent-transaction * tsconfig.json change in types path * ts-migration-verification-email (#5769) * bahar/Ts migration no balance (#5774) * ts-migration-no-balance * fix_merge_issue * Vinu/migrating cashier-container into ts (#5780) * migrting cashier-container into ts WIP * added type in virtual.tsx * changed test-ids in cashier-container * updated the branch with latest upstream branch * fixed Rootsore path in cashier-container * tsconfig.json change in types path * Vinu/Ts cashier error dialog (#5820) * migrated error-dialog to typescript * removed proptypes from error-dialog * added appropriate types to message variable in error-dialog * updated code with latest upstream branch * fixed type of rootstore in error-dialog * fixed Rootsore path in error dialog * added type for ReactElement in props.types.ts cashier * Vinu/migration of crypto-transaction-history component into typescript (#5834) * migration of crypto-transaction-history component into typescript * Trigger Build * Trigger Build * fixed Rootstore path in crypto-transactions-history * added type for crypto-transaction-details * added ReactMouseEvent in prop.types * added data-testid's in crypto-transaction-renderer component * Migrate CashierLocked to TS (#5959) * Fix security hotspot reported by sonarcloud Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: Hamid <hamid@re-work.dev> * limit the number of chunks creating by webpack (#6040) * limit the number of chunks creating by webpack * webpack chunk strategy try 2 * webpack optmzn try 3 * add minchunks count as 30 * webpack max chunks set as 10 * chunk strategy maxchunks updated to 10 * webpack strat minsize rule * webpack strat update try 5 * webpack strat update try6 * Revert "MaryiaF/fix: P/L is not getting updated when a contract is terminated… (#6024)" (#6034) This reverts commit ba506880a588f34b911c9acf85829975b1c48f57. * translations: 📚 sync translations with crowdin (#6037) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * p2p/Floating rate feature (#5494) * Merge branch 'binary-com:master' into floating_rate (#5080) * Nijil / DBot - Add multipliers (#4172) * Retrigger vercel deployment * Init dbot multiplier * Fix es-lint issues * Add contract update dialog validations * logic added to hasAllRequiredBlocks for multipliers * Fix es-lint errors * Update stop loss block description and label * Filter out multipliers in quick-strategy * Fix incorrect rendering of duration/multiplier blocks on workspace when they're dragged out from toolbox * Fix typos * Add missing proptypes and other minor refactors * Fix minor issues + logic * Fix: trade option block not changing according to the selected trade type once it is dragged to workspace first and then plugged to the trade parameters block * Fix: Disable trade option block when plugged inside trade parameters * Remove connection to next statement in trade_defintion_restartonerror block * Make multiplier_stop_loss and multiplier_take_profit independant blocks + other UX improvement Description \n1.Make multiplier_stop_loss and multiplier_take_profit input field shadow blocks. \n2. Add check such that duplicate multiplier_take_profit and multiplier_stop_loss cannot be added to trade_definition_multiplier block. \n3.Show amount limits in trade_definition_multiplier block. * Cleanup workspace when switching between multiplier and other trade options * Remove extensice validation for multiplier_stop_loss block * Show dialog for multiplier contract on stop button click + minor cleanups * Update stop multiplier dialog content * Update stop multiplier dialog content and button actions * Minor bug fix * Fix stop multiplier dialog buttons styling * fix: multiplier contract not bought even after disabling TP/SL block inside multiiplier block * Disable stray blocks and their optional children recursively * fix: recover all pending transactions on page refresh or if client left page mid-contract * Restrict TP/SL blocks to multiplier block + add close button logic for dialog component * Fix profit not showing when it's zero * Add condition for restricted blocks to enable/disable stack option in context menu * Optimised proposal_open_contract call on mount of transaction tab * fix es-lint error * Update logic for recovering open contracts * Fix no-unused-vars error * Refactor code for readability * Refactor code for readability * Add logic to handle action of reset button in toolbar * Remove condition where it enabled the button in run panel while the contract is still closing * Fix default-case expected test error * Add note for multiplier block * Add condition to disable run panel button when multiplier contract is closing * Fix issue where connectWithContractUpdate tried to destructure undefined at first render * Add Learn more help content for multiplier trade option block * Minor change in toggle-card-dialog.jsx file * Refractored help-content from bot-skeleton to bot-web-ui package and updated help content for multiplier trade option block * Fix missing key prop error * Minor change in fix where connectWithContractUpdate tried to destructure undefined * Show banner for bot MF Real & VRTC Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> * Hirad/Cfd reset password modal js to ts (#4706) * Changed cfd-reset-password-modal container from js to ts * fix--Auto styling is done on the components * fix--Separated types from component * fix--Auto styling is done on the components * fix--Added a separate type for errors and Changed the type of current_list * Auto styling is done on the components * fix--Used Record utility type to improve readability * fix--Removed redundant imports and duplicate types * Pulled the latest changes from master * fix--Replaced ReactElement with ReactNode * Pulled from master * Made some changes to pass the tests * fix--Changed ReactNode to ReactElement to pass the tests * fix--Shortened one of the types * Fixed the conflicts Co-authored-by: Matin shafiei <matin@binary.com> * Chore: Added NIN option in IDV dropdown for ng clients (#4970) * fix: payment info issue (#4978) Co-authored-by: Matin shafiei <matin@binary.com> * Bala/Cleanup dashboard (#4967) * refactor: change folder name to appstore * chore: cleanup dashboard svgs * refactor: rename to appstore * remove separate build for dashboard * refactor: rename to appstore * cleanup build * remove appstore assets * fix: api-types auto generation * chore: cleanup dashboard * chore: cleanup appstore build * chore: fix appstore main file path * chore: use consistent configs * chore: refactor store usage to be consistent * chore: cleanup dist and routes * chore: remove old routes config * cleanup routes config * setup trading-hub path * cleanup asset_path * cleanup redirects * fix ts lint issues * fix lint issues * fix lint issue * fix test issues * update tsconfig path * update codeowners * chore: added a space * Update README.md Co-authored-by: Matin shafiei <matin@binary.com> * Maryia/TrackJS_Avoiding_Pushwoosh_Failed_to_fetch_error (#4894) * Maryia/Checking network status before initializing Pushwoosh * Maryia/refactoring Co-authored-by: Matin shafiei <matin@binary.com> * translations: 📚 sync translations with crowdin (#4987) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * salar / Hotfix/multiplier eu (#4989) * Add helper function for EU countries * Show digital options banner to VRTC-only EU clients * Add comment to remove duplicate code * Fix: apply more compliance conditions * Fix issue for EU residence * Apply prettier * Fix mobx issue for residence * Fix: prevent calls on undefined * Fix: check for blockly div first * Apply prettier * export_components_which_needed_to_be_used_in_app_store (#4972) * refactor_payment_agent_component_for_app_store (#4968) * translations: 📚 sync translations with crowdin (#5005) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * refactor: investor password (#4992) * Nuri/Refactor: Refactor compare account (#4969) * refactor compare account * retrigger circleci * retrigger deployment * removed unused text * likhith/OrderConfirmCompleted error status displayed on slow n/w (#4832) * Resolved: #56123 - OrderConfirmCompleted error status displayed on slow n/w * Refactored code * Fixed lint errors * implemented review comment * Resolved eslint issues * Resolved Console.log error * Added comments to changes * Resolved lint errors * Removed unwanted component * fix storybook build (#4997) * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function (#4892) * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function * Maryia/Fix for styles of POI & POA steps in Settings and CFD modals (#4761) * Maryia/fixed styles of poa upload block * Maryia/fixed cfd poa modal for responsive mode * Maryia/fix for POI step style in CFD modal * Maryia/fixed style of upload criteria in CFD modal POA step * Maryia/refactoring as per deriv app code standard * Maryia/replaced px with rem * Maryia/fix for the upload box style requiring nesting inside list * Maryia/fixed POI styles * Hirad/Cfd dashboard container JS to TS (#4941) * Changed cfd-dashboard container from javascript to typescript * fix--Fixed the default export of the cfd-dashboard * Pulled from master * fix--Invisible tab menu should be fixed * Auto styling is done * IDV notification changes and refactoring (#5001) * Akmal / Add trustpilot notification (#4974) * Add trustpilot notification * Fix formatting * Add undefined check * Vijayasree/Manage Account modal from Cashier Onboarding links are broken on iphoneSE (#4948) * Manage Account modal from Cashier Onboarding links are broken on iphone SE * Manage Account modal from Cashier Onboarding links are broken on iphone SE * Manage Account modal from Cashier Onboarding links are broken on iphoneSE * Update account-wizard.scss Co-authored-by: Matin shafiei <matin@binary.com> * likhith/Added jest config and test cases for App-Content component (#4876) * Added jest config and test cases for App-Content component * Added test cases for App Content component * Fixed lint errors * Removed lint errors and configured webpack * Reordered webpack extension array * Implemented review comments * implemented review comments * george / added test for "PaymentAgentList" component (#4825) * added test for "PaymentAgentList" component * fixed a spelling error * refactored code, changed query method * code refactoring * george / added tests for OnRampProviderCard (#4880) * added tests for OnRampProviderCard * code refactoring (add data-testid into Icon component) * naming refactoring data-testid * naming refactoring * add new prop (data_testid) to Icon component * code refactoring using icon prop data_testid * add prop types for data_testid * likhith/Removed unused functions from Cashier container and added test cases (#4821) * likhith/added testcases to cashier-container * added loader check test case * Variable change * Fixed variable scoping * Refactored code inline with naming conventions * Removed code smells * Improved code visibility * Removed unused functionality in CashierComponent * Removed unused imports * Removed unused property and improved test cases * modified input data * Incorporated review comments * Incorporated review comments * Added test cases to order and order-table (#4916) * fix test cases because of refactoring the component (#5029) * Nijil/Pass correct value to SelectNative value prop from PA dropdown (#5034) * fix: pass correct value to SelectNative value prop * minor refactor * translations: 📚 sync translations with crowdin (#5039) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * MaryiaF/fix: bold the menu option when the user has gone by the child… (#4965) * MaryiaF/fix: bold the menu option when the user has gone by the child menu items and then navigated one of them to the corresponding page * MaryiaF/refactor: solution with switching to the bold menu item * MaryiaF/chore: revert intent * MaryiaF/refactor: use Text component instead of spane in toggle-menu-drawer file * MaryiaF/refactor: remove unuseful style and change import * Merge branch 'master' of github.com:binary-com/deriv-app into 57685_2 * MaryiaF/fix: all the sub menus are not supposed to be in bold in first visit, 1 of the sub menu should be bold during the visit * MaryiaF/fix: condition when the menu item should be bold * MaryiaF/fix: remove console.log * Revert "Merge branch 'master' of github.com:binary-com/deriv-app into 57685_2" This reverts commit 2c19bed858d09d2dee7b4ffb939f80617a91972e. Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * <SearchBox /> test coverage (#4900) Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Artsem / <Verification /> test coverage (#4890) * <Verification /> test coverage * remove redundant import * fix testid naming * fix testid and elements naming * remove redundant mockProps() Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test_coverage_for_poi-verified_component_in_account_package (#5006) * poi-verified-spec * poi-verified-spec Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test_coverage_for_poa_unverified_component_in_account_package (#4993) * unverified-spec * poa-unverified Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test coverage for poa-submitted (#4990) * test_coverage_for_poa_submitted * fix Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * george / test coverage for "recent transaction" component (#4838) * added tests for RecentTransaction component * fixed condition for cashier transaction icon * removed code duplication * refactored code * code refactoring (add data-testid into Item component) * code refactoring * naming refactoring data-testid * naming refactoring * add new prop (data_testid) to Icon component * code refactoring using icon prop data_testid * add prop types for data_testid Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#5048) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * update branch with master (#5010) * Maryia/Set notifications together with each handling of notifications (#4958) * Maryia/Set notifications before each handling of notifications * Maryia/style fix to fit in long FR, ES & PT text on the notification button * Fix design for DMT5 investor password reset modal (#4942) * Ako/ Codecov integration (#5053) * build/ add test:ci script to run tests in the ci with different config * ci/ add codecov github action * ci/ workflow update * ci/ update coverage path * ci/ get coverage over all of the files * ci/ get coverage on pull request * Revert "build/ add test:ci script to run tests in the ci with different config" This reverts commit 2771958602f5af3048c334e28868d05f9ff4f6cd. * doc/ add codecov badge to readme file * Vijayasree/Crypto icon in withdrawal page is not shown for specific device IOS (#4976) * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * re-trigger build * re-trigger build * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Sara / Fixed issue with error handling (#4966) * Fixed issue with error handling * Removed extra code * fixed issue with aggregation methods * MaryiaF/chore: remove consoles (#5059) * Matin/Add: TS files for translation extraction (#5073) * remove appstore package from translations (#5075) Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> Co-authored-by: hirad-rewok <91878582+hirad-rewok@users.noreply.github.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> Co-authored-by: Maryia <87321516+maryia-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: Salar Hafezi <76559464+salarhfz-fs@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: njazuli-deriv <78890281+njazuli-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: Maryia Frantsava <88426229+maryiafrantsava-deriv@users.noreply.github.com> Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: vijayasree-deriv <98810931+vijayasree-deriv@users.noreply.github.com> Co-authored-by: george-usynin-deriv <89790856+george-usynin-deriv@users.noreply.github.com> Co-authored-by: Artsem Kavaleu <88381164+artsemkavaleu-deriv@users.noreply.github.com> Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: mitra-fs <64970259+mitra-fs@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: sara-fs <55442058+sara-fs@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> * Revert "Merge branch 'binary-com:master' into floating_rate (#5080)" (#5081) This reverts commit 725636b267eb434a278976b67c3461ccc2130338. * Artsem / Floating rate banner and warning for existing ads (#4975) * Add floating rate enable banner and warning icon * remove extra function call * remove deprecated conditions * remove conditional render, add todo comment * fix Localize settings * likhith/Created Floating rate custom component (#4971) * Created Floating rate custom component * Removed hardcoded values * Incorporated review comments * Reordered functions as per style guide * Replaced Css units * Incorporated review comments * Empty commit * Minor bug fix * Renamed functions appropriately * Incorporated review comments * Fetching floating rate status from const * Resolved lint errors * Incorporated review comments * incoeporated review comments * Added syles as per UX * Added a comment to explian props * Changed CSS as per BEM standard * Changes naming conventions * Implemented review comments * Refactored code as per comments * Fixed eslint errors * Reverted the changes made * Minor bug fixes * Added currecnt_focus prop * likhith/create floating-rate ad (#4964) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Minor bug fixes * Minor bug fixes * removed console logs * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Incorporated review comments * Reduced spacing between the banner * Formatted user input * Fixed failing test case * Added comments to explain functionality * Fetching date and time from server * Renamed function * Refactored code * Added review comments * Resolved decimal round off issue * Fixed Rounding off of decimal digits * Regex change in psoitive integer check * Resolved issue with round off to decimal point * Re-arranged imports * Fixed the testcase * Fixed floating_rate input check * Removed Math.sign * Reverted decimal change * Implemented round of logic for decimal places * refactor: Renamed variables * fix: Round off issue in Create Ad summary * fix: resolved decimal point to 2 digits * Resolved lint errors * fix: Renamed the function * chore: Ad display table rate will be calculated from * fix: test color in dark theme * fix: label changes b/w fixed and floating * fix: invoking api call to fetch the changes * fix: rate synced b/w myads and buy/sell * fix: range offset validation * fix: modified rate property in edit ads * fix: Float rate input suffix * fix: code formatted * fix: setting floating rate to 2 decimals on blur * fix: spacing issue with floating rate input * Trigger build * Trigger build * fix: removed unwanted padding * fix: added ellipse to fix over lapping * fix: removed disabling of floating rate field buttons * fix: resolved issue with error message * fix: Overlapping CSS issues in Mobile * fix: added missing background color for dark theme * fix: removed button highlight in mobile * fix: button higlight issue * fix: display of cursor pointer on scroll * fix: resolved issue with message * fix: Ad change warning message * fix: color for dark mode Co-authored-by: Likhith Kolayari <likhith@deriv.com> * fix: conflict message not updated * likhith/created edit my ad screen (#4988) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Implemented edit ads for floating rates * Inorporated review comment * minor bug fixes * Minor bug fixes * Minor bug fixes * removed console logs * Added rae_type prop * Incorporated API changes * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Added styles as per UX * Refactoring code * Css changes to summary component * Trigger Build * Minor bug fix in Create Ad form * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Migrated create ad comments to Edit ad * Resolved lint errors * Fixed lint issues * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Incorporated review comments * Reduced spacing between the banner * Formatted user input * Fixed failing test case * Added comments to explain functionality * Fetching date and time from server * Renamed function * Refactored code * Added review comments * Resolved decimal round off issue * Fixed Rounding off of decimal digits * Added test case for create ad * Regex change in psoitive integer check * Added test case to test form values * Resolved decimal round off issue * Added test acss to edit form * Resolved lint errors * Resolved issue with round off to decimal point * Re-arranged imports * Fixed the testcase * Removed unused imports * Fixed floating_rate input check * Removed Math.sign * Reverted decimal change * Implemented round of logic for decimal places * refactor: Renamed variables * refactor: Added fallback condition * fix: added a exchange rate fallback condition * fix: Round off issue in Create Ad summary * fix: resolved decimal point to 2 digits * Resolved lint errors * fix: Renamed the function * chore: Ad display table rate will be calculated from * fix: test color in dark theme * fix: label changes b/w fixed and floating * fix: invoking api call to fetch the changes * fix: rate synced b/w myads and buy/sell * fix: range offset validation * fix: modified rate property in edit ads * fix: Float rate input suffix * fix: code formatted * fix: setting floating rate to 2 decimals on blur * fix: spacing issue with floating rate input * Trigger build * Trigger build * fix: removed unwanted padding * fix: added ellipse to fix over lapping * incorporated changes * fix: removed disabling of floating rate field buttons * fix: resolved issue with error message * fix: Overlapping CSS issues in Mobile * fix: added missing background color for dark theme * fix: removed button highlight in mobile * fix: button higlight issue * fix: display of cursor pointer on scroll * fix: resolved issue with message * fix: modified display of summary in edit ad component * fix: removed spec code * fix: Removed test cases * chore: reverted old commit * feat: Added banner for switch rate * fix: Error message text * fix: incorporated review comments * fix: removed unwanted store condition and added subscription to exchange rates * fix: removed incorrect function call * fix: added a null check * fix: refactored code * ref: Added comments * ref: Refactored code for performance * ref: refactored code * ref: code refactor * ref: Incorporated review comments * Trigger Build * fix: removed fixed size * fix: resolved conflict * fix: moved functionality from component to store * fix: removed unnecessary commenting * ref: renamed cancel action functions * ref: refactored code for increated readability * feat: implemented a function for removing trailing zeros * ref: refactored the code in edit ad summary * fix: reverted decimal round off rules * fix: resolved issue with resetting selected Ad id * fix: switching ad types in edit * fix: issue with edit ad switch * fix: display rate change dialog even when ads are deactivated * fix: disabled activate ad when past date is passed * fix: displaying error message based on the required ad type * fix: banner glitch occurs when data loaded in chunks * fix: enable ads after switch update * fix: Form should not be checked for value change when ad switch is triggered * fix: test to incorporate sign * fix: implemented dynamic type for field in mobile * fix: added css to fix disable styling * fix: enforcing disable bg color for popover * fix: responsive view of switch ad modal * fix: added missing theme color for dark mode * fix: banner width consistancy * fix: incorporated touched state for Payment method Co-authored-by: Likhith Kolayari <likhith@deriv.com> * likhith/Feature buy sell confirmation (#5487) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Minor bug fixes * Minor bug fixes * removed console logs * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Incorporated review comments * Reduced spacing between the banner * Formatted user input * Fixed failing test case * Added comments to explain functionality * Fetching date and time from server * Renamed function * Refactored code * Added review comments * Resolved decimal round off issue * Fixed Rounding off of decimal digits * Regex change in psoitive integer check * Resolved issue with round off to decimal point * Re-arranged imports * Fixed the testcase * Fixed floating_rate input check * Removed Math.sign * Reverted decimal change * Implemented round of logic for decimal places * refactor: Renamed variables * fix: Round off issue in Create Ad summary * fix: resolved decimal point to 2 digits * Resolved lint errors * fix: Renamed the function * chore: Ad display table rate will be calculated from * fix: test color in dark theme * fix: label changes b/w fixed and floating * fix: invoking api call to fetch the changes * fix: rate synced b/w myads and buy/sell * fix: range offset validation * fix: modified rate property in edit ads * fix: Float rate input suffix * fix: code formatted * fix: setting floating rate to 2 decimals on blur * fix: spacing issue with floating rate input * Trigger build * Trigger build * fix: removed unwanted padding * fix: added ellipse to fix over lapping * fix: removed disabling of floating rate field buttons * fix: resolved issue with error message * feat: Implemented floating rate for buy/sell * fix: Overlapping CSS issues in Mobile * fix: added missing background color for dark theme * fix: removed button highlight in mobile * fix: button higlight issue * fix: display of cursor pointer on scroll * fix: resolved issue with message * fix: color for dark mode * fix: buy/sell modal styling * fix: render data in accordian * feat: incorporated expand all accordian * feat: Implemented Expand & Collapse all feature * ref: code refactor * fix: removed console errors * fix: removed unused prop * fix: incorporated review comments * fix: incorporated review comments * fix: incorporated Expamd all button * fix: incorrect prop name in accordion component * fix: incorporated review comments * ref: Removed code duplication * ref: refactored the code * fix: changes px to rem * fix: incorporated rate change error dialog * fix: removed unwanted CSS * fix: renamed porptype in Rate Change modal * ref: code refactored * ref: rate change modal code refactored * ref: Refactored code * fix: css issues related to buy-sell dialog * fix: fixed failing test cases * fix: Added a error code check to display appropriate popups * fix: CSS inssues in Buy-sell modal * fix: css issue of error hintbox * fix: resolved issue with rounding digit in receive amount * fix: blocking order creation when balance is low * fix: css changes to fix disabling form * fix: modal condition to display low balance * fix: blocking user from entering value more than balance * fix: display Form error messages in footer and account balance error in banner * fix: resolved lint errors * ref: changed the TODO comment * ref: fixed the comment * fix: incorporated subscribeWS method * fix: resolved failing testcase issue * fix: removed commented code * fix: display of incorrect efective rate * fix: decimal round off * fix: navigation to buy/sell table when try again is clicked * fix: buy/sell order dialog title to match the design * fix: css issues in buy/sell * fix: design mismatch in order confiormation dialog * ref: Refactored code to reuse functionality * fix: removed commented code * fix: market change update in Advertiser section * fix: re-render on balance change * fix: disabling fields when balance is low * fix: expand/collapse issue * fix: resolved issue with expand and collapse * fix: restricted rate input to 8 characters * fix: resolved console error * fix: file name * fix: fixed failing test case * fix: added order input check against account balance * fix: css issues in add payment method in buy-sell form * fix: validation of sell order * fix: currency format of balance * fix: re-establish n/w connection on reload * ref: Incorporated safety null check * fix: moved low balance banner display to be handled by state Co-authored-by: Likhith Kolayari <likhith@deriv.com> * farrah/ removed payment method banner in p2p (#5755) * removed transaction time and payment method banners * removed setting of missing payment methods * reverted removal of reduced transaction time banner * likhith/incorporated market rate calculation with 6 decimals (#5770) * feat: incorporated market rate calculation with 6 decimals * ref: refactored code to generate effective rate * ref: removed commented code * fix: round off decimal calculation of effective market rate * fix: formatting decimals in effective rate * fix: set the form to be dirty when PM is selected * fix: checking for change when PM methods are modified * fix: enable button for edit ad * fix: enabling submit method for buy ads * fix: decimal round off issue in buy-sell * fix: display min of 2 decimal points * fix: displying initial value of buy-sell ad * Trigger build * fix: removed unnecessary spacing * Trigger build * fix: effective rate round off in Buy/sell * Trigger build * fix: setting correct ad type * fix: display order rate amount * fix: removed formatted text usage * fix: removed incorrect round off * fix: sunc effective_rate calculation b/w FE & BE (#5910) * fixed order table row spacing (#5900) * fixed post ad button (#5912) * farrah/ update received amount if rate has changed (#5911) * fixed received amount when rate has changed * refactor code * formatted received amount (#5913) * farrah/ fixed input amount validation on buy/sell form (#5928) * fixed input amount validation * refactor code * disabled edit button for temporary banned users (#5926) * Remove duplicate setRemount entry * farrah/ fixed overlapping status in order page (#5950) * fixed overlapping status in order page * refactor code * farrah/ fixed buy and sell form spacing (#5899) * fixed buy and sell form spacing * fixed banner spacing * fixed banner spacing in mobile * fixed spacing on responsive Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> Co-authored-by: hirad-rewok <91878582+hirad-rewok@users.noreply.github.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> Co-authored-by: Maryia <87321516+maryia-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: Salar Hafezi <76559464+salarhfz-fs@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: njazuli-deriv <78890281+njazuli-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: Maryia Frantsava <88426229+maryiafrantsava-deriv@users.noreply.github.com> Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: vijayasree-deriv <98810931+vijayasree-deriv@users.noreply.github.com> Co-authored-by: george-usynin-deriv <89790856+george-usynin-deriv@users.noreply.github.com> Co-authored-by: Artsem Kavaleu <88381164+artsemkavaleu-deriv@users.noreply.github.com> Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: mitra-fs <64970259+mitra-fs@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: sara-fs <55442058+sara-fs@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Likhith Kolayari <likhith@deriv.com> Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6041) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * add minchunks count as 30 * webpack max chunks set as 10 * chunk strategy maxchunks updated to 10 * fixed exchange rate subscription error (#6046) * reverted commit * webpack start try7 * farrah/ fixed sell form validation (#6047) * fixed sell form validation * fixed buy/sell form validations * reset amount with empty field * maxchunks to 25 * webpack strategy update * webpack strategy update minSizeReduction * webpack chunk strategy optimization * re arrange and update configs Co-authored-by: ashrafali-v <ashrafalifrk@gmail.com> Co-authored-by: Farrah Mae Ochoa <82315152+farrah-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: Nijil Nirmal <62882794+nijil-binary@users.noreply.github.com> Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> Co-authored-by: hirad-rewok <91878582+hirad-rewok@users.noreply.github.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> Co-authored-by: Maryia <87321516+maryia-deriv@users.noreply.github.com> Co-authored-by: Salar Hafezi <76559464+salarhfz-fs@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: njazuli-deriv <78890281+njazuli-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: Maryia Frantsava <88426229+maryiafrantsava-deriv@users.noreply.github.com> Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: vijayasree-deriv <98810931+vijayasree-deriv@users.noreply.github.com> Co-authored-by: george-usynin-deriv <89790856+george-usynin-deriv@users.noreply.github.com> Co-authored-by: Artsem Kavaleu <88381164+artsemkavaleu-deriv@users.noreply.github.com> Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: mitra-fs <64970259+mitra-fs@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: sara-fs <55442058+sara-fs@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Likhith Kolayari <likhith@deriv.com> * MaryiaF/refactor: convert summary-card to ts (#6001) * MaryiaF/refactor: convert summary-card to ts * MaryiaF/refactor: contract-card-loading * MaryiaF/refactor: summary-card * MaryiaF/refactor: SummaryCard Co-authored-by: Yashim Wong <yashim@deriv.com> * fix(cashier): avoid screen blinking of restricted pages during the first download (#6039) * try submitting an id document instead message removed (#5968) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * likith/testing functionality of reset trading password modal (#5823) * feat: test cases on reset-trading password-modal * feat: Added test acses for reset Password modal * fix: renamed data-testid as per guide * fix: created a reusable function containing interaction block * feat: added test case to check navigation reroute * ref: refactored code * ref: renamed the testid * Vinu/Service worker caching (#5887) * service-worker-precaching in progress * added images in runtime caching * added core js file to runtime caching * number of images to be kept at runtime caching kept at 15 * adjusted path for runtimecaching * added html files to caching * removed all files from precaching other than css * fixed pathnames in config.js * added path to cache js-core file * implemented review comments for runtime caching * implementation on review comments in progress * added smartchart-files to precaching * Vinu/Test coverage sent email modal (#5463) * added test coverage for sent-email-modal * fixed linting issue in sent-email-modal * props change in sent-email-modal.spec * fixed linting issue in sent-email-modal.spec * rearragned the order of imports in sent-email-modal.spec * Trigger Build * Trigger Build * implemented review comments in sent-email-modal-spec file * fixed linting issue in sent-email-modal * implemented review comments for sent email modal test coverage * adjusted the sent-email-modal spec file as per new guidlines * implemented review comments in sent-email-modal spec.js file * gave appropriate name to data-testid in sent-email-modal * thisyahlen/ added icon for tether trc20 (#6060) * added icon for tether trc20 * icons revert * fix for test cases * changed tooltip for all the tether coins * fixed the deposit page error and the tusdt lowercase * translations: 📚 sync translations with crowdin (#6174) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * refactor(confirm component): refactor confirm component, fix tests * Hirad/ Finished MF urgent changes (#6159) * Finished MF urgent changes * Changed the styling of the condition * Jim / Publisher documentation (#6002) * docs: update README.md in publisher * docs: update README.md in publisher * docs: update README.md in publisher * Jim / Components documentation (#6008) * docs: update README.md, add description for valid script and replace lerna bootstrap * docs: remove empty docs * docs: update README.md * docs: update README * chore: fix end of note in README * docs: change note in components README.md * move PositionsDrawerCard from reports to components (#6049) * yauheni/#69488 changing language for closed market redirecting fix (#5999) * yauheni/#69488 changing language for closed market redirecting fix * func name fix * proptypes fix * interval delete fix, is_lang_change moved * store fix for language changing * several attempts of changing fix * closed word translation fix * logout active symbols loading fix * logout redirection to default markets fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Hirad/ Fixed the issue where landing company was shown for eu users who have… (#6078) * Fixed the issue where landing company was shown for eu users who have just financial options * Changed the naming convention of one_or_two_cards variable * made some changes to the naming according to the suggestions * Pulled from master Co-authored-by: Matin shafiei <matin@deriv.com> * Ameerul /Bug 64559 delete pm name handle for long value (#6107) * changed the margin-top for mobile view for buy-sell * merging upstream master * changed the payment methods list modal and wrapped the text for long bank names * hamid/overwrite-overflow-of-app-contents-in-cashier (#5915) * Overwrite overflow of app contents in cashier) * Update packages/cashier/src/containers/cashier/cashier.scss Co-authored-by: Nijil Nirmal <62882794+nijil-binary@users.noreply.github.com> * Update branch and Enhance style Co-authored-by: Nijil Nirmal <62882794+nijil-binary@users.noreply.github.com> * george / rm70573 / payment agent error visibility (#6023) * fix: pa error visibility * fix failed test * yauheni/70841 trackJS setUserId should be string (#6139) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Hirad/ Account switcher demo total asset change (#5622) * Account switcher total asset is shown correctly * Changed currency that is shown * fix--api call is put in useEffect now * Made the condition shorter * Removed the redundant parameter in the exchange_rates call * Pulled from master * Pulled from master * Added currency exchange to real account tab of account switcher * translations: 📚 sync translations with crowdin (#6199) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> Co-authored-by: suisin-deriv <103026762+suisin-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: amina-deriv <84661147+amina-deriv@users.noreply.github.com> Co-authored-by: Nijil Nirmal <62882794+nijil-binary@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: Hamid <hamid@re-work.dev> Co-authored-by: ashraf-deriv <97999159+ashraf-deriv@users.noreply.github.com> Co-authored-by: ashrafali-v <ashrafalifrk@gmail.com> Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> Co-authored-by: hirad-rewok <91878582+hirad-rewok@users.noreply.github.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> Co-authored-by: Maryia <87321516+maryia-deriv@users.noreply.github.com> Co-authored-by: Salar Hafezi <76559464+salarhfz-fs@users.noreply.github.com> Co-authored-by: njazuli-deriv <78890281+njazuli-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: Maryia Frantsava <88426229+maryiafrantsava-deriv@users.noreply.github.com> Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: vijayasree-deriv <98810931+vijayasree-deriv@users.noreply.github.com> Co-authored-by: george-usynin-deriv <89790856+george-usynin-deriv@users.noreply.github.com> Co-authored-by: Artsem Kavaleu <88381164+artsemkavaleu-deriv@users.noreply.github.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: mitra-fs <64970259+mitra-fs@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: sara-fs <55442058+sara-fs@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Likhith Kolayari <likhith@deriv.com> Co-authored-by: maryiafrantsava-binary <103181650+maryiafrantsava-binary@users.noreply.github.com> Co-authored-by: Yashim Wong <yashim@deriv.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: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: jim-deriv <104334373+jim-deriv@users.noreply.github.com> Co-authored-by: mahdiyeh-fs <82078941+mahdiyeh-fs@users.noreply.github.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> * Revert "george / fix conflicts in pa-redesign branch (#6188)" (#6212) This reverts commit 93f4389bb039eb2cb8f526e3613222b3dcebb0a6. * style(transfer-confirm): fix class name (#6213) * george / rm73705 / fix payment agent search last symbol remaining (#6234) * style(transfer-confirm): fix class name * fix(payment agent search): fix payment agent search last symbol remaining * george / fix failed test in payment-agent-container (#6376) * style(transfer-confirm): fix class name * fix(payment agent search): fix payment agent search last symbol remaining * test(payment agent container): fix failed test Co-authored-by: Nijil Nirmal <nijil@deriv.com> Co-authored-by: vinu-deriv <vinu@deriv.com> Co-authored-by: suisin-deriv <103026762+suisin-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: amina-deriv <84661147+amina-deriv@users.noreply.github.com> Co-authored-by: Nijil Nirmal <62882794+nijil-binary@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: Hamid <hamid@re-work.dev> Co-authored-by: ashraf-deriv <97999159+ashraf-deriv@users.noreply.github.com> Co-authored-by: ashrafali-v <ashrafalifrk@gmail.com> Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> Co-authored-by: hirad-rewok <91878582+hirad-rewok@users.noreply.github.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> Co-authored-by: Maryia <87321516+maryia-deriv@users.noreply.github.com> Co-authored-by: Salar Hafezi <76559464+salarhfz-fs@users.noreply.github.com> Co-authored-by: njazuli-deriv <78890281+njazuli-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-autho…
* NJ/Feat: Added product card component for Appstore (#5000) * Added product card component for Appstore * compress svg * fixed comments * bahar/Create wallet component appstore (#5002) * create_a_wallet_component * handle_wallet_selection * fix_merge_issue * responsive_added * extract_wallet_selection_to_external_component * refactor_style_vars * fix_review_issues * Bala/Setup storybook in appstore and add Walletcard (#5072) * setup storybook * remove old appstore icons * update to storybook 6 * update to storybook 6 and add appstore wallet icons * add appstore payment icons * move wallet icons to appstore * change wallet icons path * fix svgs * advcash svg * update icon viewbox * chore: fix storybook build * feat: wallet card * revert appstore icon deletions * fix lint error * add tsx to root level * add svg to declarations * fix lint issues * add declarations file to tsconfig * update declarations * remove deriv-components from declarations * add ts-ignore * fix eslint error * ignore components import * NJ/feat : Appstore app card (#5083) * Appstore app card * added icons * compress svg * Appstore app card * added icons * compress svg * chore: change components package (#5084) * fix wallet checkmark circle (#5094) * fix checkmark circle * fix: sonarcloud issue * Bala/Skeleton card (#5105) * add skeleton card * fix wallet small & stories * svgo * Added fixes for appstore App-card (#5109) * appstore app-card storybook (#5112) * Bala/Remove unused code (#5126) * chore: remove unused files * move trading hub * fix trading-hub route * add authenticated flag * Bala/Choose product (#5128) * init choose product * add index file * revert changes * chore: add condition * Cards link (#5127) * added feature to link two cards app and wallet * code indentation * resolved circle-ci error * resolved circle-ci error * resolved circle-ci error * converted px value to rem in cards-link.scss * scss linting issue fix in cards-link.scss * changed the type of props in cards-link.tsx * resolved circle-ci error * bahar/create_fiat_currency_wallet_component (#5110) * create_fiat_currency_wallet_component * fiat_section_and_storrybook_added * wallet_card_components_added * fiat_payment_method_icons_added * made_some_refactor * remove_extra_added_icons * popover_added * Cfd account type description (#5154) * added component to display cfd account details * formatting issue fixed * refactored code for cfd account details card component * resovled circle ci issue for cfd account type details component * implemented review comments for cfd account description card * added margin to container of cfd-account-details * minor css fix * added all text insde <text> tag in cfd-account-type-details component * added au condition in cfd account type details component * implemented review comments for cfd account type details component * changed className as per bem guidlines in cfd-account-details component * bahar/Add an app component (#5150) * add_an_app_component * make_toggle_account_type_separate_component * NJ/Feat: Product card component (#5135) * feature product card modal * change the import call for productcard in choose product * added storybook for trade-type-card * removed fragment * Wallet description component (#5163) * wallet description component added * fixed css issues in wallet-description-component * fixed linting issue * changed the import path in wallet-description component * implemented review comments for wallet description component * resolved linting issue * Vinu/Wallet names from be (#5302) * made wallet names to be dynamic from backend * resolved linting issue * implemented review comments and also added wrapper component for create-wallet for storybook to work * fixed linting issue * minor fix in wallet-store onUnmount function * implemented the review comments in create-wallet * resolved linting issue * added all account types in wallet store * changed function name in wallet store * Fix appstore build (#5986) * chore: fix build #1 * chore: fix type props * Bala/Fix appstore storybook (#5994) * chore: fix build #1 * chore: fix type props * chore: downgrade package * Vinu/App wallet modal (#5276) * added wallet model from deriv ui to appstore * fixed linting error * changed name in app wallet modal * change in app-wallet-modal storybook * code reveiw implementation in progress for add-wallet-modal * implementation of review comments in progress * implemented review comments and moved app-wallet-modal to appstore * fixed linting issue * fixed circle-ci issue * fixed linting issue * changed pixcel unit to rem unit in app-wallet-modal.css * changes made to use dialog from deriv/ui in appstore * fix linting issue * trigger build * updated deriv-ui for appstore * Sync with latest master and cleanup (#6214) * Merge branch 'master' into appstore * chore: remove unused code * chore: remove unused mock package * chore: update deriv/ui package * chore: comment wallet test case * chore: update package * Revert "Sync with latest master and cleanup (#6214)" (#6218) This reverts commit 9ae77d47735c173129ce13e904aac26a68dcfdf4. * Sync with master (#6219) * chore: update charts (#6028) * Matin/ Hirad/ Amina/ Maryia-task_push_labuan_bvi_vanuatu (#5697) * Added add account buttons * Fixed add button issues * Added disabled * feat: sorry amina * Changed the condition of add account button * Added condition for add account * Renamed add account button and fixes its condition * Revert "feat: sorry amina" This reverts commit ca7bc6c330973d95fd836b6f0ac999341871e471. * Fixed the undefined issue in disabled cards * Fixed the issue of undefined data * Added condition for failed POI and POA * Maryia/Fix: for tests and add buttons (#15) * Maryia/fix for tests and account buttons * Fix: removed duplication for ModalCheckbox * poa_error_msg * Changed the conditions of POI and POA failed * Pulled from master * Added conditional modal button function * Maryia/fix: jurisdiction modal next button enabling (#16) * Maryia/fix: jurisdiction modal next buton enabling * refactoring * Fixed buttonText conditions * Chore: MT5 Trade Modal implementation * Maryia/used local state for setting selected card & updated flow (#17) * Maryia/used local state for setting selected card & updated flow * fix: for tests * Added the compare accounts add button integration * Pulled from master * Added box shadow hover to jurisdiction card * Chore: Account signup flow improvement * Chore: code cleanup * Fixed some of the stylings of MT5 cards * Fixed the mobile banner issue * Maryia/Fix: CFDPersonalDetails styles & logics + refactoring (#18) * Maryia/Fix: synthetic flow + refactoring * Maryia/Fix: CFDPersonalDetails styles + refactoring * Maryia/Fix: for Labuan footnote to not appear when pending status is visible * Chore: small bug fixes * Added three new conditions for modal footnote * Pulled from master * Maryia/fix: quick fix for failed & pending statuses (#19) * fix for pending statuses * showing status when the card is selected * quick fix for poi/poa failed statuses & footnotes * Maryia/used shortcode + updated mt5_new_account request & cfd personal account modal (#20) * Maryia/used shortcode + updated mt5_new_account request & cfd personal account modal * commented out personal details form tests temporarily * Revert "Maryia/used shortcode + updated mt5_new_account request & cfd personal account modal (#20)" (#21) This reverts commit 05bd322f35c328ee663d426379ecb88021a8fdda. * Maryia/used shortcode + updated mt5_new_account request (#23) * Maryia/using shortcode + mt5_new_account request + updated cfd personal account modal * commented out personal details form tests temporarily * revert personal details form * revert tests for cfd personal detail form * revert cfd personal details modal * revert prop types * prevent memory leak in cfd personal details modal * Chore: update jurisdiction cards style * Chore: Fixed bug on CFD card banners * Fixed poa failed and poi failed conditions * Changed is pending footnote condition * Maryia/fix: next button for failed+pending (#24) * Fixed the texts of jurisdiction cards * style fix for poi-poa * style fix for poi-poa * Added condition for Account added * maltainvest * Finished DXTrade styling * Pulled from main branch * Maryia/fix: state for failed+none (#25) * Maryia/fix: state for failed+none * getting settings in jurisdiction modal to check if the client has already submitted personal details * fix: statuses for failed + none * Fixes some styling issues * Fixed some stylings * Fixed paddings of verification statuses * Chore: Fix trade modal heading title * Fixes some of our issues * Maryia/fix: jurisdiction modal styles & open account request (financial flow check) (#26) * Maryia/fix: tnc agreement footnote * Maryia/fixed styles & added more data to open account request * fix: remove used classname * Chore: Fix logged out MT5 dashboard bug * Chore: Hide adding account from compare accounts modal when logged out * Chore: Huawei appgallery - CFD dashboard style updates * Chore: Huawei on mobile * Chore: Fix a tiny bug * Added seperator to the modal footer * Fixed console warning issues * Maryia/Merged from master & resolved conflicts + small style fix for dmt5 dashboard (#27) * Niloofar / Indicators documentation review (#5825) * indicators documentation review * resolved review comment Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * Niloofar / Trader documentation review (#5792) * edit some parts of trader docs * remove extra information from traders docs Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * shayan / cfd documentation updated (#5800) * docs/ cfd readme.md updated * Update README.md * docs/ Readme file updated * docs/ readme file updated * docs/ Update packages/cfd/README.md Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * docs/ Update packages/cfd/README.md Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * docs /Update packages/cfd/README.md Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * docs/ update readme file * doc/ updated readme file * doc/ updated readme file * doc/ updated readme file Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * yauheni / Notify users about sharing tokens with admin scope selected (#5741) * yauheni / Notify users about sharing tokens with admin scope selected, added note * tests fix * created token scope styling * deleted option test fix * token value fild markup * clipboard with warning dialog implemented * responsive version done, tests refactoring * dialog fix for admin scope * check commit after rebuild * css fixes, refactor after review * svg icon fill color fix * inline note fix * Delete package-lock.json * fix commit * fix * dots component placing fix * dialog fixes * api token tests fix * css fix for token table * review fixes * naming fix, close delete dialog timeout deleted * testcase fix * localize fix * admin note message change * copy token hover message fix * token alignment eye button fix * ok button capital letters fix * delete button hover fix, clipboard refactor Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * farrah/ fixed cfd lint errors (#5607) * ci/ exclude dist files from eslint scan * ci/ disable spaced-comment * ci/ exclude lib dir from eslint scan * fixed cfd eslint errors * renamed variables and fixed types * fixed missing return function * refactor code * fixed cleanup function * fixed invalid property document_file on submit Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> * yashim/feat: add TTI Measurement (#5764) * feat: add TTI Measurement * fix: security error * fix: add regex to fire only in specific domain * chore: remove console log * fix: remove TTI script. Offload to GTM * chore: revert gtm loading changes * translations: 📚 sync translations with crowdin (#5965) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * chore: removed unused prop from jurisdiction card * fix for dmt5 server maintenance & download center styles Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> Co-authored-by: Shayan Khaleghparast <100833613+iman-fs@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: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * eu-cfd-modal * Fixed compare accounts modal account creation issues * Added financial in front of the malatinvest for Adding account * Maryia/updated t&c links and improved jurisdiction modal (#29) * modal * modal- style * add account fix * Chore: hide compare accounts button * Chore: Display all MT5 accounts created * vanuatu-only-onfido * Fixed the issue where modal goes to the left * banner condition changes * Fixed the issue where selected card was showing wrong data * Pulled from main branch * Fixed the real mt5 account top up button issue * onfido failed * Fixed existing financial_stp account not being shown * real-account-under-virtual deriv * Increased the delay before closing and opening of modals * Fixed the sliding of the compare accounts modal * Account transfer will show the landing company to the end of accounts name * Added some more timeout function to prevent sliding modal to the left * Added timeout for all of toggle modals * Fixed POI acknowledged issue * Fixed can have more real synthetic mt5 condition to hide add account button if we do not have any more accounts to create * notifications * remove duplicate notifications * Changed the styling of disabled account * Made banners text capitalization exactly like the design * Account switcher add button won't show up when we cannot create anymore accounts * Maryia/fix: showing only available accounts in CompareAccountsModal (#30) * Maryia/fix: showing only available accounts in CompareAccountsModal * fix: getting complete content for all available accounts + removed unused has_cfd_account * Maryia/finalized CompareAccountsModal table * Merge branch master of github.com:binary-com/deriv-app into task_push_labuan_bvi_vanuatu * cfd-personal-details * Chore: JY's requests reflected. * Maryia/Refactor: compare account modal content + improvements (#32) * Maryia/refactoring compare accounts modal content * added a case for 0 financial or 0 synthetic accounts count * improved synthetic & financial header style loop * Chore: cfd card height update * svg routing * Added new conditions for add account button * Fixed the capital letter demonstration of SVG and BVI banner texts * Fixed the TTradingPlatfromAvailabeAccount Type * Fixed CodeCov error * svg routing * Fixed labuan account creation bug * Fixed Code Cov errors * Fixed demo account dashboard error and hid the add button for it * compare account fix * compare account fix * poi-poa-mobile-style-fixes * Changed over header color * Fixed the issue where server name was shown for BVI, Labuan and ... * Fixed compare accounts account creation flow * Added new styling for demo accounts * poa-fix * Added login id to demo accounts * Fixed the account transfer text upper and lower cases * account swtcher fix * region in account switcher * overheader change in jurisdiction * Fixed eu password manager modal header title * Fixed eu user cfd icon color and trading account label * Fixed the add account buttun issue where having more than one account with same landing_company_shortcode hides the button * Fixed the redirected account to reset password errors * Fixed demo accounts backward compatibility * Fixed EU demo account text in account switcher * Chore: Resolve SonarCloud bug * server name for account switcher * server name for account switcher * Fixed account switcher bug which shows add button even when we have accounts created * revert-last commit * Fixed the issue where add button in account switcher was shown even after having all of the accounts created * Chore: login id padding issues fixed for Demo * Chore: Small padding update for Labuan clients * Fixed derivx account name in cashier transfer * tnc fix * Fixed POIPOA submited text * remove equities * Fixed the checkbox issue in mobile mode * Fixed account switcher issues * labuan -compare-accounts-modal-content-update * Fixed the font size of Proof of identity and address are required in verification statuses * Changed the straight through processing text style * Fixed account switcher bug * fix in tnc checkbox * Consolidated the responsive design * separator line in demo account switcher * Maryia/Fixed modals sliding to the left using styles * compare modal * Fixed the issue of account switcher for backward compatibility * Fixed the mt5-trade-modal title for eu users * Chore: added tooltip info to jurisdiction modal for Financial Labuan account * fix loading * Fixed the grammatical issue of MT5 server maintenance message * Fixed mt5 trade modal header title for eu accounts * compare account fix * compare accout fix * Added malta invest footnote * Fixed the text color of one of jurisdiction footnotes * Maryia/fix: add buttons + accounts switcher + only svg available to add in demo (#35) * Maryia/fix: add buttons + accounts switcher + only svg available for demo * showing company shortcode for added demo accounts * show company shortcode in demo only for financial labuan * fix: setting company code for demo account opening request * fix for tests * Fixed the issue where jurisdiction cards were linked in responsive design * Fixed sonar cloud issue * Sonar cloud fix * Fixed sonar cloud issue * Sonar cloud issue * Maryia/fix: sliding trade modal & compare accounts modal (#36) * Sonar cloud issue * Checking sonar cloud issue * Fixed MT5 success dialog icon * Maryia/fix add buttons for multiple real accounts * Fixed server tag for account switcher * Maryia/fix: CompareAccountsModal Add button to open real account needed modal (#37) * Maryia/fix showing real acc needed when adding acc from compare acc modal * fixed compare accounts modal for logged out clients * removed unused loading state from poi/poa * vanuatu flow from compare accounts modal * Maryia/fix: console TS warning for exit_classname type * Fix: Display popovers on top of Trade modal * Fixed the issue where server name was shown for bvi accounts as well * Maryia/fix: setting account type in compare accounts modal * next button logic * vanuatu flow * Fix: title update and css changes * app crash issue * vanuatu banner and next button labels * Fixed the issue where server banner was shown even for accounts with 1 synthetic svg account in account switcher * onfido blank screen check * Maryia/fix: avoided state update on unmounted CFDFinancialStpRealAccountSignup + removed unused setSubmitting * fix for loading * mt5 add g * Maryia/fix: Trade modal for demo to display only STP shortcode * update branch with master * typo fix * checkbox missing issue * maltainvest * Maryia/fix: responsive CompareAccountsModal * code cleanup in packages/account/src/Components/poi-poa-docs-submitted Co-authored-by: hirad-rework <hirad@re-work.dev> Co-authored-by: yashim-deriv <yashim@deriv.com> Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-binary@users.noreply.github.com> Co-authored-by: Matin-binary <matin@deriv.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: Shayan Khaleghparast <100833613+iman-fs@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: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> 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: maryia-binary <maryia@binary.com> Co-authored-by: Matin shafiei <matin@binary.com> * Updated MT5 windows app url (#6055) * translations: 📚 sync translations with crowdin (#6065) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * investor (#6066) * translations: 📚 sync translations with crowdin (#6067) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Use context instead repository defined environment variables (#6070) * Jim / Resolve Eslint errors in components package (#5943) * ci/ exclude dist files from eslint scan * ci/ disable spaced-comment * ci/ exclude lib dir from eslint scan * chore: add auto-generated icon.js file to packages/components/.eslintignore * fix: resolve eslint errors * Resolve conflicts * fix: eslint error fix * chore: add support for webpack aliases * refactor: change relative paths to aliases * refactor: add new line * chore: remove changes for file outside components package Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> * Shayan / 65941 / Fixed eslint errors and warnings for core workspace (#5902) * ci/ exclude dist files from eslint scan * ci/ disable spaced-comment * ci/ exclude lib dir from eslint scan * unnecessary escape character warning fixed * removed .js on file importing * unexpected semicolon error fixed * fixed inline export error in Redirect * working on unexpected semicolon error in progress * fix/ fixed some eslint warning related to PropTypes * fix/ fixed eslint warnings * fix/ all eslint warnings fixed * refactor/ changed settings_extension type * fix/ fixed some errors that caused console errors * refactor / revert commenting out key in propTypes * build / extend added to core package.json * fix/ updated hasNoAvailableCrypto type * fix/ fixed some new eslint errors Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: Farrah Mae Ochoa <farrah@deriv.com> * review core readme && core docs (#5927) * review core readme && core docs * review core readme && core docs * core docs review * fix cname description * fix core-readme * add some points * add some points * add some points * add some points * fix Folder Structure Co-authored-by: Yashim Wong <yashim@deriv.com> * Niloofar/ Translation documentation update (#6026) * translation documentation review * resolve pr comments * docs: add more details to translation's documentation Co-authored-by: Yashim Wong <yashim@deriv.com> * Termsandconditionslink (#5873) * add terms and conditions link to the error message * changed the name and added jsx * mobile view fix * added full stop Co-authored-by: Thisyahlen <thisyahlen@Thisyahlens-MacBook-Pro.local> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> * yashim/chore: upgrade onfido (#5653) * chore: upgrade onfido package * chore: upgrade onfido + hoist changes to package lock * chore: exact versioning. remove package lock * chore: update main package lock * feat: bump onfido packages * chore: update package lock * style(payment agent transfer): change the width of the submit button in responsive view (#6043) * shayan / 67210/ p2p documentation updated (#5829) * docs/ updated readme for p2p * docs/ readme file updated * docs/ readme updated * docs/ readme updated * docs / updated readme file * docx/ update readme * docs/ updated readme file * Shayan/69364/fix eslint errors for p2p (#5942) * fix/ fixed some warnings and errors * fix/ fixed some eslint errors * fix / all eslint errors e=returned by test:eslint fixed * fix/ disabled eslint for jest expect().to.be.empty * fix/ removed unnecessary lines * fix/ disable eslint for useEffect empty dependency list * fix/ changed function name * Update packages/p2p/src/components/buy-sell/filter-modal/filter-modal.jsx Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * fix / review fixes Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * fixed component eslint errors (#6088) * translations: 📚 sync translations with crowdin (#6089) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * trade-modal-fix (#6090) * translations: 📚 sync translations with crowdin (#6091) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * ci/ enable eslint on ts files globally (#6045) * translations: 📚 sync translations with crowdin (#6105) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Convert string into integer (#6101) * Maryia/fix: eliminated DataListRow infinite update + console warning (#6096) * fixed trackjs connection error (#6022) * Added scroll on the y axis for mt5-trade-modal (#6102) * Farzin/72134/Spacing is less comparing to design in DMT5 account creation page (#6072) * fix(cfd): :lipstick: fix DMT5 account creation footer spacing issue on mobile * style(cfd): :lipstick: use `px` instead of `rem` for `box-shadow` * fixed typo error in price rate validation message (#6057) * george / rm71464 / align api token (#6056) * style(api token): align api token * style(api token): align rows in api token details * added space between the buttons (#6053) * fix profit_loss color in profit table of reports (#6050) * Make cashier-onboarding-detail card full-width (#6033) * Message validation first name (#6051) * Regex edited for validLetterSymbol * Update Regex Rules * Update REGX for address and phone * Update Regex for phone number * Mahdiyeh/ Fix: show barrier price when hover on open positions cards (#6025) * show barrier price when hover on open positions cards * pass symbol as a props instead of getting from localStorage * thisyahlen/changed expiry box and tooltip date format (#6052) * changed expiry box and tooltip date format * fixed expiry tooltip for mobile * changed text for pop up message Co-authored-by: Yashim Wong <yashim@deriv.com> * fix: notification counter style (#5925) * Akmal / update: Add document upload for Nigerian clients (#4198) * Static navigation for unsupported countries * Fix mobile for icon uploads * WIP separating components * WIP separating components * wipe: add steps * wipe: add steps * wip: add upload documents * wip: fix ui * wip: fix ui * wip: add api * wip: add api * wip: add manual upload * wip; add new design * wip: add new filedrop design * wip: add validation for files * wip: add selfie step * add error handling * update: add lifetime_valid * remove extra files * fix: optimize svgs * fix: add localize, use classNames instead of cn * fix: add asterisk to mandatory fields, fix font color, fix preview image glitch * fix: don't accept less that 6 month for expiry date * Add back button icon * Update text content * Update nimc UI * Update nimc styles * Fix next/back buttons logic * Fix websocket unresolved import * Fix POA upload failure * Fix next button issue * Update messages * Fix POI uploaded nessage * Fix document_id, document_type and lifetime_valid * test * temp commit * Temp commit * Fix nigerian onfido flow * Fix issues * Temp commit * Merge latest * Merge unsupported * Add semicolon * Add console logs * Fix formatting * Update pre-commit * Update idv.jsx * Update constants.js * Update proof-of-identity-container.jsx * Fix import paths * Delete old test * Add continue trading feature * Remove unused properties * Remove extra function * Empty-Commit * Fix cfd poi issues * Remove no longer valid test case * Fix next button state behavior * Merge with master * Change message to longer timeframe * Prioritise pending status from BO * Fix selfie upload issue after response error * Fix infinite uploading for files * Fix merge conflicts * Remove old test cases Co-authored-by: Mohammadreza Ghorbani <reza@firstsource.email> Co-authored-by: Amir Ghadimi <amir.ghadimi@firstsource.tech> Co-authored-by: Yashim Wong <yashim@deriv.com> * translations: 📚 sync translations with crowdin (#6130) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6131) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6132) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6133) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * fixed town/city validation (#6134) * Suisin/Update validation rules (#6145) * update letter symbol rules * new rulels * Update declarative-validation-rules.js * Suisin/Renew validation rules (#6147) * update letter symbol rules * new rulels * Updated Rules * edited rules * Update rules to accept multiple space * translations: 📚 sync translations with crowdin (#6158) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * remove personal-details-step-from-financial-svg (#6135) * TS migration of cashier UI components (#5947) * added ts related change required for migrating all components (#5760) * ts-migration-crypto-fiat-converter (#5796) * Trigger build * Update package-lock * ts-migration-cashier-notifications (#5765) * bahar/funds_protection_component-ts-migration (#5756) * funds_protection_component-ts-migration * remove_extra_type_file * fix_merge_issue * hamid/migrate-transfer-confirm-to-ts (#5815) * Migrate TransferConfirm to TS * Rename component in test file * Replace Confirm with TransferConfirm in PAs * Enhance Tests * ts-migration-page-404 (#5766) * Vinu/converted percentage-selector component into typescript (#5785) * converted percentage-selector component into typescript * changed the name of test_ids in percentage-selector spec file as per new guidlines * updated with latest upstream branch * added reactMouse event in props.types.ts * Vinu/migrated recent-transaction component to typescript (#5791) * migrated recent-transaction component to typescript * fixed Rootsore path in recent-transaction * tsconfig.json change in types path * ts-migration-verification-email (#5769) * bahar/Ts migration no balance (#5774) * ts-migration-no-balance * fix_merge_issue * Vinu/migrating cashier-container into ts (#5780) * migrting cashier-container into ts WIP * added type in virtual.tsx * changed test-ids in cashier-container * updated the branch with latest upstream branch * fixed Rootsore path in cashier-container * tsconfig.json change in types path * Vinu/Ts cashier error dialog (#5820) * migrated error-dialog to typescript * removed proptypes from error-dialog * added appropriate types to message variable in error-dialog * updated code with latest upstream branch * fixed type of rootstore in error-dialog * fixed Rootsore path in error dialog * added type for ReactElement in props.types.ts cashier * Vinu/migration of crypto-transaction-history component into typescript (#5834) * migration of crypto-transaction-history component into typescript * Trigger Build * Trigger Build * fixed Rootstore path in crypto-transactions-history * added type for crypto-transaction-details * added ReactMouseEvent in prop.types * added data-testid's in crypto-transaction-renderer component * Migrate CashierLocked to TS (#5959) * Fix security hotspot reported by sonarcloud Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: Hamid <hamid@re-work.dev> * limit the number of chunks creating by webpack (#6040) * limit the number of chunks creating by webpack * webpack chunk strategy try 2 * webpack optmzn try 3 * add minchunks count as 30 * webpack max chunks set as 10 * chunk strategy maxchunks updated to 10 * webpack strat minsize rule * webpack strat update try 5 * webpack strat update try6 * Revert "MaryiaF/fix: P/L is not getting updated when a contract is terminated… (#6024)" (#6034) This reverts commit ba506880a588f34b911c9acf85829975b1c48f57. * translations: 📚 sync translations with crowdin (#6037) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * p2p/Floating rate feature (#5494) * Merge branch 'binary-com:master' into floating_rate (#5080) * Nijil / DBot - Add multipliers (#4172) * Retrigger vercel deployment * Init dbot multiplier * Fix es-lint issues * Add contract update dialog validations * logic added to hasAllRequiredBlocks for multipliers * Fix es-lint errors * Update stop loss block description and label * Filter out multipliers in quick-strategy * Fix incorrect rendering of duration/multiplier blocks on workspace when they're dragged out from toolbox * Fix typos * Add missing proptypes and other minor refactors * Fix minor issues + logic * Fix: trade option block not changing according to the selected trade type once it is dragged to workspace first and then plugged to the trade parameters block * Fix: Disable trade option block when plugged inside trade parameters * Remove connection to next statement in trade_defintion_restartonerror block * Make multiplier_stop_loss and multiplier_take_profit independant blocks + other UX improvement Description \n1.Make multiplier_stop_loss and multiplier_take_profit input field shadow blocks. \n2. Add check such that duplicate multiplier_take_profit and multiplier_stop_loss cannot be added to trade_definition_multiplier block. \n3.Show amount limits in trade_definition_multiplier block. * Cleanup workspace when switching between multiplier and other trade options * Remove extensice validation for multiplier_stop_loss block * Show dialog for multiplier contract on stop button click + minor cleanups * Update stop multiplier dialog content * Update stop multiplier dialog content and button actions * Minor bug fix * Fix stop multiplier dialog buttons styling * fix: multiplier contract not bought even after disabling TP/SL block inside multiiplier block * Disable stray blocks and their optional children recursively * fix: recover all pending transactions on page refresh or if client left page mid-contract * Restrict TP/SL blocks to multiplier block + add close button logic for dialog component * Fix profit not showing when it's zero * Add condition for restricted blocks to enable/disable stack option in context menu * Optimised proposal_open_contract call on mount of transaction tab * fix es-lint error * Update logic for recovering open contracts * Fix no-unused-vars error * Refactor code for readability * Refactor code for readability * Add logic to handle action of reset button in toolbar * Remove condition where it enabled the button in run panel while the contract is still closing * Fix default-case expected test error * Add note for multiplier block * Add condition to disable run panel button when multiplier contract is closing * Fix issue where connectWithContractUpdate tried to destructure undefined at first render * Add Learn more help content for multiplier trade option block * Minor change in toggle-card-dialog.jsx file * Refractored help-content from bot-skeleton to bot-web-ui package and updated help content for multiplier trade option block * Fix missing key prop error * Minor change in fix where connectWithContractUpdate tried to destructure undefined * Show banner for bot MF Real & VRTC Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> * Hirad/Cfd reset password modal js to ts (#4706) * Changed cfd-reset-password-modal container from js to ts * fix--Auto styling is done on the components * fix--Separated types from component * fix--Auto styling is done on the components * fix--Added a separate type for errors and Changed the type of current_list * Auto styling is done on the components * fix--Used Record utility type to improve readability * fix--Removed redundant imports and duplicate types * Pulled the latest changes from master * fix--Replaced ReactElement with ReactNode * Pulled from master * Made some changes to pass the tests * fix--Changed ReactNode to ReactElement to pass the tests * fix--Shortened one of the types * Fixed the conflicts Co-authored-by: Matin shafiei <matin@binary.com> * Chore: Added NIN option in IDV dropdown for ng clients (#4970) * fix: payment info issue (#4978) Co-authored-by: Matin shafiei <matin@binary.com> * Bala/Cleanup dashboard (#4967) * refactor: change folder name to appstore * chore: cleanup dashboard svgs * refactor: rename to appstore * remove separate build for dashboard * refactor: rename to appstore * cleanup build * remove appstore assets * fix: api-types auto generation * chore: cleanup dashboard * chore: cleanup appstore build * chore: fix appstore main file path * chore: use consistent configs * chore: refactor store usage to be consistent * chore: cleanup dist and routes * chore: remove old routes config * cleanup routes config * setup trading-hub path * cleanup asset_path * cleanup redirects * fix ts lint issues * fix lint issues * fix lint issue * fix test issues * update tsconfig path * update codeowners * chore: added a space * Update README.md Co-authored-by: Matin shafiei <matin@binary.com> * Maryia/TrackJS_Avoiding_Pushwoosh_Failed_to_fetch_error (#4894) * Maryia/Checking network status before initializing Pushwoosh * Maryia/refactoring Co-authored-by: Matin shafiei <matin@binary.com> * translations: 📚 sync translations with crowdin (#4987) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * salar / Hotfix/multiplier eu (#4989) * Add helper function for EU countries * Show digital options banner to VRTC-only EU clients * Add comment to remove duplicate code * Fix: apply more compliance conditions * Fix issue for EU residence * Apply prettier * Fix mobx issue for residence * Fix: prevent calls on undefined * Fix: check for blockly div first * Apply prettier * export_components_which_needed_to_be_used_in_app_store (#4972) * refactor_payment_agent_component_for_app_store (#4968) * translations: 📚 sync translations with crowdin (#5005) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * refactor: investor password (#4992) * Nuri/Refactor: Refactor compare account (#4969) * refactor compare account * retrigger circleci * retrigger deployment * removed unused text * likhith/OrderConfirmCompleted error status displayed on slow n/w (#4832) * Resolved: #56123 - OrderConfirmCompleted error status displayed on slow n/w * Refactored code * Fixed lint errors * implemented review comment * Resolved eslint issues * Resolved Console.log error * Added comments to changes * Resolved lint errors * Removed unwanted component * fix storybook build (#4997) * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function (#4892) * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function * Maryia/Fix for styles of POI & POA steps in Settings and CFD modals (#4761) * Maryia/fixed styles of poa upload block * Maryia/fixed cfd poa modal for responsive mode * Maryia/fix for POI step style in CFD modal * Maryia/fixed style of upload criteria in CFD modal POA step * Maryia/refactoring as per deriv app code standard * Maryia/replaced px with rem * Maryia/fix for the upload box style requiring nesting inside list * Maryia/fixed POI styles * Hirad/Cfd dashboard container JS to TS (#4941) * Changed cfd-dashboard container from javascript to typescript * fix--Fixed the default export of the cfd-dashboard * Pulled from master * fix--Invisible tab menu should be fixed * Auto styling is done * IDV notification changes and refactoring (#5001) * Akmal / Add trustpilot notification (#4974) * Add trustpilot notification * Fix formatting * Add undefined check * Vijayasree/Manage Account modal from Cashier Onboarding links are broken on iphoneSE (#4948) * Manage Account modal from Cashier Onboarding links are broken on iphone SE * Manage Account modal from Cashier Onboarding links are broken on iphone SE * Manage Account modal from Cashier Onboarding links are broken on iphoneSE * Update account-wizard.scss Co-authored-by: Matin shafiei <matin@binary.com> * likhith/Added jest config and test cases for App-Content component (#4876) * Added jest config and test cases for App-Content component * Added test cases for App Content component * Fixed lint errors * Removed lint errors and configured webpack * Reordered webpack extension array * Implemented review comments * implemented review comments * george / added test for "PaymentAgentList" component (#4825) * added test for "PaymentAgentList" component * fixed a spelling error * refactored code, changed query method * code refactoring * george / added tests for OnRampProviderCard (#4880) * added tests for OnRampProviderCard * code refactoring (add data-testid into Icon component) * naming refactoring data-testid * naming refactoring * add new prop (data_testid) to Icon component * code refactoring using icon prop data_testid * add prop types for data_testid * likhith/Removed unused functions from Cashier container and added test cases (#4821) * likhith/added testcases to cashier-container * added loader check test case * Variable change * Fixed variable scoping * Refactored code inline with naming conventions * Removed code smells * Improved code visibility * Removed unused functionality in CashierComponent * Removed unused imports * Removed unused property and improved test cases * modified input data * Incorporated review comments * Incorporated review comments * Added test cases to order and order-table (#4916) * fix test cases because of refactoring the component (#5029) * Nijil/Pass correct value to SelectNative value prop from PA dropdown (#5034) * fix: pass correct value to SelectNative value prop * minor refactor * translations: 📚 sync translations with crowdin (#5039) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * MaryiaF/fix: bold the menu option when the user has gone by the child… (#4965) * MaryiaF/fix: bold the menu option when the user has gone by the child menu items and then navigated one of them to the corresponding page * MaryiaF/refactor: solution with switching to the bold menu item * MaryiaF/chore: revert intent * MaryiaF/refactor: use Text component instead of spane in toggle-menu-drawer file * MaryiaF/refactor: remove unuseful style and change import * Merge branch 'master' of github.com:binary-com/deriv-app into 57685_2 * MaryiaF/fix: all the sub menus are not supposed to be in bold in first visit, 1 of the sub menu should be bold during the visit * MaryiaF/fix: condition when the menu item should be bold * MaryiaF/fix: remove console.log * Revert "Merge branch 'master' of github.com:binary-com/deriv-app into 57685_2" This reverts commit 2c19bed858d09d2dee7b4ffb939f80617a91972e. Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * <SearchBox /> test coverage (#4900) Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Artsem / <Verification /> test coverage (#4890) * <Verification /> test coverage * remove redundant import * fix testid naming * fix testid and elements naming * remove redundant mockProps() Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test_coverage_for_poi-verified_component_in_account_package (#5006) * poi-verified-spec * poi-verified-spec Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test_coverage_for_poa_unverified_component_in_account_package (#4993) * unverified-spec * poa-unverified Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test coverage for poa-submitted (#4990) * test_coverage_for_poa_submitted * fix Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * george / test coverage for "recent transaction" component (#4838) * added tests for RecentTransaction component * fixed condition for cashier transaction icon * removed code duplication * refactored code * code refactoring (add data-testid into Item component) * code refactoring * naming refactoring data-testid * naming refactoring * add new prop (data_testid) to Icon component * code refactoring using icon prop data_testid * add prop types for data_testid Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#5048) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * update branch with master (#5010) * Maryia/Set notifications together with each handling of notifications (#4958) * Maryia/Set notifications before each handling of notifications * Maryia/style fix to fit in long FR, ES & PT text on the notification button * Fix design for DMT5 investor password reset modal (#4942) * Ako/ Codecov integration (#5053) * build/ add test:ci script to run tests in the ci with different config * ci/ add codecov github action * ci/ workflow update * ci/ update coverage path * ci/ get coverage over all of the files * ci/ get coverage on pull request * Revert "build/ add test:ci script to run tests in the ci with different config" This reverts commit 2771958602f5af3048c334e28868d05f9ff4f6cd. * doc/ add codecov badge to readme file * Vijayasree/Crypto icon in withdrawal page is not shown for specific device IOS (#4976) * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * re-trigger build * re-trigger build * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Sara / Fixed issue with error handling (#4966) * Fixed issue with error handling * Removed extra code * fixed issue with aggregation methods * MaryiaF/chore: remove consoles (#5059) * Matin/Add: TS files for translation extraction (#5073) * remove appstore package from translations (#5075) Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> Co-authored-by: hirad-rewok <91878582+hirad-rewok@users.noreply.github.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> Co-authored-by: Maryia <87321516+maryia-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: Salar Hafezi <76559464+salarhfz-fs@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: njazuli-deriv <78890281+njazuli-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: Maryia Frantsava <88426229+maryiafrantsava-deriv@users.noreply.github.com> Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: vijayasree-deriv <98810931+vijayasree-deriv@users.noreply.github.com> Co-authored-by: george-usynin-deriv <89790856+george-usynin-deriv@users.noreply.github.com> Co-authored-by: Artsem Kavaleu <88381164+artsemkavaleu-deriv@users.noreply.github.com> Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: mitra-fs <64970259+mitra-fs@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: sara-fs <55442058+sara-fs@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> * Revert "Merge branch 'binary-com:master' into floating_rate (#5080)" (#5081) This reverts commit 725636b267eb434a278976b67c3461ccc2130338. * Artsem / Floating rate banner and warning for existing ads (#4975) * Add floating rate enable banner and warning icon * remove extra function call * remove deprecated conditions * remove conditional render, add todo comment * fix Localize settings * likhith/Created Floating rate custom component (#4971) * Created Floating rate custom component * Removed hardcoded values * Incorporated review comments * Reordered functions as per style guide * Replaced Css units * Incorporated review comments * Empty commit * Minor bug fix * Renamed functions appropriately * Incorporated review comments * Fetching floating rate status from const * Resolved lint errors * Incorporated review comments * incoeporated review comments * Added syles as per UX * Added a comment to explian props * Changed CSS as per BEM standard * Changes naming conventions * Implemented review comments * Refactored code as per comments * Fixed eslint errors * Reverted the changes made * Minor bug fixes * Added currecnt_focus prop * likhith/create floating-rate ad (#4964) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Minor bug fixes * Minor bug fixes * removed console logs * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Incorporated review comments * Reduced spacing between the banner * Formatted user input * Fixed failing test case * Added comments to explain functionality * Fetching date and time from server * Renamed function * Refactored code * Added review comments * Resolved decimal round off issue * Fixed Rounding off of decimal digits * Regex change in psoitive integer check * Resolved issue with round off to decimal point * Re-arranged imports * Fixed the testcase * Fixed floating_rate input check * Removed Math.sign * Reverted decimal change * Implemented round of logic for decimal places * refactor: Renamed variables * fix: Round off issue in Create Ad summary * fix: resolved decimal point to 2 digits * Resolved lint errors * fix: Renamed the function * chore: Ad display table rate will be calculated from * fix: test color in dark theme * fix: label changes b/w fixed and floating * fix: invoking api call to fetch the changes * fix: rate synced b/w myads and buy/sell * fix: range offset validation * fix: modified rate property in edit ads * fix: Float rate input suffix * fix: code formatted * fix: setting floating rate to 2 decimals on blur * fix: spacing issue with floating rate input * Trigger build * Trigger build * fix: removed unwanted padding * fix: added ellipse to fix over lapping * fix: removed disabling of floating rate field buttons * fix: resolved issue with error message * fix: Overlapping CSS issues in Mobile * fix: added missing background color for dark theme * fix: removed button highlight in mobile * fix: button higlight issue * fix: display of cursor pointer on scroll * fix: resolved issue with message * fix: Ad change warning message * fix: color for dark mode Co-authored-by: Likhith Kolayari <likhith@deriv.com> * fix: conflict message not updated * likhith/created edit my ad screen (#4988) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Implemented edit ads for floating rates * Inorporated review comment * minor bug fixes * Minor bug fixes * Minor bug fixes * removed console logs * Added rae_type prop * Incorporated API changes * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Added styles as per UX * Refactoring code * Css changes to summary component * Trigger Build * Minor bug fix in Create Ad form * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Migrated create ad comments to Edit ad * Resolved lint errors * Fixed lint issues * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Incorporated review comments * Reduced spacing between the banner * Formatted user input * Fixed failing test case * Added comments to explain functionality * Fetching date and time from server * Renamed function * Refactored code * Added review comments * Resolved decimal round off issue * Fixed Rounding off of decimal digits * Added test case for create ad * Regex change in psoitive integer check * Added test case to test form values * Resolved decimal round off issue * Added test acss to edit form * Resolved lint errors * Resolved issue with round off to decimal point * Re-arranged imports * Fixed the testcase * Removed unused imports * Fixed floating_rate input check * Removed Math.sign * Reverted decimal change * Implemented round of logic for decimal places * refactor: Renamed variables * refactor: Added fallback condition * fix: added a exchange rate fallback condition * fix: Round off issue in Create Ad summary * fix: resolved decimal point to 2 digits * Resolved lint errors * fix: Renamed the function * chore: Ad display table rate will be calculated from * fix: test color in dark theme * fix: label changes b/w fixed and floating * fix: invoking api call to fetch the changes * fix: rate synced b/w myads and buy/sell * fix: range offset validation * fix: modified rate property in edit ads * fix: Float rate input suffix * fix: code formatted * fix: setting floating rate to 2 decimals on blur * fix: spacing issue with floating rate input * Trigger build * Trigger build * fix: removed unwanted padding * fix: added ellipse to fix over lapping * incorporated changes * fix: removed disabling of floating rate field buttons * fix: resolved issue with error message * fix: Overlapping CSS issues in Mobile * fix: added missing background color for dark theme * fix: removed button highlight in mobile * fix: button higlight issue * fix: display of cursor pointer on scroll * fix: resolved issue with message * fix: modified display of summary in edit ad component * fix: removed spec code * fix: Removed test cases * chore: reverted old commit * feat: Added banner for switch rate * fix: Error message text * fix: incorporated review comments * fix: removed unwanted store condition and added subscription to exchange rates * fix: removed incorrect function call * fix: added a null check * fix: refactored code * ref: Added comments * ref: Refactored code for performance * ref: refactored code * ref: code refactor * ref: Incorporated review comments * Trigger Build * fix: removed fixed size * fix: resolved conflict * fix: moved functionality from component to store * fix: removed unnecessary commenting * ref: renamed cancel action functions * ref: refactored code for increated readability * feat: implemented a function for removing trailing zeros * ref: refactored the code in edit ad summary * fix: reverted decimal round off rules * fix: resolved issue with resetting selected Ad id * fix: switching ad types in edit * fix: issue with edit ad switch * fix: display rate change dialog even when ads are deactivated * fix: disabled activate ad when past date is passed * fix: displaying error message based on the required ad type * fix: banner glitch occurs when data loaded in chunks * fix: enable ads after switch update * fix: Form should not be checked for value change when ad switch is triggered * fix: test to incorporate sign * fix: implemented dynamic type for field in mobile * fix: added css to fix disable styling * fix: enforcing disable bg color for popover * fix: responsive view of switch ad modal * fix: added missing theme color for dark mode * fix: banner width consistancy * fix: incorporated touched state for Payment method Co-authored-by: Likhith Kolayari <likhith@deriv.com> * likhith/Feature buy sell confirmation (#5487) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Minor bug fixes * Minor bug fixes * removed console logs * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Incorporated review comments * Reduced spacing between t…
* Mahdiyeh/Trading hub dashboard (#6795) * NJ/Feat: Added product card component for Appstore (#5000) * Added product card component for Appstore * compress svg * fixed comments * bahar/Create wallet component appstore (#5002) * create_a_wallet_component * handle_wallet_selection * fix_merge_issue * responsive_added * extract_wallet_selection_to_external_component * refactor_style_vars * fix_review_issues * Bala/Setup storybook in appstore and add Walletcard (#5072) * setup storybook * remove old appstore icons * update to storybook 6 * update to storybook 6 and add appstore wallet icons * add appstore payment icons * move wallet icons to appstore * change wallet icons path * fix svgs * advcash svg * update icon viewbox * chore: fix storybook build * feat: wallet card * revert appstore icon deletions * fix lint error * add tsx to root level * add svg to declarations * fix lint issues * add declarations file to tsconfig * update declarations * remove deriv-components from declarations * add ts-ignore * fix eslint error * ignore components import * NJ/feat : Appstore app card (#5083) * Appstore app card * added icons * compress svg * Appstore app card * added icons * compress svg * chore: change components package (#5084) * fix wallet checkmark circle (#5094) * fix checkmark circle * fix: sonarcloud issue * Bala/Skeleton card (#5105) * add skeleton card * fix wallet small & stories * svgo * Added fixes for appstore App-card (#5109) * appstore app-card storybook (#5112) * Bala/Remove unused code (#5126) * chore: remove unused files * move trading hub * fix trading-hub route * add authenticated flag * Bala/Choose product (#5128) * init choose product * add index file * revert changes * chore: add condition * Cards link (#5127) * added feature to link two cards app and wallet * code indentation * resolved circle-ci error * resolved circle-ci error * resolved circle-ci error * converted px value to rem in cards-link.scss * scss linting issue fix in cards-link.scss * changed the type of props in cards-link.tsx * resolved circle-ci error * bahar/create_fiat_currency_wallet_component (#5110) * create_fiat_currency_wallet_component * fiat_section_and_storrybook_added * wallet_card_components_added * fiat_payment_method_icons_added * made_some_refactor * remove_extra_added_icons * popover_added * Cfd account type description (#5154) * added component to display cfd account details * formatting issue fixed * refactored code for cfd account details card component * resovled circle ci issue for cfd account type details component * implemented review comments for cfd account description card * added margin to container of cfd-account-details * minor css fix * added all text insde <text> tag in cfd-account-type-details component * added au condition in cfd account type details component * implemented review comments for cfd account type details component * changed className as per bem guidlines in cfd-account-details component * bahar/Add an app component (#5150) * add_an_app_component * make_toggle_account_type_separate_component * NJ/Feat: Product card component (#5135) * feature product card modal * change the import call for productcard in choose product * added storybook for trade-type-card * removed fragment * Wallet description component (#5163) * wallet description component added * fixed css issues in wallet-description-component * fixed linting issue * changed the import path in wallet-description component * implemented review comments for wallet description component * resolved linting issue * Vinu/Wallet names from be (#5302) * made wallet names to be dynamic from backend * resolved linting issue * implemented review comments and also added wrapper component for create-wallet for storybook to work * fixed linting issue * minor fix in wallet-store onUnmount function * implemented the review comments in create-wallet * resolved linting issue * added all account types in wallet store * changed function name in wallet store * Fix appstore build (#5986) * chore: fix build #1 * chore: fix type props * Bala/Fix appstore storybook (#5994) * chore: fix build #1 * chore: fix type props * chore: downgrade package * Vinu/App wallet modal (#5276) * added wallet model from deriv ui to appstore * fixed linting error * changed name in app wallet modal * change in app-wallet-modal storybook * code reveiw implementation in progress for add-wallet-modal * implementation of review comments in progress * implemented review comments and moved app-wallet-modal to appstore * fixed linting issue * fixed circle-ci issue * fixed linting issue * changed pixcel unit to rem unit in app-wallet-modal.css * changes made to use dialog from deriv/ui in appstore * fix linting issue * trigger build * updated deriv-ui for appstore * Sync with latest master and cleanup (#6214) * Merge branch 'master' into appstore * chore: remove unused code * chore: remove unused mock package * chore: update deriv/ui package * chore: comment wallet test case * chore: update package * Revert "Sync with latest master and cleanup (#6214)" (#6218) This reverts commit 9ae77d47735c173129ce13e904aac26a68dcfdf4. * Sync with master (#6219) * chore: update charts (#6028) * Matin/ Hirad/ Amina/ Maryia-task_push_labuan_bvi_vanuatu (#5697) * Added add account buttons * Fixed add button issues * Added disabled * feat: sorry amina * Changed the condition of add account button * Added condition for add account * Renamed add account button and fixes its condition * Revert "feat: sorry amina" This reverts commit ca7bc6c330973d95fd836b6f0ac999341871e471. * Fixed the undefined issue in disabled cards * Fixed the issue of undefined data * Added condition for failed POI and POA * Maryia/Fix: for tests and add buttons (#15) * Maryia/fix for tests and account buttons * Fix: removed duplication for ModalCheckbox * poa_error_msg * Changed the conditions of POI and POA failed * Pulled from master * Added conditional modal button function * Maryia/fix: jurisdiction modal next button enabling (#16) * Maryia/fix: jurisdiction modal next buton enabling * refactoring * Fixed buttonText conditions * Chore: MT5 Trade Modal implementation * Maryia/used local state for setting selected card & updated flow (#17) * Maryia/used local state for setting selected card & updated flow * fix: for tests * Added the compare accounts add button integration * Pulled from master * Added box shadow hover to jurisdiction card * Chore: Account signup flow improvement * Chore: code cleanup * Fixed some of the stylings of MT5 cards * Fixed the mobile banner issue * Maryia/Fix: CFDPersonalDetails styles & logics + refactoring (#18) * Maryia/Fix: synthetic flow + refactoring * Maryia/Fix: CFDPersonalDetails styles + refactoring * Maryia/Fix: for Labuan footnote to not appear when pending status is visible * Chore: small bug fixes * Added three new conditions for modal footnote * Pulled from master * Maryia/fix: quick fix for failed & pending statuses (#19) * fix for pending statuses * showing status when the card is selected * quick fix for poi/poa failed statuses & footnotes * Maryia/used shortcode + updated mt5_new_account request & cfd personal account modal (#20) * Maryia/used shortcode + updated mt5_new_account request & cfd personal account modal * commented out personal details form tests temporarily * Revert "Maryia/used shortcode + updated mt5_new_account request & cfd personal account modal (#20)" (#21) This reverts commit 05bd322f35c328ee663d426379ecb88021a8fdda. * Maryia/used shortcode + updated mt5_new_account request (#23) * Maryia/using shortcode + mt5_new_account request + updated cfd personal account modal * commented out personal details form tests temporarily * revert personal details form * revert tests for cfd personal detail form * revert cfd personal details modal * revert prop types * prevent memory leak in cfd personal details modal * Chore: update jurisdiction cards style * Chore: Fixed bug on CFD card banners * Fixed poa failed and poi failed conditions * Changed is pending footnote condition * Maryia/fix: next button for failed+pending (#24) * Fixed the texts of jurisdiction cards * style fix for poi-poa * style fix for poi-poa * Added condition for Account added * maltainvest * Finished DXTrade styling * Pulled from main branch * Maryia/fix: state for failed+none (#25) * Maryia/fix: state for failed+none * getting settings in jurisdiction modal to check if the client has already submitted personal details * fix: statuses for failed + none * Fixes some styling issues * Fixed some stylings * Fixed paddings of verification statuses * Chore: Fix trade modal heading title * Fixes some of our issues * Maryia/fix: jurisdiction modal styles & open account request (financial flow check) (#26) * Maryia/fix: tnc agreement footnote * Maryia/fixed styles & added more data to open account request * fix: remove used classname * Chore: Fix logged out MT5 dashboard bug * Chore: Hide adding account from compare accounts modal when logged out * Chore: Huawei appgallery - CFD dashboard style updates * Chore: Huawei on mobile * Chore: Fix a tiny bug * Added seperator to the modal footer * Fixed console warning issues * Maryia/Merged from master & resolved conflicts + small style fix for dmt5 dashboard (#27) * Niloofar / Indicators documentation review (#5825) * indicators documentation review * resolved review comment Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * Niloofar / Trader documentation review (#5792) * edit some parts of trader docs * remove extra information from traders docs Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * shayan / cfd documentation updated (#5800) * docs/ cfd readme.md updated * Update README.md * docs/ Readme file updated * docs/ readme file updated * docs/ Update packages/cfd/README.md Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * docs/ Update packages/cfd/README.md Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * docs /Update packages/cfd/README.md Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * docs/ update readme file * doc/ updated readme file * doc/ updated readme file * doc/ updated readme file Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * yauheni / Notify users about sharing tokens with admin scope selected (#5741) * yauheni / Notify users about sharing tokens with admin scope selected, added note * tests fix * created token scope styling * deleted option test fix * token value fild markup * clipboard with warning dialog implemented * responsive version done, tests refactoring * dialog fix for admin scope * check commit after rebuild * css fixes, refactor after review * svg icon fill color fix * inline note fix * Delete package-lock.json * fix commit * fix * dots component placing fix * dialog fixes * api token tests fix * css fix for token table * review fixes * naming fix, close delete dialog timeout deleted * testcase fix * localize fix * admin note message change * copy token hover message fix * token alignment eye button fix * ok button capital letters fix * delete button hover fix, clipboard refactor Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * farrah/ fixed cfd lint errors (#5607) * ci/ exclude dist files from eslint scan * ci/ disable spaced-comment * ci/ exclude lib dir from eslint scan * fixed cfd eslint errors * renamed variables and fixed types * fixed missing return function * refactor code * fixed cleanup function * fixed invalid property document_file on submit Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> * yashim/feat: add TTI Measurement (#5764) * feat: add TTI Measurement * fix: security error * fix: add regex to fire only in specific domain * chore: remove console log * fix: remove TTI script. Offload to GTM * chore: revert gtm loading changes * translations: 📚 sync translations with crowdin (#5965) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * chore: removed unused prop from jurisdiction card * fix for dmt5 server maintenance & download center styles Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> Co-authored-by: Shayan Khaleghparast <100833613+iman-fs@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: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * eu-cfd-modal * Fixed compare accounts modal account creation issues * Added financial in front of the malatinvest for Adding account * Maryia/updated t&c links and improved jurisdiction modal (#29) * modal * modal- style * add account fix * Chore: hide compare accounts button * Chore: Display all MT5 accounts created * vanuatu-only-onfido * Fixed the issue where modal goes to the left * banner condition changes * Fixed the issue where selected card was showing wrong data * Pulled from main branch * Fixed the real mt5 account top up button issue * onfido failed * Fixed existing financial_stp account not being shown * real-account-under-virtual deriv * Increased the delay before closing and opening of modals * Fixed the sliding of the compare accounts modal * Account transfer will show the landing company to the end of accounts name * Added some more timeout function to prevent sliding modal to the left * Added timeout for all of toggle modals * Fixed POI acknowledged issue * Fixed can have more real synthetic mt5 condition to hide add account button if we do not have any more accounts to create * notifications * remove duplicate notifications * Changed the styling of disabled account * Made banners text capitalization exactly like the design * Account switcher add button won't show up when we cannot create anymore accounts * Maryia/fix: showing only available accounts in CompareAccountsModal (#30) * Maryia/fix: showing only available accounts in CompareAccountsModal * fix: getting complete content for all available accounts + removed unused has_cfd_account * Maryia/finalized CompareAccountsModal table * Merge branch master of github.com:binary-com/deriv-app into task_push_labuan_bvi_vanuatu * cfd-personal-details * Chore: JY's requests reflected. * Maryia/Refactor: compare account modal content + improvements (#32) * Maryia/refactoring compare accounts modal content * added a case for 0 financial or 0 synthetic accounts count * improved synthetic & financial header style loop * Chore: cfd card height update * svg routing * Added new conditions for add account button * Fixed the capital letter demonstration of SVG and BVI banner texts * Fixed the TTradingPlatfromAvailabeAccount Type * Fixed CodeCov error * svg routing * Fixed labuan account creation bug * Fixed Code Cov errors * Fixed demo account dashboard error and hid the add button for it * compare account fix * compare account fix * poi-poa-mobile-style-fixes * Changed over header color * Fixed the issue where server name was shown for BVI, Labuan and ... * Fixed compare accounts account creation flow * Added new styling for demo accounts * poa-fix * Added login id to demo accounts * Fixed the account transfer text upper and lower cases * account swtcher fix * region in account switcher * overheader change in jurisdiction * Fixed eu password manager modal header title * Fixed eu user cfd icon color and trading account label * Fixed the add account buttun issue where having more than one account with same landing_company_shortcode hides the button * Fixed the redirected account to reset password errors * Fixed demo accounts backward compatibility * Fixed EU demo account text in account switcher * Chore: Resolve SonarCloud bug * server name for account switcher * server name for account switcher * Fixed account switcher bug which shows add button even when we have accounts created * revert-last commit * Fixed the issue where add button in account switcher was shown even after having all of the accounts created * Chore: login id padding issues fixed for Demo * Chore: Small padding update for Labuan clients * Fixed derivx account name in cashier transfer * tnc fix * Fixed POIPOA submited text * remove equities * Fixed the checkbox issue in mobile mode * Fixed account switcher issues * labuan -compare-accounts-modal-content-update * Fixed the font size of Proof of identity and address are required in verification statuses * Changed the straight through processing text style * Fixed account switcher bug * fix in tnc checkbox * Consolidated the responsive design * separator line in demo account switcher * Maryia/Fixed modals sliding to the left using styles * compare modal * Fixed the issue of account switcher for backward compatibility * Fixed the mt5-trade-modal title for eu users * Chore: added tooltip info to jurisdiction modal for Financial Labuan account * fix loading * Fixed the grammatical issue of MT5 server maintenance message * Fixed mt5 trade modal header title for eu accounts * compare account fix * compare accout fix * Added malta invest footnote * Fixed the text color of one of jurisdiction footnotes * Maryia/fix: add buttons + accounts switcher + only svg available to add in demo (#35) * Maryia/fix: add buttons + accounts switcher + only svg available for demo * showing company shortcode for added demo accounts * show company shortcode in demo only for financial labuan * fix: setting company code for demo account opening request * fix for tests * Fixed the issue where jurisdiction cards were linked in responsive design * Fixed sonar cloud issue * Sonar cloud fix * Fixed sonar cloud issue * Sonar cloud issue * Maryia/fix: sliding trade modal & compare accounts modal (#36) * Sonar cloud issue * Checking sonar cloud issue * Fixed MT5 success dialog icon * Maryia/fix add buttons for multiple real accounts * Fixed server tag for account switcher * Maryia/fix: CompareAccountsModal Add button to open real account needed modal (#37) * Maryia/fix showing real acc needed when adding acc from compare acc modal * fixed compare accounts modal for logged out clients * removed unused loading state from poi/poa * vanuatu flow from compare accounts modal * Maryia/fix: console TS warning for exit_classname type * Fix: Display popovers on top of Trade modal * Fixed the issue where server name was shown for bvi accounts as well * Maryia/fix: setting account type in compare accounts modal * next button logic * vanuatu flow * Fix: title update and css changes * app crash issue * vanuatu banner and next button labels * Fixed the issue where server banner was shown even for accounts with 1 synthetic svg account in account switcher * onfido blank screen check * Maryia/fix: avoided state update on unmounted CFDFinancialStpRealAccountSignup + removed unused setSubmitting * fix for loading * mt5 add g * Maryia/fix: Trade modal for demo to display only STP shortcode * update branch with master * typo fix * checkbox missing issue * maltainvest * Maryia/fix: responsive CompareAccountsModal * code cleanup in packages/account/src/Components/poi-poa-docs-submitted Co-authored-by: hirad-rework <hirad@re-work.dev> Co-authored-by: yashim-deriv <yashim@deriv.com> Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-binary@users.noreply.github.com> Co-authored-by: Matin-binary <matin@deriv.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: Shayan Khaleghparast <100833613+iman-fs@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: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> 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: maryia-binary <maryia@binary.com> Co-authored-by: Matin shafiei <matin@binary.com> * Updated MT5 windows app url (#6055) * translations: 📚 sync translations with crowdin (#6065) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * investor (#6066) * translations: 📚 sync translations with crowdin (#6067) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Use context instead repository defined environment variables (#6070) * Jim / Resolve Eslint errors in components package (#5943) * ci/ exclude dist files from eslint scan * ci/ disable spaced-comment * ci/ exclude lib dir from eslint scan * chore: add auto-generated icon.js file to packages/components/.eslintignore * fix: resolve eslint errors * Resolve conflicts * fix: eslint error fix * chore: add support for webpack aliases * refactor: change relative paths to aliases * refactor: add new line * chore: remove changes for file outside components package Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> * Shayan / 65941 / Fixed eslint errors and warnings for core workspace (#5902) * ci/ exclude dist files from eslint scan * ci/ disable spaced-comment * ci/ exclude lib dir from eslint scan * unnecessary escape character warning fixed * removed .js on file importing * unexpected semicolon error fixed * fixed inline export error in Redirect * working on unexpected semicolon error in progress * fix/ fixed some eslint warning related to PropTypes * fix/ fixed eslint warnings * fix/ all eslint warnings fixed * refactor/ changed settings_extension type * fix/ fixed some errors that caused console errors * refactor / revert commenting out key in propTypes * build / extend added to core package.json * fix/ updated hasNoAvailableCrypto type * fix/ fixed some new eslint errors Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: Farrah Mae Ochoa <farrah@deriv.com> * review core readme && core docs (#5927) * review core readme && core docs * review core readme && core docs * core docs review * fix cname description * fix core-readme * add some points * add some points * add some points * add some points * fix Folder Structure Co-authored-by: Yashim Wong <yashim@deriv.com> * Niloofar/ Translation documentation update (#6026) * translation documentation review * resolve pr comments * docs: add more details to translation's documentation Co-authored-by: Yashim Wong <yashim@deriv.com> * Termsandconditionslink (#5873) * add terms and conditions link to the error message * changed the name and added jsx * mobile view fix * added full stop Co-authored-by: Thisyahlen <thisyahlen@Thisyahlens-MacBook-Pro.local> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> * yashim/chore: upgrade onfido (#5653) * chore: upgrade onfido package * chore: upgrade onfido + hoist changes to package lock * chore: exact versioning. remove package lock * chore: update main package lock * feat: bump onfido packages * chore: update package lock * style(payment agent transfer): change the width of the submit button in responsive view (#6043) * shayan / 67210/ p2p documentation updated (#5829) * docs/ updated readme for p2p * docs/ readme file updated * docs/ readme updated * docs/ readme updated * docs / updated readme file * docx/ update readme * docs/ updated readme file * Shayan/69364/fix eslint errors for p2p (#5942) * fix/ fixed some warnings and errors * fix/ fixed some eslint errors * fix / all eslint errors e=returned by test:eslint fixed * fix/ disabled eslint for jest expect().to.be.empty * fix/ removed unnecessary lines * fix/ disable eslint for useEffect empty dependency list * fix/ changed function name * Update packages/p2p/src/components/buy-sell/filter-modal/filter-modal.jsx Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * fix / review fixes Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * fixed component eslint errors (#6088) * translations: 📚 sync translations with crowdin (#6089) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * trade-modal-fix (#6090) * translations: 📚 sync translations with crowdin (#6091) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * ci/ enable eslint on ts files globally (#6045) * translations: 📚 sync translations with crowdin (#6105) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Convert string into integer (#6101) * Maryia/fix: eliminated DataListRow infinite update + console warning (#6096) * fixed trackjs connection error (#6022) * Added scroll on the y axis for mt5-trade-modal (#6102) * Farzin/72134/Spacing is less comparing to design in DMT5 account creation page (#6072) * fix(cfd): :lipstick: fix DMT5 account creation footer spacing issue on mobile * style(cfd): :lipstick: use `px` instead of `rem` for `box-shadow` * fixed typo error in price rate validation message (#6057) * george / rm71464 / align api token (#6056) * style(api token): align api token * style(api token): align rows in api token details * added space between the buttons (#6053) * fix profit_loss color in profit table of reports (#6050) * Make cashier-onboarding-detail card full-width (#6033) * Message validation first name (#6051) * Regex edited for validLetterSymbol * Update Regex Rules * Update REGX for address and phone * Update Regex for phone number * Mahdiyeh/ Fix: show barrier price when hover on open positions cards (#6025) * show barrier price when hover on open positions cards * pass symbol as a props instead of getting from localStorage * thisyahlen/changed expiry box and tooltip date format (#6052) * changed expiry box and tooltip date format * fixed expiry tooltip for mobile * changed text for pop up message Co-authored-by: Yashim Wong <yashim@deriv.com> * fix: notification counter style (#5925) * Akmal / update: Add document upload for Nigerian clients (#4198) * Static navigation for unsupported countries * Fix mobile for icon uploads * WIP separating components * WIP separating components * wipe: add steps * wipe: add steps * wip: add upload documents * wip: fix ui * wip: fix ui * wip: add api * wip: add api * wip: add manual upload * wip; add new design * wip: add new filedrop design * wip: add validation for files * wip: add selfie step * add error handling * update: add lifetime_valid * remove extra files * fix: optimize svgs * fix: add localize, use classNames instead of cn * fix: add asterisk to mandatory fields, fix font color, fix preview image glitch * fix: don't accept less that 6 month for expiry date * Add back button icon * Update text content * Update nimc UI * Update nimc styles * Fix next/back buttons logic * Fix websocket unresolved import * Fix POA upload failure * Fix next button issue * Update messages * Fix POI uploaded nessage * Fix document_id, document_type and lifetime_valid * test * temp commit * Temp commit * Fix nigerian onfido flow * Fix issues * Temp commit * Merge latest * Merge unsupported * Add semicolon * Add console logs * Fix formatting * Update pre-commit * Update idv.jsx * Update constants.js * Update proof-of-identity-container.jsx * Fix import paths * Delete old test * Add continue trading feature * Remove unused properties * Remove extra function * Empty-Commit * Fix cfd poi issues * Remove no longer valid test case * Fix next button state behavior * Merge with master * Change message to longer timeframe * Prioritise pending status from BO * Fix selfie upload issue after response error * Fix infinite uploading for files * Fix merge conflicts * Remove old test cases Co-authored-by: Mohammadreza Ghorbani <reza@firstsource.email> Co-authored-by: Amir Ghadimi <amir.ghadimi@firstsource.tech> Co-authored-by: Yashim Wong <yashim@deriv.com> * translations: 📚 sync translations with crowdin (#6130) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6131) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6132) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6133) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * fixed town/city validation (#6134) * Suisin/Update validation rules (#6145) * update letter symbol rules * new rulels * Update declarative-validation-rules.js * Suisin/Renew validation rules (#6147) * update letter symbol rules * new rulels * Updated Rules * edited rules * Update rules to accept multiple space * translations: 📚 sync translations with crowdin (#6158) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * remove personal-details-step-from-financial-svg (#6135) * TS migration of cashier UI components (#5947) * added ts related change required for migrating all components (#5760) * ts-migration-crypto-fiat-converter (#5796) * Trigger build * Update package-lock * ts-migration-cashier-notifications (#5765) * bahar/funds_protection_component-ts-migration (#5756) * funds_protection_component-ts-migration * remove_extra_type_file * fix_merge_issue * hamid/migrate-transfer-confirm-to-ts (#5815) * Migrate TransferConfirm to TS * Rename component in test file * Replace Confirm with TransferConfirm in PAs * Enhance Tests * ts-migration-page-404 (#5766) * Vinu/converted percentage-selector component into typescript (#5785) * converted percentage-selector component into typescript * changed the name of test_ids in percentage-selector spec file as per new guidlines * updated with latest upstream branch * added reactMouse event in props.types.ts * Vinu/migrated recent-transaction component to typescript (#5791) * migrated recent-transaction component to typescript * fixed Rootsore path in recent-transaction * tsconfig.json change in types path * ts-migration-verification-email (#5769) * bahar/Ts migration no balance (#5774) * ts-migration-no-balance * fix_merge_issue * Vinu/migrating cashier-container into ts (#5780) * migrting cashier-container into ts WIP * added type in virtual.tsx * changed test-ids in cashier-container * updated the branch with latest upstream branch * fixed Rootsore path in cashier-container * tsconfig.json change in types path * Vinu/Ts cashier error dialog (#5820) * migrated error-dialog to typescript * removed proptypes from error-dialog * added appropriate types to message variable in error-dialog * updated code with latest upstream branch * fixed type of rootstore in error-dialog * fixed Rootsore path in error dialog * added type for ReactElement in props.types.ts cashier * Vinu/migration of crypto-transaction-history component into typescript (#5834) * migration of crypto-transaction-history component into typescript * Trigger Build * Trigger Build * fixed Rootstore path in crypto-transactions-history * added type for crypto-transaction-details * added ReactMouseEvent in prop.types * added data-testid's in crypto-transaction-renderer component * Migrate CashierLocked to TS (#5959) * Fix security hotspot reported by sonarcloud Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: Hamid <hamid@re-work.dev> * limit the number of chunks creating by webpack (#6040) * limit the number of chunks creating by webpack * webpack chunk strategy try 2 * webpack optmzn try 3 * add minchunks count as 30 * webpack max chunks set as 10 * chunk strategy maxchunks updated to 10 * webpack strat minsize rule * webpack strat update try 5 * webpack strat update try6 * Revert "MaryiaF/fix: P/L is not getting updated when a contract is terminated… (#6024)" (#6034) This reverts commit ba506880a588f34b911c9acf85829975b1c48f57. * translations: 📚 sync translations with crowdin (#6037) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * p2p/Floating rate feature (#5494) * Merge branch 'binary-com:master' into floating_rate (#5080) * Nijil / DBot - Add multipliers (#4172) * Retrigger vercel deployment * Init dbot multiplier * Fix es-lint issues * Add contract update dialog validations * logic added to hasAllRequiredBlocks for multipliers * Fix es-lint errors * Update stop loss block description and label * Filter out multipliers in quick-strategy * Fix incorrect rendering of duration/multiplier blocks on workspace when they're dragged out from toolbox * Fix typos * Add missing proptypes and other minor refactors * Fix minor issues + logic * Fix: trade option block not changing according to the selected trade type once it is dragged to workspace first and then plugged to the trade parameters block * Fix: Disable trade option block when plugged inside trade parameters * Remove connection to next statement in trade_defintion_restartonerror block * Make multiplier_stop_loss and multiplier_take_profit independant blocks + other UX improvement Description \n1.Make multiplier_stop_loss and multiplier_take_profit input field shadow blocks. \n2. Add check such that duplicate multiplier_take_profit and multiplier_stop_loss cannot be added to trade_definition_multiplier block. \n3.Show amount limits in trade_definition_multiplier block. * Cleanup workspace when switching between multiplier and other trade options * Remove extensice validation for multiplier_stop_loss block * Show dialog for multiplier contract on stop button click + minor cleanups * Update stop multiplier dialog content * Update stop multiplier dialog content and button actions * Minor bug fix * Fix stop multiplier dialog buttons styling * fix: multiplier contract not bought even after disabling TP/SL block inside multiiplier block * Disable stray blocks and their optional children recursively * fix: recover all pending transactions on page refresh or if client left page mid-contract * Restrict TP/SL blocks to multiplier block + add close button logic for dialog component * Fix profit not showing when it's zero * Add condition for restricted blocks to enable/disable stack option in context menu * Optimised proposal_open_contract call on mount of transaction tab * fix es-lint error * Update logic for recovering open contracts * Fix no-unused-vars error * Refactor code for readability * Refactor code for readability * Add logic to handle action of reset button in toolbar * Remove condition where it enabled the button in run panel while the contract is still closing * Fix default-case expected test error * Add note for multiplier block * Add condition to disable run panel button when multiplier contract is closing * Fix issue where connectWithContractUpdate tried to destructure undefined at first render * Add Learn more help content for multiplier trade option block * Minor change in toggle-card-dialog.jsx file * Refractored help-content from bot-skeleton to bot-web-ui package and updated help content for multiplier trade option block * Fix missing key prop error * Minor change in fix where connectWithContractUpdate tried to destructure undefined * Show banner for bot MF Real & VRTC Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> * Hirad/Cfd reset password modal js to ts (#4706) * Changed cfd-reset-password-modal container from js to ts * fix--Auto styling is done on the components * fix--Separated types from component * fix--Auto styling is done on the components * fix--Added a separate type for errors and Changed the type of current_list * Auto styling is done on the components * fix--Used Record utility type to improve readability * fix--Removed redundant imports and duplicate types * Pulled the latest changes from master * fix--Replaced ReactElement with ReactNode * Pulled from master * Made some changes to pass the tests * fix--Changed ReactNode to ReactElement to pass the tests * fix--Shortened one of the types * Fixed the conflicts Co-authored-by: Matin shafiei <matin@binary.com> * Chore: Added NIN option in IDV dropdown for ng clients (#4970) * fix: payment info issue (#4978) Co-authored-by: Matin shafiei <matin@binary.com> * Bala/Cleanup dashboard (#4967) * refactor: change folder name to appstore * chore: cleanup dashboard svgs * refactor: rename to appstore * remove separate build for dashboard * refactor: rename to appstore * cleanup build * remove appstore assets * fix: api-types auto generation * chore: cleanup dashboard * chore: cleanup appstore build * chore: fix appstore main file path * chore: use consistent configs * chore: refactor store usage to be consistent * chore: cleanup dist and routes * chore: remove old routes config * cleanup routes config * setup trading-hub path * cleanup asset_path * cleanup redirects * fix ts lint issues * fix lint issues * fix lint issue * fix test issues * update tsconfig path * update codeowners * chore: added a space * Update README.md Co-authored-by: Matin shafiei <matin@binary.com> * Maryia/TrackJS_Avoiding_Pushwoosh_Failed_to_fetch_error (#4894) * Maryia/Checking network status before initializing Pushwoosh * Maryia/refactoring Co-authored-by: Matin shafiei <matin@binary.com> * translations: 📚 sync translations with crowdin (#4987) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * salar / Hotfix/multiplier eu (#4989) * Add helper function for EU countries * Show digital options banner to VRTC-only EU clients * Add comment to remove duplicate code * Fix: apply more compliance conditions * Fix issue for EU residence * Apply prettier * Fix mobx issue for residence * Fix: prevent calls on undefined * Fix: check for blockly div first * Apply prettier * export_components_which_needed_to_be_used_in_app_store (#4972) * refactor_payment_agent_component_for_app_store (#4968) * translations: 📚 sync translations with crowdin (#5005) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * refactor: investor password (#4992) * Nuri/Refactor: Refactor compare account (#4969) * refactor compare account * retrigger circleci * retrigger deployment * removed unused text * likhith/OrderConfirmCompleted error status displayed on slow n/w (#4832) * Resolved: #56123 - OrderConfirmCompleted error status displayed on slow n/w * Refactored code * Fixed lint errors * implemented review comment * Resolved eslint issues * Resolved Console.log error * Added comments to changes * Resolved lint errors * Removed unwanted component * fix storybook build (#4997) * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function (#4892) * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function * Maryia/Fix for styles of POI & POA steps in Settings and CFD modals (#4761) * Maryia/fixed styles of poa upload block * Maryia/fixed cfd poa modal for responsive mode * Maryia/fix for POI step style in CFD modal * Maryia/fixed style of upload criteria in CFD modal POA step * Maryia/refactoring as per deriv app code standard * Maryia/replaced px with rem * Maryia/fix for the upload box style requiring nesting inside list * Maryia/fixed POI styles * Hirad/Cfd dashboard container JS to TS (#4941) * Changed cfd-dashboard container from javascript to typescript * fix--Fixed the default export of the cfd-dashboard * Pulled from master * fix--Invisible tab menu should be fixed * Auto styling is done * IDV notification changes and refactoring (#5001) * Akmal / Add trustpilot notification (#4974) * Add trustpilot notification * Fix formatting * Add undefined check * Vijayasree/Manage Account modal from Cashier Onboarding links are broken on iphoneSE (#4948) * Manage Account modal from Cashier Onboarding links are broken on iphone SE * Manage Account modal from Cashier Onboarding links are broken on iphone SE * Manage Account modal from Cashier Onboarding links are broken on iphoneSE * Update account-wizard.scss Co-authored-by: Matin shafiei <matin@binary.com> * likhith/Added jest config and test cases for App-Content component (#4876) * Added jest config and test cases for App-Content component * Added test cases for App Content component * Fixed lint errors * Removed lint errors and configured webpack * Reordered webpack extension array * Implemented review comments * implemented review comments * george / added test for "PaymentAgentList" component (#4825) * added test for "PaymentAgentList" component * fixed a spelling error * refactored code, changed query method * code refactoring * george / added tests for OnRampProviderCard (#4880) * added tests for OnRampProviderCard * code refactoring (add data-testid into Icon component) * naming refactoring data-testid * naming refactoring * add new prop (data_testid) to Icon component * code refactoring using icon prop data_testid * add prop types for data_testid * likhith/Removed unused functions from Cashier container and added test cases (#4821) * likhith/added testcases to cashier-container * added loader check test case * Variable change * Fixed variable scoping * Refactored code inline with naming conventions * Removed code smells * Improved code visibility * Removed unused functionality in CashierComponent * Removed unused imports * Removed unused property and improved test cases * modified input data * Incorporated review comments * Incorporated review comments * Added test cases to order and order-table (#4916) * fix test cases because of refactoring the component (#5029) * Nijil/Pass correct value to SelectNative value prop from PA dropdown (#5034) * fix: pass correct value to SelectNative value prop * minor refactor * translations: 📚 sync translations with crowdin (#5039) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * MaryiaF/fix: bold the menu option when the user has gone by the child… (#4965) * MaryiaF/fix: bold the menu option when the user has gone by the child menu items and then navigated one of them to the corresponding page * MaryiaF/refactor: solution with switching to the bold menu item * MaryiaF/chore: revert intent * MaryiaF/refactor: use Text component instead of spane in toggle-menu-drawer file * MaryiaF/refactor: remove unuseful style and change import * Merge branch 'master' of github.com:binary-com/deriv-app into 57685_2 * MaryiaF/fix: all the sub menus are not supposed to be in bold in first visit, 1 of the sub menu should be bold during the visit * MaryiaF/fix: condition when the menu item should be bold * MaryiaF/fix: remove console.log * Revert "Merge branch 'master' of github.com:binary-com/deriv-app into 57685_2" This reverts commit 2c19bed858d09d2dee7b4ffb939f80617a91972e. Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * <SearchBox /> test coverage (#4900) Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Artsem / <Verification /> test coverage (#4890) * <Verification /> test coverage * remove redundant import * fix testid naming * fix testid and elements naming * remove redundant mockProps() Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test_coverage_for_poi-verified_component_in_account_package (#5006) * poi-verified-spec * poi-verified-spec Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test_coverage_for_poa_unverified_component_in_account_package (#4993) * unverified-spec * poa-unverified Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test coverage for poa-submitted (#4990) * test_coverage_for_poa_submitted * fix Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * george / test coverage for "recent transaction" component (#4838) * added tests for RecentTransaction component * fixed condition for cashier transaction icon * removed code duplication * refactored code * code refactoring (add data-testid into Item component) * code refactoring * naming refactoring data-testid * naming refactoring * add new prop (data_testid) to Icon component * code refactoring using icon prop data_testid * add prop types for data_testid Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#5048) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * update branch with master (#5010) * Maryia/Set notifications together with each handling of notifications (#4958) * Maryia/Set notifications before each handling of notifications * Maryia/style fix to fit in long FR, ES & PT text on the notification button * Fix design for DMT5 investor password reset modal (#4942) * Ako/ Codecov integration (#5053) * build/ add test:ci script to run tests in the ci with different config * ci/ add codecov github action * ci/ workflow update * ci/ update coverage path * ci/ get coverage over all of the files * ci/ get coverage on pull request * Revert "build/ add test:ci script to run tests in the ci with different config" This reverts commit 2771958602f5af3048c334e28868d05f9ff4f6cd. * doc/ add codecov badge to readme file * Vijayasree/Crypto icon in withdrawal page is not shown for specific device IOS (#4976) * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * re-trigger build * re-trigger build * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Sara / Fixed issue with error handling (#4966) * Fixed issue with error handling * Removed extra code * fixed issue with aggregation methods * MaryiaF/chore: remove consoles (#5059) * Matin/Add: TS files for translation extraction (#5073) * remove appstore package from translations (#5075) Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> Co-authored-by: hirad-rewok <91878582+hirad-rewok@users.noreply.github.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> Co-authored-by: Maryia <87321516+maryia-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: Salar Hafezi <76559464+salarhfz-fs@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: njazuli-deriv <78890281+njazuli-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: Maryia Frantsava <88426229+maryiafrantsava-deriv@users.noreply.github.com> Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: vijayasree-deriv <98810931+vijayasree-deriv@users.noreply.github.com> Co-authored-by: george-usynin-deriv <89790856+george-usynin-deriv@users.noreply.github.com> Co-authored-by: Artsem Kavaleu <88381164+artsemkavaleu-deriv@users.noreply.github.com> Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: mitra-fs <64970259+mitra-fs@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: sara-fs <55442058+sara-fs@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> * Revert "Merge branch 'binary-com:master' into floating_rate (#5080)" (#5081) This reverts commit 725636b267eb434a278976b67c3461ccc2130338. * Artsem / Floating rate banner and warning for existing ads (#4975) * Add floating rate enable banner and warning icon * remove extra function call * remove deprecated conditions * remove conditional render, add todo comment * fix Localize settings * likhith/Created Floating rate custom component (#4971) * Created Floating rate custom component * Removed hardcoded values * Incorporated review comments * Reordered functions as per style guide * Replaced Css units * Incorporated review comments * Empty commit * Minor bug fix * Renamed functions appropriately * Incorporated review comments * Fetching floating rate status from const * Resolved lint errors * Incorporated review comments * incoeporated review comments * Added syles as per UX * Added a comment to explian props * Changed CSS as per BEM standard * Changes naming conventions * Implemented review comments * Refactored code as per comments * Fixed eslint errors * Reverted the changes made * Minor bug fixes * Added currecnt_focus prop * likhith/create floating-rate ad (#4964) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Minor bug fixes * Minor bug fixes * removed console logs * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Incorporated review comments * Reduced spacing between the banner * Formatted user input * Fixed failing test case * Added comments to explain functionality * Fetching date and time from server * Renamed function * Refactored code * Added review comments * Resolved decimal round off issue * Fixed Rounding off of decimal digits * Regex change in psoitive integer check * Resolved issue with round off to decimal point * Re-arranged imports * Fixed the testcase * Fixed floating_rate input check * Removed Math.sign * Reverted decimal change * Implemented round of logic for decimal places * refactor: Renamed variables * fix: Round off issue in Create Ad summary * fix: resolved decimal point to 2 digits * Resolved lint errors * fix: Renamed the function * chore: Ad display table rate will be calculated from * fix: test color in dark theme * fix: label changes b/w fixed and floating * fix: invoking api call to fetch the changes * fix: rate synced b/w myads and buy/sell * fix: range offset validation * fix: modified rate property in edit ads * fix: Float rate input suffix * fix: code formatted * fix: setting floating rate to 2 decimals on blur * fix: spacing issue with floating rate input * Trigger build * Trigger build * fix: removed unwanted padding * fix: added ellipse to fix over lapping * fix: removed disabling of floating rate field buttons * fix: resolved issue with error message * fix: Overlapping CSS issues in Mobile * fix: added missing background color for dark theme * fix: removed button highlight in mobile * fix: button higlight issue * fix: display of cursor pointer on scroll * fix: resolved issue with message * fix: Ad change warning message * fix: color for dark mode Co-authored-by: Likhith Kolayari <likhith@deriv.com> * fix: conflict message not updated * likhith/created edit my ad screen (#4988) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Implemented edit ads for floating rates * Inorporated review comment * minor bug fixes * Minor bug fixes * Minor bug fixes * removed console logs * Added rae_type prop * Incorporated API changes * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Added styles as per UX * Refactoring code * Css changes to summary component * Trigger Build * Minor bug fix in Create Ad form * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Migrated create ad comments to Edit ad * Resolved lint errors * Fixed lint issues * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Incorporated review comments * Reduced spacing between the banner * Formatted user input * Fixed failing test case * Added comments to explain functionality * Fetching date and time from server * Renamed function * Refactored code * Added review comments * Resolved decimal round off issue * Fixed Rounding off of decimal digits * Added test case for create ad * Regex change in psoitive integer check * Added test case to test form values * Resolved decimal round off issue * Added test acss to edit form * Resolved lint errors * Resolved issue with round off to decimal point * Re-arranged imports * Fixed the testcase * Removed unused imports * Fixed floating_rate input check * Removed Math.sign * Reverted decimal change * Implemented round of logic for decimal places * refactor: Renamed variables * refactor: Added fallback condition * fix: added a exchange rate fallback condition * fix: Round off issue in Create Ad summary * fix: resolved decimal point to 2 digits * Resolved lint errors * fix: Renamed the function * chore: Ad display table rate will be calculated from * fix: test color in dark theme * fix: label changes b/w fixed and floating * fix: invoking api call to fetch the changes * fix: rate synced b/w myads and buy/sell * fix: range offset validation * fix: modified rate property in edit ads * fix: Float rate input suffix * fix: code formatted * fix: setting floating rate to 2 decimals on blur * fix: spacing issue with floating rate input * Trigger build * Trigger build * fix: removed unwanted padding * fix: added ellipse to fix over lapping * incorporated changes * fix: removed disabling of floating rate field buttons * fix: resolved issue with error message * fix: Overlapping CSS issues in Mobile * fix: added missing background color for dark theme * fix: removed button highlight in mobile * fix: button higlight issue * fix: display of cursor pointer on scroll * fix: resolved issue with message * fix: modified display of summary in edit ad component * fix: removed spec code * fix: Removed test cases * chore: reverted old commit * feat: Added banner for switch rate * fix: Error message text * fix: incorporated review comments * fix: removed unwanted store condition and added subscription to exchange rates * fix: removed incorrect function call * fix: added a null check * fix: refactored code * ref: Added comments * ref: Refactored code for performance * ref: refactored code * ref: code refactor * ref: Incorporated review comments * Trigger Build * fix: removed fixed size * fix: resolved conflict * fix: moved functionality from component to store * fix: removed unnecessary commenting * ref: renamed cancel action functions * ref: refactored code for increated readability * feat: implemented a function for removing trailing zeros * ref: refactored the code in edit ad summary * fix: reverted decimal round off rules * fix: resolved issue with resetting selected Ad id * fix: switching ad types in edit * fix: issue with edit ad switch * fix: display rate change dialog even when ads are deactivated * fix: disabled activate ad when past date is passed * fix: displaying error message based on the required ad type * fix: banner glitch occurs when data loaded in chunks * fix: enable ads after switch update * fix: Form should not be checked for value change when ad switch is triggered * fix: test to incorporate sign * fix: implemented dynamic type for field in mobile * fix: added css to fix disable styling * fix: enforcing disable bg color for popover * fix: responsive view of switch ad modal * fix: added missing theme color for dark mode * fix: banner width consistancy * fix: incorporated touched state for Payment method Co-authored-by: Likhith Kolayari <likhith@deriv.com> * likhith/Feature buy sell confirmation (#5487) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Minor bug fixes * Minor bug fixes * removed console logs * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Inco…
* NJ/Feat: Added product card component for Appstore (#5000) * Added product card component for Appstore * compress svg * fixed comments * bahar/Create wallet component appstore (#5002) * create_a_wallet_component * handle_wallet_selection * fix_merge_issue * responsive_added * extract_wallet_selection_to_external_component * refactor_style_vars * fix_review_issues * Bala/Setup storybook in appstore and add Walletcard (#5072) * setup storybook * remove old appstore icons * update to storybook 6 * update to storybook 6 and add appstore wallet icons * add appstore payment icons * move wallet icons to appstore * change wallet icons path * fix svgs * advcash svg * update icon viewbox * chore: fix storybook build * feat: wallet card * revert appstore icon deletions * fix lint error * add tsx to root level * add svg to declarations * fix lint issues * add declarations file to tsconfig * update declarations * remove deriv-components from declarations * add ts-ignore * fix eslint error * ignore components import * NJ/feat : Appstore app card (#5083) * Appstore app card * added icons * compress svg * Appstore app card * added icons * compress svg * chore: change components package (#5084) * fix wallet checkmark circle (#5094) * fix checkmark circle * fix: sonarcloud issue * Bala/Skeleton card (#5105) * add skeleton card * fix wallet small & stories * svgo * Added fixes for appstore App-card (#5109) * appstore app-card storybook (#5112) * Bala/Remove unused code (#5126) * chore: remove unused files * move trading hub * fix trading-hub route * add authenticated flag * Bala/Choose product (#5128) * init choose product * add index file * revert changes * chore: add condition * Cards link (#5127) * added feature to link two cards app and wallet * code indentation * resolved circle-ci error * resolved circle-ci error * resolved circle-ci error * converted px value to rem in cards-link.scss * scss linting issue fix in cards-link.scss * changed the type of props in cards-link.tsx * resolved circle-ci error * bahar/create_fiat_currency_wallet_component (#5110) * create_fiat_currency_wallet_component * fiat_section_and_storrybook_added * wallet_card_components_added * fiat_payment_method_icons_added * made_some_refactor * remove_extra_added_icons * popover_added * Cfd account type description (#5154) * added component to display cfd account details * formatting issue fixed * refactored code for cfd account details card component * resovled circle ci issue for cfd account type details component * implemented review comments for cfd account description card * added margin to container of cfd-account-details * minor css fix * added all text insde <text> tag in cfd-account-type-details component * added au condition in cfd account type details component * implemented review comments for cfd account type details component * changed className as per bem guidlines in cfd-account-details component * bahar/Add an app component (#5150) * add_an_app_component * make_toggle_account_type_separate_component * NJ/Feat: Product card component (#5135) * feature product card modal * change the import call for productcard in choose product * added storybook for trade-type-card * removed fragment * Wallet description component (#5163) * wallet description component added * fixed css issues in wallet-description-component * fixed linting issue * changed the import path in wallet-description component * implemented review comments for wallet description component * resolved linting issue * Vinu/Wallet names from be (#5302) * made wallet names to be dynamic from backend * resolved linting issue * implemented review comments and also added wrapper component for create-wallet for storybook to work * fixed linting issue * minor fix in wallet-store onUnmount function * implemented the review comments in create-wallet * resolved linting issue * added all account types in wallet store * changed function name in wallet store * Fix appstore build (#5986) * chore: fix build #1 * chore: fix type props * Bala/Fix appstore storybook (#5994) * chore: fix build #1 * chore: fix type props * chore: downgrade package * Vinu/App wallet modal (#5276) * added wallet model from deriv ui to appstore * fixed linting error * changed name in app wallet modal * change in app-wallet-modal storybook * code reveiw implementation in progress for add-wallet-modal * implementation of review comments in progress * implemented review comments and moved app-wallet-modal to appstore * fixed linting issue * fixed circle-ci issue * fixed linting issue * changed pixcel unit to rem unit in app-wallet-modal.css * changes made to use dialog from deriv/ui in appstore * fix linting issue * trigger build * updated deriv-ui for appstore * Sync with latest master and cleanup (#6214) * Merge branch 'master' into appstore * chore: remove unused code * chore: remove unused mock package * chore: update deriv/ui package * chore: comment wallet test case * chore: update package * Revert "Sync with latest master and cleanup (#6214)" (#6218) This reverts commit 9ae77d47735c173129ce13e904aac26a68dcfdf4. * Sync with master (#6219) * chore: update charts (#6028) * Matin/ Hirad/ Amina/ Maryia-task_push_labuan_bvi_vanuatu (#5697) * Added add account buttons * Fixed add button issues * Added disabled * feat: sorry amina * Changed the condition of add account button * Added condition for add account * Renamed add account button and fixes its condition * Revert "feat: sorry amina" This reverts commit ca7bc6c330973d95fd836b6f0ac999341871e471. * Fixed the undefined issue in disabled cards * Fixed the issue of undefined data * Added condition for failed POI and POA * Maryia/Fix: for tests and add buttons (#15) * Maryia/fix for tests and account buttons * Fix: removed duplication for ModalCheckbox * poa_error_msg * Changed the conditions of POI and POA failed * Pulled from master * Added conditional modal button function * Maryia/fix: jurisdiction modal next button enabling (#16) * Maryia/fix: jurisdiction modal next buton enabling * refactoring * Fixed buttonText conditions * Chore: MT5 Trade Modal implementation * Maryia/used local state for setting selected card & updated flow (#17) * Maryia/used local state for setting selected card & updated flow * fix: for tests * Added the compare accounts add button integration * Pulled from master * Added box shadow hover to jurisdiction card * Chore: Account signup flow improvement * Chore: code cleanup * Fixed some of the stylings of MT5 cards * Fixed the mobile banner issue * Maryia/Fix: CFDPersonalDetails styles & logics + refactoring (#18) * Maryia/Fix: synthetic flow + refactoring * Maryia/Fix: CFDPersonalDetails styles + refactoring * Maryia/Fix: for Labuan footnote to not appear when pending status is visible * Chore: small bug fixes * Added three new conditions for modal footnote * Pulled from master * Maryia/fix: quick fix for failed & pending statuses (#19) * fix for pending statuses * showing status when the card is selected * quick fix for poi/poa failed statuses & footnotes * Maryia/used shortcode + updated mt5_new_account request & cfd personal account modal (#20) * Maryia/used shortcode + updated mt5_new_account request & cfd personal account modal * commented out personal details form tests temporarily * Revert "Maryia/used shortcode + updated mt5_new_account request & cfd personal account modal (#20)" (#21) This reverts commit 05bd322f35c328ee663d426379ecb88021a8fdda. * Maryia/used shortcode + updated mt5_new_account request (#23) * Maryia/using shortcode + mt5_new_account request + updated cfd personal account modal * commented out personal details form tests temporarily * revert personal details form * revert tests for cfd personal detail form * revert cfd personal details modal * revert prop types * prevent memory leak in cfd personal details modal * Chore: update jurisdiction cards style * Chore: Fixed bug on CFD card banners * Fixed poa failed and poi failed conditions * Changed is pending footnote condition * Maryia/fix: next button for failed+pending (#24) * Fixed the texts of jurisdiction cards * style fix for poi-poa * style fix for poi-poa * Added condition for Account added * maltainvest * Finished DXTrade styling * Pulled from main branch * Maryia/fix: state for failed+none (#25) * Maryia/fix: state for failed+none * getting settings in jurisdiction modal to check if the client has already submitted personal details * fix: statuses for failed + none * Fixes some styling issues * Fixed some stylings * Fixed paddings of verification statuses * Chore: Fix trade modal heading title * Fixes some of our issues * Maryia/fix: jurisdiction modal styles & open account request (financial flow check) (#26) * Maryia/fix: tnc agreement footnote * Maryia/fixed styles & added more data to open account request * fix: remove used classname * Chore: Fix logged out MT5 dashboard bug * Chore: Hide adding account from compare accounts modal when logged out * Chore: Huawei appgallery - CFD dashboard style updates * Chore: Huawei on mobile * Chore: Fix a tiny bug * Added seperator to the modal footer * Fixed console warning issues * Maryia/Merged from master & resolved conflicts + small style fix for dmt5 dashboard (#27) * Niloofar / Indicators documentation review (#5825) * indicators documentation review * resolved review comment Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * Niloofar / Trader documentation review (#5792) * edit some parts of trader docs * remove extra information from traders docs Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * shayan / cfd documentation updated (#5800) * docs/ cfd readme.md updated * Update README.md * docs/ Readme file updated * docs/ readme file updated * docs/ Update packages/cfd/README.md Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * docs/ Update packages/cfd/README.md Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * docs /Update packages/cfd/README.md Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * docs/ update readme file * doc/ updated readme file * doc/ updated readme file * doc/ updated readme file Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> * yauheni / Notify users about sharing tokens with admin scope selected (#5741) * yauheni / Notify users about sharing tokens with admin scope selected, added note * tests fix * created token scope styling * deleted option test fix * token value fild markup * clipboard with warning dialog implemented * responsive version done, tests refactoring * dialog fix for admin scope * check commit after rebuild * css fixes, refactor after review * svg icon fill color fix * inline note fix * Delete package-lock.json * fix commit * fix * dots component placing fix * dialog fixes * api token tests fix * css fix for token table * review fixes * naming fix, close delete dialog timeout deleted * testcase fix * localize fix * admin note message change * copy token hover message fix * token alignment eye button fix * ok button capital letters fix * delete button hover fix, clipboard refactor Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * farrah/ fixed cfd lint errors (#5607) * ci/ exclude dist files from eslint scan * ci/ disable spaced-comment * ci/ exclude lib dir from eslint scan * fixed cfd eslint errors * renamed variables and fixed types * fixed missing return function * refactor code * fixed cleanup function * fixed invalid property document_file on submit Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> * yashim/feat: add TTI Measurement (#5764) * feat: add TTI Measurement * fix: security error * fix: add regex to fire only in specific domain * chore: remove console log * fix: remove TTI script. Offload to GTM * chore: revert gtm loading changes * translations: 📚 sync translations with crowdin (#5965) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * chore: removed unused prop from jurisdiction card * fix for dmt5 server maintenance & download center styles Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> Co-authored-by: Shayan Khaleghparast <100833613+iman-fs@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: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * eu-cfd-modal * Fixed compare accounts modal account creation issues * Added financial in front of the malatinvest for Adding account * Maryia/updated t&c links and improved jurisdiction modal (#29) * modal * modal- style * add account fix * Chore: hide compare accounts button * Chore: Display all MT5 accounts created * vanuatu-only-onfido * Fixed the issue where modal goes to the left * banner condition changes * Fixed the issue where selected card was showing wrong data * Pulled from main branch * Fixed the real mt5 account top up button issue * onfido failed * Fixed existing financial_stp account not being shown * real-account-under-virtual deriv * Increased the delay before closing and opening of modals * Fixed the sliding of the compare accounts modal * Account transfer will show the landing company to the end of accounts name * Added some more timeout function to prevent sliding modal to the left * Added timeout for all of toggle modals * Fixed POI acknowledged issue * Fixed can have more real synthetic mt5 condition to hide add account button if we do not have any more accounts to create * notifications * remove duplicate notifications * Changed the styling of disabled account * Made banners text capitalization exactly like the design * Account switcher add button won't show up when we cannot create anymore accounts * Maryia/fix: showing only available accounts in CompareAccountsModal (#30) * Maryia/fix: showing only available accounts in CompareAccountsModal * fix: getting complete content for all available accounts + removed unused has_cfd_account * Maryia/finalized CompareAccountsModal table * Merge branch master of github.com:binary-com/deriv-app into task_push_labuan_bvi_vanuatu * cfd-personal-details * Chore: JY's requests reflected. * Maryia/Refactor: compare account modal content + improvements (#32) * Maryia/refactoring compare accounts modal content * added a case for 0 financial or 0 synthetic accounts count * improved synthetic & financial header style loop * Chore: cfd card height update * svg routing * Added new conditions for add account button * Fixed the capital letter demonstration of SVG and BVI banner texts * Fixed the TTradingPlatfromAvailabeAccount Type * Fixed CodeCov error * svg routing * Fixed labuan account creation bug * Fixed Code Cov errors * Fixed demo account dashboard error and hid the add button for it * compare account fix * compare account fix * poi-poa-mobile-style-fixes * Changed over header color * Fixed the issue where server name was shown for BVI, Labuan and ... * Fixed compare accounts account creation flow * Added new styling for demo accounts * poa-fix * Added login id to demo accounts * Fixed the account transfer text upper and lower cases * account swtcher fix * region in account switcher * overheader change in jurisdiction * Fixed eu password manager modal header title * Fixed eu user cfd icon color and trading account label * Fixed the add account buttun issue where having more than one account with same landing_company_shortcode hides the button * Fixed the redirected account to reset password errors * Fixed demo accounts backward compatibility * Fixed EU demo account text in account switcher * Chore: Resolve SonarCloud bug * server name for account switcher * server name for account switcher * Fixed account switcher bug which shows add button even when we have accounts created * revert-last commit * Fixed the issue where add button in account switcher was shown even after having all of the accounts created * Chore: login id padding issues fixed for Demo * Chore: Small padding update for Labuan clients * Fixed derivx account name in cashier transfer * tnc fix * Fixed POIPOA submited text * remove equities * Fixed the checkbox issue in mobile mode * Fixed account switcher issues * labuan -compare-accounts-modal-content-update * Fixed the font size of Proof of identity and address are required in verification statuses * Changed the straight through processing text style * Fixed account switcher bug * fix in tnc checkbox * Consolidated the responsive design * separator line in demo account switcher * Maryia/Fixed modals sliding to the left using styles * compare modal * Fixed the issue of account switcher for backward compatibility * Fixed the mt5-trade-modal title for eu users * Chore: added tooltip info to jurisdiction modal for Financial Labuan account * fix loading * Fixed the grammatical issue of MT5 server maintenance message * Fixed mt5 trade modal header title for eu accounts * compare account fix * compare accout fix * Added malta invest footnote * Fixed the text color of one of jurisdiction footnotes * Maryia/fix: add buttons + accounts switcher + only svg available to add in demo (#35) * Maryia/fix: add buttons + accounts switcher + only svg available for demo * showing company shortcode for added demo accounts * show company shortcode in demo only for financial labuan * fix: setting company code for demo account opening request * fix for tests * Fixed the issue where jurisdiction cards were linked in responsive design * Fixed sonar cloud issue * Sonar cloud fix * Fixed sonar cloud issue * Sonar cloud issue * Maryia/fix: sliding trade modal & compare accounts modal (#36) * Sonar cloud issue * Checking sonar cloud issue * Fixed MT5 success dialog icon * Maryia/fix add buttons for multiple real accounts * Fixed server tag for account switcher * Maryia/fix: CompareAccountsModal Add button to open real account needed modal (#37) * Maryia/fix showing real acc needed when adding acc from compare acc modal * fixed compare accounts modal for logged out clients * removed unused loading state from poi/poa * vanuatu flow from compare accounts modal * Maryia/fix: console TS warning for exit_classname type * Fix: Display popovers on top of Trade modal * Fixed the issue where server name was shown for bvi accounts as well * Maryia/fix: setting account type in compare accounts modal * next button logic * vanuatu flow * Fix: title update and css changes * app crash issue * vanuatu banner and next button labels * Fixed the issue where server banner was shown even for accounts with 1 synthetic svg account in account switcher * onfido blank screen check * Maryia/fix: avoided state update on unmounted CFDFinancialStpRealAccountSignup + removed unused setSubmitting * fix for loading * mt5 add g * Maryia/fix: Trade modal for demo to display only STP shortcode * update branch with master * typo fix * checkbox missing issue * maltainvest * Maryia/fix: responsive CompareAccountsModal * code cleanup in packages/account/src/Components/poi-poa-docs-submitted Co-authored-by: hirad-rework <hirad@re-work.dev> Co-authored-by: yashim-deriv <yashim@deriv.com> Co-authored-by: Yashim Wong <75345074+yashim-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-binary@users.noreply.github.com> Co-authored-by: Matin-binary <matin@deriv.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: Shayan Khaleghparast <100833613+iman-fs@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: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> 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: maryia-binary <maryia@binary.com> Co-authored-by: Matin shafiei <matin@binary.com> * Updated MT5 windows app url (#6055) * translations: 📚 sync translations with crowdin (#6065) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * investor (#6066) * translations: 📚 sync translations with crowdin (#6067) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Use context instead repository defined environment variables (#6070) * Jim / Resolve Eslint errors in components package (#5943) * ci/ exclude dist files from eslint scan * ci/ disable spaced-comment * ci/ exclude lib dir from eslint scan * chore: add auto-generated icon.js file to packages/components/.eslintignore * fix: resolve eslint errors * Resolve conflicts * fix: eslint error fix * chore: add support for webpack aliases * refactor: change relative paths to aliases * refactor: add new line * chore: remove changes for file outside components package Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> * Shayan / 65941 / Fixed eslint errors and warnings for core workspace (#5902) * ci/ exclude dist files from eslint scan * ci/ disable spaced-comment * ci/ exclude lib dir from eslint scan * unnecessary escape character warning fixed * removed .js on file importing * unexpected semicolon error fixed * fixed inline export error in Redirect * working on unexpected semicolon error in progress * fix/ fixed some eslint warning related to PropTypes * fix/ fixed eslint warnings * fix/ all eslint warnings fixed * refactor/ changed settings_extension type * fix/ fixed some errors that caused console errors * refactor / revert commenting out key in propTypes * build / extend added to core package.json * fix/ updated hasNoAvailableCrypto type * fix/ fixed some new eslint errors Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: Farrah Mae Ochoa <farrah@deriv.com> * review core readme && core docs (#5927) * review core readme && core docs * review core readme && core docs * core docs review * fix cname description * fix core-readme * add some points * add some points * add some points * add some points * fix Folder Structure Co-authored-by: Yashim Wong <yashim@deriv.com> * Niloofar/ Translation documentation update (#6026) * translation documentation review * resolve pr comments * docs: add more details to translation's documentation Co-authored-by: Yashim Wong <yashim@deriv.com> * Termsandconditionslink (#5873) * add terms and conditions link to the error message * changed the name and added jsx * mobile view fix * added full stop Co-authored-by: Thisyahlen <thisyahlen@Thisyahlens-MacBook-Pro.local> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> * yashim/chore: upgrade onfido (#5653) * chore: upgrade onfido package * chore: upgrade onfido + hoist changes to package lock * chore: exact versioning. remove package lock * chore: update main package lock * feat: bump onfido packages * chore: update package lock * style(payment agent transfer): change the width of the submit button in responsive view (#6043) * shayan / 67210/ p2p documentation updated (#5829) * docs/ updated readme for p2p * docs/ readme file updated * docs/ readme updated * docs/ readme updated * docs / updated readme file * docx/ update readme * docs/ updated readme file * Shayan/69364/fix eslint errors for p2p (#5942) * fix/ fixed some warnings and errors * fix/ fixed some eslint errors * fix / all eslint errors e=returned by test:eslint fixed * fix/ disabled eslint for jest expect().to.be.empty * fix/ removed unnecessary lines * fix/ disable eslint for useEffect empty dependency list * fix/ changed function name * Update packages/p2p/src/components/buy-sell/filter-modal/filter-modal.jsx Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * fix / review fixes Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * fixed component eslint errors (#6088) * translations: 📚 sync translations with crowdin (#6089) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * trade-modal-fix (#6090) * translations: 📚 sync translations with crowdin (#6091) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * ci/ enable eslint on ts files globally (#6045) * translations: 📚 sync translations with crowdin (#6105) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Convert string into integer (#6101) * Maryia/fix: eliminated DataListRow infinite update + console warning (#6096) * fixed trackjs connection error (#6022) * Added scroll on the y axis for mt5-trade-modal (#6102) * Farzin/72134/Spacing is less comparing to design in DMT5 account creation page (#6072) * fix(cfd): :lipstick: fix DMT5 account creation footer spacing issue on mobile * style(cfd): :lipstick: use `px` instead of `rem` for `box-shadow` * fixed typo error in price rate validation message (#6057) * george / rm71464 / align api token (#6056) * style(api token): align api token * style(api token): align rows in api token details * added space between the buttons (#6053) * fix profit_loss color in profit table of reports (#6050) * Make cashier-onboarding-detail card full-width (#6033) * Message validation first name (#6051) * Regex edited for validLetterSymbol * Update Regex Rules * Update REGX for address and phone * Update Regex for phone number * Mahdiyeh/ Fix: show barrier price when hover on open positions cards (#6025) * show barrier price when hover on open positions cards * pass symbol as a props instead of getting from localStorage * thisyahlen/changed expiry box and tooltip date format (#6052) * changed expiry box and tooltip date format * fixed expiry tooltip for mobile * changed text for pop up message Co-authored-by: Yashim Wong <yashim@deriv.com> * fix: notification counter style (#5925) * Akmal / update: Add document upload for Nigerian clients (#4198) * Static navigation for unsupported countries * Fix mobile for icon uploads * WIP separating components * WIP separating components * wipe: add steps * wipe: add steps * wip: add upload documents * wip: fix ui * wip: fix ui * wip: add api * wip: add api * wip: add manual upload * wip; add new design * wip: add new filedrop design * wip: add validation for files * wip: add selfie step * add error handling * update: add lifetime_valid * remove extra files * fix: optimize svgs * fix: add localize, use classNames instead of cn * fix: add asterisk to mandatory fields, fix font color, fix preview image glitch * fix: don't accept less that 6 month for expiry date * Add back button icon * Update text content * Update nimc UI * Update nimc styles * Fix next/back buttons logic * Fix websocket unresolved import * Fix POA upload failure * Fix next button issue * Update messages * Fix POI uploaded nessage * Fix document_id, document_type and lifetime_valid * test * temp commit * Temp commit * Fix nigerian onfido flow * Fix issues * Temp commit * Merge latest * Merge unsupported * Add semicolon * Add console logs * Fix formatting * Update pre-commit * Update idv.jsx * Update constants.js * Update proof-of-identity-container.jsx * Fix import paths * Delete old test * Add continue trading feature * Remove unused properties * Remove extra function * Empty-Commit * Fix cfd poi issues * Remove no longer valid test case * Fix next button state behavior * Merge with master * Change message to longer timeframe * Prioritise pending status from BO * Fix selfie upload issue after response error * Fix infinite uploading for files * Fix merge conflicts * Remove old test cases Co-authored-by: Mohammadreza Ghorbani <reza@firstsource.email> Co-authored-by: Amir Ghadimi <amir.ghadimi@firstsource.tech> Co-authored-by: Yashim Wong <yashim@deriv.com> * translations: 📚 sync translations with crowdin (#6130) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6131) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6132) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#6133) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * fixed town/city validation (#6134) * Suisin/Update validation rules (#6145) * update letter symbol rules * new rulels * Update declarative-validation-rules.js * Suisin/Renew validation rules (#6147) * update letter symbol rules * new rulels * Updated Rules * edited rules * Update rules to accept multiple space * translations: 📚 sync translations with crowdin (#6158) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * remove personal-details-step-from-financial-svg (#6135) * TS migration of cashier UI components (#5947) * added ts related change required for migrating all components (#5760) * ts-migration-crypto-fiat-converter (#5796) * Trigger build * Update package-lock * ts-migration-cashier-notifications (#5765) * bahar/funds_protection_component-ts-migration (#5756) * funds_protection_component-ts-migration * remove_extra_type_file * fix_merge_issue * hamid/migrate-transfer-confirm-to-ts (#5815) * Migrate TransferConfirm to TS * Rename component in test file * Replace Confirm with TransferConfirm in PAs * Enhance Tests * ts-migration-page-404 (#5766) * Vinu/converted percentage-selector component into typescript (#5785) * converted percentage-selector component into typescript * changed the name of test_ids in percentage-selector spec file as per new guidlines * updated with latest upstream branch * added reactMouse event in props.types.ts * Vinu/migrated recent-transaction component to typescript (#5791) * migrated recent-transaction component to typescript * fixed Rootsore path in recent-transaction * tsconfig.json change in types path * ts-migration-verification-email (#5769) * bahar/Ts migration no balance (#5774) * ts-migration-no-balance * fix_merge_issue * Vinu/migrating cashier-container into ts (#5780) * migrting cashier-container into ts WIP * added type in virtual.tsx * changed test-ids in cashier-container * updated the branch with latest upstream branch * fixed Rootsore path in cashier-container * tsconfig.json change in types path * Vinu/Ts cashier error dialog (#5820) * migrated error-dialog to typescript * removed proptypes from error-dialog * added appropriate types to message variable in error-dialog * updated code with latest upstream branch * fixed type of rootstore in error-dialog * fixed Rootsore path in error dialog * added type for ReactElement in props.types.ts cashier * Vinu/migration of crypto-transaction-history component into typescript (#5834) * migration of crypto-transaction-history component into typescript * Trigger Build * Trigger Build * fixed Rootstore path in crypto-transactions-history * added type for crypto-transaction-details * added ReactMouseEvent in prop.types * added data-testid's in crypto-transaction-renderer component * Migrate CashierLocked to TS (#5959) * Fix security hotspot reported by sonarcloud Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: Hamid <hamid@re-work.dev> * limit the number of chunks creating by webpack (#6040) * limit the number of chunks creating by webpack * webpack chunk strategy try 2 * webpack optmzn try 3 * add minchunks count as 30 * webpack max chunks set as 10 * chunk strategy maxchunks updated to 10 * webpack strat minsize rule * webpack strat update try 5 * webpack strat update try6 * Revert "MaryiaF/fix: P/L is not getting updated when a contract is terminated… (#6024)" (#6034) This reverts commit ba506880a588f34b911c9acf85829975b1c48f57. * translations: 📚 sync translations with crowdin (#6037) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * p2p/Floating rate feature (#5494) * Merge branch 'binary-com:master' into floating_rate (#5080) * Nijil / DBot - Add multipliers (#4172) * Retrigger vercel deployment * Init dbot multiplier * Fix es-lint issues * Add contract update dialog validations * logic added to hasAllRequiredBlocks for multipliers * Fix es-lint errors * Update stop loss block description and label * Filter out multipliers in quick-strategy * Fix incorrect rendering of duration/multiplier blocks on workspace when they're dragged out from toolbox * Fix typos * Add missing proptypes and other minor refactors * Fix minor issues + logic * Fix: trade option block not changing according to the selected trade type once it is dragged to workspace first and then plugged to the trade parameters block * Fix: Disable trade option block when plugged inside trade parameters * Remove connection to next statement in trade_defintion_restartonerror block * Make multiplier_stop_loss and multiplier_take_profit independant blocks + other UX improvement Description \n1.Make multiplier_stop_loss and multiplier_take_profit input field shadow blocks. \n2. Add check such that duplicate multiplier_take_profit and multiplier_stop_loss cannot be added to trade_definition_multiplier block. \n3.Show amount limits in trade_definition_multiplier block. * Cleanup workspace when switching between multiplier and other trade options * Remove extensice validation for multiplier_stop_loss block * Show dialog for multiplier contract on stop button click + minor cleanups * Update stop multiplier dialog content * Update stop multiplier dialog content and button actions * Minor bug fix * Fix stop multiplier dialog buttons styling * fix: multiplier contract not bought even after disabling TP/SL block inside multiiplier block * Disable stray blocks and their optional children recursively * fix: recover all pending transactions on page refresh or if client left page mid-contract * Restrict TP/SL blocks to multiplier block + add close button logic for dialog component * Fix profit not showing when it's zero * Add condition for restricted blocks to enable/disable stack option in context menu * Optimised proposal_open_contract call on mount of transaction tab * fix es-lint error * Update logic for recovering open contracts * Fix no-unused-vars error * Refactor code for readability * Refactor code for readability * Add logic to handle action of reset button in toolbar * Remove condition where it enabled the button in run panel while the contract is still closing * Fix default-case expected test error * Add note for multiplier block * Add condition to disable run panel button when multiplier contract is closing * Fix issue where connectWithContractUpdate tried to destructure undefined at first render * Add Learn more help content for multiplier trade option block * Minor change in toggle-card-dialog.jsx file * Refractored help-content from bot-skeleton to bot-web-ui package and updated help content for multiplier trade option block * Fix missing key prop error * Minor change in fix where connectWithContractUpdate tried to destructure undefined * Show banner for bot MF Real & VRTC Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> * Hirad/Cfd reset password modal js to ts (#4706) * Changed cfd-reset-password-modal container from js to ts * fix--Auto styling is done on the components * fix--Separated types from component * fix--Auto styling is done on the components * fix--Added a separate type for errors and Changed the type of current_list * Auto styling is done on the components * fix--Used Record utility type to improve readability * fix--Removed redundant imports and duplicate types * Pulled the latest changes from master * fix--Replaced ReactElement with ReactNode * Pulled from master * Made some changes to pass the tests * fix--Changed ReactNode to ReactElement to pass the tests * fix--Shortened one of the types * Fixed the conflicts Co-authored-by: Matin shafiei <matin@binary.com> * Chore: Added NIN option in IDV dropdown for ng clients (#4970) * fix: payment info issue (#4978) Co-authored-by: Matin shafiei <matin@binary.com> * Bala/Cleanup dashboard (#4967) * refactor: change folder name to appstore * chore: cleanup dashboard svgs * refactor: rename to appstore * remove separate build for dashboard * refactor: rename to appstore * cleanup build * remove appstore assets * fix: api-types auto generation * chore: cleanup dashboard * chore: cleanup appstore build * chore: fix appstore main file path * chore: use consistent configs * chore: refactor store usage to be consistent * chore: cleanup dist and routes * chore: remove old routes config * cleanup routes config * setup trading-hub path * cleanup asset_path * cleanup redirects * fix ts lint issues * fix lint issues * fix lint issue * fix test issues * update tsconfig path * update codeowners * chore: added a space * Update README.md Co-authored-by: Matin shafiei <matin@binary.com> * Maryia/TrackJS_Avoiding_Pushwoosh_Failed_to_fetch_error (#4894) * Maryia/Checking network status before initializing Pushwoosh * Maryia/refactoring Co-authored-by: Matin shafiei <matin@binary.com> * translations: 📚 sync translations with crowdin (#4987) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * salar / Hotfix/multiplier eu (#4989) * Add helper function for EU countries * Show digital options banner to VRTC-only EU clients * Add comment to remove duplicate code * Fix: apply more compliance conditions * Fix issue for EU residence * Apply prettier * Fix mobx issue for residence * Fix: prevent calls on undefined * Fix: check for blockly div first * Apply prettier * export_components_which_needed_to_be_used_in_app_store (#4972) * refactor_payment_agent_component_for_app_store (#4968) * translations: 📚 sync translations with crowdin (#5005) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * refactor: investor password (#4992) * Nuri/Refactor: Refactor compare account (#4969) * refactor compare account * retrigger circleci * retrigger deployment * removed unused text * likhith/OrderConfirmCompleted error status displayed on slow n/w (#4832) * Resolved: #56123 - OrderConfirmCompleted error status displayed on slow n/w * Refactored code * Fixed lint errors * implemented review comment * Resolved eslint issues * Resolved Console.log error * Added comments to changes * Resolved lint errors * Removed unwanted component * fix storybook build (#4997) * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function (#4892) * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function * MaryiaF/fix: TrackJS error - i.resetVirtualBalance is not a function * Maryia/Fix for styles of POI & POA steps in Settings and CFD modals (#4761) * Maryia/fixed styles of poa upload block * Maryia/fixed cfd poa modal for responsive mode * Maryia/fix for POI step style in CFD modal * Maryia/fixed style of upload criteria in CFD modal POA step * Maryia/refactoring as per deriv app code standard * Maryia/replaced px with rem * Maryia/fix for the upload box style requiring nesting inside list * Maryia/fixed POI styles * Hirad/Cfd dashboard container JS to TS (#4941) * Changed cfd-dashboard container from javascript to typescript * fix--Fixed the default export of the cfd-dashboard * Pulled from master * fix--Invisible tab menu should be fixed * Auto styling is done * IDV notification changes and refactoring (#5001) * Akmal / Add trustpilot notification (#4974) * Add trustpilot notification * Fix formatting * Add undefined check * Vijayasree/Manage Account modal from Cashier Onboarding links are broken on iphoneSE (#4948) * Manage Account modal from Cashier Onboarding links are broken on iphone SE * Manage Account modal from Cashier Onboarding links are broken on iphone SE * Manage Account modal from Cashier Onboarding links are broken on iphoneSE * Update account-wizard.scss Co-authored-by: Matin shafiei <matin@binary.com> * likhith/Added jest config and test cases for App-Content component (#4876) * Added jest config and test cases for App-Content component * Added test cases for App Content component * Fixed lint errors * Removed lint errors and configured webpack * Reordered webpack extension array * Implemented review comments * implemented review comments * george / added test for "PaymentAgentList" component (#4825) * added test for "PaymentAgentList" component * fixed a spelling error * refactored code, changed query method * code refactoring * george / added tests for OnRampProviderCard (#4880) * added tests for OnRampProviderCard * code refactoring (add data-testid into Icon component) * naming refactoring data-testid * naming refactoring * add new prop (data_testid) to Icon component * code refactoring using icon prop data_testid * add prop types for data_testid * likhith/Removed unused functions from Cashier container and added test cases (#4821) * likhith/added testcases to cashier-container * added loader check test case * Variable change * Fixed variable scoping * Refactored code inline with naming conventions * Removed code smells * Improved code visibility * Removed unused functionality in CashierComponent * Removed unused imports * Removed unused property and improved test cases * modified input data * Incorporated review comments * Incorporated review comments * Added test cases to order and order-table (#4916) * fix test cases because of refactoring the component (#5029) * Nijil/Pass correct value to SelectNative value prop from PA dropdown (#5034) * fix: pass correct value to SelectNative value prop * minor refactor * translations: 📚 sync translations with crowdin (#5039) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * MaryiaF/fix: bold the menu option when the user has gone by the child… (#4965) * MaryiaF/fix: bold the menu option when the user has gone by the child menu items and then navigated one of them to the corresponding page * MaryiaF/refactor: solution with switching to the bold menu item * MaryiaF/chore: revert intent * MaryiaF/refactor: use Text component instead of spane in toggle-menu-drawer file * MaryiaF/refactor: remove unuseful style and change import * Merge branch 'master' of github.com:binary-com/deriv-app into 57685_2 * MaryiaF/fix: all the sub menus are not supposed to be in bold in first visit, 1 of the sub menu should be bold during the visit * MaryiaF/fix: condition when the menu item should be bold * MaryiaF/fix: remove console.log * Revert "Merge branch 'master' of github.com:binary-com/deriv-app into 57685_2" This reverts commit 2c19bed858d09d2dee7b4ffb939f80617a91972e. Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * <SearchBox /> test coverage (#4900) Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Artsem / <Verification /> test coverage (#4890) * <Verification /> test coverage * remove redundant import * fix testid naming * fix testid and elements naming * remove redundant mockProps() Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test_coverage_for_poi-verified_component_in_account_package (#5006) * poi-verified-spec * poi-verified-spec Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test_coverage_for_poa_unverified_component_in_account_package (#4993) * unverified-spec * poa-unverified Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * Amina/test coverage for poa-submitted (#4990) * test_coverage_for_poa_submitted * fix Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * george / test coverage for "recent transaction" component (#4838) * added tests for RecentTransaction component * fixed condition for cashier transaction icon * removed code duplication * refactored code * code refactoring (add data-testid into Item component) * code refactoring * naming refactoring data-testid * naming refactoring * add new prop (data_testid) to Icon component * code refactoring using icon prop data_testid * add prop types for data_testid Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#5048) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * update branch with master (#5010) * Maryia/Set notifications together with each handling of notifications (#4958) * Maryia/Set notifications before each handling of notifications * Maryia/style fix to fit in long FR, ES & PT text on the notification button * Fix design for DMT5 investor password reset modal (#4942) * Ako/ Codecov integration (#5053) * build/ add test:ci script to run tests in the ci with different config * ci/ add codecov github action * ci/ workflow update * ci/ update coverage path * ci/ get coverage over all of the files * ci/ get coverage on pull request * Revert "build/ add test:ci script to run tests in the ci with different config" This reverts commit 2771958602f5af3048c334e28868d05f9ff4f6cd. * doc/ add codecov badge to readme file * Vijayasree/Crypto icon in withdrawal page is not shown for specific device IOS (#4976) * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * re-trigger build * re-trigger build * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Crypto icon in withdrawal page is not shown for specific device IOS * Sara / Fixed issue with error handling (#4966) * Fixed issue with error handling * Removed extra code * fixed issue with aggregation methods * MaryiaF/chore: remove consoles (#5059) * Matin/Add: TS files for translation extraction (#5073) * remove appstore package from translations (#5075) Co-authored-by: Matin shafiei <70938039+matin-binary@users.noreply.github.com> Co-authored-by: Salar Hafezi <salar@re-work.dev> Co-authored-by: Matin shafiei <matin@binary.com> Co-authored-by: hirad-rewok <91878582+hirad-rewok@users.noreply.github.com> Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com> Co-authored-by: balakrishna-binary <56330681+balakrishna-binary@users.noreply.github.com> Co-authored-by: Maryia <87321516+maryia-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: Salar Hafezi <76559464+salarhfz-fs@users.noreply.github.com> Co-authored-by: Bahar <bahar@firstsource.tech> Co-authored-by: njazuli-deriv <78890281+njazuli-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: Maryia Frantsava <88426229+maryiafrantsava-deriv@users.noreply.github.com> Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: vijayasree-deriv <98810931+vijayasree-deriv@users.noreply.github.com> Co-authored-by: george-usynin-deriv <89790856+george-usynin-deriv@users.noreply.github.com> Co-authored-by: Artsem Kavaleu <88381164+artsemkavaleu-deriv@users.noreply.github.com> Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com> Co-authored-by: Niloofar Sadeghi <93518187+niloo-fs@users.noreply.github.com> Co-authored-by: mitra-fs <64970259+mitra-fs@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@firstsource.tech> Co-authored-by: sara-fs <55442058+sara-fs@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> * Revert "Merge branch 'binary-com:master' into floating_rate (#5080)" (#5081) This reverts commit 725636b267eb434a278976b67c3461ccc2130338. * Artsem / Floating rate banner and warning for existing ads (#4975) * Add floating rate enable banner and warning icon * remove extra function call * remove deprecated conditions * remove conditional render, add todo comment * fix Localize settings * likhith/Created Floating rate custom component (#4971) * Created Floating rate custom component * Removed hardcoded values * Incorporated review comments * Reordered functions as per style guide * Replaced Css units * Incorporated review comments * Empty commit * Minor bug fix * Renamed functions appropriately * Incorporated review comments * Fetching floating rate status from const * Resolved lint errors * Incorporated review comments * incoeporated review comments * Added syles as per UX * Added a comment to explian props * Changed CSS as per BEM standard * Changes naming conventions * Implemented review comments * Refactored code as per comments * Fixed eslint errors * Reverted the changes made * Minor bug fixes * Added currecnt_focus prop * likhith/create floating-rate ad (#4964) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Minor bug fixes * Minor bug fixes * removed console logs * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Incorporated review comments * Reduced spacing between the banner * Formatted user input * Fixed failing test case * Added comments to explain functionality * Fetching date and time from server * Renamed function * Refactored code * Added review comments * Resolved decimal round off issue * Fixed Rounding off of decimal digits * Regex change in psoitive integer check * Resolved issue with round off to decimal point * Re-arranged imports * Fixed the testcase * Fixed floating_rate input check * Removed Math.sign * Reverted decimal change * Implemented round of logic for decimal places * refactor: Renamed variables * fix: Round off issue in Create Ad summary * fix: resolved decimal point to 2 digits * Resolved lint errors * fix: Renamed the function * chore: Ad display table rate will be calculated from * fix: test color in dark theme * fix: label changes b/w fixed and floating * fix: invoking api call to fetch the changes * fix: rate synced b/w myads and buy/sell * fix: range offset validation * fix: modified rate property in edit ads * fix: Float rate input suffix * fix: code formatted * fix: setting floating rate to 2 decimals on blur * fix: spacing issue with floating rate input * Trigger build * Trigger build * fix: removed unwanted padding * fix: added ellipse to fix over lapping * fix: removed disabling of floating rate field buttons * fix: resolved issue with error message * fix: Overlapping CSS issues in Mobile * fix: added missing background color for dark theme * fix: removed button highlight in mobile * fix: button higlight issue * fix: display of cursor pointer on scroll * fix: resolved issue with message * fix: Ad change warning message * fix: color for dark mode Co-authored-by: Likhith Kolayari <likhith@deriv.com> * fix: conflict message not updated * likhith/created edit my ad screen (#4988) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Implemented edit ads for floating rates * Inorporated review comment * minor bug fixes * Minor bug fixes * Minor bug fixes * removed console logs * Added rae_type prop * Incorporated API changes * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Added styles as per UX * Refactoring code * Css changes to summary component * Trigger Build * Minor bug fix in Create Ad form * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Migrated create ad comments to Edit ad * Resolved lint errors * Fixed lint issues * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Incorporated review comments * Reduced spacing between the banner * Formatted user input * Fixed failing test case * Added comments to explain functionality * Fetching date and time from server * Renamed function * Refactored code * Added review comments * Resolved decimal round off issue * Fixed Rounding off of decimal digits * Added test case for create ad * Regex change in psoitive integer check * Added test case to test form values * Resolved decimal round off issue * Added test acss to edit form * Resolved lint errors * Resolved issue with round off to decimal point * Re-arranged imports * Fixed the testcase * Removed unused imports * Fixed floating_rate input check * Removed Math.sign * Reverted decimal change * Implemented round of logic for decimal places * refactor: Renamed variables * refactor: Added fallback condition * fix: added a exchange rate fallback condition * fix: Round off issue in Create Ad summary * fix: resolved decimal point to 2 digits * Resolved lint errors * fix: Renamed the function * chore: Ad display table rate will be calculated from * fix: test color in dark theme * fix: label changes b/w fixed and floating * fix: invoking api call to fetch the changes * fix: rate synced b/w myads and buy/sell * fix: range offset validation * fix: modified rate property in edit ads * fix: Float rate input suffix * fix: code formatted * fix: setting floating rate to 2 decimals on blur * fix: spacing issue with floating rate input * Trigger build * Trigger build * fix: removed unwanted padding * fix: added ellipse to fix over lapping * incorporated changes * fix: removed disabling of floating rate field buttons * fix: resolved issue with error message * fix: Overlapping CSS issues in Mobile * fix: added missing background color for dark theme * fix: removed button highlight in mobile * fix: button higlight issue * fix: display of cursor pointer on scroll * fix: resolved issue with message * fix: modified display of summary in edit ad component * fix: removed spec code * fix: Removed test cases * chore: reverted old commit * feat: Added banner for switch rate * fix: Error message text * fix: incorporated review comments * fix: removed unwanted store condition and added subscription to exchange rates * fix: removed incorrect function call * fix: added a null check * fix: refactored code * ref: Added comments * ref: Refactored code for performance * ref: refactored code * ref: code refactor * ref: Incorporated review comments * Trigger Build * fix: removed fixed size * fix: resolved conflict * fix: moved functionality from component to store * fix: removed unnecessary commenting * ref: renamed cancel action functions * ref: refactored code for increated readability * feat: implemented a function for removing trailing zeros * ref: refactored the code in edit ad summary * fix: reverted decimal round off rules * fix: resolved issue with resetting selected Ad id * fix: switching ad types in edit * fix: issue with edit ad switch * fix: display rate change dialog even when ads are deactivated * fix: disabled activate ad when past date is passed * fix: displaying error message based on the required ad type * fix: banner glitch occurs when data loaded in chunks * fix: enable ads after switch update * fix: Form should not be checked for value change when ad switch is triggered * fix: test to incorporate sign * fix: implemented dynamic type for field in mobile * fix: added css to fix disable styling * fix: enforcing disable bg color for popover * fix: responsive view of switch ad modal * fix: added missing theme color for dark mode * fix: banner width consistancy * fix: incorporated touched state for Payment method Co-authored-by: Likhith Kolayari <likhith@deriv.com> * likhith/Feature buy sell confirmation (#5487) * Floating-rate Ui created * Added validations to floating-rate component * Implemented Floating rate component * Added default values for floating rates based on ad type * fixed lint issues * Minor bug fixes * Added store subscriptions * Enhanced InputField component and added floating rate store * Resolved lint errors * Added changes for My Ad screen * Added floate-rate * Added exisiting user update * Added reaction to my-ad store * Edit form * Added edit ad section * Added switch rate modal * Added switch ad dialog * Added banner condition * Added banner condition * Empty commit * Minor bug fixes * Minor bug fixes * removed console logs * Incorporated API changes * Incorporated review comments * Removed duplication * Integrated API with create floting rate ad * Incorporated review comments * Added floating rate error messages * Resolved lint error * Added styling as per UX * Minor bug fix in create ad form * Changes CSS as per BEM * Resolved lint error * Added current_focus to input field * Minor bug fixes for Create ad * Incorporated review comments * Minor bug fix * Removed empty structure * Removed additional switch state * Fixed issue with date banner * Added test cases for Floating rate component * Removed the empty element and replaced with null * Incorporated the changes * fixed incorrect file name * Trigger Build * Added as per naming * Removed localize of 1 * Added review comments * Incorporated changes * Replaced string with constant * Incorporated review comments * Removed un-necessary div * Removed css * Renamed function * Minor bug fixes and incorporated comments * Added fallback * alphabetize observables * Replaced CSS for Ad status * Resoled CSS and functionality bugs * Fixed lint errors * Resolved lint erros * Incorporated review comments * Reduced spacing between t…
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