-
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
zaki/add_chart_loader #9
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OskarAhl
reviewed
May 16, 2019
negarn
approved these changes
May 17, 2019
Mahboobeh-binary
pushed a commit
to Mahboobeh-binary/deriv-app
that referenced
this pull request
Jul 4, 2019
Add header component
oskar-binary
added a commit
to oskar-binary/deriv-app
that referenced
this pull request
Sep 13, 2019
khalid-deriv
pushed a commit
to khalid-deriv/deriv-app
that referenced
this pull request
Feb 9, 2022
fix radiobutton mixup switcherooo
shayan-deriv
referenced
this pull request
in shayan-deriv/deriv-app
Jun 9, 2022
Shayan / Mobx migration to version 6 for P2p package
maryia-deriv
referenced
this pull request
in maryia-deriv/deriv-app
Jul 4, 2022
* Maryia/Feat: new personal details modal for DBVI * renamed Personal details modal * fix: tests * fix: styled modal as per design * feat: added has_subheaders prop to cfd personal details form & improved modal styling * refactor: changed CFDPersonalDetailsModal props & styles * refactoring
likhith-deriv
referenced
this pull request
in likhith-deriv/deriv-app
Jul 26, 2022
Removed commented code and code cleanup
farabi-deriv
pushed a commit
to farabi-deriv/deriv-app
that referenced
this pull request
Sep 12, 2022
…add-charts Sandeep/73382/dbot add charts
yauheni-deriv
referenced
this pull request
in yauheni-deriv/deriv-app
Oct 11, 2022
* chore: improved ACCU contract type icon & label styling in contract card * chore: added tests for accumulator.js helper function * chore: added tests for Accumulator.jsx
vinu-deriv
referenced
this pull request
in vinu-deriv/deriv-app
Nov 1, 2022
…ore_hook_for-_resendemailbuttonwrapper bahar/Replace connect method with usestore hook for resendemailbuttonwrapper
yauheni-deriv
referenced
this pull request
in yauheni-deriv/deriv-app
Nov 3, 2022
…ssagelist_ts_migration Yauheni/74119/iconmessagelist ts migration
hirad-deriv
added a commit
that referenced
this pull request
Mar 28, 2023
* Merge '67492_accumulators_purchase' into 'maryia/67492/task_add_accumulators' * Maryia/75617/add_accu_to_trade_params (#3) * initialized ACCU trade params for responsive * added LabeledQuantityInputMobile & improved AccumulatorsAmountMobile * feat: added Accumulator radio group for growth_rate * feat: finalized Accumulator growth_rates radio group for mobile * feat: responsive- added Take profit to trade params & aligned purchase button icon * feat: improved mobile trade params for ACCU * feat: finalized trade params for ACCU * maryia/72761/task_add_recent_positions_drawer (#4) * feat: initialized ACCU contract card in recent positions * feat: initialized ProgressSliderSolidLine for ACCU * feat: updated recent positions card for ACCU for open/lost/won states * chore: improvements for ACCU card in responsive recent positions * chore: added TickCounterProgressBar component * feat: added TickCounterBar and reverted ProgressSlider & ProgressSliderMobile * chore: reverted original Recent positions drawer width * chore: improved TickCounterBar styling * maryia/76528/task_implement_contract_details_drawer (#5) * chore: updated Details in contract card for ACCU + styling * feat: implemented ACCU contract card in contract details + improved recent positions * chore: updated icons for ACCU trade type & contract category * maryia/72769/add_ticks_history_stats_widget (#6) * feat: init version of TicksHistoryStatsWidget for ACCU * chore: TicksHistoryStats * chore: improved tick history styling * chore: added more styles & animated progress dots under latest counter * feat: finalized desktop ticks history stats for dtrader page * feat: added ticks history to contract details page * improved ticks history stats for desktop & initialized it for responsive * made responsive stats non-expandable * maryia/77261/task_manual_for_history_widget (#8) * chore: discarded getUpdatedTicksHistoryStats as BE will send 15 exact values instead of 100+latest * feat: added AccumulatorsStatsManualModal * feat: finalized AccumulatorsStatsManualModal for desktop & responsive * chore: added getUpdatedTicksHistoryStats to process arrays of counters with epochs expected from BE * feat: added expanded AccumulatorsStats dialog for responsive * chore: contract card styling improvements + using ACCU tick_count as max_ticks_number * chore: improved AccumulatorsStats to load after tick counters have loaded * maryia/75621/task_add_tests_and_restyle_contract_card (#9) * chore: improved ACCU contract type icon & label styling in contract card * chore: added tests for accumulator.js helper function * chore: added tests for Accumulator.jsx * maryia/75621/part_2_task_accu_barriers (#10) * chore: updated dummy data * chore: fixed history stats styles & added tests for AccumulatorsStats * chore: improved AccumulatorsStats and its tests * chore: updated contract card & open positions * maryia/75621/add barriers for stay in contract on trader page (#12) * chore: test out passing trade data to all-markers for drawing barriers without contract + improvements * feat: added barriers for accumulators without open contract * feat: added markers and barriers for stay in contract on trader page * chore: adjusted open contract profit label (#13) * yauheni/77994/trader add break out contract type (#14) * yauheni/77994/trader add break out contract type * regexp fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * yauheni/78429/update styles of tick history widget (#15) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * chore: prepared data for connecting API (#16) * Maryia/78473/part 2 prepare for api + improvements (#18) * chore: improved barriers without contract and open contract label * chore: prepared data for api connection * chore: added price tags for barriers in contract details (#19) * feat: initialized AccumulatorsProfitLossTooltip (#20) * yauheni/78477/update params with buttons for responsive (#17) * yauheni/78477/update params with buttons for responsive * fix styles accordingly to design * buttons gap fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * yauheni/resolve build errors (#21) * yauheni/resolve build errors * optional property for is_checkbox_hidden Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Yauheni/78633/update styles for tick history widget (#22) * yauheni/resolve build errors * yauheni/78633/update styles for tick history widget * yauheni/78633/update styles for tick history widget responsive Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/78839/complete_sold_labels (#23) * chore: added tolltips for all sold positions & won/lost coloring * feat: finalized AccumulatorsProfitLossTooltip * maryia/improvements for stats and tooltip (#24) * chore: accumulators stats improvements * improvements * maryia/improvements for sold contract label * maryia/78574/add_barriers_to_contract_details * maryia/79085/remove_break_out_history_from_stats_widget (#26) * maryia/79085/remove_break_out_history_from_stats * chore: made purchaseButtonsOverlay flexible * chore: added tests for PurchaseButtonsOverlay * Yauheni/77995/update trade params for stayin breakout (#25) * yauheni/77995/update trade params for stayin breakout * take profit alimngment * buttons styles, take profit alingment * maryia/78574/add_barriers_to_contract_details * stake font and icon fix, go_tp_reports button styles * update contract store from parent Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> Co-authored-by: maryia-binary <maryia@binary.com> * maryia/fix: styles & fonts for responsive trade types * Maryia/79549/part 1: update tick markers for ACCU in contract details + improvements (#27) * maryia/79549/add_tick_markers_contract_details * chore: improvements for styles in responsive trade types desc * yauheni/79530/remove breakout contract (#28) * yauheni/79530/remove breakout contract * proposal data fields fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/styling improvements * maryia/fix: forcing Div100vh to re-render when height_offset for responsive has changed * maryia/fix: observables + markers * maryia/chore: prevented barriers, labels and markers from going outside axes (#30) * maryia/79969/set_default_chart_type_and_interval_to_Area_and_1_tick * maryia/chore: changed trade type name to Accumulators * maryia/80163/set growth rate based on default value from BE contracts_for response * yauheni/80091/hide chart mode icon for accumulators (#33) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/80166/connect_to_available_API (#34) * chore: connected api without contracts_for for now * chore: updated proposal * chore: updated tests for new proposal * maryia/80163/add-growth-rate-to-purchase-button * maryia/refactored purchase button growth_rate text * maryia/chore: removed unused code for outside barriers * maryia/fix: barrier shade color for ongoing contract * feat: restore chart mode set for non accumulators contract after switching (#37) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * yauheni/80158/update ui according to latest design (design flow 1-2) (#36) * icon accumulator change * purchase btn, stats fix * fix styles, flow 1 * accumulator design flow 2 Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/80686/feat: profit text animation for ongoing contract (#39) * fix: showing profit text next to current spot for open contract * chore: animated profit text * feat: added animated profit text for ongoing contract * test: fixed a test * chore: removed unused variable * fix: maryia/80686/profit text color * fix: maryia/using default growth rate only if no stored growth rate * feat: allow accumulators only for demo account (#40) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Yauheni/80158/update UI according to latest design part 2 (#38) * accu design chart position fix * accu page for reports rendering * reports card design fix * reports card design fix2 * updated design fix * pseudoelement colon fix * emphasizing value fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/80687/ticks_contract_details (#41) * fix: tick markers in contract details & take profit logics * feat: showing only 10 last ticks for accumulators ongoing contract * chore: display all trade types when list is not empty * style: typo * chore: maryia/added opacity to profit text + connected contracts_for + refactoring * chore: improved tick stream for ACCU in contract details + stats alignment * chore: maryia/handled undefined profit & updated opacity animation timing * chore: temporary dummy api connection * fix: maryia/hide profit if undefined, display if number * revert: dummi api * feat: implement last design part 1 (#43) * feat: implement last design part 1 * fix: test text fix * refactor: stats style for mobile fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/82425/task highlight crossing tick (#42) * feat: hightlighting crossing tick * feat: sync highlighting of crossing tick based on ticks_history_stats * Maryia/83069/task: replace image with video manual (#44) * feat: replaced manual image with video + responsive stats improvement * test: fixed a test * fix: entry tick marker in dtrader * style: removed extra margin-bottom * feat: implement last design part 2 (#45) * feat: implement last design part 2 * fix: initial growth_rate added * refactor: growth_rate from contract_for delete Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * refactor: accu sold contract tooltip animation change (#49) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/82257/Contract Details tick markers + AccumulatorsProfitLossText refactoring (#48) * chore: saving canvas context before accu barriers are drawn and restoring when finished drawing * fix: endtime, avoid fetching history in replay, avoid 0 profit animation * chore: forcing chart reload when start_epoch changes to earlier epoch + refactored profit-text * refactor: accumulators-profit-loss-text * refactor: tooltip style and tests (#51) * refactor: tooltip style and tests * refactor: accumulator info text * refactor: profit tooltip text test add * refactor: radiogroupwithinfomobile test added * refactor: tickhistorycounter tests added * refactor: tickcounterbar test added Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/83311/Refactoring, tests, TS migration (#50) * refactor: purchase-buttons-overlay.spec.js from enzyme to jest * style: removed extra variable * refactor: from accumulator.js with chai to accumulator.spec.js with jest * refactor: removed unused dummy data * test: added tests for accumulators-stats-manual-modal.jsx * chore: improved accumulators-stats-manual-modal * refactor: incapsulated AccumulatorsChartElements in trade.jsx * fix: maryia/circleci eslint error * feat: maryia/added dark theme video manual for stats + fix for circleci * test: maryia/added tests for AccumulatorsInfoDisplay & LabeledQuantityInputMobile * chore: maryia/ address review comments + updated videos * fix: maryia/open positions: auto-select Accumulators if has open ACCU contracts * refactor: accumulatorschartelements test added (#52) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * style: maryia/apply review suggestions * style: maryia/apply review suggestions * refactor: maryia/refactoring + small improvements & adjustments * chore: add built icons file * fix: circleci tests + improvements * chore: refactoring + added loader before video manual first loads * refactor: improvements + addressed review comments * yauheni/qa checks refactoring 1 (#53) * refactor: open recent position after buying contract for mobile * fix: accu card curent stake name field * fix: popover accumulator radio group text and alignment * fix: open position accumulate column name Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * fix: last truncated counter in responsive (#54) * Maryia/83807/stake validation (part 1) (#55) * fix: set growth_rate based on accumulator_range_list (growth_rate_range) received in contracts_for * fix: app crash caused by proposal error * chore: removed unused classname * fix: growth rate title alignment (#56) * fix: growht rate title alignment * refactor: category wrapper odd style Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/83807/fix: stake validation for ACCU broken because of barriers being set (#57) * fix: stake validation for ACCU broken because of barriers being set * fix: prevent app crash in profit table for unknown contracts * fix: check if selected growth_rate is available on symbol change (#58) * fix: able to buy multiply contract / growth rate fix BO change (#59) * fix: able to buy multiply contract / growth rate fix BO change * refactor: last contract check delete Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * revert: maryia/revert change of last_contract computed * fix: accumulator is shown for real account (#60) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * feat: make cursor not allowd for overlay (#61) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * chore: built icons.js * revert: maryia/ unnecessary bot file change * refactor: contract categories in contract-type-widget.jsx * refactor: according to pr review comments * refactor: open positions + add keys to fix console warning * fix: disable accu for real account, disable button having bought one contract (#62) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * refactor: purchase.jsx * refactor: according to pr reviews * refactor: able to buy contract per every available underlying (#63) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Trigger Build * yauheni/85032/ fix chart issue with dots and circles Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * fix: exit spot styles * refactor: make barrier values string as on BE * fix: unable accumulators for real * maryia/refactor_accu_branch (#66) * refactor: remove unused file * refactor: refactor createTickMarkers * refactor: introduce a local variable * fix: 86705/ticks are not displayed correctly on chart in contract details * maryia/86953/build: bump up deriv-charts version to 1.1.0 + improvement (#68) * build: bump up deriv-charts version * chore: show profit only when barriers are received * test: updated mocked props * build: maryia/removed extra package-lock.jsons * evgeniy /87215/87226/ info description / glitch while switching account (#70) * fix: description * fix: disable trade params while switching account --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * henry/87329/fix: FE not showing error message when accu trading is suspended (#72) * fix: FE not showing error message when accu trading is suspended * test: empty commit --------- Co-authored-by: HENRY <henry@regentmarkets.com> * refactor: glitching fix and deleted odd css (#73) * refactor: glitching fix and deleted odd css * fix: code refactor --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/86616/feat: calculating accu barriers based on ticks from ticks_history (#71) * feat: calculating accu barriers based on ticks from ticks_history * chore: rounded & refactored accu barriers * refactor: added getAccumulatorBarriers for barrier calculation + fixed a test * chore: improved barriers calculations * refactor: getAccumulatorBarriers docs * refactor: getAccumulatorBarriers * fix: showing barriers only when having have barriers & always showing barrier lines in C.Details * build: updated package-lock & icons + fixed conflicts + linting * fix: max stake validation is missing (#81) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * fix: maryia/87948/chart empty issue + profit text effects clean-up * henry/87958/feat: Add Dropdown for rates in Accumulator (#86) * feat: Add Dropdown for rates in Accumulator * chore: code cleanup * Update packages/reports/src/Containers/open-positions.jsx Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> --------- Co-authored-by: HENRY <henry@regentmarkets.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * Maryia/86616/make 2 last ticks bold + refactoring (#84) * chore: make prelast & last tick bold * chore: adjust styles for previous and last markers in c.details * refactor: getSupportedContracts & getContractTypeDisplay in configs * refactor: open-positions * refactor: chart-markers slyles * style: updated All rates casing * build: update package-lock * Henry/87958/feat add all rates dropdown accumulator (#89) * feat: Add Dropdown for rates in Accumulator * chore: code cleanup * Update packages/reports/src/Containers/open-positions.jsx Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * chore: remove console log * fix: Change Open positions total for multiplier and accumulator to flex --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * refactor: open-positions * fix: remove unused eslint disable * revert: package-lock * fix: sell button disappearing in mobile accumulators (#92) * Henry/89489/fix sell button missing accumulator (#95) * fix: sell button disappearing in mobile accumulators * fix: fix cut off buy button issue * fix: remove commented out code * maryia/89432/fix: show barriers for current symbol correctly (#94) * fix: show barriers for current symbol * refactor: show barriers for current symbol only * Maryia/test: added tests for getAccumulatorBarriers function (#99) * test: added tests for getAccumulatorBarriers function * test: added tests for getAccumulatorBarriers function * test: renamed test cases for getAccumulatorBarriers function * Maryia/89927_2/fix: ticks_history not forgotten because of chart mode & granularity change (#101) * fix: logics for changing chart mode & granularity caused ticks_history streaming for previous symbol * fix: update chart mode just once when switching contract type * fix: maryia/fixed logics for chart mode switching * refactor: maryia/address review comments * Merge branch master of github.com:binary-com/deriv-app into maryia/67492/task_add_accumulators * Update vanilla-options-card-body.jsx * fix: vanillas + accumulators adjustments * fix: maryia/restore overriden accu change * fix: maryia/vanillas+accumulators adjustment * fix: maryia/ improvements + refactoring to address review comments * fix: maryia/ update c.details chart when end_epoch is defined * fix: reset accu barriers data on every contract type change * fix: revert ui-store to master * fix: chart mode change when switching to symbol without accu * fix: purchase button styling for accumulators (#109) Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> --------- Co-authored-by: Maryia <103177211+maryia-binary@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: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: HENRY <henry@regentmarkets.com> Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> Co-authored-by: hirad-deriv <hirad@re-work.dev>
matin-deriv
added a commit
that referenced
this pull request
Mar 29, 2023
* thisyahlen/chore: new account verification modal for purchase authentication (#7936) * chore: new account verification modal for purchase authentication * fix: height and width * fix: modal footer css * fix: css mobile title * thisyahlen/fix: remove financial mt5 for norway and japan (#7846) * fix: remove financial mt5 for norway and japan * fix: resolved comments * fix: rename restricetd countries * fix: compare accounts table * fix: fix compare accounts table for norway/japan * fix: remove synthetic bvi for norway and japan * Jim/88166/delay in real account creation flow after clicking add account button in the account creation popup (#7926) * chore: remove duplicate get_settings api request * chore: set account_settings in client-store if undefined * chore: remove unnecessary else block * refactor: convert if expression to ternary * chore: set account_settings in client store instead of creating a local variable * fix: ✨ allows users to enter accented name characters (#7832) * fix: ✨ allows users to enter accented name characters * chore: 🗑️ removes unused 'letter_symbol' variable * fix: 🐛 allows accented characters in name for existing users * docs: ✏️ comment on the regex used for name validation * resused regex function Co-authored-by: Yashim Wong <yashim@regentmarkets.com> * fix: 📝 imported reused regex function * fix: 📝 comment on regex function used --------- Co-authored-by: Yashim Wong <yashim@regentmarkets.com> * Evgeniy / 89431 / no error message for idv duplicated document numbers (#7743) * fix: no error message for idv duplicated document numbers * feat: idv testing document whitelist * refactor: function rename, code and test fix * refactor: code style change, review fixes --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Hamid/90702/account switchers to wrong deriv account when performing deposit via bank wire (#7933) * chore: icon changes after build * fix: redirect user to non-eu account instead eu after cashier deposit switch account * Ameerul /Task 89855 Add a checkbox to select/deselect a payment method when creating or updating a sell ad and making a sell order (#7824) * chore: added checkbox to payment method card * fix: added logic to disable checkbox and show checkbox in certain tabs only * Maryia/80948/fix: avoid rate limit error by storing counter after sending verification email in Withdrawal (#7218) * fix: instantiating useVerifyEmail object once for each email verification case to avoid settimeout leak in useCountdown * chore: store verify_email_sent_count in store instead of locally * test: fix test for email-verification-empty-state.tsx * fix: avoid counter reset by storing and using the time an email was last sent * chore: a workaround for VerifyEmailRequest type declared with an extra required field in api-types * chore: remove api-types workaround * build: update @deriv/api-types to 1.0.85 * revert: api-types version upgrade * revert: package-lock * revert: modal-manager.jsx * revert: modal-manager.jsx * thisyahlen/fix: error when switch to mf (#7778) * fix: error when switch to mf * fix: addressed comments * fix: addressed comments v2 * chore: fix tooltip language not updating on change language (#7871) * chore: fix tooltip language not updating on change language * fix: added checks for currency in trade store * fix: added delete amount validation rules in reaction * fix: remove delete rule in reaction * fix: remove mistake * fix: typo * Aizad/89113/sidebar platform fix (#7697) * chore: fix mobile sidebar platform for eu * fix: codecov error * fix: codecov error * chore: update packages * Nada/88951/change chat url (#7798) * fix: get chat url from p2p_order_create instead of p2p_chat_create * fix: fixed issue with order details page * fix: chat channel url empty issue fixed for p2p_order_create response * fix: function added to store * fix: added timeout for setting chat_channel in order details * fix: pr comments fixed * fix: increased time out * fix: removed delay for going to details page from list * thisyahlen/fix: top up mt5 demo (#7665) * fix: top up demo * fix: deriv x as well * redeploy: a * chore: update pdf in acuity download modal (#7567) * fix: filter currencies by name (#7493) * fix: changed pop up message for no recommendations (#7693) * Aizad/89700/onboarding btn fix (#7813) * chore: disable cursor on account switcher button onboarding * fix: Add the same behavior for Options and Multipliers section Trade Button * fix: added default class and refactor scss * Nada/89550/remove validation ad amount (#7753) * fix: removed error validation for amount greater than user's balance * fix: added popup for creating ad greater than balance * fix: pr comments fixed * fix: reuse common modal for visibility errors * Aizad/88786/mt5 redirection modal fix (#7663) * chore: fix mt5 redirection modal closing on trade * fix: modal and dialog close seperately after clicking outside * fix: re-add dialog_status condition back to redirect-notice-modal * fix: reverted the previous changes * fix: remove useclickoutside for page overlay * fix: update deriv/api package to latest version * fix: updated package version to match with master * Merge branch 'develop' of github.com:binary-com/deriv-app into aizad/88786/mt5-redirection-modal-fix * fix: codecov and circleci * fix: upgrade package * fix: theme switch in poroduction (#7781) * translations: 📚 sync translations with crowdin (#7989) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * yashim/chore: remove indonesia from production (#7999) * chore: remove trading experience incomplete (#8005) * chore: remove trading experience incomplete * fix: remove is cfd score available * thisyahlen/hotfix: wrong restriction message for austria (#8006) * hotfix: wrong restriction message for austria * fix: Empty-Commit * Revert "thisyahlen/hotfix: wrong restriction message for austria (#8006)" (#8013) This reverts commit 56baec7. * Revert "Jim/88166/delay in real account creation flow after clicking add account button in the account creation popup (#7926)" (#8016) This reverts commit 8bb1351. * fix: 🐛 fetches latest personal details every time intead of cached value (#8002) * Revert "Maryia/80948/fix: avoid rate limit error by storing counter a… (#8020) * Revert "Maryia/80948/fix: avoid rate limit error by storing counter after sending verification email in Withdrawal (#7218)" This reverts commit cc0065d. * revert: reverted setIsCFDScoreAvailable from client.store * Revert "fix: 🐛 fetches latest personal details every time intead of cached value (#8002)" (#8022) This reverts commit ff497c1. * Adrienne / Prefetched email verification modal (#8027) * chore: prefetched email verification modal * chore: added settimoeut * chore: used eager mode * chore: import model directly * chore: reverted direct imports * chore: added settimeout * translations: 📚 sync translations with crowdin (#8031) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#8040) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> Co-authored-by: yashim-deriv <yashim@deriv.com> * Maryia/67492/task_add_accumulators (#6406) * Merge '67492_accumulators_purchase' into 'maryia/67492/task_add_accumulators' * Maryia/75617/add_accu_to_trade_params (#3) * initialized ACCU trade params for responsive * added LabeledQuantityInputMobile & improved AccumulatorsAmountMobile * feat: added Accumulator radio group for growth_rate * feat: finalized Accumulator growth_rates radio group for mobile * feat: responsive- added Take profit to trade params & aligned purchase button icon * feat: improved mobile trade params for ACCU * feat: finalized trade params for ACCU * maryia/72761/task_add_recent_positions_drawer (#4) * feat: initialized ACCU contract card in recent positions * feat: initialized ProgressSliderSolidLine for ACCU * feat: updated recent positions card for ACCU for open/lost/won states * chore: improvements for ACCU card in responsive recent positions * chore: added TickCounterProgressBar component * feat: added TickCounterBar and reverted ProgressSlider & ProgressSliderMobile * chore: reverted original Recent positions drawer width * chore: improved TickCounterBar styling * maryia/76528/task_implement_contract_details_drawer (#5) * chore: updated Details in contract card for ACCU + styling * feat: implemented ACCU contract card in contract details + improved recent positions * chore: updated icons for ACCU trade type & contract category * maryia/72769/add_ticks_history_stats_widget (#6) * feat: init version of TicksHistoryStatsWidget for ACCU * chore: TicksHistoryStats * chore: improved tick history styling * chore: added more styles & animated progress dots under latest counter * feat: finalized desktop ticks history stats for dtrader page * feat: added ticks history to contract details page * improved ticks history stats for desktop & initialized it for responsive * made responsive stats non-expandable * maryia/77261/task_manual_for_history_widget (#8) * chore: discarded getUpdatedTicksHistoryStats as BE will send 15 exact values instead of 100+latest * feat: added AccumulatorsStatsManualModal * feat: finalized AccumulatorsStatsManualModal for desktop & responsive * chore: added getUpdatedTicksHistoryStats to process arrays of counters with epochs expected from BE * feat: added expanded AccumulatorsStats dialog for responsive * chore: contract card styling improvements + using ACCU tick_count as max_ticks_number * chore: improved AccumulatorsStats to load after tick counters have loaded * maryia/75621/task_add_tests_and_restyle_contract_card (#9) * chore: improved ACCU contract type icon & label styling in contract card * chore: added tests for accumulator.js helper function * chore: added tests for Accumulator.jsx * maryia/75621/part_2_task_accu_barriers (#10) * chore: updated dummy data * chore: fixed history stats styles & added tests for AccumulatorsStats * chore: improved AccumulatorsStats and its tests * chore: updated contract card & open positions * maryia/75621/add barriers for stay in contract on trader page (#12) * chore: test out passing trade data to all-markers for drawing barriers without contract + improvements * feat: added barriers for accumulators without open contract * feat: added markers and barriers for stay in contract on trader page * chore: adjusted open contract profit label (#13) * yauheni/77994/trader add break out contract type (#14) * yauheni/77994/trader add break out contract type * regexp fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * yauheni/78429/update styles of tick history widget (#15) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * chore: prepared data for connecting API (#16) * Maryia/78473/part 2 prepare for api + improvements (#18) * chore: improved barriers without contract and open contract label * chore: prepared data for api connection * chore: added price tags for barriers in contract details (#19) * feat: initialized AccumulatorsProfitLossTooltip (#20) * yauheni/78477/update params with buttons for responsive (#17) * yauheni/78477/update params with buttons for responsive * fix styles accordingly to design * buttons gap fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * yauheni/resolve build errors (#21) * yauheni/resolve build errors * optional property for is_checkbox_hidden Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Yauheni/78633/update styles for tick history widget (#22) * yauheni/resolve build errors * yauheni/78633/update styles for tick history widget * yauheni/78633/update styles for tick history widget responsive Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/78839/complete_sold_labels (#23) * chore: added tolltips for all sold positions & won/lost coloring * feat: finalized AccumulatorsProfitLossTooltip * maryia/improvements for stats and tooltip (#24) * chore: accumulators stats improvements * improvements * maryia/improvements for sold contract label * maryia/78574/add_barriers_to_contract_details * maryia/79085/remove_break_out_history_from_stats_widget (#26) * maryia/79085/remove_break_out_history_from_stats * chore: made purchaseButtonsOverlay flexible * chore: added tests for PurchaseButtonsOverlay * Yauheni/77995/update trade params for stayin breakout (#25) * yauheni/77995/update trade params for stayin breakout * take profit alimngment * buttons styles, take profit alingment * maryia/78574/add_barriers_to_contract_details * stake font and icon fix, go_tp_reports button styles * update contract store from parent Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> Co-authored-by: maryia-binary <maryia@binary.com> * maryia/fix: styles & fonts for responsive trade types * Maryia/79549/part 1: update tick markers for ACCU in contract details + improvements (#27) * maryia/79549/add_tick_markers_contract_details * chore: improvements for styles in responsive trade types desc * yauheni/79530/remove breakout contract (#28) * yauheni/79530/remove breakout contract * proposal data fields fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/styling improvements * maryia/fix: forcing Div100vh to re-render when height_offset for responsive has changed * maryia/fix: observables + markers * maryia/chore: prevented barriers, labels and markers from going outside axes (#30) * maryia/79969/set_default_chart_type_and_interval_to_Area_and_1_tick * maryia/chore: changed trade type name to Accumulators * maryia/80163/set growth rate based on default value from BE contracts_for response * yauheni/80091/hide chart mode icon for accumulators (#33) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/80166/connect_to_available_API (#34) * chore: connected api without contracts_for for now * chore: updated proposal * chore: updated tests for new proposal * maryia/80163/add-growth-rate-to-purchase-button * maryia/refactored purchase button growth_rate text * maryia/chore: removed unused code for outside barriers * maryia/fix: barrier shade color for ongoing contract * feat: restore chart mode set for non accumulators contract after switching (#37) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * yauheni/80158/update ui according to latest design (design flow 1-2) (#36) * icon accumulator change * purchase btn, stats fix * fix styles, flow 1 * accumulator design flow 2 Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/80686/feat: profit text animation for ongoing contract (#39) * fix: showing profit text next to current spot for open contract * chore: animated profit text * feat: added animated profit text for ongoing contract * test: fixed a test * chore: removed unused variable * fix: maryia/80686/profit text color * fix: maryia/using default growth rate only if no stored growth rate * feat: allow accumulators only for demo account (#40) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Yauheni/80158/update UI according to latest design part 2 (#38) * accu design chart position fix * accu page for reports rendering * reports card design fix * reports card design fix2 * updated design fix * pseudoelement colon fix * emphasizing value fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/80687/ticks_contract_details (#41) * fix: tick markers in contract details & take profit logics * feat: showing only 10 last ticks for accumulators ongoing contract * chore: display all trade types when list is not empty * style: typo * chore: maryia/added opacity to profit text + connected contracts_for + refactoring * chore: improved tick stream for ACCU in contract details + stats alignment * chore: maryia/handled undefined profit & updated opacity animation timing * chore: temporary dummy api connection * fix: maryia/hide profit if undefined, display if number * revert: dummi api * feat: implement last design part 1 (#43) * feat: implement last design part 1 * fix: test text fix * refactor: stats style for mobile fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/82425/task highlight crossing tick (#42) * feat: hightlighting crossing tick * feat: sync highlighting of crossing tick based on ticks_history_stats * Maryia/83069/task: replace image with video manual (#44) * feat: replaced manual image with video + responsive stats improvement * test: fixed a test * fix: entry tick marker in dtrader * style: removed extra margin-bottom * feat: implement last design part 2 (#45) * feat: implement last design part 2 * fix: initial growth_rate added * refactor: growth_rate from contract_for delete Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * refactor: accu sold contract tooltip animation change (#49) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/82257/Contract Details tick markers + AccumulatorsProfitLossText refactoring (#48) * chore: saving canvas context before accu barriers are drawn and restoring when finished drawing * fix: endtime, avoid fetching history in replay, avoid 0 profit animation * chore: forcing chart reload when start_epoch changes to earlier epoch + refactored profit-text * refactor: accumulators-profit-loss-text * refactor: tooltip style and tests (#51) * refactor: tooltip style and tests * refactor: accumulator info text * refactor: profit tooltip text test add * refactor: radiogroupwithinfomobile test added * refactor: tickhistorycounter tests added * refactor: tickcounterbar test added Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/83311/Refactoring, tests, TS migration (#50) * refactor: purchase-buttons-overlay.spec.js from enzyme to jest * style: removed extra variable * refactor: from accumulator.js with chai to accumulator.spec.js with jest * refactor: removed unused dummy data * test: added tests for accumulators-stats-manual-modal.jsx * chore: improved accumulators-stats-manual-modal * refactor: incapsulated AccumulatorsChartElements in trade.jsx * fix: maryia/circleci eslint error * feat: maryia/added dark theme video manual for stats + fix for circleci * test: maryia/added tests for AccumulatorsInfoDisplay & LabeledQuantityInputMobile * chore: maryia/ address review comments + updated videos * fix: maryia/open positions: auto-select Accumulators if has open ACCU contracts * refactor: accumulatorschartelements test added (#52) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * style: maryia/apply review suggestions * style: maryia/apply review suggestions * refactor: maryia/refactoring + small improvements & adjustments * chore: add built icons file * fix: circleci tests + improvements * chore: refactoring + added loader before video manual first loads * refactor: improvements + addressed review comments * yauheni/qa checks refactoring 1 (#53) * refactor: open recent position after buying contract for mobile * fix: accu card curent stake name field * fix: popover accumulator radio group text and alignment * fix: open position accumulate column name Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * fix: last truncated counter in responsive (#54) * Maryia/83807/stake validation (part 1) (#55) * fix: set growth_rate based on accumulator_range_list (growth_rate_range) received in contracts_for * fix: app crash caused by proposal error * chore: removed unused classname * fix: growth rate title alignment (#56) * fix: growht rate title alignment * refactor: category wrapper odd style Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/83807/fix: stake validation for ACCU broken because of barriers being set (#57) * fix: stake validation for ACCU broken because of barriers being set * fix: prevent app crash in profit table for unknown contracts * fix: check if selected growth_rate is available on symbol change (#58) * fix: able to buy multiply contract / growth rate fix BO change (#59) * fix: able to buy multiply contract / growth rate fix BO change * refactor: last contract check delete Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * revert: maryia/revert change of last_contract computed * fix: accumulator is shown for real account (#60) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * feat: make cursor not allowd for overlay (#61) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * chore: built icons.js * revert: maryia/ unnecessary bot file change * refactor: contract categories in contract-type-widget.jsx * refactor: according to pr review comments * refactor: open positions + add keys to fix console warning * fix: disable accu for real account, disable button having bought one contract (#62) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * refactor: purchase.jsx * refactor: according to pr reviews * refactor: able to buy contract per every available underlying (#63) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Trigger Build * yauheni/85032/ fix chart issue with dots and circles Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * fix: exit spot styles * refactor: make barrier values string as on BE * fix: unable accumulators for real * maryia/refactor_accu_branch (#66) * refactor: remove unused file * refactor: refactor createTickMarkers * refactor: introduce a local variable * fix: 86705/ticks are not displayed correctly on chart in contract details * maryia/86953/build: bump up deriv-charts version to 1.1.0 + improvement (#68) * build: bump up deriv-charts version * chore: show profit only when barriers are received * test: updated mocked props * build: maryia/removed extra package-lock.jsons * evgeniy /87215/87226/ info description / glitch while switching account (#70) * fix: description * fix: disable trade params while switching account --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * henry/87329/fix: FE not showing error message when accu trading is suspended (#72) * fix: FE not showing error message when accu trading is suspended * test: empty commit --------- Co-authored-by: HENRY <henry@regentmarkets.com> * refactor: glitching fix and deleted odd css (#73) * refactor: glitching fix and deleted odd css * fix: code refactor --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/86616/feat: calculating accu barriers based on ticks from ticks_history (#71) * feat: calculating accu barriers based on ticks from ticks_history * chore: rounded & refactored accu barriers * refactor: added getAccumulatorBarriers for barrier calculation + fixed a test * chore: improved barriers calculations * refactor: getAccumulatorBarriers docs * refactor: getAccumulatorBarriers * fix: showing barriers only when having have barriers & always showing barrier lines in C.Details * build: updated package-lock & icons + fixed conflicts + linting * fix: max stake validation is missing (#81) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * fix: maryia/87948/chart empty issue + profit text effects clean-up * henry/87958/feat: Add Dropdown for rates in Accumulator (#86) * feat: Add Dropdown for rates in Accumulator * chore: code cleanup * Update packages/reports/src/Containers/open-positions.jsx Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> --------- Co-authored-by: HENRY <henry@regentmarkets.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * Maryia/86616/make 2 last ticks bold + refactoring (#84) * chore: make prelast & last tick bold * chore: adjust styles for previous and last markers in c.details * refactor: getSupportedContracts & getContractTypeDisplay in configs * refactor: open-positions * refactor: chart-markers slyles * style: updated All rates casing * build: update package-lock * Henry/87958/feat add all rates dropdown accumulator (#89) * feat: Add Dropdown for rates in Accumulator * chore: code cleanup * Update packages/reports/src/Containers/open-positions.jsx Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * chore: remove console log * fix: Change Open positions total for multiplier and accumulator to flex --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * refactor: open-positions * fix: remove unused eslint disable * revert: package-lock * fix: sell button disappearing in mobile accumulators (#92) * Henry/89489/fix sell button missing accumulator (#95) * fix: sell button disappearing in mobile accumulators * fix: fix cut off buy button issue * fix: remove commented out code * maryia/89432/fix: show barriers for current symbol correctly (#94) * fix: show barriers for current symbol * refactor: show barriers for current symbol only * Maryia/test: added tests for getAccumulatorBarriers function (#99) * test: added tests for getAccumulatorBarriers function * test: added tests for getAccumulatorBarriers function * test: renamed test cases for getAccumulatorBarriers function * Maryia/89927_2/fix: ticks_history not forgotten because of chart mode & granularity change (#101) * fix: logics for changing chart mode & granularity caused ticks_history streaming for previous symbol * fix: update chart mode just once when switching contract type * fix: maryia/fixed logics for chart mode switching * refactor: maryia/address review comments * Merge branch master of github.com:binary-com/deriv-app into maryia/67492/task_add_accumulators * Update vanilla-options-card-body.jsx * fix: vanillas + accumulators adjustments * fix: maryia/restore overriden accu change * fix: maryia/vanillas+accumulators adjustment * fix: maryia/ improvements + refactoring to address review comments * fix: maryia/ update c.details chart when end_epoch is defined * fix: reset accu barriers data on every contract type change * fix: revert ui-store to master * fix: chart mode change when switching to symbol without accu * fix: purchase button styling for accumulators (#109) Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> --------- Co-authored-by: Maryia <103177211+maryia-binary@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: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: HENRY <henry@regentmarkets.com> Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> Co-authored-by: hirad-deriv <hirad@re-work.dev> * Amina /77701_make signup form fields immutable if they are immutable from BE (#7544) * adding validation * changeablle fields from client store * mutate address fields * fix: test case * fix: test case * fix: spec_file * fix: making employment status immutable * fix: trading assessment * fix: trading assessment * fix: trading assessment * fix: test case after merge conflict * fix: hide idv section when client is age verified * fix: remove idv_disallowed check * chore: merge master * fix: add new status --------- Co-authored-by: hirad-deriv <hirad@re-work.dev> * translations: 📚 sync translations with crowdin (#8048) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#8049) Co-authored-by: yashim-deriv <yashim@deriv.com> Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#8050) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> --------- Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> Co-authored-by: Shaheer <122449658+shaheer-deriv@users.noreply.github.com> Co-authored-by: Yashim Wong <yashim@regentmarkets.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> Co-authored-by: Hamid <hamid@deriv.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Aizad Ridzo <103104395+aizad-deriv@users.noreply.github.com> Co-authored-by: nada-deriv <122768621+nada-deriv@users.noreply.github.com> Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-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: Yashim Wong <yashim@deriv.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-binary@users.noreply.github.com> Co-authored-by: yauheni-kryzhyk-deriv <103182683+yauheni-kryzhyk-deriv@users.noreply.github.com> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: HENRY <henry@regentmarkets.com> Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> Co-authored-by: hirad-deriv <hirad@re-work.dev> Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com>
matin-deriv
added a commit
that referenced
this pull request
Apr 5, 2023
* thisyahlen/chore: new account verification modal for purchase authentication (#7936) * chore: new account verification modal for purchase authentication * fix: height and width * fix: modal footer css * fix: css mobile title * thisyahlen/fix: remove financial mt5 for norway and japan (#7846) * fix: remove financial mt5 for norway and japan * fix: resolved comments * fix: rename restricetd countries * fix: compare accounts table * fix: fix compare accounts table for norway/japan * fix: remove synthetic bvi for norway and japan * Jim/88166/delay in real account creation flow after clicking add account button in the account creation popup (#7926) * chore: remove duplicate get_settings api request * chore: set account_settings in client-store if undefined * chore: remove unnecessary else block * refactor: convert if expression to ternary * chore: set account_settings in client store instead of creating a local variable * fix: ✨ allows users to enter accented name characters (#7832) * fix: ✨ allows users to enter accented name characters * chore: 🗑️ removes unused 'letter_symbol' variable * fix: 🐛 allows accented characters in name for existing users * docs: ✏️ comment on the regex used for name validation * resused regex function Co-authored-by: Yashim Wong <yashim@regentmarkets.com> * fix: 📝 imported reused regex function * fix: 📝 comment on regex function used --------- Co-authored-by: Yashim Wong <yashim@regentmarkets.com> * Evgeniy / 89431 / no error message for idv duplicated document numbers (#7743) * fix: no error message for idv duplicated document numbers * feat: idv testing document whitelist * refactor: function rename, code and test fix * refactor: code style change, review fixes --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Hamid/90702/account switchers to wrong deriv account when performing deposit via bank wire (#7933) * chore: icon changes after build * fix: redirect user to non-eu account instead eu after cashier deposit switch account * Ameerul /Task 89855 Add a checkbox to select/deselect a payment method when creating or updating a sell ad and making a sell order (#7824) * chore: added checkbox to payment method card * fix: added logic to disable checkbox and show checkbox in certain tabs only * Maryia/80948/fix: avoid rate limit error by storing counter after sending verification email in Withdrawal (#7218) * fix: instantiating useVerifyEmail object once for each email verification case to avoid settimeout leak in useCountdown * chore: store verify_email_sent_count in store instead of locally * test: fix test for email-verification-empty-state.tsx * fix: avoid counter reset by storing and using the time an email was last sent * chore: a workaround for VerifyEmailRequest type declared with an extra required field in api-types * chore: remove api-types workaround * build: update @deriv/api-types to 1.0.85 * revert: api-types version upgrade * revert: package-lock * revert: modal-manager.jsx * revert: modal-manager.jsx * thisyahlen/fix: error when switch to mf (#7778) * fix: error when switch to mf * fix: addressed comments * fix: addressed comments v2 * chore: fix tooltip language not updating on change language (#7871) * chore: fix tooltip language not updating on change language * fix: added checks for currency in trade store * fix: added delete amount validation rules in reaction * fix: remove delete rule in reaction * fix: remove mistake * fix: typo * Aizad/89113/sidebar platform fix (#7697) * chore: fix mobile sidebar platform for eu * fix: codecov error * fix: codecov error * chore: update packages * Nada/88951/change chat url (#7798) * fix: get chat url from p2p_order_create instead of p2p_chat_create * fix: fixed issue with order details page * fix: chat channel url empty issue fixed for p2p_order_create response * fix: function added to store * fix: added timeout for setting chat_channel in order details * fix: pr comments fixed * fix: increased time out * fix: removed delay for going to details page from list * thisyahlen/fix: top up mt5 demo (#7665) * fix: top up demo * fix: deriv x as well * redeploy: a * chore: update pdf in acuity download modal (#7567) * fix: filter currencies by name (#7493) * fix: changed pop up message for no recommendations (#7693) * Aizad/89700/onboarding btn fix (#7813) * chore: disable cursor on account switcher button onboarding * fix: Add the same behavior for Options and Multipliers section Trade Button * fix: added default class and refactor scss * Nada/89550/remove validation ad amount (#7753) * fix: removed error validation for amount greater than user's balance * fix: added popup for creating ad greater than balance * fix: pr comments fixed * fix: reuse common modal for visibility errors * Aizad/88786/mt5 redirection modal fix (#7663) * chore: fix mt5 redirection modal closing on trade * fix: modal and dialog close seperately after clicking outside * fix: re-add dialog_status condition back to redirect-notice-modal * fix: reverted the previous changes * fix: remove useclickoutside for page overlay * fix: update deriv/api package to latest version * fix: updated package version to match with master * Merge branch 'develop' of github.com:binary-com/deriv-app into aizad/88786/mt5-redirection-modal-fix * fix: codecov and circleci * fix: upgrade package * fix: theme switch in poroduction (#7781) * translations: 📚 sync translations with crowdin (#7989) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * yashim/chore: remove indonesia from production (#7999) * chore: remove trading experience incomplete (#8005) * chore: remove trading experience incomplete * fix: remove is cfd score available * thisyahlen/hotfix: wrong restriction message for austria (#8006) * hotfix: wrong restriction message for austria * fix: Empty-Commit * Revert "thisyahlen/hotfix: wrong restriction message for austria (#8006)" (#8013) This reverts commit 56baec7. * Revert "Jim/88166/delay in real account creation flow after clicking add account button in the account creation popup (#7926)" (#8016) This reverts commit 8bb1351. * fix: 🐛 fetches latest personal details every time intead of cached value (#8002) * Revert "Maryia/80948/fix: avoid rate limit error by storing counter a… (#8020) * Revert "Maryia/80948/fix: avoid rate limit error by storing counter after sending verification email in Withdrawal (#7218)" This reverts commit cc0065d. * revert: reverted setIsCFDScoreAvailable from client.store * Revert "fix: 🐛 fetches latest personal details every time intead of cached value (#8002)" (#8022) This reverts commit ff497c1. * Adrienne / Prefetched email verification modal (#8027) * chore: prefetched email verification modal * chore: added settimoeut * chore: used eager mode * chore: import model directly * chore: reverted direct imports * chore: added settimeout * translations: 📚 sync translations with crowdin (#8031) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#8040) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> Co-authored-by: yashim-deriv <yashim@deriv.com> * Maryia/67492/task_add_accumulators (#6406) * Merge '67492_accumulators_purchase' into 'maryia/67492/task_add_accumulators' * Maryia/75617/add_accu_to_trade_params (#3) * initialized ACCU trade params for responsive * added LabeledQuantityInputMobile & improved AccumulatorsAmountMobile * feat: added Accumulator radio group for growth_rate * feat: finalized Accumulator growth_rates radio group for mobile * feat: responsive- added Take profit to trade params & aligned purchase button icon * feat: improved mobile trade params for ACCU * feat: finalized trade params for ACCU * maryia/72761/task_add_recent_positions_drawer (#4) * feat: initialized ACCU contract card in recent positions * feat: initialized ProgressSliderSolidLine for ACCU * feat: updated recent positions card for ACCU for open/lost/won states * chore: improvements for ACCU card in responsive recent positions * chore: added TickCounterProgressBar component * feat: added TickCounterBar and reverted ProgressSlider & ProgressSliderMobile * chore: reverted original Recent positions drawer width * chore: improved TickCounterBar styling * maryia/76528/task_implement_contract_details_drawer (#5) * chore: updated Details in contract card for ACCU + styling * feat: implemented ACCU contract card in contract details + improved recent positions * chore: updated icons for ACCU trade type & contract category * maryia/72769/add_ticks_history_stats_widget (#6) * feat: init version of TicksHistoryStatsWidget for ACCU * chore: TicksHistoryStats * chore: improved tick history styling * chore: added more styles & animated progress dots under latest counter * feat: finalized desktop ticks history stats for dtrader page * feat: added ticks history to contract details page * improved ticks history stats for desktop & initialized it for responsive * made responsive stats non-expandable * maryia/77261/task_manual_for_history_widget (#8) * chore: discarded getUpdatedTicksHistoryStats as BE will send 15 exact values instead of 100+latest * feat: added AccumulatorsStatsManualModal * feat: finalized AccumulatorsStatsManualModal for desktop & responsive * chore: added getUpdatedTicksHistoryStats to process arrays of counters with epochs expected from BE * feat: added expanded AccumulatorsStats dialog for responsive * chore: contract card styling improvements + using ACCU tick_count as max_ticks_number * chore: improved AccumulatorsStats to load after tick counters have loaded * maryia/75621/task_add_tests_and_restyle_contract_card (#9) * chore: improved ACCU contract type icon & label styling in contract card * chore: added tests for accumulator.js helper function * chore: added tests for Accumulator.jsx * maryia/75621/part_2_task_accu_barriers (#10) * chore: updated dummy data * chore: fixed history stats styles & added tests for AccumulatorsStats * chore: improved AccumulatorsStats and its tests * chore: updated contract card & open positions * maryia/75621/add barriers for stay in contract on trader page (#12) * chore: test out passing trade data to all-markers for drawing barriers without contract + improvements * feat: added barriers for accumulators without open contract * feat: added markers and barriers for stay in contract on trader page * chore: adjusted open contract profit label (#13) * yauheni/77994/trader add break out contract type (#14) * yauheni/77994/trader add break out contract type * regexp fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * yauheni/78429/update styles of tick history widget (#15) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * chore: prepared data for connecting API (#16) * Maryia/78473/part 2 prepare for api + improvements (#18) * chore: improved barriers without contract and open contract label * chore: prepared data for api connection * chore: added price tags for barriers in contract details (#19) * feat: initialized AccumulatorsProfitLossTooltip (#20) * yauheni/78477/update params with buttons for responsive (#17) * yauheni/78477/update params with buttons for responsive * fix styles accordingly to design * buttons gap fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * yauheni/resolve build errors (#21) * yauheni/resolve build errors * optional property for is_checkbox_hidden Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Yauheni/78633/update styles for tick history widget (#22) * yauheni/resolve build errors * yauheni/78633/update styles for tick history widget * yauheni/78633/update styles for tick history widget responsive Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/78839/complete_sold_labels (#23) * chore: added tolltips for all sold positions & won/lost coloring * feat: finalized AccumulatorsProfitLossTooltip * maryia/improvements for stats and tooltip (#24) * chore: accumulators stats improvements * improvements * maryia/improvements for sold contract label * maryia/78574/add_barriers_to_contract_details * maryia/79085/remove_break_out_history_from_stats_widget (#26) * maryia/79085/remove_break_out_history_from_stats * chore: made purchaseButtonsOverlay flexible * chore: added tests for PurchaseButtonsOverlay * Yauheni/77995/update trade params for stayin breakout (#25) * yauheni/77995/update trade params for stayin breakout * take profit alimngment * buttons styles, take profit alingment * maryia/78574/add_barriers_to_contract_details * stake font and icon fix, go_tp_reports button styles * update contract store from parent Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> Co-authored-by: maryia-binary <maryia@binary.com> * maryia/fix: styles & fonts for responsive trade types * Maryia/79549/part 1: update tick markers for ACCU in contract details + improvements (#27) * maryia/79549/add_tick_markers_contract_details * chore: improvements for styles in responsive trade types desc * yauheni/79530/remove breakout contract (#28) * yauheni/79530/remove breakout contract * proposal data fields fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/styling improvements * maryia/fix: forcing Div100vh to re-render when height_offset for responsive has changed * maryia/fix: observables + markers * maryia/chore: prevented barriers, labels and markers from going outside axes (#30) * maryia/79969/set_default_chart_type_and_interval_to_Area_and_1_tick * maryia/chore: changed trade type name to Accumulators * maryia/80163/set growth rate based on default value from BE contracts_for response * yauheni/80091/hide chart mode icon for accumulators (#33) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/80166/connect_to_available_API (#34) * chore: connected api without contracts_for for now * chore: updated proposal * chore: updated tests for new proposal * maryia/80163/add-growth-rate-to-purchase-button * maryia/refactored purchase button growth_rate text * maryia/chore: removed unused code for outside barriers * maryia/fix: barrier shade color for ongoing contract * feat: restore chart mode set for non accumulators contract after switching (#37) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * yauheni/80158/update ui according to latest design (design flow 1-2) (#36) * icon accumulator change * purchase btn, stats fix * fix styles, flow 1 * accumulator design flow 2 Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/80686/feat: profit text animation for ongoing contract (#39) * fix: showing profit text next to current spot for open contract * chore: animated profit text * feat: added animated profit text for ongoing contract * test: fixed a test * chore: removed unused variable * fix: maryia/80686/profit text color * fix: maryia/using default growth rate only if no stored growth rate * feat: allow accumulators only for demo account (#40) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Yauheni/80158/update UI according to latest design part 2 (#38) * accu design chart position fix * accu page for reports rendering * reports card design fix * reports card design fix2 * updated design fix * pseudoelement colon fix * emphasizing value fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/80687/ticks_contract_details (#41) * fix: tick markers in contract details & take profit logics * feat: showing only 10 last ticks for accumulators ongoing contract * chore: display all trade types when list is not empty * style: typo * chore: maryia/added opacity to profit text + connected contracts_for + refactoring * chore: improved tick stream for ACCU in contract details + stats alignment * chore: maryia/handled undefined profit & updated opacity animation timing * chore: temporary dummy api connection * fix: maryia/hide profit if undefined, display if number * revert: dummi api * feat: implement last design part 1 (#43) * feat: implement last design part 1 * fix: test text fix * refactor: stats style for mobile fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/82425/task highlight crossing tick (#42) * feat: hightlighting crossing tick * feat: sync highlighting of crossing tick based on ticks_history_stats * Maryia/83069/task: replace image with video manual (#44) * feat: replaced manual image with video + responsive stats improvement * test: fixed a test * fix: entry tick marker in dtrader * style: removed extra margin-bottom * feat: implement last design part 2 (#45) * feat: implement last design part 2 * fix: initial growth_rate added * refactor: growth_rate from contract_for delete Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * refactor: accu sold contract tooltip animation change (#49) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/82257/Contract Details tick markers + AccumulatorsProfitLossText refactoring (#48) * chore: saving canvas context before accu barriers are drawn and restoring when finished drawing * fix: endtime, avoid fetching history in replay, avoid 0 profit animation * chore: forcing chart reload when start_epoch changes to earlier epoch + refactored profit-text * refactor: accumulators-profit-loss-text * refactor: tooltip style and tests (#51) * refactor: tooltip style and tests * refactor: accumulator info text * refactor: profit tooltip text test add * refactor: radiogroupwithinfomobile test added * refactor: tickhistorycounter tests added * refactor: tickcounterbar test added Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/83311/Refactoring, tests, TS migration (#50) * refactor: purchase-buttons-overlay.spec.js from enzyme to jest * style: removed extra variable * refactor: from accumulator.js with chai to accumulator.spec.js with jest * refactor: removed unused dummy data * test: added tests for accumulators-stats-manual-modal.jsx * chore: improved accumulators-stats-manual-modal * refactor: incapsulated AccumulatorsChartElements in trade.jsx * fix: maryia/circleci eslint error * feat: maryia/added dark theme video manual for stats + fix for circleci * test: maryia/added tests for AccumulatorsInfoDisplay & LabeledQuantityInputMobile * chore: maryia/ address review comments + updated videos * fix: maryia/open positions: auto-select Accumulators if has open ACCU contracts * refactor: accumulatorschartelements test added (#52) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * style: maryia/apply review suggestions * style: maryia/apply review suggestions * refactor: maryia/refactoring + small improvements & adjustments * chore: add built icons file * fix: circleci tests + improvements * chore: refactoring + added loader before video manual first loads * refactor: improvements + addressed review comments * yauheni/qa checks refactoring 1 (#53) * refactor: open recent position after buying contract for mobile * fix: accu card curent stake name field * fix: popover accumulator radio group text and alignment * fix: open position accumulate column name Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * fix: last truncated counter in responsive (#54) * Maryia/83807/stake validation (part 1) (#55) * fix: set growth_rate based on accumulator_range_list (growth_rate_range) received in contracts_for * fix: app crash caused by proposal error * chore: removed unused classname * fix: growth rate title alignment (#56) * fix: growht rate title alignment * refactor: category wrapper odd style Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/83807/fix: stake validation for ACCU broken because of barriers being set (#57) * fix: stake validation for ACCU broken because of barriers being set * fix: prevent app crash in profit table for unknown contracts * fix: check if selected growth_rate is available on symbol change (#58) * fix: able to buy multiply contract / growth rate fix BO change (#59) * fix: able to buy multiply contract / growth rate fix BO change * refactor: last contract check delete Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * revert: maryia/revert change of last_contract computed * fix: accumulator is shown for real account (#60) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * feat: make cursor not allowd for overlay (#61) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * chore: built icons.js * revert: maryia/ unnecessary bot file change * refactor: contract categories in contract-type-widget.jsx * refactor: according to pr review comments * refactor: open positions + add keys to fix console warning * fix: disable accu for real account, disable button having bought one contract (#62) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * refactor: purchase.jsx * refactor: according to pr reviews * refactor: able to buy contract per every available underlying (#63) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Trigger Build * yauheni/85032/ fix chart issue with dots and circles Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * fix: exit spot styles * refactor: make barrier values string as on BE * fix: unable accumulators for real * maryia/refactor_accu_branch (#66) * refactor: remove unused file * refactor: refactor createTickMarkers * refactor: introduce a local variable * fix: 86705/ticks are not displayed correctly on chart in contract details * maryia/86953/build: bump up deriv-charts version to 1.1.0 + improvement (#68) * build: bump up deriv-charts version * chore: show profit only when barriers are received * test: updated mocked props * build: maryia/removed extra package-lock.jsons * evgeniy /87215/87226/ info description / glitch while switching account (#70) * fix: description * fix: disable trade params while switching account --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * henry/87329/fix: FE not showing error message when accu trading is suspended (#72) * fix: FE not showing error message when accu trading is suspended * test: empty commit --------- Co-authored-by: HENRY <henry@regentmarkets.com> * refactor: glitching fix and deleted odd css (#73) * refactor: glitching fix and deleted odd css * fix: code refactor --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/86616/feat: calculating accu barriers based on ticks from ticks_history (#71) * feat: calculating accu barriers based on ticks from ticks_history * chore: rounded & refactored accu barriers * refactor: added getAccumulatorBarriers for barrier calculation + fixed a test * chore: improved barriers calculations * refactor: getAccumulatorBarriers docs * refactor: getAccumulatorBarriers * fix: showing barriers only when having have barriers & always showing barrier lines in C.Details * build: updated package-lock & icons + fixed conflicts + linting * fix: max stake validation is missing (#81) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * fix: maryia/87948/chart empty issue + profit text effects clean-up * henry/87958/feat: Add Dropdown for rates in Accumulator (#86) * feat: Add Dropdown for rates in Accumulator * chore: code cleanup * Update packages/reports/src/Containers/open-positions.jsx Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> --------- Co-authored-by: HENRY <henry@regentmarkets.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * Maryia/86616/make 2 last ticks bold + refactoring (#84) * chore: make prelast & last tick bold * chore: adjust styles for previous and last markers in c.details * refactor: getSupportedContracts & getContractTypeDisplay in configs * refactor: open-positions * refactor: chart-markers slyles * style: updated All rates casing * build: update package-lock * Henry/87958/feat add all rates dropdown accumulator (#89) * feat: Add Dropdown for rates in Accumulator * chore: code cleanup * Update packages/reports/src/Containers/open-positions.jsx Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * chore: remove console log * fix: Change Open positions total for multiplier and accumulator to flex --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * refactor: open-positions * fix: remove unused eslint disable * revert: package-lock * fix: sell button disappearing in mobile accumulators (#92) * Henry/89489/fix sell button missing accumulator (#95) * fix: sell button disappearing in mobile accumulators * fix: fix cut off buy button issue * fix: remove commented out code * maryia/89432/fix: show barriers for current symbol correctly (#94) * fix: show barriers for current symbol * refactor: show barriers for current symbol only * Maryia/test: added tests for getAccumulatorBarriers function (#99) * test: added tests for getAccumulatorBarriers function * test: added tests for getAccumulatorBarriers function * test: renamed test cases for getAccumulatorBarriers function * Maryia/89927_2/fix: ticks_history not forgotten because of chart mode & granularity change (#101) * fix: logics for changing chart mode & granularity caused ticks_history streaming for previous symbol * fix: update chart mode just once when switching contract type * fix: maryia/fixed logics for chart mode switching * refactor: maryia/address review comments * Merge branch master of github.com:binary-com/deriv-app into maryia/67492/task_add_accumulators * Update vanilla-options-card-body.jsx * fix: vanillas + accumulators adjustments * fix: maryia/restore overriden accu change * fix: maryia/vanillas+accumulators adjustment * fix: maryia/ improvements + refactoring to address review comments * fix: maryia/ update c.details chart when end_epoch is defined * fix: reset accu barriers data on every contract type change * fix: revert ui-store to master * fix: chart mode change when switching to symbol without accu * fix: purchase button styling for accumulators (#109) Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> --------- Co-authored-by: Maryia <103177211+maryia-binary@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: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: HENRY <henry@regentmarkets.com> Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> Co-authored-by: hirad-deriv <hirad@re-work.dev> * Amina /77701_make signup form fields immutable if they are immutable from BE (#7544) * adding validation * changeablle fields from client store * mutate address fields * fix: test case * fix: test case * fix: spec_file * fix: making employment status immutable * fix: trading assessment * fix: trading assessment * fix: trading assessment * fix: test case after merge conflict * fix: hide idv section when client is age verified * fix: remove idv_disallowed check * chore: merge master * fix: add new status --------- Co-authored-by: hirad-deriv <hirad@re-work.dev> * translations: 📚 sync translations with crowdin (#8048) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#8049) Co-authored-by: yashim-deriv <yashim@deriv.com> Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#8050) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * fix: console error in existing mf user (#8057) * translations: 📚 sync translations with crowdin (#8059) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * chore: update smartcharts version (#8063) * translations: 📚 sync translations with crowdin (#8067) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> Co-authored-by: yashim-deriv <yashim@deriv.com> * feat: ✨ incorporated FA to MF real account creation (#8025) * feat: ✨ incorporated FA to MF real account creation * feat: fixed failing test case * feat: fixed failing testcase * feat: incorporated change * feat: reverted sorted imports * fix: fixed failing testcase * feat: ♻️ code cleanup * feat: formatted imports * feat: ♻️ formatted imports * feat: ♻️ incorporated review comments * feat: removed employment status field * feat: ♻️ incorporated comments * feat: ♻️ reverted changes to income source * fix: 🎨 incorporated review comments * feat: removed unused CSS * feat: 🐛 added toast-box key * fix: 🐛 added a toast notification refresh * feat: incorporated check in clear all button * feat: 🐛 prevent misfiring of open toas banner * fix: 🐛 filter empty values --------- Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * chore: implement new changes to the singup modal (#7955) * chore: implement new changes to the singup modal * fix: updated changes based on comments and updated stylings aswell * fix: made changes based on comments * fix: remove react.fragment * fix: updated changes based on the comments and suggestions * fix: remove gap between fields based on comments * fix: made code improvements based on suggestions * fix: make changes based on recommendations * fix: make changes based on comments * chore: updated captions for the fields and shorten code * fix: update the caption for residence * fix: updated copywrite and fix password modal * fix: updated description for citizenship --------- Co-authored-by: Yashim Wong <yashim@deriv.com> * chore: remove toast and push notification for poi and poa after first submittion (#7959) Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * chore: update message when screen size is not supported (#8052) * chore: update message when screen size is not supported * fix: change px to rems --------- Co-authored-by: hirad-deriv <hirad@re-work.dev> * Ameerul /Task 86076 Use `disabled` from website_status instead of calling `p2p_advertiser_info` on load of deriv-app. (#7875) * chore: cherry picked changes * chore: fixed tests * chore: left comment in test * chore: fixed typing issues * chore: fixed tests * chore: check if p2p is disabled using get_account_status * chore: removed commented code * chore: added p2p is disabled cookie * chore: fixed tests * chore: implemented suggestions * chore: added suggestions * chore: added farzins changes to types.ts for @deriv/api-types, checked p2p supported currencies * chore: fixed test issue and website_status call after authorize on initial login * chore: fixed tests * chore: fixed tests * chore: empty commit * chore: changed localstorage-sync * chore: fixed website_status issues * chore: removed setIsLoggingIn(false) * chore: added TODO * chore: empty commit * chore: fixed window not loading for new user --------- Co-authored-by: Carol Sachdeva <carol@binary.com> Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * evgeniy/90217/ change language option is not easely visible in desktop (#7879) * feat: desktop refactor, adding responsive menu * refactor: type adding * refactor: review fixes * refactor: add type * refactor: code refactoring, ts and test implementation * fix: test failing * refactor: review changes, usestore added * fix: tests failing * refactor: test usemockstore * refactor: test code * refactor: change language function replace, trade card translation fix * refactor: i18 call add * refactor: lang variable is taken from store * refactor: usecallback added * refactor: functions converted to components, dependencies added --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Sergei / 90484 / Update Livechat when widget crashes (#7949) * feat: update livechat when widget crashes * feat: add check for isReady * feat: delete setIsReady(false) because livechat icon hides when crashes --------- Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * fix: dbot dark_mode production (#7885) * fix: dbot dark_mode production * fix: removed unused hook * fix: review comments --------- Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * george / rm89648 / add breadcrumb in cashier deposit page (#7899) * feat: add breadcrumbs in cashier deposit page * test: add tests * refactor: refactor items array, add css * test: fix tests * refactor: incorporate comments - extarct is_eu into trader hub - create separate CashierBreadcrumb component - remove duplicated css - hide ThemeProvider into CashierProviders - rename AppThemeContent into AppContent * test: refactor tests * fix: add css file * fix: fix import breadcrumb for proper appstore build * refactor: resolve comments * fix: applied comments * fix: breadcrumb visibility in safari in mobile view * fix: codecav * perf: add dependency * fix: update deriv-components version to 0.6.0 --------- Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * feat: deriv-go-redirection issue (#7889) * feat: deriv-go-redirection issue * feat: added bderivgo redirection * feat: ✨ mavigate back to DerivGO * feat: removed debug console * feat: 🎨 code refactor * feat: added missing button * feat: ✨ added redirect button for POA * feat: 🐛 resolved failing testcases * feat: ♻️ incorporated review comments * feat: 🐛 added redirection button to missing scenarios --------- Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * thisyahlen/chore: make traders hub default ui (#7836) * chore: remove classic ui from account switcher and header * chore: redirect existing users to traders hub upon logging in * fix: comments * fix: notifications in traders hub * fix: redirect users to traders hub if they go to mt5 page * fix: refactor and remove mt5 and deriv x from platform switcher * fix: remove setisPreAppstore and exit traders hub modal * fix: remove is_pre_appstore flag v1 * fix: remove is_pre_appstore_flag from cashier * fix: remove is_pre_appstore from client * fix: refactor cashier * fix: comments * fix: comments v2 * chore: remove cfd-dashbord test * fix: tests * fix: toggle menu drawer remove exit traders hub * fix: clear tests * fix: readd back deleted code * fix: comments v4 * fix: rename is_from_outside_cashier * fix: fix circleci * fix: remove mt5 and derivx from platform config * fix: readd back languages * fix: redirect mt5 to deriv x to 404 * fix: conflicts * fix: remove exit traders hub modal from ui store * fix: refactor account switcher and fix mf add button * fix: removed unused * fix: notification * fix: conflicts and remove is_pre_appstore flag * fix: tests * fix: console error * fix: re-add back logged out status * fix: re-add back condition from vanuatu flow * fix: Trigger Build * translations: 📚 sync translations with crowdin (#8081) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Kate/92181/Content change for unavailable contract details error message from Deriv SmartTrader on Deriv's Report. (#8065) * chore: change phrase for unsupported contracts * fix: change key for profit table and statment * refactor: reuse const * refactor: change constants name --------- Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * fix: language switcher css (#8084) Co-authored-by: yashim-deriv <yashim@deriv.com> * fix: placeholder signup modal typo (#8095) * thisyahlen/fix: disable language button till language is fully loaded (#8089) * fix: disable language button till language is fully loaded * fix: add mockstore * fix: responsive * fix: remove unused css * fix: css * fix: 🐛 button not disabled for account signup (#8103) * Amina/fix: set citizen on account (#8102) * fix: set citizen on account * chore: trigger circleci * fix: set citizen on account * translations: 📚 sync translations with crowdin (#8107) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#8109) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * fix: checkbox to set correct checked value (#8116) * translations: 📚 sync translations with crowdin (#8120) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * chore: fixed text alignment issue in personal detail page (#8087) * fix: RadioGroupOptionsModal for multipliers options in all languages (#8106) * fix: z-index for dark theme popover (#8051) * henry/92021/fix: make trade types clickable in responsive for digits contracts (#8046) * fix: make trade types clickable in responsive for digits contracts * fix: keep trade params collapsed initially * fix: merge issues * fix: merge issue solved * fix: Empty-Commit --------- Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> * thisyahlen/chore: real account needed for cashier popup (#8029) * chore: real account needed for cashier popup * fix: add new mobx to mockstore * fix: move dem all to stores * fix: switch region * fix: add in mockstore * fix: add tests and resolve comments * fix: use mockstore in tests * fix: add for responsive * Jim/91761/delay in real account creation flow after clicking add account in the account creation popup (#8064) * refactor: conditionally fetch account_settings * chore: fix failing tests * henry/91320/Fix: Pass should show eu content flag to smartchart (#7960) * fix: isEuropeCountry returns true if you have european residence or if ip address is in europe * fix: remote console log * fix: pass eu resident and eu by location flags * fix: reduce amount of flags sent to smartchart * fix: Empty-Commit * fix: Empty-Commit * fix: codecov issue * fix: codecov issue 2 --------- Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> * fix: Add redirect action that opens multipliers account modal for ext… (#7938) * fix: Add redirect action that opens multipliers account modal for external platforms * fix: removed manage, uses other action for manage. This action is strictly for add only --------- Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * thisyahlen/fix: login change language error (#7963) * fix: login change language error * fix: console error and loading --------- Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> Co-authored-by: yashim-deriv <yashim@deriv.com> * fix: remove validation for sequental and repetitive digits idv (#8021) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * Hamza/90545/responsive user awareness (#7922) * feat: responsive user awareness v1.0 * feat: responsive user awareness v1.1 * feat: responsive user awareness v1.2 * feat: responsive user awareness v1.3 * feat: responsive user awareness v1.3 * feat: responsive user awareness v1.4 * feat: responsive user awareness v1.5 * feat: responsive user awareness v1.6 * refactor: review code + tsmigration * refactor: removed the unused props * refactor: removed the unused props v1.2 * refactor: alias added v1.3 * fix: successfully added in the text * fix: successfully added in the text + Standardization V1.2 * fix: successfully added in the text + Standardization V1.3 * fix: successfully added in the text + Standardization V1.3.1 * fix: language switcher css (#8084) Co-authored-by: yashim-deriv <yashim@deriv.com> * fix: placeholder signup modal typo (#8095) * thisyahlen/fix: disable language button till language is fully loaded (#8089) * fix: disable language button till language is fully loaded * fix: add mockstore * fix: responsive * fix: remove unused css * fix: css * fix: 🐛 button not disabled for account signup (#8103) * Amina/fix: set citizen on account (#8102) * fix: set citizen on account * chore: trigger circleci * fix: set citizen on account --------- Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: yashim-deriv <yashim@deriv.com> Co-authored-by: Aizad Ridzo <103104395+aizad-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com> * Rostislav / 90547 / Improve the "Transfer page" when there is only 1 Deriv Account with no siblings and CFDs account (#7894) * refactor: init pr * refactor: edited transfer page content * refactor: changed button behavior * refactor: removed unused variables/consts * refactor: removed unused function param and type * refactor: tests fixed * refactor: fixed a test with navigating to traders hub * refactor: renamed a test with navigation + more changes * refactor: removed openAccountSwitcherModal * refactor: removed backticks * refactor: typo fixed * refactor: fixed cringe mistake on my part * refactor: tests improved * refactor: periods added for messages * refactor: a few more changes to tests * refactor: mockRootStore type changed to TStores * refactor: a change to spec + merge conflicts fixes * Farzin/90439/R&D/Make use of `react-query` in `@deriv/api` package (#7845) * feat: ⬆️ update `@deriv/api-types` to `1.0.85` * feat(api): ✨ update api types with all the requests from `@deriv/api-types` * feat(api): ✨ add `useAPI` hook * feat(api): ✨ add `useAPISubscription` hook * feat(api): ✨ add `useAPISubscription` hook * feat(api): ✨ improve types * feat(api): ✨ rename hooks * feat(api): ✨ rename hooks * refactor(api): 🔥 remove `QueryClient` config * refactor(api): 🔥 remove unnecessary utils file * refactor(api): 🔥 remove unnecessary export types * test(api): ✅ add test for `useFetch` hook * refactor(api): 🔥 improve `useSubscription` hook * feat(api): ✨ use `useMutation` hook inside `useRequest` hook * test(cashier): ✅ fix the failing test * refactor(api): ♻️ move request props to `payload` object * refactor(api): 📝 resolve PR comments * feat(api): ⬆️ migrating to React Query 4 * fix(cashier): 🐛 fix type errors * feat(api): ✨ add `useInvalidateQuery` hook * refactor(api): 📝 resolve PR comments * ci: 💚 trigger build * ci: 💚 trigger build --------- Co-authored-by: Farzin Mirzaie <farzin@deriv.com> * translations: 📚 sync translations with crowdin (#8138) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * fix: sets the contract language whenever there is a change (#7996) * fix: sets the contract language whenever there is a change * fix: issue with popup disappearing * fix: translate amount tooltip --------- Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * bahar/87663/fix: add_removed_deposit_test (#8007) * fix: add_removed_deposit_test * fix: review comments * fix: Rename error component * fix_showing_crypto_deposit_condition * translations: 📚 sync translations with crowdin (#8142) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#8144) Co-authored-by: yashim-deriv <yashim@deriv.com> Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> --------- Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> Co-authored-by: Shaheer <122449658+shaheer-deriv@users.noreply.github.com> Co-authored-by: Yashim Wong <yashim@regentmarkets.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> Co-authored-by: Hamid <hamid@deriv.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Aizad Ridzo <103104395+aizad-deriv@users.noreply.github.com> Co-authored-by: nada-deriv <122768621+nada-deriv@users.noreply.github.com> Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-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: Yashim Wong <yashim@deriv.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-binary@users.noreply.github.com> Co-authored-by: yauheni-kryzhyk-deriv <103182683+yauheni-kryzhyk-deriv@users.noreply.github.com> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: HENRY <henry@regentmarkets.com> Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> Co-authored-by: hirad-deriv <hirad@re-work.dev> Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com> Co-authored-by: balakrishna-deriv <56330681+balakrishna-deriv@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Carol Sachdeva <carol@binary.com> Co-authored-by: Sergei Baranovski <120570511+sergei-deriv@users.noreply.github.com> Co-authored-by: George Usynin <103181646+heorhi-deriv@users.noreply.github.com> Co-authored-by: kate-deriv <121025168+kate-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> Co-authored-by: Rostik Kayko <119863957+rostislav-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <farzin@deriv.com> Co-authored-by: Bahar <bahar@regentmarkets.com>
matin-deriv
added a commit
that referenced
this pull request
Apr 10, 2023
* thisyahlen/chore: new account verification modal for purchase authentication (#7936) * chore: new account verification modal for purchase authentication * fix: height and width * fix: modal footer css * fix: css mobile title * thisyahlen/fix: remove financial mt5 for norway and japan (#7846) * fix: remove financial mt5 for norway and japan * fix: resolved comments * fix: rename restricetd countries * fix: compare accounts table * fix: fix compare accounts table for norway/japan * fix: remove synthetic bvi for norway and japan * Jim/88166/delay in real account creation flow after clicking add account button in the account creation popup (#7926) * chore: remove duplicate get_settings api request * chore: set account_settings in client-store if undefined * chore: remove unnecessary else block * refactor: convert if expression to ternary * chore: set account_settings in client store instead of creating a local variable * fix: ✨ allows users to enter accented name characters (#7832) * fix: ✨ allows users to enter accented name characters * chore: 🗑️ removes unused 'letter_symbol' variable * fix: 🐛 allows accented characters in name for existing users * docs: ✏️ comment on the regex used for name validation * resused regex function Co-authored-by: Yashim Wong <yashim@regentmarkets.com> * fix: 📝 imported reused regex function * fix: 📝 comment on regex function used --------- Co-authored-by: Yashim Wong <yashim@regentmarkets.com> * Evgeniy / 89431 / no error message for idv duplicated document numbers (#7743) * fix: no error message for idv duplicated document numbers * feat: idv testing document whitelist * refactor: function rename, code and test fix * refactor: code style change, review fixes --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Hamid/90702/account switchers to wrong deriv account when performing deposit via bank wire (#7933) * chore: icon changes after build * fix: redirect user to non-eu account instead eu after cashier deposit switch account * Ameerul /Task 89855 Add a checkbox to select/deselect a payment method when creating or updating a sell ad and making a sell order (#7824) * chore: added checkbox to payment method card * fix: added logic to disable checkbox and show checkbox in certain tabs only * Maryia/80948/fix: avoid rate limit error by storing counter after sending verification email in Withdrawal (#7218) * fix: instantiating useVerifyEmail object once for each email verification case to avoid settimeout leak in useCountdown * chore: store verify_email_sent_count in store instead of locally * test: fix test for email-verification-empty-state.tsx * fix: avoid counter reset by storing and using the time an email was last sent * chore: a workaround for VerifyEmailRequest type declared with an extra required field in api-types * chore: remove api-types workaround * build: update @deriv/api-types to 1.0.85 * revert: api-types version upgrade * revert: package-lock * revert: modal-manager.jsx * revert: modal-manager.jsx * thisyahlen/fix: error when switch to mf (#7778) * fix: error when switch to mf * fix: addressed comments * fix: addressed comments v2 * chore: fix tooltip language not updating on change language (#7871) * chore: fix tooltip language not updating on change language * fix: added checks for currency in trade store * fix: added delete amount validation rules in reaction * fix: remove delete rule in reaction * fix: remove mistake * fix: typo * Aizad/89113/sidebar platform fix (#7697) * chore: fix mobile sidebar platform for eu * fix: codecov error * fix: codecov error * chore: update packages * Nada/88951/change chat url (#7798) * fix: get chat url from p2p_order_create instead of p2p_chat_create * fix: fixed issue with order details page * fix: chat channel url empty issue fixed for p2p_order_create response * fix: function added to store * fix: added timeout for setting chat_channel in order details * fix: pr comments fixed * fix: increased time out * fix: removed delay for going to details page from list * thisyahlen/fix: top up mt5 demo (#7665) * fix: top up demo * fix: deriv x as well * redeploy: a * chore: update pdf in acuity download modal (#7567) * fix: filter currencies by name (#7493) * fix: changed pop up message for no recommendations (#7693) * Aizad/89700/onboarding btn fix (#7813) * chore: disable cursor on account switcher button onboarding * fix: Add the same behavior for Options and Multipliers section Trade Button * fix: added default class and refactor scss * Nada/89550/remove validation ad amount (#7753) * fix: removed error validation for amount greater than user's balance * fix: added popup for creating ad greater than balance * fix: pr comments fixed * fix: reuse common modal for visibility errors * Aizad/88786/mt5 redirection modal fix (#7663) * chore: fix mt5 redirection modal closing on trade * fix: modal and dialog close seperately after clicking outside * fix: re-add dialog_status condition back to redirect-notice-modal * fix: reverted the previous changes * fix: remove useclickoutside for page overlay * fix: update deriv/api package to latest version * fix: updated package version to match with master * Merge branch 'develop' of github.com:binary-com/deriv-app into aizad/88786/mt5-redirection-modal-fix * fix: codecov and circleci * fix: upgrade package * fix: theme switch in poroduction (#7781) * translations: 📚 sync translations with crowdin (#7989) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * yashim/chore: remove indonesia from production (#7999) * chore: remove trading experience incomplete (#8005) * chore: remove trading experience incomplete * fix: remove is cfd score available * thisyahlen/hotfix: wrong restriction message for austria (#8006) * hotfix: wrong restriction message for austria * fix: Empty-Commit * Revert "thisyahlen/hotfix: wrong restriction message for austria (#8006)" (#8013) This reverts commit 56baec7. * Revert "Jim/88166/delay in real account creation flow after clicking add account button in the account creation popup (#7926)" (#8016) This reverts commit 8bb1351. * fix: 🐛 fetches latest personal details every time intead of cached value (#8002) * Revert "Maryia/80948/fix: avoid rate limit error by storing counter a… (#8020) * Revert "Maryia/80948/fix: avoid rate limit error by storing counter after sending verification email in Withdrawal (#7218)" This reverts commit cc0065d. * revert: reverted setIsCFDScoreAvailable from client.store * Revert "fix: 🐛 fetches latest personal details every time intead of cached value (#8002)" (#8022) This reverts commit ff497c1. * Adrienne / Prefetched email verification modal (#8027) * chore: prefetched email verification modal * chore: added settimoeut * chore: used eager mode * chore: import model directly * chore: reverted direct imports * chore: added settimeout * translations: 📚 sync translations with crowdin (#8031) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#8040) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> Co-authored-by: yashim-deriv <yashim@deriv.com> * Maryia/67492/task_add_accumulators (#6406) * Merge '67492_accumulators_purchase' into 'maryia/67492/task_add_accumulators' * Maryia/75617/add_accu_to_trade_params (#3) * initialized ACCU trade params for responsive * added LabeledQuantityInputMobile & improved AccumulatorsAmountMobile * feat: added Accumulator radio group for growth_rate * feat: finalized Accumulator growth_rates radio group for mobile * feat: responsive- added Take profit to trade params & aligned purchase button icon * feat: improved mobile trade params for ACCU * feat: finalized trade params for ACCU * maryia/72761/task_add_recent_positions_drawer (#4) * feat: initialized ACCU contract card in recent positions * feat: initialized ProgressSliderSolidLine for ACCU * feat: updated recent positions card for ACCU for open/lost/won states * chore: improvements for ACCU card in responsive recent positions * chore: added TickCounterProgressBar component * feat: added TickCounterBar and reverted ProgressSlider & ProgressSliderMobile * chore: reverted original Recent positions drawer width * chore: improved TickCounterBar styling * maryia/76528/task_implement_contract_details_drawer (#5) * chore: updated Details in contract card for ACCU + styling * feat: implemented ACCU contract card in contract details + improved recent positions * chore: updated icons for ACCU trade type & contract category * maryia/72769/add_ticks_history_stats_widget (#6) * feat: init version of TicksHistoryStatsWidget for ACCU * chore: TicksHistoryStats * chore: improved tick history styling * chore: added more styles & animated progress dots under latest counter * feat: finalized desktop ticks history stats for dtrader page * feat: added ticks history to contract details page * improved ticks history stats for desktop & initialized it for responsive * made responsive stats non-expandable * maryia/77261/task_manual_for_history_widget (#8) * chore: discarded getUpdatedTicksHistoryStats as BE will send 15 exact values instead of 100+latest * feat: added AccumulatorsStatsManualModal * feat: finalized AccumulatorsStatsManualModal for desktop & responsive * chore: added getUpdatedTicksHistoryStats to process arrays of counters with epochs expected from BE * feat: added expanded AccumulatorsStats dialog for responsive * chore: contract card styling improvements + using ACCU tick_count as max_ticks_number * chore: improved AccumulatorsStats to load after tick counters have loaded * maryia/75621/task_add_tests_and_restyle_contract_card (#9) * chore: improved ACCU contract type icon & label styling in contract card * chore: added tests for accumulator.js helper function * chore: added tests for Accumulator.jsx * maryia/75621/part_2_task_accu_barriers (#10) * chore: updated dummy data * chore: fixed history stats styles & added tests for AccumulatorsStats * chore: improved AccumulatorsStats and its tests * chore: updated contract card & open positions * maryia/75621/add barriers for stay in contract on trader page (#12) * chore: test out passing trade data to all-markers for drawing barriers without contract + improvements * feat: added barriers for accumulators without open contract * feat: added markers and barriers for stay in contract on trader page * chore: adjusted open contract profit label (#13) * yauheni/77994/trader add break out contract type (#14) * yauheni/77994/trader add break out contract type * regexp fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * yauheni/78429/update styles of tick history widget (#15) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * chore: prepared data for connecting API (#16) * Maryia/78473/part 2 prepare for api + improvements (#18) * chore: improved barriers without contract and open contract label * chore: prepared data for api connection * chore: added price tags for barriers in contract details (#19) * feat: initialized AccumulatorsProfitLossTooltip (#20) * yauheni/78477/update params with buttons for responsive (#17) * yauheni/78477/update params with buttons for responsive * fix styles accordingly to design * buttons gap fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * yauheni/resolve build errors (#21) * yauheni/resolve build errors * optional property for is_checkbox_hidden Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Yauheni/78633/update styles for tick history widget (#22) * yauheni/resolve build errors * yauheni/78633/update styles for tick history widget * yauheni/78633/update styles for tick history widget responsive Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/78839/complete_sold_labels (#23) * chore: added tolltips for all sold positions & won/lost coloring * feat: finalized AccumulatorsProfitLossTooltip * maryia/improvements for stats and tooltip (#24) * chore: accumulators stats improvements * improvements * maryia/improvements for sold contract label * maryia/78574/add_barriers_to_contract_details * maryia/79085/remove_break_out_history_from_stats_widget (#26) * maryia/79085/remove_break_out_history_from_stats * chore: made purchaseButtonsOverlay flexible * chore: added tests for PurchaseButtonsOverlay * Yauheni/77995/update trade params for stayin breakout (#25) * yauheni/77995/update trade params for stayin breakout * take profit alimngment * buttons styles, take profit alingment * maryia/78574/add_barriers_to_contract_details * stake font and icon fix, go_tp_reports button styles * update contract store from parent Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> Co-authored-by: maryia-binary <maryia@binary.com> * maryia/fix: styles & fonts for responsive trade types * Maryia/79549/part 1: update tick markers for ACCU in contract details + improvements (#27) * maryia/79549/add_tick_markers_contract_details * chore: improvements for styles in responsive trade types desc * yauheni/79530/remove breakout contract (#28) * yauheni/79530/remove breakout contract * proposal data fields fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/styling improvements * maryia/fix: forcing Div100vh to re-render when height_offset for responsive has changed * maryia/fix: observables + markers * maryia/chore: prevented barriers, labels and markers from going outside axes (#30) * maryia/79969/set_default_chart_type_and_interval_to_Area_and_1_tick * maryia/chore: changed trade type name to Accumulators * maryia/80163/set growth rate based on default value from BE contracts_for response * yauheni/80091/hide chart mode icon for accumulators (#33) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/80166/connect_to_available_API (#34) * chore: connected api without contracts_for for now * chore: updated proposal * chore: updated tests for new proposal * maryia/80163/add-growth-rate-to-purchase-button * maryia/refactored purchase button growth_rate text * maryia/chore: removed unused code for outside barriers * maryia/fix: barrier shade color for ongoing contract * feat: restore chart mode set for non accumulators contract after switching (#37) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * yauheni/80158/update ui according to latest design (design flow 1-2) (#36) * icon accumulator change * purchase btn, stats fix * fix styles, flow 1 * accumulator design flow 2 Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/80686/feat: profit text animation for ongoing contract (#39) * fix: showing profit text next to current spot for open contract * chore: animated profit text * feat: added animated profit text for ongoing contract * test: fixed a test * chore: removed unused variable * fix: maryia/80686/profit text color * fix: maryia/using default growth rate only if no stored growth rate * feat: allow accumulators only for demo account (#40) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Yauheni/80158/update UI according to latest design part 2 (#38) * accu design chart position fix * accu page for reports rendering * reports card design fix * reports card design fix2 * updated design fix * pseudoelement colon fix * emphasizing value fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/80687/ticks_contract_details (#41) * fix: tick markers in contract details & take profit logics * feat: showing only 10 last ticks for accumulators ongoing contract * chore: display all trade types when list is not empty * style: typo * chore: maryia/added opacity to profit text + connected contracts_for + refactoring * chore: improved tick stream for ACCU in contract details + stats alignment * chore: maryia/handled undefined profit & updated opacity animation timing * chore: temporary dummy api connection * fix: maryia/hide profit if undefined, display if number * revert: dummi api * feat: implement last design part 1 (#43) * feat: implement last design part 1 * fix: test text fix * refactor: stats style for mobile fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/82425/task highlight crossing tick (#42) * feat: hightlighting crossing tick * feat: sync highlighting of crossing tick based on ticks_history_stats * Maryia/83069/task: replace image with video manual (#44) * feat: replaced manual image with video + responsive stats improvement * test: fixed a test * fix: entry tick marker in dtrader * style: removed extra margin-bottom * feat: implement last design part 2 (#45) * feat: implement last design part 2 * fix: initial growth_rate added * refactor: growth_rate from contract_for delete Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * refactor: accu sold contract tooltip animation change (#49) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/82257/Contract Details tick markers + AccumulatorsProfitLossText refactoring (#48) * chore: saving canvas context before accu barriers are drawn and restoring when finished drawing * fix: endtime, avoid fetching history in replay, avoid 0 profit animation * chore: forcing chart reload when start_epoch changes to earlier epoch + refactored profit-text * refactor: accumulators-profit-loss-text * refactor: tooltip style and tests (#51) * refactor: tooltip style and tests * refactor: accumulator info text * refactor: profit tooltip text test add * refactor: radiogroupwithinfomobile test added * refactor: tickhistorycounter tests added * refactor: tickcounterbar test added Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/83311/Refactoring, tests, TS migration (#50) * refactor: purchase-buttons-overlay.spec.js from enzyme to jest * style: removed extra variable * refactor: from accumulator.js with chai to accumulator.spec.js with jest * refactor: removed unused dummy data * test: added tests for accumulators-stats-manual-modal.jsx * chore: improved accumulators-stats-manual-modal * refactor: incapsulated AccumulatorsChartElements in trade.jsx * fix: maryia/circleci eslint error * feat: maryia/added dark theme video manual for stats + fix for circleci * test: maryia/added tests for AccumulatorsInfoDisplay & LabeledQuantityInputMobile * chore: maryia/ address review comments + updated videos * fix: maryia/open positions: auto-select Accumulators if has open ACCU contracts * refactor: accumulatorschartelements test added (#52) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * style: maryia/apply review suggestions * style: maryia/apply review suggestions * refactor: maryia/refactoring + small improvements & adjustments * chore: add built icons file * fix: circleci tests + improvements * chore: refactoring + added loader before video manual first loads * refactor: improvements + addressed review comments * yauheni/qa checks refactoring 1 (#53) * refactor: open recent position after buying contract for mobile * fix: accu card curent stake name field * fix: popover accumulator radio group text and alignment * fix: open position accumulate column name Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * fix: last truncated counter in responsive (#54) * Maryia/83807/stake validation (part 1) (#55) * fix: set growth_rate based on accumulator_range_list (growth_rate_range) received in contracts_for * fix: app crash caused by proposal error * chore: removed unused classname * fix: growth rate title alignment (#56) * fix: growht rate title alignment * refactor: category wrapper odd style Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/83807/fix: stake validation for ACCU broken because of barriers being set (#57) * fix: stake validation for ACCU broken because of barriers being set * fix: prevent app crash in profit table for unknown contracts * fix: check if selected growth_rate is available on symbol change (#58) * fix: able to buy multiply contract / growth rate fix BO change (#59) * fix: able to buy multiply contract / growth rate fix BO change * refactor: last contract check delete Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * revert: maryia/revert change of last_contract computed * fix: accumulator is shown for real account (#60) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * feat: make cursor not allowd for overlay (#61) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * chore: built icons.js * revert: maryia/ unnecessary bot file change * refactor: contract categories in contract-type-widget.jsx * refactor: according to pr review comments * refactor: open positions + add keys to fix console warning * fix: disable accu for real account, disable button having bought one contract (#62) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * refactor: purchase.jsx * refactor: according to pr reviews * refactor: able to buy contract per every available underlying (#63) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Trigger Build * yauheni/85032/ fix chart issue with dots and circles Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * fix: exit spot styles * refactor: make barrier values string as on BE * fix: unable accumulators for real * maryia/refactor_accu_branch (#66) * refactor: remove unused file * refactor: refactor createTickMarkers * refactor: introduce a local variable * fix: 86705/ticks are not displayed correctly on chart in contract details * maryia/86953/build: bump up deriv-charts version to 1.1.0 + improvement (#68) * build: bump up deriv-charts version * chore: show profit only when barriers are received * test: updated mocked props * build: maryia/removed extra package-lock.jsons * evgeniy /87215/87226/ info description / glitch while switching account (#70) * fix: description * fix: disable trade params while switching account --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * henry/87329/fix: FE not showing error message when accu trading is suspended (#72) * fix: FE not showing error message when accu trading is suspended * test: empty commit --------- Co-authored-by: HENRY <henry@regentmarkets.com> * refactor: glitching fix and deleted odd css (#73) * refactor: glitching fix and deleted odd css * fix: code refactor --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/86616/feat: calculating accu barriers based on ticks from ticks_history (#71) * feat: calculating accu barriers based on ticks from ticks_history * chore: rounded & refactored accu barriers * refactor: added getAccumulatorBarriers for barrier calculation + fixed a test * chore: improved barriers calculations * refactor: getAccumulatorBarriers docs * refactor: getAccumulatorBarriers * fix: showing barriers only when having have barriers & always showing barrier lines in C.Details * build: updated package-lock & icons + fixed conflicts + linting * fix: max stake validation is missing (#81) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * fix: maryia/87948/chart empty issue + profit text effects clean-up * henry/87958/feat: Add Dropdown for rates in Accumulator (#86) * feat: Add Dropdown for rates in Accumulator * chore: code cleanup * Update packages/reports/src/Containers/open-positions.jsx Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> --------- Co-authored-by: HENRY <henry@regentmarkets.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * Maryia/86616/make 2 last ticks bold + refactoring (#84) * chore: make prelast & last tick bold * chore: adjust styles for previous and last markers in c.details * refactor: getSupportedContracts & getContractTypeDisplay in configs * refactor: open-positions * refactor: chart-markers slyles * style: updated All rates casing * build: update package-lock * Henry/87958/feat add all rates dropdown accumulator (#89) * feat: Add Dropdown for rates in Accumulator * chore: code cleanup * Update packages/reports/src/Containers/open-positions.jsx Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * chore: remove console log * fix: Change Open positions total for multiplier and accumulator to flex --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * refactor: open-positions * fix: remove unused eslint disable * revert: package-lock * fix: sell button disappearing in mobile accumulators (#92) * Henry/89489/fix sell button missing accumulator (#95) * fix: sell button disappearing in mobile accumulators * fix: fix cut off buy button issue * fix: remove commented out code * maryia/89432/fix: show barriers for current symbol correctly (#94) * fix: show barriers for current symbol * refactor: show barriers for current symbol only * Maryia/test: added tests for getAccumulatorBarriers function (#99) * test: added tests for getAccumulatorBarriers function * test: added tests for getAccumulatorBarriers function * test: renamed test cases for getAccumulatorBarriers function * Maryia/89927_2/fix: ticks_history not forgotten because of chart mode & granularity change (#101) * fix: logics for changing chart mode & granularity caused ticks_history streaming for previous symbol * fix: update chart mode just once when switching contract type * fix: maryia/fixed logics for chart mode switching * refactor: maryia/address review comments * Merge branch master of github.com:binary-com/deriv-app into maryia/67492/task_add_accumulators * Update vanilla-options-card-body.jsx * fix: vanillas + accumulators adjustments * fix: maryia/restore overriden accu change * fix: maryia/vanillas+accumulators adjustment * fix: maryia/ improvements + refactoring to address review comments * fix: maryia/ update c.details chart when end_epoch is defined * fix: reset accu barriers data on every contract type change * fix: revert ui-store to master * fix: chart mode change when switching to symbol without accu * fix: purchase button styling for accumulators (#109) Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> --------- Co-authored-by: Maryia <103177211+maryia-binary@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: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: HENRY <henry@regentmarkets.com> Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> Co-authored-by: hirad-deriv <hirad@re-work.dev> * Amina /77701_make signup form fields immutable if they are immutable from BE (#7544) * adding validation * changeablle fields from client store * mutate address fields * fix: test case * fix: test case * fix: spec_file * fix: making employment status immutable * fix: trading assessment * fix: trading assessment * fix: trading assessment * fix: test case after merge conflict * fix: hide idv section when client is age verified * fix: remove idv_disallowed check * chore: merge master * fix: add new status --------- Co-authored-by: hirad-deriv <hirad@re-work.dev> * translations: 📚 sync translations with crowdin (#8048) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#8049) Co-authored-by: yashim-deriv <yashim@deriv.com> Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#8050) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * fix: console error in existing mf user (#8057) * translations: 📚 sync translations with crowdin (#8059) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * chore: update smartcharts version (#8063) * translations: 📚 sync translations with crowdin (#8067) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> Co-authored-by: yashim-deriv <yashim@deriv.com> * feat: ✨ incorporated FA to MF real account creation (#8025) * feat: ✨ incorporated FA to MF real account creation * feat: fixed failing test case * feat: fixed failing testcase * feat: incorporated change * feat: reverted sorted imports * fix: fixed failing testcase * feat: ♻️ code cleanup * feat: formatted imports * feat: ♻️ formatted imports * feat: ♻️ incorporated review comments * feat: removed employment status field * feat: ♻️ incorporated comments * feat: ♻️ reverted changes to income source * fix: 🎨 incorporated review comments * feat: removed unused CSS * feat: 🐛 added toast-box key * fix: 🐛 added a toast notification refresh * feat: incorporated check in clear all button * feat: 🐛 prevent misfiring of open toas banner * fix: 🐛 filter empty values --------- Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * chore: implement new changes to the singup modal (#7955) * chore: implement new changes to the singup modal * fix: updated changes based on comments and updated stylings aswell * fix: made changes based on comments * fix: remove react.fragment * fix: updated changes based on the comments and suggestions * fix: remove gap between fields based on comments * fix: made code improvements based on suggestions * fix: make changes based on recommendations * fix: make changes based on comments * chore: updated captions for the fields and shorten code * fix: update the caption for residence * fix: updated copywrite and fix password modal * fix: updated description for citizenship --------- Co-authored-by: Yashim Wong <yashim@deriv.com> * chore: remove toast and push notification for poi and poa after first submittion (#7959) Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * chore: update message when screen size is not supported (#8052) * chore: update message when screen size is not supported * fix: change px to rems --------- Co-authored-by: hirad-deriv <hirad@re-work.dev> * Ameerul /Task 86076 Use `disabled` from website_status instead of calling `p2p_advertiser_info` on load of deriv-app. (#7875) * chore: cherry picked changes * chore: fixed tests * chore: left comment in test * chore: fixed typing issues * chore: fixed tests * chore: check if p2p is disabled using get_account_status * chore: removed commented code * chore: added p2p is disabled cookie * chore: fixed tests * chore: implemented suggestions * chore: added suggestions * chore: added farzins changes to types.ts for @deriv/api-types, checked p2p supported currencies * chore: fixed test issue and website_status call after authorize on initial login * chore: fixed tests * chore: fixed tests * chore: empty commit * chore: changed localstorage-sync * chore: fixed website_status issues * chore: removed setIsLoggingIn(false) * chore: added TODO * chore: empty commit * chore: fixed window not loading for new user --------- Co-authored-by: Carol Sachdeva <carol@binary.com> Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * evgeniy/90217/ change language option is not easely visible in desktop (#7879) * feat: desktop refactor, adding responsive menu * refactor: type adding * refactor: review fixes * refactor: add type * refactor: code refactoring, ts and test implementation * fix: test failing * refactor: review changes, usestore added * fix: tests failing * refactor: test usemockstore * refactor: test code * refactor: change language function replace, trade card translation fix * refactor: i18 call add * refactor: lang variable is taken from store * refactor: usecallback added * refactor: functions converted to components, dependencies added --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Sergei / 90484 / Update Livechat when widget crashes (#7949) * feat: update livechat when widget crashes * feat: add check for isReady * feat: delete setIsReady(false) because livechat icon hides when crashes --------- Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * fix: dbot dark_mode production (#7885) * fix: dbot dark_mode production * fix: removed unused hook * fix: review comments --------- Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * george / rm89648 / add breadcrumb in cashier deposit page (#7899) * feat: add breadcrumbs in cashier deposit page * test: add tests * refactor: refactor items array, add css * test: fix tests * refactor: incorporate comments - extarct is_eu into trader hub - create separate CashierBreadcrumb component - remove duplicated css - hide ThemeProvider into CashierProviders - rename AppThemeContent into AppContent * test: refactor tests * fix: add css file * fix: fix import breadcrumb for proper appstore build * refactor: resolve comments * fix: applied comments * fix: breadcrumb visibility in safari in mobile view * fix: codecav * perf: add dependency * fix: update deriv-components version to 0.6.0 --------- Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * feat: deriv-go-redirection issue (#7889) * feat: deriv-go-redirection issue * feat: added bderivgo redirection * feat: ✨ mavigate back to DerivGO * feat: removed debug console * feat: 🎨 code refactor * feat: added missing button * feat: ✨ added redirect button for POA * feat: 🐛 resolved failing testcases * feat: ♻️ incorporated review comments * feat: 🐛 added redirection button to missing scenarios --------- Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * thisyahlen/chore: make traders hub default ui (#7836) * chore: remove classic ui from account switcher and header * chore: redirect existing users to traders hub upon logging in * fix: comments * fix: notifications in traders hub * fix: redirect users to traders hub if they go to mt5 page * fix: refactor and remove mt5 and deriv x from platform switcher * fix: remove setisPreAppstore and exit traders hub modal * fix: remove is_pre_appstore flag v1 * fix: remove is_pre_appstore_flag from cashier * fix: remove is_pre_appstore from client * fix: refactor cashier * fix: comments * fix: comments v2 * chore: remove cfd-dashbord test * fix: tests * fix: toggle menu drawer remove exit traders hub * fix: clear tests * fix: readd back deleted code * fix: comments v4 * fix: rename is_from_outside_cashier * fix: fix circleci * fix: remove mt5 and derivx from platform config * fix: readd back languages * fix: redirect mt5 to deriv x to 404 * fix: conflicts * fix: remove exit traders hub modal from ui store * fix: refactor account switcher and fix mf add button * fix: removed unused * fix: notification * fix: conflicts and remove is_pre_appstore flag * fix: tests * fix: console error * fix: re-add back logged out status * fix: re-add back condition from vanuatu flow * fix: Trigger Build * translations: 📚 sync translations with crowdin (#8081) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Kate/92181/Content change for unavailable contract details error message from Deriv SmartTrader on Deriv's Report. (#8065) * chore: change phrase for unsupported contracts * fix: change key for profit table and statment * refactor: reuse const * refactor: change constants name --------- Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * fix: language switcher css (#8084) Co-authored-by: yashim-deriv <yashim@deriv.com> * fix: placeholder signup modal typo (#8095) * thisyahlen/fix: disable language button till language is fully loaded (#8089) * fix: disable language button till language is fully loaded * fix: add mockstore * fix: responsive * fix: remove unused css * fix: css * fix: 🐛 button not disabled for account signup (#8103) * Amina/fix: set citizen on account (#8102) * fix: set citizen on account * chore: trigger circleci * fix: set citizen on account * translations: 📚 sync translations with crowdin (#8107) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#8109) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * fix: checkbox to set correct checked value (#8116) * translations: 📚 sync translations with crowdin (#8120) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * chore: fixed text alignment issue in personal detail page (#8087) * fix: RadioGroupOptionsModal for multipliers options in all languages (#8106) * fix: z-index for dark theme popover (#8051) * henry/92021/fix: make trade types clickable in responsive for digits contracts (#8046) * fix: make trade types clickable in responsive for digits contracts * fix: keep trade params collapsed initially * fix: merge issues * fix: merge issue solved * fix: Empty-Commit --------- Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> * thisyahlen/chore: real account needed for cashier popup (#8029) * chore: real account needed for cashier popup * fix: add new mobx to mockstore * fix: move dem all to stores * fix: switch region * fix: add in mockstore * fix: add tests and resolve comments * fix: use mockstore in tests * fix: add for responsive * Jim/91761/delay in real account creation flow after clicking add account in the account creation popup (#8064) * refactor: conditionally fetch account_settings * chore: fix failing tests * henry/91320/Fix: Pass should show eu content flag to smartchart (#7960) * fix: isEuropeCountry returns true if you have european residence or if ip address is in europe * fix: remote console log * fix: pass eu resident and eu by location flags * fix: reduce amount of flags sent to smartchart * fix: Empty-Commit * fix: Empty-Commit * fix: codecov issue * fix: codecov issue 2 --------- Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> * fix: Add redirect action that opens multipliers account modal for ext… (#7938) * fix: Add redirect action that opens multipliers account modal for external platforms * fix: removed manage, uses other action for manage. This action is strictly for add only --------- Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * thisyahlen/fix: login change language error (#7963) * fix: login change language error * fix: console error and loading --------- Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> Co-authored-by: yashim-deriv <yashim@deriv.com> * fix: remove validation for sequental and repetitive digits idv (#8021) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * Hamza/90545/responsive user awareness (#7922) * feat: responsive user awareness v1.0 * feat: responsive user awareness v1.1 * feat: responsive user awareness v1.2 * feat: responsive user awareness v1.3 * feat: responsive user awareness v1.3 * feat: responsive user awareness v1.4 * feat: responsive user awareness v1.5 * feat: responsive user awareness v1.6 * refactor: review code + tsmigration * refactor: removed the unused props * refactor: removed the unused props v1.2 * refactor: alias added v1.3 * fix: successfully added in the text * fix: successfully added in the text + Standardization V1.2 * fix: successfully added in the text + Standardization V1.3 * fix: successfully added in the text + Standardization V1.3.1 * fix: language switcher css (#8084) Co-authored-by: yashim-deriv <yashim@deriv.com> * fix: placeholder signup modal typo (#8095) * thisyahlen/fix: disable language button till language is fully loaded (#8089) * fix: disable language button till language is fully loaded * fix: add mockstore * fix: responsive * fix: remove unused css * fix: css * fix: 🐛 button not disabled for account signup (#8103) * Amina/fix: set citizen on account (#8102) * fix: set citizen on account * chore: trigger circleci * fix: set citizen on account --------- Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: yashim-deriv <yashim@deriv.com> Co-authored-by: Aizad Ridzo <103104395+aizad-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com> * Rostislav / 90547 / Improve the "Transfer page" when there is only 1 Deriv Account with no siblings and CFDs account (#7894) * refactor: init pr * refactor: edited transfer page content * refactor: changed button behavior * refactor: removed unused variables/consts * refactor: removed unused function param and type * refactor: tests fixed * refactor: fixed a test with navigating to traders hub * refactor: renamed a test with navigation + more changes * refactor: removed openAccountSwitcherModal * refactor: removed backticks * refactor: typo fixed * refactor: fixed cringe mistake on my part * refactor: tests improved * refactor: periods added for messages * refactor: a few more changes to tests * refactor: mockRootStore type changed to TStores * refactor: a change to spec + merge conflicts fixes * Farzin/90439/R&D/Make use of `react-query` in `@deriv/api` package (#7845) * feat: ⬆️ update `@deriv/api-types` to `1.0.85` * feat(api): ✨ update api types with all the requests from `@deriv/api-types` * feat(api): ✨ add `useAPI` hook * feat(api): ✨ add `useAPISubscription` hook * feat(api): ✨ add `useAPISubscription` hook * feat(api): ✨ improve types * feat(api): ✨ rename hooks * feat(api): ✨ rename hooks * refactor(api): 🔥 remove `QueryClient` config * refactor(api): 🔥 remove unnecessary utils file * refactor(api): 🔥 remove unnecessary export types * test(api): ✅ add test for `useFetch` hook * refactor(api): 🔥 improve `useSubscription` hook * feat(api): ✨ use `useMutation` hook inside `useRequest` hook * test(cashier): ✅ fix the failing test * refactor(api): ♻️ move request props to `payload` object * refactor(api): 📝 resolve PR comments * feat(api): ⬆️ migrating to React Query 4 * fix(cashier): 🐛 fix type errors * feat(api): ✨ add `useInvalidateQuery` hook * refactor(api): 📝 resolve PR comments * ci: 💚 trigger build * ci: 💚 trigger build --------- Co-authored-by: Farzin Mirzaie <farzin@deriv.com> * translations: 📚 sync translations with crowdin (#8138) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * fix: sets the contract language whenever there is a change (#7996) * fix: sets the contract language whenever there is a change * fix: issue with popup disappearing * fix: translate amount tooltip --------- Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> * bahar/87663/fix: add_removed_deposit_test (#8007) * fix: add_removed_deposit_test * fix: review comments * fix: Rename error component * fix_showing_crypto_deposit_condition * translations: 📚 sync translations with crowdin (#8142) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#8144) Co-authored-by: yashim-deriv <yashim@deriv.com> Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * chore: change reaction and call validateAllProperties (#8165) * Henry/92021/trade types cant change in responsive (#8160) * fix: make trade types clickable in responsive for digits contracts * fix: keep trade params collapsed initially * fix: merge issues * fix: merge issue solved * fix: Empty-Commit * Revert "henry/92021/fix: make trade types clickable in responsive for digits contracts (#8046)" This reverts commit c1453e4. * fix: trade types not switchable for digits contracts in responsive --------- Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> * translations: 📚 sync translations with crowdin (#8181) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Revert "chore: change reaction and call validateAllProperties (#8165)" (#8182) This reverts commit 2f889dd. * thisyahlen/fix: firefox staging fix (#8185) * fix: firefox staging fix * fix: remove lodash * Update qa_server url (#8190) * Merge branch 'master' of github.com:binary-com/deriv-app into feat-90127-hamza/swapfree-development * fix: circle ci issue --------- Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> Co-authored-by: Shaheer <122449658+shaheer-deriv@users.noreply.github.com> Co-authored-by: Yashim Wong <yashim@regentmarkets.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> Co-authored-by: Hamid <hamid@deriv.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Aizad Ridzo <103104395+aizad-deriv@users.noreply.github.com> Co-authored-by: nada-deriv <122768621+nada-deriv@users.noreply.github.com> Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-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: Yashim Wong <yashim@deriv.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-binary@users.noreply.github.com> Co-authored-by: yauheni-kryzhyk-deriv <103182683+yauheni-kryzhyk-deriv@users.noreply.github.com> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: HENRY <henry@regentmarkets.com> Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> Co-authored-by: hirad-deriv <hirad@re-work.dev> Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com> Co-authored-by: balakrishna-deriv <56330681+balakrishna-deriv@users.noreply.github.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Carol Sachdeva <carol@binary.com> Co-authored-by: Sergei Baranovski <120570511+sergei-deriv@users.noreply.github.com> Co-authored-by: George Usynin <103181646+heorhi-deriv@users.noreply.github.com> Co-authored-by: kate-deriv <121025168+kate-deriv@users.noreply.github.com> Co-authored-by: Rostik Kayko <119863957+rostislav-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <farzin@deriv.com> Co-authored-by: Bahar <bahar@regentmarkets.com> Co-authored-by: Hamid <hamid@regentmarkets.com>
sergei-deriv
referenced
this pull request
in sergei-deriv/deriv-app
May 18, 2023
* style: 🎨 incorporated hiding of helper image based on avbl doc * style: 🎨 moved color to common variable
farzin-deriv
added a commit
that referenced
this pull request
May 25, 2023
* matin/chore: update branch (#8026) * thisyahlen/chore: new account verification modal for purchase authentication (#7936) * chore: new account verification modal for purchase authentication * fix: height and width * fix: modal footer css * fix: css mobile title * thisyahlen/fix: remove financial mt5 for norway and japan (#7846) * fix: remove financial mt5 for norway and japan * fix: resolved comments * fix: rename restricetd countries * fix: compare accounts table * fix: fix compare accounts table for norway/japan * fix: remove synthetic bvi for norway and japan * Jim/88166/delay in real account creation flow after clicking add account button in the account creation popup (#7926) * chore: remove duplicate get_settings api request * chore: set account_settings in client-store if undefined * chore: remove unnecessary else block * refactor: convert if expression to ternary * chore: set account_settings in client store instead of creating a local variable * fix: :sparkles: allows users to enter accented name characters (#7832) * fix: :sparkles: allows users to enter accented name characters * chore: :wastebasket: removes unused 'letter_symbol' variable * fix: :bug: allows accented characters in name for existing users * docs: :pencil2: comment on the regex used for name validation * resused regex function Co-authored-by: Yashim Wong <yashim@regentmarkets.com> * fix: :memo: imported reused regex function * fix: :memo: comment on regex function used --------- Co-authored-by: Yashim Wong <yashim@regentmarkets.com> * Evgeniy / 89431 / no error message for idv duplicated document numbers (#7743) * fix: no error message for idv duplicated document numbers * feat: idv testing document whitelist * refactor: function rename, code and test fix * refactor: code style change, review fixes --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Hamid/90702/account switchers to wrong deriv account when performing deposit via bank wire (#7933) * chore: icon changes after build * fix: redirect user to non-eu account instead eu after cashier deposit switch account * Ameerul /Task 89855 Add a checkbox to select/deselect a payment method when creating or updating a sell ad and making a sell order (#7824) * chore: added checkbox to payment method card * fix: added logic to disable checkbox and show checkbox in certain tabs only * Maryia/80948/fix: avoid rate limit error by storing counter after sending verification email in Withdrawal (#7218) * fix: instantiating useVerifyEmail object once for each email verification case to avoid settimeout leak in useCountdown * chore: store verify_email_sent_count in store instead of locally * test: fix test for email-verification-empty-state.tsx * fix: avoid counter reset by storing and using the time an email was last sent * chore: a workaround for VerifyEmailRequest type declared with an extra required field in api-types * chore: remove api-types workaround * build: update @deriv/api-types to 1.0.85 * revert: api-types version upgrade * revert: package-lock * revert: modal-manager.jsx * revert: modal-manager.jsx * thisyahlen/fix: error when switch to mf (#7778) * fix: error when switch to mf * fix: addressed comments * fix: addressed comments v2 * chore: fix tooltip language not updating on change language (#7871) * chore: fix tooltip language not updating on change language * fix: added checks for currency in trade store * fix: added delete amount validation rules in reaction * fix: remove delete rule in reaction * fix: remove mistake * fix: typo * Aizad/89113/sidebar platform fix (#7697) * chore: fix mobile sidebar platform for eu * fix: codecov error * fix: codecov error * chore: update packages * Nada/88951/change chat url (#7798) * fix: get chat url from p2p_order_create instead of p2p_chat_create * fix: fixed issue with order details page * fix: chat channel url empty issue fixed for p2p_order_create response * fix: function added to store * fix: added timeout for setting chat_channel in order details * fix: pr comments fixed * fix: increased time out * fix: removed delay for going to details page from list * thisyahlen/fix: top up mt5 demo (#7665) * fix: top up demo * fix: deriv x as well * redeploy: a * chore: update pdf in acuity download modal (#7567) * fix: filter currencies by name (#7493) * fix: changed pop up message for no recommendations (#7693) * Aizad/89700/onboarding btn fix (#7813) * chore: disable cursor on account switcher button onboarding * fix: Add the same behavior for Options and Multipliers section Trade Button * fix: added default class and refactor scss * Nada/89550/remove validation ad amount (#7753) * fix: removed error validation for amount greater than user's balance * fix: added popup for creating ad greater than balance * fix: pr comments fixed * fix: reuse common modal for visibility errors * Aizad/88786/mt5 redirection modal fix (#7663) * chore: fix mt5 redirection modal closing on trade * fix: modal and dialog close seperately after clicking outside * fix: re-add dialog_status condition back to redirect-notice-modal * fix: reverted the previous changes * fix: remove useclickoutside for page overlay * fix: update deriv/api package to latest version * fix: updated package version to match with master * Merge branch 'develop' of github.com:binary-com/deriv-app into aizad/88786/mt5-redirection-modal-fix * fix: codecov and circleci * fix: upgrade package * fix: theme switch in poroduction (#7781) * translations: 📚 sync translations with crowdin (#7989) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * yashim/chore: remove indonesia from production (#7999) * chore: remove trading experience incomplete (#8005) * chore: remove trading experience incomplete * fix: remove is cfd score available * thisyahlen/hotfix: wrong restriction message for austria (#8006) * hotfix: wrong restriction message for austria * fix: Empty-Commit * Revert "thisyahlen/hotfix: wrong restriction message for austria (#8006)" (#8013) This reverts commit 56baec7d879efd25f05249323911641ce069ab63. * Revert "Jim/88166/delay in real account creation flow after clicking add account button in the account creation popup (#7926)" (#8016) This reverts commit 8bb13518f4cebd42bc3d2a602807d7c1b6aa5b6a. * fix: :bug: fetches latest personal details every time intead of cached value (#8002) * Revert "Maryia/80948/fix: avoid rate limit error by storing counter a… (#8020) * Revert "Maryia/80948/fix: avoid rate limit error by storing counter after sending verification email in Withdrawal (#7218)" This reverts commit cc0065d02761a33502405d35a47a45696292858d. * revert: reverted setIsCFDScoreAvailable from client.store * Revert "fix: :bug: fetches latest personal details every time intead of cached value (#8002)" (#8022) This reverts commit ff497c14ec9fe0b831031b0d9bae1532f9c47456. --------- Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> Co-authored-by: Shaheer <122449658+shaheer-deriv@users.noreply.github.com> Co-authored-by: Yashim Wong <yashim@regentmarkets.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> Co-authored-by: Hamid <hamid@deriv.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Aizad Ridzo <103104395+aizad-deriv@users.noreply.github.com> Co-authored-by: nada-deriv <122768621+nada-deriv@users.noreply.github.com> Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-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: Yashim Wong <yashim@deriv.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> * hamza/90127/91316/sub-feat: swapfree onboarding screen addition v1.0 (#7961) * feat: swapfree onboarding screen addition v1.0 * fix: name changes and Title updated as per design * Syncing Master with the Feature Brnach of Swapfree (#8056) * thisyahlen/chore: new account verification modal for purchase authentication (#7936) * chore: new account verification modal for purchase authentication * fix: height and width * fix: modal footer css * fix: css mobile title * thisyahlen/fix: remove financial mt5 for norway and japan (#7846) * fix: remove financial mt5 for norway and japan * fix: resolved comments * fix: rename restricetd countries * fix: compare accounts table * fix: fix compare accounts table for norway/japan * fix: remove synthetic bvi for norway and japan * Jim/88166/delay in real account creation flow after clicking add account button in the account creation popup (#7926) * chore: remove duplicate get_settings api request * chore: set account_settings in client-store if undefined * chore: remove unnecessary else block * refactor: convert if expression to ternary * chore: set account_settings in client store instead of creating a local variable * fix: :sparkles: allows users to enter accented name characters (#7832) * fix: :sparkles: allows users to enter accented name characters * chore: :wastebasket: removes unused 'letter_symbol' variable * fix: :bug: allows accented characters in name for existing users * docs: :pencil2: comment on the regex used for name validation * resused regex function Co-authored-by: Yashim Wong <yashim@regentmarkets.com> * fix: :memo: imported reused regex function * fix: :memo: comment on regex function used --------- Co-authored-by: Yashim Wong <yashim@regentmarkets.com> * Evgeniy / 89431 / no error message for idv duplicated document numbers (#7743) * fix: no error message for idv duplicated document numbers * feat: idv testing document whitelist * refactor: function rename, code and test fix * refactor: code style change, review fixes --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Hamid/90702/account switchers to wrong deriv account when performing deposit via bank wire (#7933) * chore: icon changes after build * fix: redirect user to non-eu account instead eu after cashier deposit switch account * Ameerul /Task 89855 Add a checkbox to select/deselect a payment method when creating or updating a sell ad and making a sell order (#7824) * chore: added checkbox to payment method card * fix: added logic to disable checkbox and show checkbox in certain tabs only * Maryia/80948/fix: avoid rate limit error by storing counter after sending verification email in Withdrawal (#7218) * fix: instantiating useVerifyEmail object once for each email verification case to avoid settimeout leak in useCountdown * chore: store verify_email_sent_count in store instead of locally * test: fix test for email-verification-empty-state.tsx * fix: avoid counter reset by storing and using the time an email was last sent * chore: a workaround for VerifyEmailRequest type declared with an extra required field in api-types * chore: remove api-types workaround * build: update @deriv/api-types to 1.0.85 * revert: api-types version upgrade * revert: package-lock * revert: modal-manager.jsx * revert: modal-manager.jsx * thisyahlen/fix: error when switch to mf (#7778) * fix: error when switch to mf * fix: addressed comments * fix: addressed comments v2 * chore: fix tooltip language not updating on change language (#7871) * chore: fix tooltip language not updating on change language * fix: added checks for currency in trade store * fix: added delete amount validation rules in reaction * fix: remove delete rule in reaction * fix: remove mistake * fix: typo * Aizad/89113/sidebar platform fix (#7697) * chore: fix mobile sidebar platform for eu * fix: codecov error * fix: codecov error * chore: update packages * Nada/88951/change chat url (#7798) * fix: get chat url from p2p_order_create instead of p2p_chat_create * fix: fixed issue with order details page * fix: chat channel url empty issue fixed for p2p_order_create response * fix: function added to store * fix: added timeout for setting chat_channel in order details * fix: pr comments fixed * fix: increased time out * fix: removed delay for going to details page from list * thisyahlen/fix: top up mt5 demo (#7665) * fix: top up demo * fix: deriv x as well * redeploy: a * chore: update pdf in acuity download modal (#7567) * fix: filter currencies by name (#7493) * fix: changed pop up message for no recommendations (#7693) * Aizad/89700/onboarding btn fix (#7813) * chore: disable cursor on account switcher button onboarding * fix: Add the same behavior for Options and Multipliers section Trade Button * fix: added default class and refactor scss * Nada/89550/remove validation ad amount (#7753) * fix: removed error validation for amount greater than user's balance * fix: added popup for creating ad greater than balance * fix: pr comments fixed * fix: reuse common modal for visibility errors * Aizad/88786/mt5 redirection modal fix (#7663) * chore: fix mt5 redirection modal closing on trade * fix: modal and dialog close seperately after clicking outside * fix: re-add dialog_status condition back to redirect-notice-modal * fix: reverted the previous changes * fix: remove useclickoutside for page overlay * fix: update deriv/api package to latest version * fix: updated package version to match with master * Merge branch 'develop' of github.com:binary-com/deriv-app into aizad/88786/mt5-redirection-modal-fix * fix: codecov and circleci * fix: upgrade package * fix: theme switch in poroduction (#7781) * translations: 📚 sync translations with crowdin (#7989) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * yashim/chore: remove indonesia from production (#7999) * chore: remove trading experience incomplete (#8005) * chore: remove trading experience incomplete * fix: remove is cfd score available * thisyahlen/hotfix: wrong restriction message for austria (#8006) * hotfix: wrong restriction message for austria * fix: Empty-Commit * Revert "thisyahlen/hotfix: wrong restriction message for austria (#8006)" (#8013) This reverts commit 56baec7d879efd25f05249323911641ce069ab63. * Revert "Jim/88166/delay in real account creation flow after clicking add account button in the account creation popup (#7926)" (#8016) This reverts commit 8bb13518f4cebd42bc3d2a602807d7c1b6aa5b6a. * fix: :bug: fetches latest personal details every time intead of cached value (#8002) * Revert "Maryia/80948/fix: avoid rate limit error by storing counter a… (#8020) * Revert "Maryia/80948/fix: avoid rate limit error by storing counter after sending verification email in Withdrawal (#7218)" This reverts commit cc0065d02761a33502405d35a47a45696292858d. * revert: reverted setIsCFDScoreAvailable from client.store * Revert "fix: :bug: fetches latest personal details every time intead of cached value (#8002)" (#8022) This reverts commit ff497c14ec9fe0b831031b0d9bae1532f9c47456. * Adrienne / Prefetched email verification modal (#8027) * chore: prefetched email verification modal * chore: added settimoeut * chore: used eager mode * chore: import model directly * chore: reverted direct imports * chore: added settimeout * translations: 📚 sync translations with crowdin (#8031) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#8040) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> Co-authored-by: yashim-deriv <yashim@deriv.com> * Maryia/67492/task_add_accumulators (#6406) * Merge '67492_accumulators_purchase' into 'maryia/67492/task_add_accumulators' * Maryia/75617/add_accu_to_trade_params (#3) * initialized ACCU trade params for responsive * added LabeledQuantityInputMobile & improved AccumulatorsAmountMobile * feat: added Accumulator radio group for growth_rate * feat: finalized Accumulator growth_rates radio group for mobile * feat: responsive- added Take profit to trade params & aligned purchase button icon * feat: improved mobile trade params for ACCU * feat: finalized trade params for ACCU * maryia/72761/task_add_recent_positions_drawer (#4) * feat: initialized ACCU contract card in recent positions * feat: initialized ProgressSliderSolidLine for ACCU * feat: updated recent positions card for ACCU for open/lost/won states * chore: improvements for ACCU card in responsive recent positions * chore: added TickCounterProgressBar component * feat: added TickCounterBar and reverted ProgressSlider & ProgressSliderMobile * chore: reverted original Recent positions drawer width * chore: improved TickCounterBar styling * maryia/76528/task_implement_contract_details_drawer (#5) * chore: updated Details in contract card for ACCU + styling * feat: implemented ACCU contract card in contract details + improved recent positions * chore: updated icons for ACCU trade type & contract category * maryia/72769/add_ticks_history_stats_widget (#6) * feat: init version of TicksHistoryStatsWidget for ACCU * chore: TicksHistoryStats * chore: improved tick history styling * chore: added more styles & animated progress dots under latest counter * feat: finalized desktop ticks history stats for dtrader page * feat: added ticks history to contract details page * improved ticks history stats for desktop & initialized it for responsive * made responsive stats non-expandable * maryia/77261/task_manual_for_history_widget (#8) * chore: discarded getUpdatedTicksHistoryStats as BE will send 15 exact values instead of 100+latest * feat: added AccumulatorsStatsManualModal * feat: finalized AccumulatorsStatsManualModal for desktop & responsive * chore: added getUpdatedTicksHistoryStats to process arrays of counters with epochs expected from BE * feat: added expanded AccumulatorsStats dialog for responsive * chore: contract card styling improvements + using ACCU tick_count as max_ticks_number * chore: improved AccumulatorsStats to load after tick counters have loaded * maryia/75621/task_add_tests_and_restyle_contract_card (#9) * chore: improved ACCU contract type icon & label styling in contract card * chore: added tests for accumulator.js helper function * chore: added tests for Accumulator.jsx * maryia/75621/part_2_task_accu_barriers (#10) * chore: updated dummy data * chore: fixed history stats styles & added tests for AccumulatorsStats * chore: improved AccumulatorsStats and its tests * chore: updated contract card & open positions * maryia/75621/add barriers for stay in contract on trader page (#12) * chore: test out passing trade data to all-markers for drawing barriers without contract + improvements * feat: added barriers for accumulators without open contract * feat: added markers and barriers for stay in contract on trader page * chore: adjusted open contract profit label (#13) * yauheni/77994/trader add break out contract type (#14) * yauheni/77994/trader add break out contract type * regexp fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * yauheni/78429/update styles of tick history widget (#15) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * chore: prepared data for connecting API (#16) * Maryia/78473/part 2 prepare for api + improvements (#18) * chore: improved barriers without contract and open contract label * chore: prepared data for api connection * chore: added price tags for barriers in contract details (#19) * feat: initialized AccumulatorsProfitLossTooltip (#20) * yauheni/78477/update params with buttons for responsive (#17) * yauheni/78477/update params with buttons for responsive * fix styles accordingly to design * buttons gap fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * yauheni/resolve build errors (#21) * yauheni/resolve build errors * optional property for is_checkbox_hidden Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Yauheni/78633/update styles for tick history widget (#22) * yauheni/resolve build errors * yauheni/78633/update styles for tick history widget * yauheni/78633/update styles for tick history widget responsive Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/78839/complete_sold_labels (#23) * chore: added tolltips for all sold positions & won/lost coloring * feat: finalized AccumulatorsProfitLossTooltip * maryia/improvements for stats and tooltip (#24) * chore: accumulators stats improvements * improvements * maryia/improvements for sold contract label * maryia/78574/add_barriers_to_contract_details * maryia/79085/remove_break_out_history_from_stats_widget (#26) * maryia/79085/remove_break_out_history_from_stats * chore: made purchaseButtonsOverlay flexible * chore: added tests for PurchaseButtonsOverlay * Yauheni/77995/update trade params for stayin breakout (#25) * yauheni/77995/update trade params for stayin breakout * take profit alimngment * buttons styles, take profit alingment * maryia/78574/add_barriers_to_contract_details * stake font and icon fix, go_tp_reports button styles * update contract store from parent Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> Co-authored-by: maryia-binary <maryia@binary.com> * maryia/fix: styles & fonts for responsive trade types * Maryia/79549/part 1: update tick markers for ACCU in contract details + improvements (#27) * maryia/79549/add_tick_markers_contract_details * chore: improvements for styles in responsive trade types desc * yauheni/79530/remove breakout contract (#28) * yauheni/79530/remove breakout contract * proposal data fields fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/styling improvements * maryia/fix: forcing Div100vh to re-render when height_offset for responsive has changed * maryia/fix: observables + markers * maryia/chore: prevented barriers, labels and markers from going outside axes (#30) * maryia/79969/set_default_chart_type_and_interval_to_Area_and_1_tick * maryia/chore: changed trade type name to Accumulators * maryia/80163/set growth rate based on default value from BE contracts_for response * yauheni/80091/hide chart mode icon for accumulators (#33) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/80166/connect_to_available_API (#34) * chore: connected api without contracts_for for now * chore: updated proposal * chore: updated tests for new proposal * maryia/80163/add-growth-rate-to-purchase-button * maryia/refactored purchase button growth_rate text * maryia/chore: removed unused code for outside barriers * maryia/fix: barrier shade color for ongoing contract * feat: restore chart mode set for non accumulators contract after switching (#37) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * yauheni/80158/update ui according to latest design (design flow 1-2) (#36) * icon accumulator change * purchase btn, stats fix * fix styles, flow 1 * accumulator design flow 2 Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/80686/feat: profit text animation for ongoing contract (#39) * fix: showing profit text next to current spot for open contract * chore: animated profit text * feat: added animated profit text for ongoing contract * test: fixed a test * chore: removed unused variable * fix: maryia/80686/profit text color * fix: maryia/using default growth rate only if no stored growth rate * feat: allow accumulators only for demo account (#40) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Yauheni/80158/update UI according to latest design part 2 (#38) * accu design chart position fix * accu page for reports rendering * reports card design fix * reports card design fix2 * updated design fix * pseudoelement colon fix * emphasizing value fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/80687/ticks_contract_details (#41) * fix: tick markers in contract details & take profit logics * feat: showing only 10 last ticks for accumulators ongoing contract * chore: display all trade types when list is not empty * style: typo * chore: maryia/added opacity to profit text + connected contracts_for + refactoring * chore: improved tick stream for ACCU in contract details + stats alignment * chore: maryia/handled undefined profit & updated opacity animation timing * chore: temporary dummy api connection * fix: maryia/hide profit if undefined, display if number * revert: dummi api * feat: implement last design part 1 (#43) * feat: implement last design part 1 * fix: test text fix * refactor: stats style for mobile fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/82425/task highlight crossing tick (#42) * feat: hightlighting crossing tick * feat: sync highlighting of crossing tick based on ticks_history_stats * Maryia/83069/task: replace image with video manual (#44) * feat: replaced manual image with video + responsive stats improvement * test: fixed a test * fix: entry tick marker in dtrader * style: removed extra margin-bottom * feat: implement last design part 2 (#45) * feat: implement last design part 2 * fix: initial growth_rate added * refactor: growth_rate from contract_for delete Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * refactor: accu sold contract tooltip animation change (#49) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/82257/Contract Details tick markers + AccumulatorsProfitLossText refactoring (#48) * chore: saving canvas context before accu barriers are drawn and restoring when finished drawing * fix: endtime, avoid fetching history in replay, avoid 0 profit animation * chore: forcing chart reload when start_epoch changes to earlier epoch + refactored profit-text * refactor: accumulators-profit-loss-text * refactor: tooltip style and tests (#51) * refactor: tooltip style and tests * refactor: accumulator info text * refactor: profit tooltip text test add * refactor: radiogroupwithinfomobile test added * refactor: tickhistorycounter tests added * refactor: tickcounterbar test added Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/83311/Refactoring, tests, TS migration (#50) * refactor: purchase-buttons-overlay.spec.js from enzyme to jest * style: removed extra variable * refactor: from accumulator.js with chai to accumulator.spec.js with jest * refactor: removed unused dummy data * test: added tests for accumulators-stats-manual-modal.jsx * chore: improved accumulators-stats-manual-modal * refactor: incapsulated AccumulatorsChartElements in trade.jsx * fix: maryia/circleci eslint error * feat: maryia/added dark theme video manual for stats + fix for circleci * test: maryia/added tests for AccumulatorsInfoDisplay & LabeledQuantityInputMobile * chore: maryia/ address review comments + updated videos * fix: maryia/open positions: auto-select Accumulators if has open ACCU contracts * refactor: accumulatorschartelements test added (#52) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * style: maryia/apply review suggestions * style: maryia/apply review suggestions * refactor: maryia/refactoring + small improvements & adjustments * chore: add built icons file * fix: circleci tests + improvements * chore: refactoring + added loader before video manual first loads * refactor: improvements + addressed review comments * yauheni/qa checks refactoring 1 (#53) * refactor: open recent position after buying contract for mobile * fix: accu card curent stake name field * fix: popover accumulator radio group text and alignment * fix: open position accumulate column name Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * fix: last truncated counter in responsive (#54) * Maryia/83807/stake validation (part 1) (#55) * fix: set growth_rate based on accumulator_range_list (growth_rate_range) received in contracts_for * fix: app crash caused by proposal error * chore: removed unused classname * fix: growth rate title alignment (#56) * fix: growht rate title alignment * refactor: category wrapper odd style Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/83807/fix: stake validation for ACCU broken because of barriers being set (#57) * fix: stake validation for ACCU broken because of barriers being set * fix: prevent app crash in profit table for unknown contracts * fix: check if selected growth_rate is available on symbol change (#58) * fix: able to buy multiply contract / growth rate fix BO change (#59) * fix: able to buy multiply contract / growth rate fix BO change * refactor: last contract check delete Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * revert: maryia/revert change of last_contract computed * fix: accumulator is shown for real account (#60) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * feat: make cursor not allowd for overlay (#61) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * chore: built icons.js * revert: maryia/ unnecessary bot file change * refactor: contract categories in contract-type-widget.jsx * refactor: according to pr review comments * refactor: open positions + add keys to fix console warning * fix: disable accu for real account, disable button having bought one contract (#62) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * refactor: purchase.jsx * refactor: according to pr reviews * refactor: able to buy contract per every available underlying (#63) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Trigger Build * yauheni/85032/ fix chart issue with dots and circles Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * fix: exit spot styles * refactor: make barrier values string as on BE * fix: unable accumulators for real * maryia/refactor_accu_branch (#66) * refactor: remove unused file * refactor: refactor createTickMarkers * refactor: introduce a local variable * fix: 86705/ticks are not displayed correctly on chart in contract details * maryia/86953/build: bump up deriv-charts version to 1.1.0 + improvement (#68) * build: bump up deriv-charts version * chore: show profit only when barriers are received * test: updated mocked props * build: maryia/removed extra package-lock.jsons * evgeniy /87215/87226/ info description / glitch while switching account (#70) * fix: description * fix: disable trade params while switching account --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * henry/87329/fix: FE not showing error message when accu trading is suspended (#72) * fix: FE not showing error message when accu trading is suspended * test: empty commit --------- Co-authored-by: HENRY <henry@regentmarkets.com> * refactor: glitching fix and deleted odd css (#73) * refactor: glitching fix and deleted odd css * fix: code refactor --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/86616/feat: calculating accu barriers based on ticks from ticks_history (#71) * feat: calculating accu barriers based on ticks from ticks_history * chore: rounded & refactored accu barriers * refactor: added getAccumulatorBarriers for barrier calculation + fixed a test * chore: improved barriers calculations * refactor: getAccumulatorBarriers docs * refactor: getAccumulatorBarriers * fix: showing barriers only when having have barriers & always showing barrier lines in C.Details * build: updated package-lock & icons + fixed conflicts + linting * fix: max stake validation is missing (#81) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * fix: maryia/87948/chart empty issue + profit text effects clean-up * henry/87958/feat: Add Dropdown for rates in Accumulator (#86) * feat: Add Dropdown for rates in Accumulator * chore: code cleanup * Update packages/reports/src/Containers/open-positions.jsx Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> --------- Co-authored-by: HENRY <henry@regentmarkets.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * Maryia/86616/make 2 last ticks bold + refactoring (#84) * chore: make prelast & last tick bold * chore: adjust styles for previous and last markers in c.details * refactor: getSupportedContracts & getContractTypeDisplay in configs * refactor: open-positions * refactor: chart-markers slyles * style: updated All rates casing * build: update package-lock * Henry/87958/feat add all rates dropdown accumulator (#89) * feat: Add Dropdown for rates in Accumulator * chore: code cleanup * Update packages/reports/src/Containers/open-positions.jsx Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * chore: remove console log * fix: Change Open positions total for multiplier and accumulator to flex --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * refactor: open-positions * fix: remove unused eslint disable * revert: package-lock * fix: sell button disappearing in mobile accumulators (#92) * Henry/89489/fix sell button missing accumulator (#95) * fix: sell button disappearing in mobile accumulators * fix: fix cut off buy button issue * fix: remove commented out code * maryia/89432/fix: show barriers for current symbol correctly (#94) * fix: show barriers for current symbol * refactor: show barriers for current symbol only * Maryia/test: added tests for getAccumulatorBarriers function (#99) * test: added tests for getAccumulatorBarriers function * test: added tests for getAccumulatorBarriers function * test: renamed test cases for getAccumulatorBarriers function * Maryia/89927_2/fix: ticks_history not forgotten because of chart mode & granularity change (#101) * fix: logics for changing chart mode & granularity caused ticks_history streaming for previous symbol * fix: update chart mode just once when switching contract type * fix: maryia/fixed logics for chart mode switching * refactor: maryia/address review comments * Merge branch master of github.com:binary-com/deriv-app into maryia/67492/task_add_accumulators * Update vanilla-options-card-body.jsx * fix: vanillas + accumulators adjustments * fix: maryia/restore overriden accu change * fix: maryia/vanillas+accumulators adjustment * fix: maryia/ improvements + refactoring to address review comments * fix: maryia/ update c.details chart when end_epoch is defined * fix: reset accu barriers data on every contract type change * fix: revert ui-store to master * fix: chart mode change when switching to symbol without accu * fix: purchase button styling for accumulators (#109) Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> --------- Co-authored-by: Maryia <103177211+maryia-binary@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: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: HENRY <henry@regentmarkets.com> Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> Co-authored-by: hirad-deriv <hirad@re-work.dev> * Amina /77701_make signup form fields immutable if they are immutable from BE (#7544) * adding validation * changeablle fields from client store * mutate address fields * fix: test case * fix: test case * fix: spec_file * fix: making employment status immutable * fix: trading assessment * fix: trading assessment * fix: trading assessment * fix: test case after merge conflict * fix: hide idv section when client is age verified * fix: remove idv_disallowed check * chore: merge master * fix: add new status --------- Co-authored-by: hirad-deriv <hirad@re-work.dev> * translations: 📚 sync translations with crowdin (#8048) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#8049) Co-authored-by: yashim-deriv <yashim@deriv.com> Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#8050) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> --------- Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> Co-authored-by: Shaheer <122449658+shaheer-deriv@users.noreply.github.com> Co-authored-by: Yashim Wong <yashim@regentmarkets.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> Co-authored-by: Hamid <hamid@deriv.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Aizad Ridzo <103104395+aizad-deriv@users.noreply.github.com> Co-authored-by: nada-deriv <122768621+nada-deriv@users.noreply.github.com> Co-authored-by: Farrah Mae Ochoa <82315152+farrah-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-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: Yashim Wong <yashim@deriv.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-binary@users.noreply.github.com> Co-authored-by: yauheni-kryzhyk-deriv <103182683+yauheni-kryzhyk-deriv@users.noreply.github.com> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: HENRY <henry@regentmarkets.com> Co-authored-by: Matin shafiei <matin@deriv.com> Co-authored-by: Henry Hein <henryhein@Henry-Heins-MacBook-Pro-T90XTJ00Q4.local> Co-authored-by: hirad-deriv <hirad@re-work.dev> Co-authored-by: amina-deriv <84661147+amina-deriv@users.noreply.github.com> * feat: demo account creation and payload updated v1.0 (#8058) * feat: demo account creation and payload updated v1.0 * feat: demo fix Trade Popup * feat: demo and real popup fixed with deriv api-types type missing v1.2 * fix: real Get more content modal updated * fix: modal title for demo and svg account * fix: modal title for demo and svg account v1.3 * fix: get more button fix real v1.4 * fix: juridisction modal * fix: transfer icon cashier updated * fix: transfer icon cashier updated v1.2 * fix: modal unmount selected account type on close * chore: Demo text added v1.0 * fix: test coverage * fix: title for demo top up * fix: Demo added in the title for demo * fix: cfd account card * fix: juridisction content change * fix: juridisction content change + leverage fix * refactor: type checks and reviewed suggestions * refactor: hook with test cases added as per review comment * refactor: function added and switch case changed to localize to support different language scenario * Feat sub 90127 syncing the master with swapfree development (#8196) * thisyahlen/chore: new account verification modal for purchase authentication (#7936) * chore: new account verification modal for purchase authentication * fix: height and width * fix: modal footer css * fix: css mobile title * thisyahlen/fix: remove financial mt5 for norway and japan (#7846) * fix: remove financial mt5 for norway and japan * fix: resolved comments * fix: rename restricetd countries * fix: compare accounts table * fix: fix compare accounts table for norway/japan * fix: remove synthetic bvi for norway and japan * Jim/88166/delay in real account creation flow after clicking add account button in the account creation popup (#7926) * chore: remove duplicate get_settings api request * chore: set account_settings in client-store if undefined * chore: remove unnecessary else block * refactor: convert if expression to ternary * chore: set account_settings in client store instead of creating a local variable * fix: :sparkles: allows users to enter accented name characters (#7832) * fix: :sparkles: allows users to enter accented name characters * chore: :wastebasket: removes unused 'letter_symbol' variable * fix: :bug: allows accented characters in name for existing users * docs: :pencil2: comment on the regex used for name validation * resused regex function Co-authored-by: Yashim Wong <yashim@regentmarkets.com> * fix: :memo: imported reused regex function * fix: :memo: comment on regex function used --------- Co-authored-by: Yashim Wong <yashim@regentmarkets.com> * Evgeniy / 89431 / no error message for idv duplicated document numbers (#7743) * fix: no error message for idv duplicated document numbers * feat: idv testing document whitelist * refactor: function rename, code and test fix * refactor: code style change, review fixes --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Hamid/90702/account switchers to wrong deriv account when performing deposit via bank wire (#7933) * chore: icon changes after build * fix: redirect user to non-eu account instead eu after cashier deposit switch account * Ameerul /Task 89855 Add a checkbox to select/deselect a payment method when creating or updating a sell ad and making a sell order (#7824) * chore: added checkbox to payment method card * fix: added logic to disable checkbox and show checkbox in certain tabs only * Maryia/80948/fix: avoid rate limit error by storing counter after sending verification email in Withdrawal (#7218) * fix: instantiating useVerifyEmail object once for each email verification case to avoid settimeout leak in useCountdown * chore: store verify_email_sent_count in store instead of locally * test: fix test for email-verification-empty-state.tsx * fix: avoid counter reset by storing and using the time an email was last sent * chore: a workaround for VerifyEmailRequest type declared with an extra required field in api-types * chore: remove api-types workaround * build: update @deriv/api-types to 1.0.85 * revert: api-types version upgrade * revert: package-lock * revert: modal-manager.jsx * revert: modal-manager.jsx * thisyahlen/fix: error when switch to mf (#7778) * fix: error when switch to mf * fix: addressed comments * fix: addressed comments v2 * chore: fix tooltip language not updating on change language (#7871) * chore: fix tooltip language not updating on change language * fix: added checks for currency in trade store * fix: added delete amount validation rules in reaction * fix: remove delete rule in reaction * fix: remove mistake * fix: typo * Aizad/89113/sidebar platform fix (#7697) * chore: fix mobile sidebar platform for eu * fix: codecov error * fix: codecov error * chore: update packages * Nada/88951/change chat url (#7798) * fix: get chat url from p2p_order_create instead of p2p_chat_create * fix: fixed issue with order details page * fix: chat channel url empty issue fixed for p2p_order_create response * fix: function added to store * fix: added timeout for setting chat_channel in order details * fix: pr comments fixed * fix: increased time out * fix: removed delay for going to details page from list * thisyahlen/fix: top up mt5 demo (#7665) * fix: top up demo * fix: deriv x as well * redeploy: a * chore: update pdf in acuity download modal (#7567) * fix: filter currencies by name (#7493) * fix: changed pop up message for no recommendations (#7693) * Aizad/89700/onboarding btn fix (#7813) * chore: disable cursor on account switcher button onboarding * fix: Add the same behavior for Options and Multipliers section Trade Button * fix: added default class and refactor scss * Nada/89550/remove validation ad amount (#7753) * fix: removed error validation for amount greater than user's balance * fix: added popup for creating ad greater than balance * fix: pr comments fixed * fix: reuse common modal for visibility errors * Aizad/88786/mt5 redirection modal fix (#7663) * chore: fix mt5 redirection modal closing on trade * fix: modal and dialog close seperately after clicking outside * fix: re-add dialog_status condition back to redirect-notice-modal * fix: reverted the previous changes * fix: remove useclickoutside for page overlay * fix: update deriv/api package to latest version * fix: updated package version to match with master * Merge branch 'develop' of github.com:binary-com/deriv-app into aizad/88786/mt5-redirection-modal-fix * fix: codecov and circleci * fix: upgrade package * fix: theme switch in poroduction (#7781) * translations: 📚 sync translations with crowdin (#7989) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * yashim/chore: remove indonesia from production (#7999) * chore: remove trading experience incomplete (#8005) * chore: remove trading experience incomplete * fix: remove is cfd score available * thisyahlen/hotfix: wrong restriction message for austria (#8006) * hotfix: wrong restriction message for austria * fix: Empty-Commit * Revert "thisyahlen/hotfix: wrong restriction message for austria (#8006)" (#8013) This reverts commit 56baec7d879efd25f05249323911641ce069ab63. * Revert "Jim/88166/delay in real account creation flow after clicking add account button in the account creation popup (#7926)" (#8016) This reverts commit 8bb13518f4cebd42bc3d2a602807d7c1b6aa5b6a. * fix: :bug: fetches latest personal details every time intead of cached value (#8002) * Revert "Maryia/80948/fix: avoid rate limit error by storing counter a… (#8020) * Revert "Maryia/80948/fix: avoid rate limit error by storing counter after sending verification email in Withdrawal (#7218)" This reverts commit cc0065d02761a33502405d35a47a45696292858d. * revert: reverted setIsCFDScoreAvailable from client.store * Revert "fix: :bug: fetches latest personal details every time intead of cached value (#8002)" (#8022) This reverts commit ff497c14ec9fe0b831031b0d9bae1532f9c47456. * Adrienne / Prefetched email verification modal (#8027) * chore: prefetched email verification modal * chore: added settimoeut * chore: used eager mode * chore: import model directly * chore: reverted direct imports * chore: added settimeout * translations: 📚 sync translations with crowdin (#8031) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#8040) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> Co-authored-by: yashim-deriv <yashim@deriv.com> * Maryia/67492/task_add_accumulators (#6406) * Merge '67492_accumulators_purchase' into 'maryia/67492/task_add_accumulators' * Maryia/75617/add_accu_to_trade_params (#3) * initialized ACCU trade params for responsive * added LabeledQuantityInputMobile & improved AccumulatorsAmountMobile * feat: added Accumulator radio group for growth_rate * feat: finalized Accumulator growth_rates radio group for mobile * feat: responsive- added Take profit to trade params & aligned purchase button icon * feat: improved mobile trade params for ACCU * feat: finalized trade params for ACCU * maryia/72761/task_add_recent_positions_drawer (#4) * feat: initialized ACCU contract card in recent positions * feat: initialized ProgressSliderSolidLine for ACCU * feat: updated recent positions card for ACCU for open/lost/won states * chore: improvements for ACCU card in responsive recent positions * chore: added TickCounterProgressBar component * feat: added TickCounterBar and reverted ProgressSlider & ProgressSliderMobile * chore: reverted original Recent positions drawer width * chore: improved TickCounterBar styling * maryia/76528/task_implement_contract_details_drawer (#5) * chore: updated Details in contract card for ACCU + styling * feat: implemented ACCU contract card in contract details + improved recent positions * chore: updated icons for ACCU trade type & contract category * maryia/72769/add_ticks_history_stats_widget (#6) * feat: init version of TicksHistoryStatsWidget for ACCU * chore: TicksHistoryStats * chore: improved tick history styling * chore: added more styles & animated progress dots under latest counter * feat: finalized desktop ticks history stats for dtrader page * feat: added ticks history to contract details page * improved ticks history stats for desktop & initialized it for responsive * made responsive stats non-expandable * maryia/77261/task_manual_for_history_widget (#8) * chore: discarded getUpdatedTicksHistoryStats as BE will send 15 exact values instead of 100+latest * feat: added AccumulatorsStatsManualModal * feat: finalized AccumulatorsStatsManualModal for desktop & responsive * chore: added getUpdatedTicksHistoryStats to process arrays of counters with epochs expected from BE * feat: added expanded AccumulatorsStats dialog for responsive * chore: contract card styling improvements + using ACCU tick_count as max_ticks_number * chore: improved AccumulatorsStats to load after tick counters have loaded * maryia/75621/task_add_tests_and_restyle_contract_card (#9) * chore: improved ACCU contract type icon & label styling in contract card * chore: added tests for accumulator.js helper function * chore: added tests for Accumulator.jsx * maryia/75621/part_2_task_accu_barriers (#10) * chore: updated dummy data * chore: fixed history stats styles & added tests for AccumulatorsStats * chore: improved AccumulatorsStats and its tests * chore: updated contract card & open positions * maryia/75621/add barriers for stay in contract on trader page (#12) * chore: test out passing trade data to all-markers for drawing barriers without contract + improvements * feat: added barriers for accumulators without open contract * feat: added markers and barriers for stay in contract on trader page * chore: adjusted open contract profit label (#13) * yauheni/77994/trader add break out contract type (#14) * yauheni/77994/trader add break out contract type * regexp fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * yauheni/78429/update styles of tick history widget (#15) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * chore: prepared data for connecting API (#16) * Maryia/78473/part 2 prepare for api + improvements (#18) * chore: improved barriers without contract and open contract label * chore: prepared data for api connection * chore: added price tags for barriers in contract details (#19) * feat: initialized AccumulatorsProfitLossTooltip (#20) * yauheni/78477/update params with buttons for responsive (#17) * yauheni/78477/update params with buttons for responsive * fix styles accordingly to design * buttons gap fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * yauheni/resolve build errors (#21) * yauheni/resolve build errors * optional property for is_checkbox_hidden Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Yauheni/78633/update styles for tick history widget (#22) * yauheni/resolve build errors * yauheni/78633/update styles for tick history widget * yauheni/78633/update styles for tick history widget responsive Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/78839/complete_sold_labels (#23) * chore: added tolltips for all sold positions & won/lost coloring * feat: finalized AccumulatorsProfitLossTooltip * maryia/improvements for stats and tooltip (#24) * chore: accumulators stats improvements * improvements * maryia/improvements for sold contract label * maryia/78574/add_barriers_to_contract_details * maryia/79085/remove_break_out_history_from_stats_widget (#26) * maryia/79085/remove_break_out_history_from_stats * chore: made purchaseButtonsOverlay flexible * chore: added tests for PurchaseButtonsOverlay * Yauheni/77995/update trade params for stayin breakout (#25) * yauheni/77995/update trade params for stayin breakout * take profit alimngment * buttons styles, take profit alingment * maryia/78574/add_barriers_to_contract_details * stake font and icon fix, go_tp_reports button styles * update contract store from parent Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> Co-authored-by: maryia-binary <maryia@binary.com> * maryia/fix: styles & fonts for responsive trade types * Maryia/79549/part 1: update tick markers for ACCU in contract details + improvements (#27) * maryia/79549/add_tick_markers_contract_details * chore: improvements for styles in responsive trade types desc * yauheni/79530/remove breakout contract (#28) * yauheni/79530/remove breakout contract * proposal data fields fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/styling improvements * maryia/fix: forcing Div100vh to re-render when height_offset for responsive has changed * maryia/fix: observables + markers * maryia/chore: prevented barriers, labels and markers from going outside axes (#30) * maryia/79969/set_default_chart_type_and_interval_to_Area_and_1_tick * maryia/chore: changed trade type name to Accumulators * maryia/80163/set growth rate based on default value from BE contracts_for response * yauheni/80091/hide chart mode icon for accumulators (#33) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/80166/connect_to_available_API (#34) * chore: connected api without contracts_for for now * chore: updated proposal * chore: updated tests for new proposal * maryia/80163/add-growth-rate-to-purchase-button * maryia/refactored purchase button growth_rate text * maryia/chore: removed unused code for outside barriers * maryia/fix: barrier shade color for ongoing contract * feat: restore chart mode set for non accumulators contract after switching (#37) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * yauheni/80158/update ui according to latest design (design flow 1-2) (#36) * icon accumulator change * purchase btn, stats fix * fix styles, flow 1 * accumulator design flow 2 Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/80686/feat: profit text animation for ongoing contract (#39) * fix: showing profit text next to current spot for open contract * chore: animated profit text * feat: added animated profit text for ongoing contract * test: fixed a test * chore: removed unused variable * fix: maryia/80686/profit text color * fix: maryia/using default growth rate only if no stored growth rate * feat: allow accumulators only for demo account (#40) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Yauheni/80158/update UI according to latest design part 2 (#38) * accu design chart position fix * accu page for reports rendering * reports card design fix * reports card design fix2 * updated design fix * pseudoelement colon fix * emphasizing value fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/80687/ticks_contract_details (#41) * fix: tick markers in contract details & take profit logics * feat: showing only 10 last ticks for accumulators ongoing contract * chore: display all trade types when list is not empty * style: typo * chore: maryia/added opacity to profit text + connected contracts_for + refactoring * chore: improved tick stream for ACCU in contract details + stats alignment * chore: maryia/handled undefined profit & updated opacity animation timing * chore: temporary dummy api connection * fix: maryia/hide profit if undefined, display if number * revert: dummi api * feat: implement last design part 1 (#43) * feat: implement last design part 1 * fix: test text fix * refactor: stats style for mobile fix Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/82425/task highlight crossing tick (#42) * feat: hightlighting crossing tick * feat: sync highlighting of crossing tick based on ticks_history_stats * Maryia/83069/task: replace image with video manual (#44) * feat: replaced manual image with video + responsive stats improvement * test: fixed a test * fix: entry tick marker in dtrader * style: removed extra margin-bottom * feat: implement last design part 2 (#45) * feat: implement last design part 2 * fix: initial growth_rate added * refactor: growth_rate from contract_for delete Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * refactor: accu sold contract tooltip animation change (#49) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/82257/Contract Details tick markers + AccumulatorsProfitLossText refactoring (#48) * chore: saving canvas context before accu barriers are drawn and restoring when finished drawing * fix: endtime, avoid fetching history in replay, avoid 0 profit animation * chore: forcing chart reload when start_epoch changes to earlier epoch + refactored profit-text * refactor: accumulators-profit-loss-text * refactor: tooltip style and tests (#51) * refactor: tooltip style and tests * refactor: accumulator info text * refactor: profit tooltip text test add * refactor: radiogroupwithinfomobile test added * refactor: tickhistorycounter tests added * refactor: tickcounterbar test added Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/83311/Refactoring, tests, TS migration (#50) * refactor: purchase-buttons-overlay.spec.js from enzyme to jest * style: removed extra variable * refactor: from accumulator.js with chai to accumulator.spec.js with jest * refactor: removed unused dummy data * test: added tests for accumulators-stats-manual-modal.jsx * chore: improved accumulators-stats-manual-modal * refactor: incapsulated AccumulatorsChartElements in trade.jsx * fix: maryia/circleci eslint error * feat: maryia/added dark theme video manual for stats + fix for circleci * test: maryia/added tests for AccumulatorsInfoDisplay & LabeledQuantityInputMobile * chore: maryia/ address review comments + updated videos * fix: maryia/open positions: auto-select Accumulators if has open ACCU contracts * refactor: accumulatorschartelements test added (#52) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * style: maryia/apply review suggestions * style: maryia/apply review suggestions * refactor: maryia/refactoring + small improvements & adjustments * chore: add built icons file * fix: circleci tests + improvements * chore: refactoring + added loader before video manual first loads * refactor: improvements + addressed review comments * yauheni/qa checks refactoring 1 (#53) * refactor: open recent position after buying contract for mobile * fix: accu card curent stake name field * fix: popover accumulator radio group text and alignment * fix: open position accumulate column name Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * fix: last truncated counter in responsive (#54) * Maryia/83807/stake validation (part 1) (#55) * fix: set growth_rate based on accumulator_range_list (growth_rate_range) received in contracts_for * fix: app crash caused by proposal error * chore: removed unused classname * fix: growth rate title alignment (#56) * fix: growht rate title alignment * refactor: category wrapper odd style Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * maryia/83807/fix: stake validation for ACCU broken because of barriers being set (#57) * fix: stake validation for ACCU broken because of barriers being set * fix: prevent app crash in profit table for unknown contracts * fix: check if selected growth_rate is available on symbol change (#58) * fix: able to buy multiply contract / growth rate fix BO change (#59) * fix: able to buy multiply contract / growth rate fix BO change * refactor: last contract check delete Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * revert: maryia/revert change of last_contract computed * fix: accumulator is shown for real account (#60) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * feat: make cursor not allowd for overlay (#61) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * chore: built icons.js * revert: maryia/ unnecessary bot file change * refactor: contract categories in contract-type-widget.jsx * refactor: according to pr review comments * refactor: open positions + add keys to fix console warning * fix: disable accu for real account, disable button having bought one contract (#62) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * refactor: purchase.jsx * refactor: according to pr reviews * refactor: able to buy contract per every available underlying (#63) Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Trigger Build * yauheni/85032/ fix chart issue with dots and circles Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * fix: exit spot styles * refactor: make barrier values string as on BE * fix: unable accumulators for real * maryia/refactor_accu_branch (#66) * refactor: remove unused file * refactor: refactor createTickMarkers * refactor: introduce a local variable * fix: 86705/ticks are not displayed correctly on chart in contract details * maryia/86953/build: bump up deriv-charts version to 1.1.0 + improvement (#68) * build: bump up deriv-charts version * chore: show profit only when barriers are received * test: updated mocked props * build: maryia/removed extra package-lock.jsons * evgeniy /87215/87226/ info description / glitch while switching account (#70) * fix: description * fix: disable trade params while switching account --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * henry/87329/fix: FE not showing error message when accu trading is suspended (#72) * fix: FE not showing error message when accu trading is suspended * test: empty commit --------- Co-authored-by: HENRY <henry@regentmarkets.com> * refactor: glitching fix and deleted odd css (#73) * refactor: glitching fix and deleted odd css * fix: code refactor --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * Maryia/86616/feat: calculating accu barriers based on ticks from ticks_history (#71) * feat: calculating accu barriers based on ticks from ticks_history * chore: rounded & refactored accu barriers * refactor: added getAccumulatorBarriers for barrier calculation + fixed a test * chore: improved barriers calculations * refactor: getAccumulatorBarriers docs * refactor: getAccumulatorBarriers * fix: showing barriers only when having have ba…
ameerul-deriv
referenced
this pull request
in ameerul-deriv/deriv-app
May 31, 2023
…badge-component FarhanNurzi/P2PS-732/Refactor TradeBadge Component
amina-deriv
pushed a commit
that referenced
this pull request
Jun 1, 2023
* feat: evgeniy-wall-376/likhith-wall-379/ onfido and idv verification ux improvement with example * refactor: example window styles and types improvvements * fix: circlci test error * chore: formik init * feat: ✨ incorporated IDV in Personal details for Real account sign up * feat: 🐛 resolved failing tests * chore: api updating form and styles * feat: accounts settings identity onfido impovements add * refactor: ♻️ incorporated review comments * fix: text content * feat: 🎨 migrated to TSx * feat: upgraded pack * refactor: inputs form in separate components * chore: example form ts * chore: example container ts * refactor: ts fix * chore: props passing data instead of connect * feat: 🎨 refactor stylings of shared component * feat: incorporated shared component into poi * feat: incorporated shared component into poi * fix: styles, unnecessary code remove * fix: styles for onfido * chore: fix styling * fix: lost styles restore * style: 🎨 resolved issue with onfido container for mobile * feat: 🎨 incorporated IDV new flow * chore: styles onfido * fix: 🐛 resolved tooltip issue * chore: css onfido page * feat: 🎨 incorporated testcases * fix: 🐛 resolved incorrect path * fix: 🐛 failing test case * chore: new confirm form tests * chore: onfido-sdk-view ts migration * chore: deeprequired type fix * Likhith/hide helper image on no avbl doc (#9) * style: 🎨 incorporated hiding of helper image based on avbl doc * style: 🎨 moved color to common variable * Shahzaib/kyc 42/success banner design updates (#10) * style: update positioning of success banner in KYC flow * style: update positioning of success banner in mt5 account flow * chore: renamed prop from is_mt5 to is_external * style: status message width * Likhith/kyc-34/ improve idv flow for poi (#11) * feat: 🎨 incorporated new changes * feat: ✨ incorporated idv for mt5 * refactor: review comments implementation * fix: ⚡ resolved code smells * fix: ⚡ resolved failing testcase * fix: ⚡ removed commented lines * fix: ⚡ removed minor code smells * fix: ⚡ removed minor code smells * feat: 🎨 code refactored * refactor: onfido window separate component * feat: 🎨 code refactored * feat: 🎨 code refactored (#16) * feat: 🐛 minor code smells * chore: error message banner for onfido flow * chore: renamed error message field name * Revert "Merge branch 'master' of https://github.com/binary-com/deriv-app into shahzaib/KYC-1/error-handling-for-onfido-flow" This reverts commit 44635a3, reversing changes made to f5b8fb9. * refactor: sonar cloud security issue * fix: circleci issue * fix: 🐛 removed a code smell * feat: 🎨 added new testcase * feat: 🎨 removed duplicated types * feat: minor bug fix * chore: onfido sdl view test * chore: onfido types rename, timeout comment * feat: reverted localize changes * feat: incorporated review comments * fix: resolved placeholder * feat: resolved radio button issue * fix: minor bug fix * refactor: custom math random create * refactor: deep required * refactor: revert commits with api hooks * fix: 🚑 reverted the radio button change * fix: errors object with empty fields * fix: date picker update value * fix: 🎨 formatted the code * fix: 🎨 formatted the code * chore: added cleartime out * chore: added cleartime out * refactor: ♻️ incorporated review comments * fix: removed code smells * refactor: onfido blue hint box loading fix * chore: removed unnecessary formik field * fix: 🚀 incorporated null checks * chore: resolved prop duplication in form fields * chore: updated name and types in idv form fields * chore: removed unnecessary formik field * fix: add name prop to date of birth custom component (#23) * Refactor/form fields (#24) * fix: add name prop to date of birth custom component * fix: test cases * refactor: update props from formik for date custom fields component * fix: personal-details import image error * fix: ♻️ incorporated review comments * fix: 🐛 build path issue * feat: removed unused import * style: poi form (#25) * fix: 🎨 fixed styling issue * fix: 🐛 import fix * refactor: is_external flag onfido remove * chore: fix render glitch in mt5 form (#29) * chore: fix render glitch in mt5 form * fix: dispose onfido_ref if any error occurs during onfido token fetching or sdk initialization * fix: add a check to display info message upon onfido initialization (cherry picked from commit 1cf15d2) * fix: asterisk in fields label * feat: 🐛 resolved the testcase issue * fix: empty line validation * feat: ✅ fix failing testcases * Likhith/kyc 95/document number reset (#30) * fix: 🐛 fix document number reset * fix: ✨ incorporated idv option fix * fix: 🐛 resolved the issue with DIEL * fix: fieldset padding in mobile screen (#31) * fix: css alignment form * fix: 🐛 resolved issue with tax field (#32) * fix: Place of birth issue * fix: 🐛 resolved issue with radio button (#33) --------- Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: Shahzaib <shahzaib@deriv.com> Co-authored-by: Matin shafiei <matin@deriv.com>
henry-deriv
referenced
this pull request
in henry-deriv/deriv-app
Jun 28, 2023
* feat: migrate MarketUnderlying to Typescript * feat: migrate errors to Typescript * feat: migrate error spec to Typescript * feat: migrate index to Typescript * feat: migrate validator to Typescript * feat: trigger vercel * chore: sort options alphabetically * fix: TValidationResult type * chore: prettier formatting
hirad-deriv
pushed a commit
that referenced
this pull request
Sep 7, 2023
* refactor: ts migration of chart loader * refactor: ts migration of screen large form and started purchase * refactor: add types in store and refcator contract * refactor: ts migaration of purchase field * refactor: ts migration of cancel deal info * refactor: ts migration of the purchase btn * refactor: cancel deal info * refactor: remove simular types * refactor: create file for types * chore: cover return value with react fragment * refactor: apply suggestions * refactor: update imports * refactor: type returned value * refactor: left an explanation of expecting ts error * Akmal / feat: migrate EmptyPortfolioMessage, ErrorComponent and Page404 in Trader package (#5) * feat: migrate Page404 to Typescript * feat: migrate EmptyPortfolioMessage to Typescript * feat: migrate ErrorComponent to Typescript * fix: dialog prop * fix: dialog type * chore: remove React.FC * maryia/WEBREL-321/feat: migrate Actions files to TS (#4) * feat: migrate /contract-type.js to ts & remove barrier.js * feat: migrate duration to ts + remove unused currency.js * feat: migrate actions/purchase to ts * feat: migrate actions/symbol to ts * feat: migrate start-date.js to ts * feat: migrate actions/test.js to ts * chore: improve types in start-date and duration * fix: address review comments * revert: unnecessary line deletion * fix: address reviews * refactor: remove some code smells * refactor: remove code smells * refactor: update types in stores * Akmal / feat: migrate utils in Trader package (#9) * feat: migrate MarketUnderlying to Typescript * feat: migrate errors to Typescript * feat: migrate error spec to Typescript * feat: migrate index to Typescript * feat: migrate validator to Typescript * feat: trigger vercel * chore: sort options alphabetically * fix: TValidationResult type * chore: prettier formatting * refactor: reduce code smells * chore: validator type improvements (#12) * Kate / DTRA-249 / Code refactoring and removing duplicated files (#13) * refactor: remove duplicated file * refactor: test improvements * fix: removed forgotten import * chore: empty commit to retrigger checks * refactor: apply suggestion * maryia/DTRA-260/TS migration of /Constants files & SmartChart/Helpers files in Trader (#6) * feat: validation-rules and ui.js to ts * chore: squash merge maryia/WEBREL-321/actions-to-TS changes * chore: added types to validation-rules.ts * chore: remove unused ui.js, migrate used ui.js and index.js to ts * chore: remove unused ui.js * chore: remove unused markers.js, and migrate barriers.js to ts * chore: added types to barriers.js and its test * test: add missing test for removeBarrier to barriers * Revert "chore: squash merge maryia/WEBREL-321/actions-to-TS changes" * feat: migrated chart-barrier-store.js to ts * feat: remove unused ChartMarkerStore * build: trigger build * fix: address review comments * henry/webrel-319/ts-migration-modules-trading-helpers-folder (#11) * fix: merge conflicts * fix: resolve comments * fix: remove comment * fix: add loadash types dependency * refactor: move error type to common props file * fix: circle CI * fix: resolve comment * fix: bug * fix: convert returntype to use ttradestore * empty commit * fix: type change * fix: resolve comments * fix: comments * maryia/861n17c54/fix: sonarcloud warnings (#14) * fix: sonarcloud warnings * fix: types * fix: resolve conflicts * refactor: apply suggestions * refactor: add last suggestion * refactor: tests * refactor: update function * refactor: add ts migration of exist tests * fix: tests * fix: test case --------- Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com>
sandeep-deriv
added a commit
that referenced
this pull request
Sep 14, 2023
* henry/webrel-1160/hotfix: space issue dropdown (#9898) * fix: space issue dropdown * fix: resolve comment * fix: comment * Update packages/components/src/components/dropdown/dropdown.scss * fix: empty commit --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * fix: overwritten styles (#9899) * fix: overwritten styles * fix: overwritten styles * Ameerul /WEBREL-1159 Sort by column alignment in P2P Buy/Sell page is off (#9876) * chore: fixed sort dropdown alignment * chore: changed styling for dropdown * george / PRODQA-1316 / Transfer from Tradershub validation (#9908) * fix: :ambulance: fix active container for TH transfer, fix insufficient balance check * test: :bug: fix tests * fix: :ambulance: fix 'Insufficient balance' condition * translations: 📚 sync translations with crowdin (#9912) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9917) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hirad-Hamza-ShonTzu/Feature revamp compare account re-deployment (#9611) * feat: initializing the compare account implementation * feat: icon reusable component v1.0 * feat: icon reusable component v1.1 * feat: icon reusable component v1.1.1 * feat: initialize compare cfd account page (todo:css) * feat: blank compare cfd accounts page & navi done * feat: mobile view * fix: compare-accounts naming convention * fix: updated path import * fix: reverted icons.js changes * fix: compare-cfds -> compare-accounts * feat: reusable component v1.2 * feat: reusable component v1.2.1 * feat: icon reusable component added v1.3 * feat: reusable component for Icons * feat: reusable component for Icons refactor * feat: reusable component for Icons refactor v1.2 * feat: description div added * feat: description with title +icon is added * feat: platform label + icon component padding added * chore: labuan leverage updated * chore: css issue fixed for Cards * feat: carousel added with sorting o f MT5 accounts * feat: carousel arrow background and container added * chore: added dxtrade in the card for dynamic rendering with type fixes * chore: changes in platform label header with respect to props data * chore: icons updated because of white line issue in icons * chore: change the components css name and other naming convention tweaks * refactor: suggestions implemented * refactor: convert carousel button into one * feat: initial commit for starting collaboration * feat: added the button placeholder * feat: added new banner to cfd cards * refactor: make the banner smaller * fix: added condition to show banner for derivez and ctrader only * refactor: changed the types and applied suggestions * refactor: removed the invalide shortcode for dxtrade * refactor: round up patches based on reviews * fix: round up patch 2 based on review * Update packages/cfd/src/Containers/cfd-compare-accounts/cfd-compare-accounts.scss Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * refactor: button width * refactor: button classname * chore: fix css of underline * chore: added redirection to homepage in case of modals * fix: circle ci failed due to wrong type of client function * chore: added the disabled property for the Added accounts * chore: added condition for the dxtrade * chore: rearrange block scoped variables * chore: fix css of labuan tooltip with removal of commented code * chore: responsive view fixes * feat: demo accounts added for low risk * feat: demo accounts label added and swap-free account creation fixed * chore: added derivx account creation flow * refactor: replace ternary operators with if-else * chore: remove unused jurisdiction * feat: demo account compare implemetation tweaks as per design * feat: rectified the Demo title as per design * chore: font weigth of instruments as per design * feat: Eu flow for DIEL * feat: changes in the icons label and correction in EU flow * chore: addded translations demo title and rename baskets * chore: rename icon type * chore: final changes prop drilling instead of observer EU flow finalized * fix: hidding deriv ez * fix: EU flow platform label change * feat: test case for description added * feat: platform label test case added * feat: title icon test case added * feat: title icon test case added * chore: fix test case description + instruments icon test added * refactor: blank spaces removed * chore: cfd-instruments-label test added * chore: test file added cfd-instrument-label * feat: button partial test case added * chore: added more test case for Button component * feat: added test case for compare-account-card * chore: merge conflicts * chore: test for cfd-compare-accounts added * feat: derivX demo * chore: added testcase for dxtrade in button * fix: dxtrade for australian clients * fix: swapfree account creation added * fix: comapre account fixes first round * fix: remove the css because scroll not working * fix: renamed variable + icons * fix: cursor not allowed on instrument icons * fix: fixed the circle ci issue * fix: fixed one of our test issues * refactor: review comments resolved * fix: changing the text of mf accounts to pass the tests * fix: made changes according to suggestions * fix: made changes according to suggestions * fix: fixed the test case issues * chore: added s to spread(s) * chore: fixed capitalization * chore: line split * fix: failing test case * fix: updated markets offerings for MT5 Financial Labuan * fix: Other CFDs --> Other CFDs Platform * fix: removed standard/micro from DerivX Forex label * refactor: optimised code * fix: icon size inconsistencyn mobile VP * refactor: css refactoring to reflect figma as much as possible * refactor: minor css fixes * fix: fixed * style: added bottom padding for mobile * fix: fixed the build issue * chore: re running the tests * fix: subtasks * chore: typo * style: position the tooltip to be center within the card * style: resize width for word-wrap * chore: d and r should be lowercase dispute and resolution * fix: fixing sonar cloud issues * fix: making changes to pass the tests --------- Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * adrienne/chore: added eslint and stylelint for wallets and renamed css variables (#9877) * feat: added stylelint for wallets for bem convention * feat: added stylelint for wallets for bem convention * chore: added import sorts for wallets and bem convention checking * chore: removed unused dependencies in wallets * Arshad/Matin/WALL-1226/Dynamic leverage for MT5 financial accounts (#9314) * chore: Dynamic leverage for MT5 financial accounts initial commit * feat: :construction: dynamic leverage modal * test: unit tests * feat: :white_check_mark: added unit tests and refactoring * feat: :recycle: fixed UI * feat: :recycle: review changes for dynamic leverage * chore: item name update * feat: :bug: passed string to localize instead of a variable * test: :recycle: * refactor: :recycle: refactored column header to new component * refactor: refactored code * fix: fixed styling and refactored code * style: formatted code * test: updated test mock component * refactor: refactored styling and unit tests * fix: fixed text content for dynamic leverage * fix: fixed localize component usage * refactor: used strong instead of span styling * fix: jurisdiction card layout --------- Co-authored-by: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9924) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9925) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9930) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Ako/remove docker k8s config (#9933) * ci: remove k8s workflow * ci: remove docker build and push workflow * fix: regression bug regarding market offerings (#9936) * FarhanNurzi/WALL-1657/Link the Wallet carousel with real data in Responsive (#9895) * chore: use hook to get wallet list in mobile carousel * chore: add components/index.ts * thisyahlen/refactor: add useAvailableWallets in deriv/api (#9818) * chore: add useAvailableWallets in deriv/api * fix: empty * refactor(api): :recycle: clean-up * fix: latest code for available wallets * fix: rename useGetAccountTypes * fix: comments * chore: split function and refactor * fix: sonarcloud --------- Co-authored-by: Farzin Mirzaie <farzin@deriv.com> * thisyahlen/chore: update ui for wallet header (#9870) * chore: update ui for wallet header * chore: add more styles * chore: add more styles v2 * fix: lint errors * chore: split components * chore: split v2 * chore: split v3 * chore: add svg for header button actions * fix: format balance and css styles * fix: landing company name uppercase * fix: comments * chore: split moreeeee * fix: rename css * fix: lint styles * fix: styles * fix: comments * fix: comments v3 * fix: comments v4 * fix: comments v5 * Hamza/ hotfix: compare account text size difference (#9950) * chore: compare account text size difference * chore: compare account text size difference on mobile * translations: 📚 sync translations with crowdin (#9945) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Mahdiyeh/fix: change market price movements to market movements (#9341) * fix: change market price movements to market movements * fix: resolve issue --------- Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> * fix: cashier page height in iphone (#9779) * shahzaib / KYC-304 / additional kyc questions in the real account creation (#9501) * chore: additional information section for real accounts creation * chore: hide additional details for high risk client * chore: refactor to pass classname conditionally and removed disposable props * chore: removed unused props * chore: renamed className to class_name * chore: update test case for personal-details component * Update packages/account/src/Components/personal-details/__tests__/personal-details.spec.js Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Update onfido-container.scss Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: remove unused imports * chore: update fragment useage * chore: remove high_risk conditiono to hide the additional fields * chore: empty commit * fix(props): removed unused is_high_risk prop * chore: renamed TaxResidentField * chore: update tax residence validation message for TIN number * chore: update config to include additional details if the client is not high risk for mt5 * chore: added test case for high risk condition in personal details config * chore: refactored test case * chore: disble additional information fields if user has already filled the details * feat(hooks): created hooks to get if a user is high risk for MT5 * chore: updated comment for personal details config * fix: remove unused variable * fix(test): update test cases to reflect hook change * test: update test cases to use store provider * chore: removed unused logic from cfd & traders hub store * test: update description * test: mock hook for returned value * fix: TIN validation in personal-details-config * fix: added additional field check for diel accounts --------- Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Rupato/PRODQA-1167/fix: updated error handling for dbot skeleton (#9576) * fix: updated error handling for dbot skeleton * fix: changed method naming * fix: changed comment * fix: changed error config * fix: changed error config * fix: review comments * fix: changed keycode * fix: assigned const * fix: bug fixes * fix: for multipliers block * fix: removed extra space * fix: added parameter * fix: for localize * fix: sentence * fix: updated error messages * fix: removed fallback * fix: removed check for mandatory block * fix: review comments * fix: empty trigger * fix: code refactored and added disabled check * fix: removed key * fix: removed key * fix: changed error message * fix: reverted changes for disabled block and misplaced * fix: removed commented code * fix: review comments * fix: review comments * fix: review comments * chore: updated z-index for language switcher (#9461) * farabi/bot-512/tour content sizing and responsiveness on small screen (#9472) * fix: updated content size according to design * refactor: reverted classname changes * fix: tour is made responsive on smaller screen * Shafin/bot 301/fix preview delete save edit issue (#9549) * chore: investigation on strategy save, edit, delete issue * chore: finalize save-delete-edit issue for preview strategies * fix: don't load if workspace is not present * fix: pass parent element to mutation observer for least computation * fix: issues on quick strategy run * Vinu/bot 92/ticks history refactor (#9547) * fix: ticks_history call outside the run * fix: remove console error and make ticks_history call on load * refactor: remove unecessary code * fix: added condition to make ticks_history call * fix: disable run button untill ticks_history call is received * fix: change trade_type_category,trade_type_category_field in trade_definition_tradetype onchange * fix: fix ticks_history error when market is closed * fix: fix the ticks_history call when bot is terminated * fix: change file accept format (#9812) * fix: change file accept format * fix: update file acceptance for dashboard file input * Hamza/chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added (#9941) * chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added * chore: added comments for explanantion purpose * fix: allow custom variables and function values for limit order (#9490) * chore: fix language not correct when redirect from deriv-com (#9632) * chore: fix language not correct when redirect from deriv-com * chore: fix language redirection from deriv-com * chore: add optional chaining * chore: update code base on comments * Rupato/509/fix--for-blockly-alignment (#9460) * fix: merge latest * fix: trigger circle ci * fix: removed unused icons * fix: reverted icon file changes * fix: reverted icon file changes * Improvement/dbot tutorials (#9896) * Farabi/rupato/bot 313 update tour step (#9885) * fix: updated tour guide * fix: refactor last joyride step and last pop up modal * fix: start for both tours * fix: added check for onboard tour action bar * fix: reverted changes for tour dialog * fix: fixed review comments * fix: added localize component check * fix: for id on localize * fix: for the margin bottom on the last step of joyride * fix: made font size xs for tour * fix: made font size xs for tour --------- Co-authored-by: Rupato Braganza <rupatobraganza@Rupato-Braganzas-Mac-L2R5WHGD9W.local> Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: rupato-deriv <rupato@regentmarkets.com> * Farabi/bot 444/highlight the tutorials tab (#9887) * fix: higlighted tutorials on mobile onboarding and replaced gif with mp4 * fix: changes related to code review * fix: added width for mobile view of tour * fix: width for images and videos * fix: width adjustment on responsive * fix: disabled picture in picture and download for videos * fix: change step 5 video to updated one * fix: fix last step button --------- Co-authored-by: Farabi Chowdhury <farabi@deriv.com> * Sandeep/bot 404/onboarding tour improvements 1 (#9894) * fix: higlighted tutorials on mobile onboarding and replaced gif with mp4 * fix: changes related to code review * fix: added width for mobile view of tour * fix: width for images and videos * fix: width adjustment on responsive * fix: disabled picture in picture and download for videos * fix: change step 5 video to updated one * fix: :pencil: Updated content for bot tutorials * fix: fix last step button * fix: :construction: updated content for start tour dialog --------- Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> * Sandeep/bot 404/onboarding tour improvements 1 (#9982) * fix: higlighted tutorials on mobile onboarding and replaced gif with mp4 * fix: changes related to code review * fix: added width for mobile view of tour * fix: width for images and videos * fix: width adjustment on responsive * fix: disabled picture in picture and download for videos * fix: change step 5 video to updated one * fix: :pencil: Updated content for bot tutorials * fix: fix last step button * fix: :construction: updated content for start tour dialog * henry/webrel-1160/hotfix: space issue dropdown (#9898) * fix: space issue dropdown * fix: resolve comment * fix: comment * Update packages/components/src/components/dropdown/dropdown.scss * fix: empty commit --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * fix: overwritten styles (#9899) * fix: overwritten styles * fix: overwritten styles * Ameerul /WEBREL-1159 Sort by column alignment in P2P Buy/Sell page is off (#9876) * chore: fixed sort dropdown alignment * chore: changed styling for dropdown * george / PRODQA-1316 / Transfer from Tradershub validation (#9908) * fix: :ambulance: fix active container for TH transfer, fix insufficient balance check * test: :bug: fix tests * fix: :ambulance: fix 'Insufficient balance' condition * translations: 📚 sync translations with crowdin (#9912) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9917) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hirad-Hamza-ShonTzu/Feature revamp compare account re-deployment (#9611) * feat: initializing the compare account implementation * feat: icon reusable component v1.0 * feat: icon reusable component v1.1 * feat: icon reusable component v1.1.1 * feat: initialize compare cfd account page (todo:css) * feat: blank compare cfd accounts page & navi done * feat: mobile view * fix: compare-accounts naming convention * fix: updated path import * fix: reverted icons.js changes * fix: compare-cfds -> compare-accounts * feat: reusable component v1.2 * feat: reusable component v1.2.1 * feat: icon reusable component added v1.3 * feat: reusable component for Icons * feat: reusable component for Icons refactor * feat: reusable component for Icons refactor v1.2 * feat: description div added * feat: description with title +icon is added * feat: platform label + icon component padding added * chore: labuan leverage updated * chore: css issue fixed for Cards * feat: carousel added with sorting o f MT5 accounts * feat: carousel arrow background and container added * chore: added dxtrade in the card for dynamic rendering with type fixes * chore: changes in platform label header with respect to props data * chore: icons updated because of white line issue in icons * chore: change the components css name and other naming convention tweaks * refactor: suggestions implemented * refactor: convert carousel button into one * feat: initial commit for starting collaboration * feat: added the button placeholder * feat: added new banner to cfd cards * refactor: make the banner smaller * fix: added condition to show banner for derivez and ctrader only * refactor: changed the types and applied suggestions * refactor: removed the invalide shortcode for dxtrade * refactor: round up patches based on reviews * fix: round up patch 2 based on review * Update packages/cfd/src/Containers/cfd-compare-accounts/cfd-compare-accounts.scss Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * refactor: button width * refactor: button classname * chore: fix css of underline * chore: added redirection to homepage in case of modals * fix: circle ci failed due to wrong type of client function * chore: added the disabled property for the Added accounts * chore: added condition for the dxtrade * chore: rearrange block scoped variables * chore: fix css of labuan tooltip with removal of commented code * chore: responsive view fixes * feat: demo accounts added for low risk * feat: demo accounts label added and swap-free account creation fixed * chore: added derivx account creation flow * refactor: replace ternary operators with if-else * chore: remove unused jurisdiction * feat: demo account compare implemetation tweaks as per design * feat: rectified the Demo title as per design * chore: font weigth of instruments as per design * feat: Eu flow for DIEL * feat: changes in the icons label and correction in EU flow * chore: addded translations demo title and rename baskets * chore: rename icon type * chore: final changes prop drilling instead of observer EU flow finalized * fix: hidding deriv ez * fix: EU flow platform label change * feat: test case for description added * feat: platform label test case added * feat: title icon test case added * feat: title icon test case added * chore: fix test case description + instruments icon test added * refactor: blank spaces removed * chore: cfd-instruments-label test added * chore: test file added cfd-instrument-label * feat: button partial test case added * chore: added more test case for Button component * feat: added test case for compare-account-card * chore: merge conflicts * chore: test for cfd-compare-accounts added * feat: derivX demo * chore: added testcase for dxtrade in button * fix: dxtrade for australian clients * fix: swapfree account creation added * fix: comapre account fixes first round * fix: remove the css because scroll not working * fix: renamed variable + icons * fix: cursor not allowed on instrument icons * fix: fixed the circle ci issue * fix: fixed one of our test issues * refactor: review comments resolved * fix: changing the text of mf accounts to pass the tests * fix: made changes according to suggestions * fix: made changes according to suggestions * fix: fixed the test case issues * chore: added s to spread(s) * chore: fixed capitalization * chore: line split * fix: failing test case * fix: updated markets offerings for MT5 Financial Labuan * fix: Other CFDs --> Other CFDs Platform * fix: removed standard/micro from DerivX Forex label * refactor: optimised code * fix: icon size inconsistencyn mobile VP * refactor: css refactoring to reflect figma as much as possible * refactor: minor css fixes * fix: fixed * style: added bottom padding for mobile * fix: fixed the build issue * chore: re running the tests * fix: subtasks * chore: typo * style: position the tooltip to be center within the card * style: resize width for word-wrap * chore: d and r should be lowercase dispute and resolution * fix: fixing sonar cloud issues * fix: making changes to pass the tests --------- Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * adrienne/chore: added eslint and stylelint for wallets and renamed css variables (#9877) * feat: added stylelint for wallets for bem convention * feat: added stylelint for wallets for bem convention * chore: added import sorts for wallets and bem convention checking * chore: removed unused dependencies in wallets * Arshad/Matin/WALL-1226/Dynamic leverage for MT5 financial accounts (#9314) * chore: Dynamic leverage for MT5 financial accounts initial commit * feat: :construction: dynamic leverage modal * test: unit tests * feat: :white_check_mark: added unit tests and refactoring * feat: :recycle: fixed UI * feat: :recycle: review changes for dynamic leverage * chore: item name update * feat: :bug: passed string to localize instead of a variable * test: :recycle: * refactor: :recycle: refactored column header to new component * refactor: refactored code * fix: fixed styling and refactored code * style: formatted code * test: updated test mock component * refactor: refactored styling and unit tests * fix: fixed text content for dynamic leverage * fix: fixed localize component usage * refactor: used strong instead of span styling * fix: jurisdiction card layout --------- Co-authored-by: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9924) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9925) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9930) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Ako/remove docker k8s config (#9933) * ci: remove k8s workflow * ci: remove docker build and push workflow * fix: regression bug regarding market offerings (#9936) * FarhanNurzi/WALL-1657/Link the Wallet carousel with real data in Responsive (#9895) * chore: use hook to get wallet list in mobile carousel * chore: add components/index.ts * thisyahlen/refactor: add useAvailableWallets in deriv/api (#9818) * chore: add useAvailableWallets in deriv/api * fix: empty * refactor(api): :recycle: clean-up * fix: latest code for available wallets * fix: rename useGetAccountTypes * fix: comments * chore: split function and refactor * fix: sonarcloud --------- Co-authored-by: Farzin Mirzaie <farzin@deriv.com> * thisyahlen/chore: update ui for wallet header (#9870) * chore: update ui for wallet header * chore: add more styles * chore: add more styles v2 * fix: lint errors * chore: split components * chore: split v2 * chore: split v3 * chore: add svg for header button actions * fix: format balance and css styles * fix: landing company name uppercase * fix: comments * chore: split moreeeee * fix: rename css * fix: lint styles * fix: styles * fix: comments * fix: comments v3 * fix: comments v4 * fix: comments v5 * Hamza/ hotfix: compare account text size difference (#9950) * chore: compare account text size difference * chore: compare account text size difference on mobile * translations: 📚 sync translations with crowdin (#9945) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Mahdiyeh/fix: change market price movements to market movements (#9341) * fix: change market price movements to market movements * fix: resolve issue --------- Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> * fix: cashier page height in iphone (#9779) * shahzaib / KYC-304 / additional kyc questions in the real account creation (#9501) * chore: additional information section for real accounts creation * chore: hide additional details for high risk client * chore: refactor to pass classname conditionally and removed disposable props * chore: removed unused props * chore: renamed className to class_name * chore: update test case for personal-details component * Update packages/account/src/Components/personal-details/__tests__/personal-details.spec.js Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Update onfido-container.scss Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: remove unused imports * chore: update fragment useage * chore: remove high_risk conditiono to hide the additional fields * chore: empty commit * fix(props): removed unused is_high_risk prop * chore: renamed TaxResidentField * chore: update tax residence validation message for TIN number * chore: update config to include additional details if the client is not high risk for mt5 * chore: added test case for high risk condition in personal details config * chore: refactored test case * chore: disble additional information fields if user has already filled the details * feat(hooks): created hooks to get if a user is high risk for MT5 * chore: updated comment for personal details config * fix: remove unused variable * fix(test): update test cases to reflect hook change * test: update test cases to use store provider * chore: removed unused logic from cfd & traders hub store * test: update description * test: mock hook for returned value * fix: TIN validation in personal-details-config * fix: added additional field check for diel accounts --------- Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Rupato/PRODQA-1167/fix: updated error handling for dbot skeleton (#9576) * fix: updated error handling for dbot skeleton * fix: changed method naming * fix: changed comment * fix: changed error config * fix: changed error config * fix: review comments * fix: changed keycode * fix: assigned const * fix: bug fixes * fix: for multipliers block * fix: removed extra space * fix: added parameter * fix: for localize * fix: sentence * fix: updated error messages * fix: removed fallback * fix: removed check for mandatory block * fix: review comments * fix: empty trigger * fix: code refactored and added disabled check * fix: removed key * fix: removed key * fix: changed error message * fix: reverted changes for disabled block and misplaced * fix: removed commented code * fix: review comments * fix: review comments * fix: review comments * chore: updated z-index for language switcher (#9461) * farabi/bot-512/tour content sizing and responsiveness on small screen (#9472) * fix: updated content size according to design * refactor: reverted classname changes * fix: tour is made responsive on smaller screen * Shafin/bot 301/fix preview delete save edit issue (#9549) * chore: investigation on strategy save, edit, delete issue * chore: finalize save-delete-edit issue for preview strategies * fix: don't load if workspace is not present * fix: pass parent element to mutation observer for least computation * fix: issues on quick strategy run * Vinu/bot 92/ticks history refactor (#9547) * fix: ticks_history call outside the run * fix: remove console error and make ticks_history call on load * refactor: remove unecessary code * fix: added condition to make ticks_history call * fix: disable run button untill ticks_history call is received * fix: change trade_type_category,trade_type_category_field in trade_definition_tradetype onchange * fix: fix ticks_history error when market is closed * fix: fix the ticks_history call when bot is terminated * fix: change file accept format (#9812) * fix: change file accept format * fix: update file acceptance for dashboard file input * Hamza/chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added (#9941) * chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added * chore: added comments for explanantion purpose * fix: allow custom variables and function values for limit order (#9490) * chore: fix language not correct when redirect from deriv-com (#9632) * chore: fix language not correct when redirect from deriv-com * chore: fix language redirection from deriv-com * chore: add optional chaining * chore: update code base on comments --------- Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Hamid <hamid@regentmarkets.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: George Usynin <103181646+heorhi-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: hirad-deriv <hirad@re-work.dev> Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-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: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com> Co-authored-by: Farhan Ahmad Nurzi <125247833+farhan-nurzi-deriv@users.noreply.github.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <farzin@deriv.com> Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> Co-authored-by: Shahzaib <shahzaib@deriv.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-deriv@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Farabi <102643568+farabi-deriv@users.noreply.github.com> Co-authored-by: Shafin Al Karim <129021108+shafin-deriv@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: prince-deriv <82309725+prince-deriv@users.noreply.github.com> * Resolve conflicts improvement dbot tutorials (#9983) * henry/webrel-1160/hotfix: space issue dropdown (#9898) * fix: space issue dropdown * fix: resolve comment * fix: comment * Update packages/components/src/components/dropdown/dropdown.scss * fix: empty commit --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * fix: overwritten styles (#9899) * fix: overwritten styles * fix: overwritten styles * Ameerul /WEBREL-1159 Sort by column alignment in P2P Buy/Sell page is off (#9876) * chore: fixed sort dropdown alignment * chore: changed styling for dropdown * george / PRODQA-1316 / Transfer from Tradershub validation (#9908) * fix: :ambulance: fix active container for TH transfer, fix insufficient balance check * test: :bug: fix tests * fix: :ambulance: fix 'Insufficient balance' condition * translations: 📚 sync translations with crowdin (#9912) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9917) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hirad-Hamza-ShonTzu/Feature revamp compare account re-deployment (#9611) * feat: initializing the compare account implementation * feat: icon reusable component v1.0 * feat: icon reusable component v1.1 * feat: icon reusable component v1.1.1 * feat: initialize compare cfd account page (todo:css) * feat: blank compare cfd accounts page & navi done * feat: mobile view * fix: compare-accounts naming convention * fix: updated path import * fix: reverted icons.js changes * fix: compare-cfds -> compare-accounts * feat: reusable component v1.2 * feat: reusable component v1.2.1 * feat: icon reusable component added v1.3 * feat: reusable component for Icons * feat: reusable component for Icons refactor * feat: reusable component for Icons refactor v1.2 * feat: description div added * feat: description with title +icon is added * feat: platform label + icon component padding added * chore: labuan leverage updated * chore: css issue fixed for Cards * feat: carousel added with sorting o f MT5 accounts * feat: carousel arrow background and container added * chore: added dxtrade in the card for dynamic rendering with type fixes * chore: changes in platform label header with respect to props data * chore: icons updated because of white line issue in icons * chore: change the components css name and other naming convention tweaks * refactor: suggestions implemented * refactor: convert carousel button into one * feat: initial commit for starting collaboration * feat: added the button placeholder * feat: added new banner to cfd cards * refactor: make the banner smaller * fix: added condition to show banner for derivez and ctrader only * refactor: changed the types and applied suggestions * refactor: removed the invalide shortcode for dxtrade * refactor: round up patches based on reviews * fix: round up patch 2 based on review * Update packages/cfd/src/Containers/cfd-compare-accounts/cfd-compare-accounts.scss Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * refactor: button width * refactor: button classname * chore: fix css of underline * chore: added redirection to homepage in case of modals * fix: circle ci failed due to wrong type of client function * chore: added the disabled property for the Added accounts * chore: added condition for the dxtrade * chore: rearrange block scoped variables * chore: fix css of labuan tooltip with removal of commented code * chore: responsive view fixes * feat: demo accounts added for low risk * feat: demo accounts label added and swap-free account creation fixed * chore: added derivx account creation flow * refactor: replace ternary operators with if-else * chore: remove unused jurisdiction * feat: demo account compare implemetation tweaks as per design * feat: rectified the Demo title as per design * chore: font weigth of instruments as per design * feat: Eu flow for DIEL * feat: changes in the icons label and correction in EU flow * chore: addded translations demo title and rename baskets * chore: rename icon type * chore: final changes prop drilling instead of observer EU flow finalized * fix: hidding deriv ez * fix: EU flow platform label change * feat: test case for description added * feat: platform label test case added * feat: title icon test case added * feat: title icon test case added * chore: fix test case description + instruments icon test added * refactor: blank spaces removed * chore: cfd-instruments-label test added * chore: test file added cfd-instrument-label * feat: button partial test case added * chore: added more test case for Button component * feat: added test case for compare-account-card * chore: merge conflicts * chore: test for cfd-compare-accounts added * feat: derivX demo * chore: added testcase for dxtrade in button * fix: dxtrade for australian clients * fix: swapfree account creation added * fix: comapre account fixes first round * fix: remove the css because scroll not working * fix: renamed variable + icons * fix: cursor not allowed on instrument icons * fix: fixed the circle ci issue * fix: fixed one of our test issues * refactor: review comments resolved * fix: changing the text of mf accounts to pass the tests * fix: made changes according to suggestions * fix: made changes according to suggestions * fix: fixed the test case issues * chore: added s to spread(s) * chore: fixed capitalization * chore: line split * fix: failing test case * fix: updated markets offerings for MT5 Financial Labuan * fix: Other CFDs --> Other CFDs Platform * fix: removed standard/micro from DerivX Forex label * refactor: optimised code * fix: icon size inconsistencyn mobile VP * refactor: css refactoring to reflect figma as much as possible * refactor: minor css fixes * fix: fixed * style: added bottom padding for mobile * fix: fixed the build issue * chore: re running the tests * fix: subtasks * chore: typo * style: position the tooltip to be center within the card * style: resize width for word-wrap * chore: d and r should be lowercase dispute and resolution * fix: fixing sonar cloud issues * fix: making changes to pass the tests --------- Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * adrienne/chore: added eslint and stylelint for wallets and renamed css variables (#9877) * feat: added stylelint for wallets for bem convention * feat: added stylelint for wallets for bem convention * chore: added import sorts for wallets and bem convention checking * chore: removed unused dependencies in wallets * Arshad/Matin/WALL-1226/Dynamic leverage for MT5 financial accounts (#9314) * chore: Dynamic leverage for MT5 financial accounts initial commit * feat: :construction: dynamic leverage modal * test: unit tests * feat: :white_check_mark: added unit tests and refactoring * feat: :recycle: fixed UI * feat: :recycle: review changes for dynamic leverage * chore: item name update * feat: :bug: passed string to localize instead of a variable * test: :recycle: * refactor: :recycle: refactored column header to new component * refactor: refactored code * fix: fixed styling and refactored code * style: formatted code * test: updated test mock component * refactor: refactored styling and unit tests * fix: fixed text content for dynamic leverage * fix: fixed localize component usage * refactor: used strong instead of span styling * fix: jurisdiction card layout --------- Co-authored-by: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9924) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9925) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9930) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Ako/remove docker k8s config (#9933) * ci: remove k8s workflow * ci: remove docker build and push workflow * fix: regression bug regarding market offerings (#9936) * FarhanNurzi/WALL-1657/Link the Wallet carousel with real data in Responsive (#9895) * chore: use hook to get wallet list in mobile carousel * chore: add components/index.ts * thisyahlen/refactor: add useAvailableWallets in deriv/api (#9818) * chore: add useAvailableWallets in deriv/api * fix: empty * refactor(api): :recycle: clean-up * fix: latest code for available wallets * fix: rename useGetAccountTypes * fix: comments * chore: split function and refactor * fix: sonarcloud --------- Co-authored-by: Farzin Mirzaie <farzin@deriv.com> * thisyahlen/chore: update ui for wallet header (#9870) * chore: update ui for wallet header * chore: add more styles * chore: add more styles v2 * fix: lint errors * chore: split components * chore: split v2 * chore: split v3 * chore: add svg for header button actions * fix: format balance and css styles * fix: landing company name uppercase * fix: comments * chore: split moreeeee * fix: rename css * fix: lint styles * fix: styles * fix: comments * fix: comments v3 * fix: comments v4 * fix: comments v5 * Hamza/ hotfix: compare account text size difference (#9950) * chore: compare account text size difference * chore: compare account text size difference on mobile * translations: 📚 sync translations with crowdin (#9945) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Mahdiyeh/fix: change market price movements to market movements (#9341) * fix: change market price movements to market movements * fix: resolve issue --------- Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> * fix: cashier page height in iphone (#9779) * shahzaib / KYC-304 / additional kyc questions in the real account creation (#9501) * chore: additional information section for real accounts creation * chore: hide additional details for high risk client * chore: refactor to pass classname conditionally and removed disposable props * chore: removed unused props * chore: renamed className to class_name * chore: update test case for personal-details component * Update packages/account/src/Components/personal-details/__tests__/personal-details.spec.js Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Update onfido-container.scss Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: remove unused imports * chore: update fragment useage * chore: remove high_risk conditiono to hide the additional fields * chore: empty commit * fix(props): removed unused is_high_risk prop * chore: renamed TaxResidentField * chore: update tax residence validation message for TIN number * chore: update config to include additional details if the client is not high risk for mt5 * chore: added test case for high risk condition in personal details config * chore: refactored test case * chore: disble additional information fields if user has already filled the details * feat(hooks): created hooks to get if a user is high risk for MT5 * chore: updated comment for personal details config * fix: remove unused variable * fix(test): update test cases to reflect hook change * test: update test cases to use store provider * chore: removed unused logic from cfd & traders hub store * test: update description * test: mock hook for returned value * fix: TIN validation in personal-details-config * fix: added additional field check for diel accounts --------- Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Rupato/PRODQA-1167/fix: updated error handling for dbot skeleton (#9576) * fix: updated error handling for dbot skeleton * fix: changed method naming * fix: changed comment * fix: changed error config * fix: changed error config * fix: review comments * fix: changed keycode * fix: assigned const * fix: bug fixes * fix: for multipliers block * fix: removed extra space * fix: added parameter * fix: for localize * fix: sentence * fix: updated error messages * fix: removed fallback * fix: removed check for mandatory block * fix: review comments * fix: empty trigger * fix: code refactored and added disabled check * fix: removed key * fix: removed key * fix: changed error message * fix: reverted changes for disabled block and misplaced * fix: removed commented code * fix: review comments * fix: review comments * fix: review comments * chore: updated z-index for language switcher (#9461) * farabi/bot-512/tour content sizing and responsiveness on small screen (#9472) * fix: updated content size according to design * refactor: reverted classname changes * fix: tour is made responsive on smaller screen * Shafin/bot 301/fix preview delete save edit issue (#9549) * chore: investigation on strategy save, edit, delete issue * chore: finalize save-delete-edit issue for preview strategies * fix: don't load if workspace is not present * fix: pass parent element to mutation observer for least computation * fix: issues on quick strategy run * Vinu/bot 92/ticks history refactor (#9547) * fix: ticks_history call outside the run * fix: remove console error and make ticks_history call on load * refactor: remove unecessary code * fix: added condition to make ticks_history call * fix: disable run button untill ticks_history call is received * fix: change trade_type_category,trade_type_category_field in trade_definition_tradetype onchange * fix: fix ticks_history error when market is closed * fix: fix the ticks_history call when bot is terminated * fix: change file accept format (#9812) * fix: change file accept format * fix: update file acceptance for dashboard file input * Hamza/chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added (#9941) * chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added * chore: added comments for explanantion purpose * fix: allow custom variables and function values for limit order (#9490) * chore: fix language not correct when redirect from deriv-com (#9632) * chore: fix language not correct when redirect from deriv-com * chore: fix language redirection from deriv-com * chore: add optional chaining * chore: update code base on comments --------- Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Hamid <hamid@regentmarkets.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: George Usynin <103181646+heorhi-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: hirad-deriv <hirad@re-work.dev> Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-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: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com> Co-authored-by: Farhan Ahmad Nurzi <125247833+farhan-nurzi-deriv@users.noreply.github.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <farzin@deriv.com> Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> Co-authored-by: Shahzaib <shahzaib@deriv.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-deriv@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Farabi <102643568+farabi-deriv@users.noreply.github.com> Co-authored-by: Shafin Al Karim <129021108+shafin-deriv@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: prince-deriv <82309725+prince-deriv@users.noreply.github.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> * Revert "Resolve conflicts improvement dbot tutorials (#9983)" (#9984) This reverts commit b4c8405ba15c47cf163440f46cd4f5b0abdd050f. * Revert "Sandeep/bot 404/onboarding tour improvements 1 (#9982)" (#9985) This reverts commit d2646639920fd0fe673df36bdb9267d74809d3dd. --------- Co-authored-by: Rupato Braganza <rupatobraganza@Rupato-Braganzas-Mac-L2R5WHGD9W.local> Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: rupato-deriv <rupato@regentmarkets.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Hamid <hamid@regentmarkets.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: George Usynin <103181646+heorhi-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: hirad-deriv <hirad@re-work.dev> Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-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: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com> Co-authored-by: Farhan Ahmad Nurzi <125247833+farhan-nurzi-deriv@users.noreply.github.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <farzin@deriv.com> Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> Co-authored-by: Shahzaib <shahzaib@deriv.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-deriv@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Farabi <102643568+farabi-deriv@users.noreply.github.com> Co-authored-by: Shafin Al Karim <129021108+shafin-deriv@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: prince-deriv <82309725+prince-deriv@users.noreply.github.com> * Kate / WEBREL-477 / TS migration of trader package (#9087) * refactor: ts migration of chart loader * refactor: ts migration of screen large form and started purchase * refactor: add types in store and refcator contract * refactor: ts migaration of purchase field * refactor: ts migration of cancel deal info * refactor: ts migration of the purchase btn * refactor: cancel deal info * refactor: remove simular types * refactor: create file for types * chore: cover return value with react fragment * refactor: apply suggestions * refactor: update imports * refactor: type returned value * refactor: left an explanation of expecting ts error * Akmal / feat: migrate EmptyPortfolioMessage, ErrorComponent and Page404 in Trader package (#5) * feat: migrate Page404 to Typescript * feat: migrate EmptyPortfolioMessage to Typescript * feat: migrate ErrorComponent to Typescript * fix: dialog prop * fix: dialog type * chore: remove React.FC * maryia/WEBREL-321/feat: migrate Actions files to TS (#4) * feat: migrate /contract-type.js to ts & remove barrier.js * feat: migrate duration to ts + remove unused currency.js * feat: migrate actions/purchase to ts * feat: migrate actions/symbol to ts * feat: migrate start-date.js to ts * feat: migrate actions/test.js to ts * chore: improve types in start-date and duration * fix: address review comments * revert: unnecessary line deletion * fix: address reviews * refactor: remove some code smells * refactor: remove code smells * refactor: update types in stores * Akmal / feat: migrate utils in Trader package (#9) * feat: migrate MarketUnderlying to Typescript * feat: migrate errors to Typescript * feat: migrate error spec to Typescript * feat: migrate index to Typescript * feat: migrate validator to Typescript * feat: trigger vercel * chore: sort options alphabetically * fix: TValidationResult type * chore: prettier formatting * refactor: reduce code smells * chore: validator type improvements (#12) * Kate / DTRA-249 / Code refactoring and removing duplicated files (#13) * refactor: remove duplicated file * refactor: test improvements * fix: removed forgotten import * chore: empty commit to retrigger checks * refactor: apply suggestion * maryia/DTRA-260/TS migration of /Constants files & SmartChart/Helpers files in Trader (#6) * feat: validation-rules and ui.js to ts * chore: squash merge maryia/WEBREL-321/actions-to-TS changes * chore: added types to validation-rules.ts * chore: remove unused ui.js, migrate used ui.js and index.js to ts * chore: remove unused ui.js * chore: remove unused markers.js, and migrate barriers.js to ts * chore: added types to barriers.js and its test * test: add missing test for removeBarrier to barriers * Revert "chore: squash merge maryia/WEBREL-321/actions-to-TS changes" * feat: migrated chart-barrier-store.js to ts * feat: remove unused ChartMarkerStore * build: trigger build * fix: address review comments * henry/webrel-319/ts-migration-modules-trading-helpers-folder (#11) * fix: merge conflicts * fix: resolve comments * fix: remove comment * fix: add loadash types dependency * refactor: move error type to common props file * fix: circle CI * fix: resolve comment * fix: bug * fix: convert returntype to use ttradestore * empty commit * fix: type change * fix: resolve comments * fix: comments * maryia/861n17c54/fix: sonarcloud warnings (#14) * fix: sonarcloud warnings * fix: types * fix: resolve conflicts * refactor: apply suggestions * refactor: add last suggestion * refactor: tests * refactor: update function * refactor: add ts migration of exist tests * fix: tests * fix: test case --------- Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> * fix: test case for tour (#9993) * translations: 📚 sync translations with crowdin (#9997) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#10000) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * fix: onboarding tour for mobile (#9994) * translations: 📚 sync translations with crowdin (#10005) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#10014) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hamza/chore: added hook for trading_platform_investor_password_change (#9970) * chore: added hook for trading_platform_investor_password_change * refactor: used mutate function instead of rest params and added the types for request * refactor: added deprecated message added * thisyahlen/chore: add useverifyemail hook to api package (#9986) * chore: add useverifyemail hook to api package * chore: add useverifyemail hook to api package * remove description for mutate * FarhanNurzi | WALL-1648 | Add Responsive/Desktop breakpoints handling (#9867) * chore: added useDevice hooks * chore: added mixins to wallets package * refactor: devices mixin * fix: package-lock.json missing package * chore: add wrapper for mobile and desktop * chore: add ts comment for hook and style change * chore: remove wrappers * FarhanNurzi/P2PS-1398/Symbol for Bank Transfers payment method is incorrect (#9744) * chore: revamping payment_methods implementations * fix: payment method not showing in buy-add * chore: delete unused code and comment * refactor: refactor useP2PAdvertiserPaymentMethods, and other review comments * refactor: hooks, test files, remove unused code blocks * refactor: mutation payload type * fix: review comments * refactor: review comments * fix: review comments * fix: add display_name as dependency in useMemo * fix: error in buy-sell-modal pop up after reloading the window * fix: bug in stacked delete payment method modals * Kyc/wall 1322/revamp poa section (#9623) * feat: :bento: added visual assets * Kyc/wall 1325/revamp poa section (#6) * feat: :sparkles: added new component * feat: :white_check_mark: added testcases * feat: account page revamp, cfd poa remove, account poa reuse * refactor: simplified && condition * chore: modal alignment styles * fix: failing tests * refactor: some ts issues resolve * refactor: poa container TS migration * chore: styles clarifications * refactor: poa form ts migration, code refactor * fix: ts ignore for cfd build * fix: commented code * fix: failing test * chore: code refactoring * chore: recreating PR for kyc-WALL-1322-revamp-poa-section * chore: incorporated review comments * chore: review comments * chore: review comments2 * chore: remove unused variable * chore: cfd-poa testcases * refactor: review comments * chore: review comments * ref: Incorporated review somments * chore: review coment * chore: review comments * chore: review comments addressing * fix: failing test * chore: styles code refactor * chore: spaces fix * refactor: file descriptions map array * chore: review comments * chore: review comments * chore: review comments * chore: compare account flow fix * chore: review comments * chore: review comments * chore: review comments * chore: review comments incorporating * fix: styling discrepancies * fix: back button condition * chore: remove back button * fix: failing test cfd-poa * refactor: localize change to component * refactor: :art: incorporated Localize component * chore: remove unused css and types * chore: wrong description on examples * fix: styles for resubmit message * fix: submitting error poa page * chore: mobing submit error to the top * fix: wrong message after submitting documents * refactor: boolean instead !! * chore: added gif as supported file * fix: failing test * fix: resolve path --------- Co-authored-by: Likhith Kolayari <likhith@regentmarkets.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * feat: mandatory pot upload (#8267) * feat: mandatory pot upload * fix: pr comments updated * fix: wrong error message shown * feat: format amount in pot upload popup * feat: fix issue with modal not closing on order status change * feat: pr comment fix * feat: updated failing test * translations: 📚 sync translations wit…
sanjam-deriv
pushed a commit
to sanjam-deriv/deriv-app
that referenced
this pull request
Sep 19, 2023
fix: ✅ fixed testcase
vinu-deriv
added a commit
that referenced
this pull request
Sep 25, 2023
* updating branch with master (#10070) * henry/webrel-1160/hotfix: space issue dropdown (#9898) * fix: space issue dropdown * fix: resolve comment * fix: comment * Update packages/components/src/components/dropdown/dropdown.scss * fix: empty commit --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * fix: overwritten styles (#9899) * fix: overwritten styles * fix: overwritten styles * Ameerul /WEBREL-1159 Sort by column alignment in P2P Buy/Sell page is off (#9876) * chore: fixed sort dropdown alignment * chore: changed styling for dropdown * george / PRODQA-1316 / Transfer from Tradershub validation (#9908) * fix: :ambulance: fix active container for TH transfer, fix insufficient balance check * test: :bug: fix tests * fix: :ambulance: fix 'Insufficient balance' condition * translations: 📚 sync translations with crowdin (#9912) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9917) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hirad-Hamza-ShonTzu/Feature revamp compare account re-deployment (#9611) * feat: initializing the compare account implementation * feat: icon reusable component v1.0 * feat: icon reusable component v1.1 * feat: icon reusable component v1.1.1 * feat: initialize compare cfd account page (todo:css) * feat: blank compare cfd accounts page & navi done * feat: mobile view * fix: compare-accounts naming convention * fix: updated path import * fix: reverted icons.js changes * fix: compare-cfds -> compare-accounts * feat: reusable component v1.2 * feat: reusable component v1.2.1 * feat: icon reusable component added v1.3 * feat: reusable component for Icons * feat: reusable component for Icons refactor * feat: reusable component for Icons refactor v1.2 * feat: description div added * feat: description with title +icon is added * feat: platform label + icon component padding added * chore: labuan leverage updated * chore: css issue fixed for Cards * feat: carousel added with sorting o f MT5 accounts * feat: carousel arrow background and container added * chore: added dxtrade in the card for dynamic rendering with type fixes * chore: changes in platform label header with respect to props data * chore: icons updated because of white line issue in icons * chore: change the components css name and other naming convention tweaks * refactor: suggestions implemented * refactor: convert carousel button into one * feat: initial commit for starting collaboration * feat: added the button placeholder * feat: added new banner to cfd cards * refactor: make the banner smaller * fix: added condition to show banner for derivez and ctrader only * refactor: changed the types and applied suggestions * refactor: removed the invalide shortcode for dxtrade * refactor: round up patches based on reviews * fix: round up patch 2 based on review * Update packages/cfd/src/Containers/cfd-compare-accounts/cfd-compare-accounts.scss Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * refactor: button width * refactor: button classname * chore: fix css of underline * chore: added redirection to homepage in case of modals * fix: circle ci failed due to wrong type of client function * chore: added the disabled property for the Added accounts * chore: added condition for the dxtrade * chore: rearrange block scoped variables * chore: fix css of labuan tooltip with removal of commented code * chore: responsive view fixes * feat: demo accounts added for low risk * feat: demo accounts label added and swap-free account creation fixed * chore: added derivx account creation flow * refactor: replace ternary operators with if-else * chore: remove unused jurisdiction * feat: demo account compare implemetation tweaks as per design * feat: rectified the Demo title as per design * chore: font weigth of instruments as per design * feat: Eu flow for DIEL * feat: changes in the icons label and correction in EU flow * chore: addded translations demo title and rename baskets * chore: rename icon type * chore: final changes prop drilling instead of observer EU flow finalized * fix: hidding deriv ez * fix: EU flow platform label change * feat: test case for description added * feat: platform label test case added * feat: title icon test case added * feat: title icon test case added * chore: fix test case description + instruments icon test added * refactor: blank spaces removed * chore: cfd-instruments-label test added * chore: test file added cfd-instrument-label * feat: button partial test case added * chore: added more test case for Button component * feat: added test case for compare-account-card * chore: merge conflicts * chore: test for cfd-compare-accounts added * feat: derivX demo * chore: added testcase for dxtrade in button * fix: dxtrade for australian clients * fix: swapfree account creation added * fix: comapre account fixes first round * fix: remove the css because scroll not working * fix: renamed variable + icons * fix: cursor not allowed on instrument icons * fix: fixed the circle ci issue * fix: fixed one of our test issues * refactor: review comments resolved * fix: changing the text of mf accounts to pass the tests * fix: made changes according to suggestions * fix: made changes according to suggestions * fix: fixed the test case issues * chore: added s to spread(s) * chore: fixed capitalization * chore: line split * fix: failing test case * fix: updated markets offerings for MT5 Financial Labuan * fix: Other CFDs --> Other CFDs Platform * fix: removed standard/micro from DerivX Forex label * refactor: optimised code * fix: icon size inconsistencyn mobile VP * refactor: css refactoring to reflect figma as much as possible * refactor: minor css fixes * fix: fixed * style: added bottom padding for mobile * fix: fixed the build issue * chore: re running the tests * fix: subtasks * chore: typo * style: position the tooltip to be center within the card * style: resize width for word-wrap * chore: d and r should be lowercase dispute and resolution * fix: fixing sonar cloud issues * fix: making changes to pass the tests --------- Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * adrienne/chore: added eslint and stylelint for wallets and renamed css variables (#9877) * feat: added stylelint for wallets for bem convention * feat: added stylelint for wallets for bem convention * chore: added import sorts for wallets and bem convention checking * chore: removed unused dependencies in wallets * Arshad/Matin/WALL-1226/Dynamic leverage for MT5 financial accounts (#9314) * chore: Dynamic leverage for MT5 financial accounts initial commit * feat: :construction: dynamic leverage modal * test: unit tests * feat: :white_check_mark: added unit tests and refactoring * feat: :recycle: fixed UI * feat: :recycle: review changes for dynamic leverage * chore: item name update * feat: :bug: passed string to localize instead of a variable * test: :recycle: * refactor: :recycle: refactored column header to new component * refactor: refactored code * fix: fixed styling and refactored code * style: formatted code * test: updated test mock component * refactor: refactored styling and unit tests * fix: fixed text content for dynamic leverage * fix: fixed localize component usage * refactor: used strong instead of span styling * fix: jurisdiction card layout --------- Co-authored-by: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9924) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9925) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9930) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Ako/remove docker k8s config (#9933) * ci: remove k8s workflow * ci: remove docker build and push workflow * fix: regression bug regarding market offerings (#9936) * FarhanNurzi/WALL-1657/Link the Wallet carousel with real data in Responsive (#9895) * chore: use hook to get wallet list in mobile carousel * chore: add components/index.ts * thisyahlen/refactor: add useAvailableWallets in deriv/api (#9818) * chore: add useAvailableWallets in deriv/api * fix: empty * refactor(api): :recycle: clean-up * fix: latest code for available wallets * fix: rename useGetAccountTypes * fix: comments * chore: split function and refactor * fix: sonarcloud --------- Co-authored-by: Farzin Mirzaie <farzin@deriv.com> * thisyahlen/chore: update ui for wallet header (#9870) * chore: update ui for wallet header * chore: add more styles * chore: add more styles v2 * fix: lint errors * chore: split components * chore: split v2 * chore: split v3 * chore: add svg for header button actions * fix: format balance and css styles * fix: landing company name uppercase * fix: comments * chore: split moreeeee * fix: rename css * fix: lint styles * fix: styles * fix: comments * fix: comments v3 * fix: comments v4 * fix: comments v5 * Hamza/ hotfix: compare account text size difference (#9950) * chore: compare account text size difference * chore: compare account text size difference on mobile * translations: 📚 sync translations with crowdin (#9945) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Mahdiyeh/fix: change market price movements to market movements (#9341) * fix: change market price movements to market movements * fix: resolve issue --------- Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> * fix: cashier page height in iphone (#9779) * shahzaib / KYC-304 / additional kyc questions in the real account creation (#9501) * chore: additional information section for real accounts creation * chore: hide additional details for high risk client * chore: refactor to pass classname conditionally and removed disposable props * chore: removed unused props * chore: renamed className to class_name * chore: update test case for personal-details component * Update packages/account/src/Components/personal-details/__tests__/personal-details.spec.js Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Update onfido-container.scss Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: remove unused imports * chore: update fragment useage * chore: remove high_risk conditiono to hide the additional fields * chore: empty commit * fix(props): removed unused is_high_risk prop * chore: renamed TaxResidentField * chore: update tax residence validation message for TIN number * chore: update config to include additional details if the client is not high risk for mt5 * chore: added test case for high risk condition in personal details config * chore: refactored test case * chore: disble additional information fields if user has already filled the details * feat(hooks): created hooks to get if a user is high risk for MT5 * chore: updated comment for personal details config * fix: remove unused variable * fix(test): update test cases to reflect hook change * test: update test cases to use store provider * chore: removed unused logic from cfd & traders hub store * test: update description * test: mock hook for returned value * fix: TIN validation in personal-details-config * fix: added additional field check for diel accounts --------- Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Rupato/PRODQA-1167/fix: updated error handling for dbot skeleton (#9576) * fix: updated error handling for dbot skeleton * fix: changed method naming * fix: changed comment * fix: changed error config * fix: changed error config * fix: review comments * fix: changed keycode * fix: assigned const * fix: bug fixes * fix: for multipliers block * fix: removed extra space * fix: added parameter * fix: for localize * fix: sentence * fix: updated error messages * fix: removed fallback * fix: removed check for mandatory block * fix: review comments * fix: empty trigger * fix: code refactored and added disabled check * fix: removed key * fix: removed key * fix: changed error message * fix: reverted changes for disabled block and misplaced * fix: removed commented code * fix: review comments * fix: review comments * fix: review comments * chore: updated z-index for language switcher (#9461) * farabi/bot-512/tour content sizing and responsiveness on small screen (#9472) * fix: updated content size according to design * refactor: reverted classname changes * fix: tour is made responsive on smaller screen * Shafin/bot 301/fix preview delete save edit issue (#9549) * chore: investigation on strategy save, edit, delete issue * chore: finalize save-delete-edit issue for preview strategies * fix: don't load if workspace is not present * fix: pass parent element to mutation observer for least computation * fix: issues on quick strategy run * Vinu/bot 92/ticks history refactor (#9547) * fix: ticks_history call outside the run * fix: remove console error and make ticks_history call on load * refactor: remove unecessary code * fix: added condition to make ticks_history call * fix: disable run button untill ticks_history call is received * fix: change trade_type_category,trade_type_category_field in trade_definition_tradetype onchange * fix: fix ticks_history error when market is closed * fix: fix the ticks_history call when bot is terminated * fix: change file accept format (#9812) * fix: change file accept format * fix: update file acceptance for dashboard file input * Hamza/chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added (#9941) * chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added * chore: added comments for explanantion purpose * fix: allow custom variables and function values for limit order (#9490) * chore: fix language not correct when redirect from deriv-com (#9632) * chore: fix language not correct when redirect from deriv-com * chore: fix language redirection from deriv-com * chore: add optional chaining * chore: update code base on comments * Rupato/509/fix--for-blockly-alignment (#9460) * fix: merge latest * fix: trigger circle ci * fix: removed unused icons * fix: reverted icon file changes * fix: reverted icon file changes * Improvement/dbot tutorials (#9896) * Farabi/rupato/bot 313 update tour step (#9885) * fix: updated tour guide * fix: refactor last joyride step and last pop up modal * fix: start for both tours * fix: added check for onboard tour action bar * fix: reverted changes for tour dialog * fix: fixed review comments * fix: added localize component check * fix: for id on localize * fix: for the margin bottom on the last step of joyride * fix: made font size xs for tour * fix: made font size xs for tour --------- Co-authored-by: Rupato Braganza <rupatobraganza@Rupato-Braganzas-Mac-L2R5WHGD9W.local> Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: rupato-deriv <rupato@regentmarkets.com> * Farabi/bot 444/highlight the tutorials tab (#9887) * fix: higlighted tutorials on mobile onboarding and replaced gif with mp4 * fix: changes related to code review * fix: added width for mobile view of tour * fix: width for images and videos * fix: width adjustment on responsive * fix: disabled picture in picture and download for videos * fix: change step 5 video to updated one * fix: fix last step button --------- Co-authored-by: Farabi Chowdhury <farabi@deriv.com> * Sandeep/bot 404/onboarding tour improvements 1 (#9894) * fix: higlighted tutorials on mobile onboarding and replaced gif with mp4 * fix: changes related to code review * fix: added width for mobile view of tour * fix: width for images and videos * fix: width adjustment on responsive * fix: disabled picture in picture and download for videos * fix: change step 5 video to updated one * fix: :pencil: Updated content for bot tutorials * fix: fix last step button * fix: :construction: updated content for start tour dialog --------- Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> * Sandeep/bot 404/onboarding tour improvements 1 (#9982) * fix: higlighted tutorials on mobile onboarding and replaced gif with mp4 * fix: changes related to code review * fix: added width for mobile view of tour * fix: width for images and videos * fix: width adjustment on responsive * fix: disabled picture in picture and download for videos * fix: change step 5 video to updated one * fix: :pencil: Updated content for bot tutorials * fix: fix last step button * fix: :construction: updated content for start tour dialog * henry/webrel-1160/hotfix: space issue dropdown (#9898) * fix: space issue dropdown * fix: resolve comment * fix: comment * Update packages/components/src/components/dropdown/dropdown.scss * fix: empty commit --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * fix: overwritten styles (#9899) * fix: overwritten styles * fix: overwritten styles * Ameerul /WEBREL-1159 Sort by column alignment in P2P Buy/Sell page is off (#9876) * chore: fixed sort dropdown alignment * chore: changed styling for dropdown * george / PRODQA-1316 / Transfer from Tradershub validation (#9908) * fix: :ambulance: fix active container for TH transfer, fix insufficient balance check * test: :bug: fix tests * fix: :ambulance: fix 'Insufficient balance' condition * translations: 📚 sync translations with crowdin (#9912) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9917) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hirad-Hamza-ShonTzu/Feature revamp compare account re-deployment (#9611) * feat: initializing the compare account implementation * feat: icon reusable component v1.0 * feat: icon reusable component v1.1 * feat: icon reusable component v1.1.1 * feat: initialize compare cfd account page (todo:css) * feat: blank compare cfd accounts page & navi done * feat: mobile view * fix: compare-accounts naming convention * fix: updated path import * fix: reverted icons.js changes * fix: compare-cfds -> compare-accounts * feat: reusable component v1.2 * feat: reusable component v1.2.1 * feat: icon reusable component added v1.3 * feat: reusable component for Icons * feat: reusable component for Icons refactor * feat: reusable component for Icons refactor v1.2 * feat: description div added * feat: description with title +icon is added * feat: platform label + icon component padding added * chore: labuan leverage updated * chore: css issue fixed for Cards * feat: carousel added with sorting o f MT5 accounts * feat: carousel arrow background and container added * chore: added dxtrade in the card for dynamic rendering with type fixes * chore: changes in platform label header with respect to props data * chore: icons updated because of white line issue in icons * chore: change the components css name and other naming convention tweaks * refactor: suggestions implemented * refactor: convert carousel button into one * feat: initial commit for starting collaboration * feat: added the button placeholder * feat: added new banner to cfd cards * refactor: make the banner smaller * fix: added condition to show banner for derivez and ctrader only * refactor: changed the types and applied suggestions * refactor: removed the invalide shortcode for dxtrade * refactor: round up patches based on reviews * fix: round up patch 2 based on review * Update packages/cfd/src/Containers/cfd-compare-accounts/cfd-compare-accounts.scss Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * refactor: button width * refactor: button classname * chore: fix css of underline * chore: added redirection to homepage in case of modals * fix: circle ci failed due to wrong type of client function * chore: added the disabled property for the Added accounts * chore: added condition for the dxtrade * chore: rearrange block scoped variables * chore: fix css of labuan tooltip with removal of commented code * chore: responsive view fixes * feat: demo accounts added for low risk * feat: demo accounts label added and swap-free account creation fixed * chore: added derivx account creation flow * refactor: replace ternary operators with if-else * chore: remove unused jurisdiction * feat: demo account compare implemetation tweaks as per design * feat: rectified the Demo title as per design * chore: font weigth of instruments as per design * feat: Eu flow for DIEL * feat: changes in the icons label and correction in EU flow * chore: addded translations demo title and rename baskets * chore: rename icon type * chore: final changes prop drilling instead of observer EU flow finalized * fix: hidding deriv ez * fix: EU flow platform label change * feat: test case for description added * feat: platform label test case added * feat: title icon test case added * feat: title icon test case added * chore: fix test case description + instruments icon test added * refactor: blank spaces removed * chore: cfd-instruments-label test added * chore: test file added cfd-instrument-label * feat: button partial test case added * chore: added more test case for Button component * feat: added test case for compare-account-card * chore: merge conflicts * chore: test for cfd-compare-accounts added * feat: derivX demo * chore: added testcase for dxtrade in button * fix: dxtrade for australian clients * fix: swapfree account creation added * fix: comapre account fixes first round * fix: remove the css because scroll not working * fix: renamed variable + icons * fix: cursor not allowed on instrument icons * fix: fixed the circle ci issue * fix: fixed one of our test issues * refactor: review comments resolved * fix: changing the text of mf accounts to pass the tests * fix: made changes according to suggestions * fix: made changes according to suggestions * fix: fixed the test case issues * chore: added s to spread(s) * chore: fixed capitalization * chore: line split * fix: failing test case * fix: updated markets offerings for MT5 Financial Labuan * fix: Other CFDs --> Other CFDs Platform * fix: removed standard/micro from DerivX Forex label * refactor: optimised code * fix: icon size inconsistencyn mobile VP * refactor: css refactoring to reflect figma as much as possible * refactor: minor css fixes * fix: fixed * style: added bottom padding for mobile * fix: fixed the build issue * chore: re running the tests * fix: subtasks * chore: typo * style: position the tooltip to be center within the card * style: resize width for word-wrap * chore: d and r should be lowercase dispute and resolution * fix: fixing sonar cloud issues * fix: making changes to pass the tests --------- Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * adrienne/chore: added eslint and stylelint for wallets and renamed css variables (#9877) * feat: added stylelint for wallets for bem convention * feat: added stylelint for wallets for bem convention * chore: added import sorts for wallets and bem convention checking * chore: removed unused dependencies in wallets * Arshad/Matin/WALL-1226/Dynamic leverage for MT5 financial accounts (#9314) * chore: Dynamic leverage for MT5 financial accounts initial commit * feat: :construction: dynamic leverage modal * test: unit tests * feat: :white_check_mark: added unit tests and refactoring * feat: :recycle: fixed UI * feat: :recycle: review changes for dynamic leverage * chore: item name update * feat: :bug: passed string to localize instead of a variable * test: :recycle: * refactor: :recycle: refactored column header to new component * refactor: refactored code * fix: fixed styling and refactored code * style: formatted code * test: updated test mock component * refactor: refactored styling and unit tests * fix: fixed text content for dynamic leverage * fix: fixed localize component usage * refactor: used strong instead of span styling * fix: jurisdiction card layout --------- Co-authored-by: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9924) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9925) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9930) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Ako/remove docker k8s config (#9933) * ci: remove k8s workflow * ci: remove docker build and push workflow * fix: regression bug regarding market offerings (#9936) * FarhanNurzi/WALL-1657/Link the Wallet carousel with real data in Responsive (#9895) * chore: use hook to get wallet list in mobile carousel * chore: add components/index.ts * thisyahlen/refactor: add useAvailableWallets in deriv/api (#9818) * chore: add useAvailableWallets in deriv/api * fix: empty * refactor(api): :recycle: clean-up * fix: latest code for available wallets * fix: rename useGetAccountTypes * fix: comments * chore: split function and refactor * fix: sonarcloud --------- Co-authored-by: Farzin Mirzaie <farzin@deriv.com> * thisyahlen/chore: update ui for wallet header (#9870) * chore: update ui for wallet header * chore: add more styles * chore: add more styles v2 * fix: lint errors * chore: split components * chore: split v2 * chore: split v3 * chore: add svg for header button actions * fix: format balance and css styles * fix: landing company name uppercase * fix: comments * chore: split moreeeee * fix: rename css * fix: lint styles * fix: styles * fix: comments * fix: comments v3 * fix: comments v4 * fix: comments v5 * Hamza/ hotfix: compare account text size difference (#9950) * chore: compare account text size difference * chore: compare account text size difference on mobile * translations: 📚 sync translations with crowdin (#9945) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Mahdiyeh/fix: change market price movements to market movements (#9341) * fix: change market price movements to market movements * fix: resolve issue --------- Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> * fix: cashier page height in iphone (#9779) * shahzaib / KYC-304 / additional kyc questions in the real account creation (#9501) * chore: additional information section for real accounts creation * chore: hide additional details for high risk client * chore: refactor to pass classname conditionally and removed disposable props * chore: removed unused props * chore: renamed className to class_name * chore: update test case for personal-details component * Update packages/account/src/Components/personal-details/__tests__/personal-details.spec.js Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Update onfido-container.scss Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: remove unused imports * chore: update fragment useage * chore: remove high_risk conditiono to hide the additional fields * chore: empty commit * fix(props): removed unused is_high_risk prop * chore: renamed TaxResidentField * chore: update tax residence validation message for TIN number * chore: update config to include additional details if the client is not high risk for mt5 * chore: added test case for high risk condition in personal details config * chore: refactored test case * chore: disble additional information fields if user has already filled the details * feat(hooks): created hooks to get if a user is high risk for MT5 * chore: updated comment for personal details config * fix: remove unused variable * fix(test): update test cases to reflect hook change * test: update test cases to use store provider * chore: removed unused logic from cfd & traders hub store * test: update description * test: mock hook for returned value * fix: TIN validation in personal-details-config * fix: added additional field check for diel accounts --------- Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Rupato/PRODQA-1167/fix: updated error handling for dbot skeleton (#9576) * fix: updated error handling for dbot skeleton * fix: changed method naming * fix: changed comment * fix: changed error config * fix: changed error config * fix: review comments * fix: changed keycode * fix: assigned const * fix: bug fixes * fix: for multipliers block * fix: removed extra space * fix: added parameter * fix: for localize * fix: sentence * fix: updated error messages * fix: removed fallback * fix: removed check for mandatory block * fix: review comments * fix: empty trigger * fix: code refactored and added disabled check * fix: removed key * fix: removed key * fix: changed error message * fix: reverted changes for disabled block and misplaced * fix: removed commented code * fix: review comments * fix: review comments * fix: review comments * chore: updated z-index for language switcher (#9461) * farabi/bot-512/tour content sizing and responsiveness on small screen (#9472) * fix: updated content size according to design * refactor: reverted classname changes * fix: tour is made responsive on smaller screen * Shafin/bot 301/fix preview delete save edit issue (#9549) * chore: investigation on strategy save, edit, delete issue * chore: finalize save-delete-edit issue for preview strategies * fix: don't load if workspace is not present * fix: pass parent element to mutation observer for least computation * fix: issues on quick strategy run * Vinu/bot 92/ticks history refactor (#9547) * fix: ticks_history call outside the run * fix: remove console error and make ticks_history call on load * refactor: remove unecessary code * fix: added condition to make ticks_history call * fix: disable run button untill ticks_history call is received * fix: change trade_type_category,trade_type_category_field in trade_definition_tradetype onchange * fix: fix ticks_history error when market is closed * fix: fix the ticks_history call when bot is terminated * fix: change file accept format (#9812) * fix: change file accept format * fix: update file acceptance for dashboard file input * Hamza/chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added (#9941) * chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added * chore: added comments for explanantion purpose * fix: allow custom variables and function values for limit order (#9490) * chore: fix language not correct when redirect from deriv-com (#9632) * chore: fix language not correct when redirect from deriv-com * chore: fix language redirection from deriv-com * chore: add optional chaining * chore: update code base on comments --------- Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Hamid <hamid@regentmarkets.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: George Usynin <103181646+heorhi-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: hirad-deriv <hirad@re-work.dev> Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-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: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com> Co-authored-by: Farhan Ahmad Nurzi <125247833+farhan-nurzi-deriv@users.noreply.github.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <farzin@deriv.com> Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> Co-authored-by: Shahzaib <shahzaib@deriv.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-deriv@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Farabi <102643568+farabi-deriv@users.noreply.github.com> Co-authored-by: Shafin Al Karim <129021108+shafin-deriv@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: prince-deriv <82309725+prince-deriv@users.noreply.github.com> * Resolve conflicts improvement dbot tutorials (#9983) * henry/webrel-1160/hotfix: space issue dropdown (#9898) * fix: space issue dropdown * fix: resolve comment * fix: comment * Update packages/components/src/components/dropdown/dropdown.scss * fix: empty commit --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * fix: overwritten styles (#9899) * fix: overwritten styles * fix: overwritten styles * Ameerul /WEBREL-1159 Sort by column alignment in P2P Buy/Sell page is off (#9876) * chore: fixed sort dropdown alignment * chore: changed styling for dropdown * george / PRODQA-1316 / Transfer from Tradershub validation (#9908) * fix: :ambulance: fix active container for TH transfer, fix insufficient balance check * test: :bug: fix tests * fix: :ambulance: fix 'Insufficient balance' condition * translations: 📚 sync translations with crowdin (#9912) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9917) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hirad-Hamza-ShonTzu/Feature revamp compare account re-deployment (#9611) * feat: initializing the compare account implementation * feat: icon reusable component v1.0 * feat: icon reusable component v1.1 * feat: icon reusable component v1.1.1 * feat: initialize compare cfd account page (todo:css) * feat: blank compare cfd accounts page & navi done * feat: mobile view * fix: compare-accounts naming convention * fix: updated path import * fix: reverted icons.js changes * fix: compare-cfds -> compare-accounts * feat: reusable component v1.2 * feat: reusable component v1.2.1 * feat: icon reusable component added v1.3 * feat: reusable component for Icons * feat: reusable component for Icons refactor * feat: reusable component for Icons refactor v1.2 * feat: description div added * feat: description with title +icon is added * feat: platform label + icon component padding added * chore: labuan leverage updated * chore: css issue fixed for Cards * feat: carousel added with sorting o f MT5 accounts * feat: carousel arrow background and container added * chore: added dxtrade in the card for dynamic rendering with type fixes * chore: changes in platform label header with respect to props data * chore: icons updated because of white line issue in icons * chore: change the components css name and other naming convention tweaks * refactor: suggestions implemented * refactor: convert carousel button into one * feat: initial commit for starting collaboration * feat: added the button placeholder * feat: added new banner to cfd cards * refactor: make the banner smaller * fix: added condition to show banner for derivez and ctrader only * refactor: changed the types and applied suggestions * refactor: removed the invalide shortcode for dxtrade * refactor: round up patches based on reviews * fix: round up patch 2 based on review * Update packages/cfd/src/Containers/cfd-compare-accounts/cfd-compare-accounts.scss Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * refactor: button width * refactor: button classname * chore: fix css of underline * chore: added redirection to homepage in case of modals * fix: circle ci failed due to wrong type of client function * chore: added the disabled property for the Added accounts * chore: added condition for the dxtrade * chore: rearrange block scoped variables * chore: fix css of labuan tooltip with removal of commented code * chore: responsive view fixes * feat: demo accounts added for low risk * feat: demo accounts label added and swap-free account creation fixed * chore: added derivx account creation flow * refactor: replace ternary operators with if-else * chore: remove unused jurisdiction * feat: demo account compare implemetation tweaks as per design * feat: rectified the Demo title as per design * chore: font weigth of instruments as per design * feat: Eu flow for DIEL * feat: changes in the icons label and correction in EU flow * chore: addded translations demo title and rename baskets * chore: rename icon type * chore: final changes prop drilling instead of observer EU flow finalized * fix: hidding deriv ez * fix: EU flow platform label change * feat: test case for description added * feat: platform label test case added * feat: title icon test case added * feat: title icon test case added * chore: fix test case description + instruments icon test added * refactor: blank spaces removed * chore: cfd-instruments-label test added * chore: test file added cfd-instrument-label * feat: button partial test case added * chore: added more test case for Button component * feat: added test case for compare-account-card * chore: merge conflicts * chore: test for cfd-compare-accounts added * feat: derivX demo * chore: added testcase for dxtrade in button * fix: dxtrade for australian clients * fix: swapfree account creation added * fix: comapre account fixes first round * fix: remove the css because scroll not working * fix: renamed variable + icons * fix: cursor not allowed on instrument icons * fix: fixed the circle ci issue * fix: fixed one of our test issues * refactor: review comments resolved * fix: changing the text of mf accounts to pass the tests * fix: made changes according to suggestions * fix: made changes according to suggestions * fix: fixed the test case issues * chore: added s to spread(s) * chore: fixed capitalization * chore: line split * fix: failing test case * fix: updated markets offerings for MT5 Financial Labuan * fix: Other CFDs --> Other CFDs Platform * fix: removed standard/micro from DerivX Forex label * refactor: optimised code * fix: icon size inconsistencyn mobile VP * refactor: css refactoring to reflect figma as much as possible * refactor: minor css fixes * fix: fixed * style: added bottom padding for mobile * fix: fixed the build issue * chore: re running the tests * fix: subtasks * chore: typo * style: position the tooltip to be center within the card * style: resize width for word-wrap * chore: d and r should be lowercase dispute and resolution * fix: fixing sonar cloud issues * fix: making changes to pass the tests --------- Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * adrienne/chore: added eslint and stylelint for wallets and renamed css variables (#9877) * feat: added stylelint for wallets for bem convention * feat: added stylelint for wallets for bem convention * chore: added import sorts for wallets and bem convention checking * chore: removed unused dependencies in wallets * Arshad/Matin/WALL-1226/Dynamic leverage for MT5 financial accounts (#9314) * chore: Dynamic leverage for MT5 financial accounts initial commit * feat: :construction: dynamic leverage modal * test: unit tests * feat: :white_check_mark: added unit tests and refactoring * feat: :recycle: fixed UI * feat: :recycle: review changes for dynamic leverage * chore: item name update * feat: :bug: passed string to localize instead of a variable * test: :recycle: * refactor: :recycle: refactored column header to new component * refactor: refactored code * fix: fixed styling and refactored code * style: formatted code * test: updated test mock component * refactor: refactored styling and unit tests * fix: fixed text content for dynamic leverage * fix: fixed localize component usage * refactor: used strong instead of span styling * fix: jurisdiction card layout --------- Co-authored-by: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9924) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9925) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9930) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Ako/remove docker k8s config (#9933) * ci: remove k8s workflow * ci: remove docker build and push workflow * fix: regression bug regarding market offerings (#9936) * FarhanNurzi/WALL-1657/Link the Wallet carousel with real data in Responsive (#9895) * chore: use hook to get wallet list in mobile carousel * chore: add components/index.ts * thisyahlen/refactor: add useAvailableWallets in deriv/api (#9818) * chore: add useAvailableWallets in deriv/api * fix: empty * refactor(api): :recycle: clean-up * fix: latest code for available wallets * fix: rename useGetAccountTypes * fix: comments * chore: split function and refactor * fix: sonarcloud --------- Co-authored-by: Farzin Mirzaie <farzin@deriv.com> * thisyahlen/chore: update ui for wallet header (#9870) * chore: update ui for wallet header * chore: add more styles * chore: add more styles v2 * fix: lint errors * chore: split components * chore: split v2 * chore: split v3 * chore: add svg for header button actions * fix: format balance and css styles * fix: landing company name uppercase * fix: comments * chore: split moreeeee * fix: rename css * fix: lint styles * fix: styles * fix: comments * fix: comments v3 * fix: comments v4 * fix: comments v5 * Hamza/ hotfix: compare account text size difference (#9950) * chore: compare account text size difference * chore: compare account text size difference on mobile * translations: 📚 sync translations with crowdin (#9945) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Mahdiyeh/fix: change market price movements to market movements (#9341) * fix: change market price movements to market movements * fix: resolve issue --------- Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> * fix: cashier page height in iphone (#9779) * shahzaib / KYC-304 / additional kyc questions in the real account creation (#9501) * chore: additional information section for real accounts creation * chore: hide additional details for high risk client * chore: refactor to pass classname conditionally and removed disposable props * chore: removed unused props * chore: renamed className to class_name * chore: update test case for personal-details component * Update packages/account/src/Components/personal-details/__tests__/personal-details.spec.js Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Update onfido-container.scss Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: remove unused imports * chore: update fragment useage * chore: remove high_risk conditiono to hide the additional fields * chore: empty commit * fix(props): removed unused is_high_risk prop * chore: renamed TaxResidentField * chore: update tax residence validation message for TIN number * chore: update config to include additional details if the client is not high risk for mt5 * chore: added test case for high risk condition in personal details config * chore: refactored test case * chore: disble additional information fields if user has already filled the details * feat(hooks): created hooks to get if a user is high risk for MT5 * chore: updated comment for personal details config * fix: remove unused variable * fix(test): update test cases to reflect hook change * test: update test cases to use store provider * chore: removed unused logic from cfd & traders hub store * test: update description * test: mock hook for returned value * fix: TIN validation in personal-details-config * fix: added additional field check for diel accounts --------- Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Rupato/PRODQA-1167/fix: updated error handling for dbot skeleton (#9576) * fix: updated error handling for dbot skeleton * fix: changed method naming * fix: changed comment * fix: changed error config * fix: changed error config * fix: review comments * fix: changed keycode * fix: assigned const * fix: bug fixes * fix: for multipliers block * fix: removed extra space * fix: added parameter * fix: for localize * fix: sentence * fix: updated error messages * fix: removed fallback * fix: removed check for mandatory block * fix: review comments * fix: empty trigger * fix: code refactored and added disabled check * fix: removed key * fix: removed key * fix: changed error message * fix: reverted changes for disabled block and misplaced * fix: removed commented code * fix: review comments * fix: review comments * fix: review comments * chore: updated z-index for language switcher (#9461) * farabi/bot-512/tour content sizing and responsiveness on small screen (#9472) * fix: updated content size according to design * refactor: reverted classname changes * fix: tour is made responsive on smaller screen * Shafin/bot 301/fix preview delete save edit issue (#9549) * chore: investigation on strategy save, edit, delete issue * chore: finalize save-delete-edit issue for preview strategies * fix: don't load if workspace is not present * fix: pass parent element to mutation observer for least computation * fix: issues on quick strategy run * Vinu/bot 92/ticks history refactor (#9547) * fix: ticks_history call outside the run * fix: remove console error and make ticks_history call on load * refactor: remove unecessary code * fix: added condition to make ticks_history call * fix: disable run button untill ticks_history call is received * fix: change trade_type_category,trade_type_category_field in trade_definition_tradetype onchange * fix: fix ticks_history error when market is closed * fix: fix the ticks_history call when bot is terminated * fix: change file accept format (#9812) * fix: change file accept format * fix: update file acceptance for dashboard file input * Hamza/chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added (#9941) * chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added * chore: added comments for explanantion purpose * fix: allow custom variables and function values for limit order (#9490) * chore: fix language not correct when redirect from deriv-com (#9632) * chore: fix language not correct when redirect from deriv-com * chore: fix language redirection from deriv-com * chore: add optional chaining * chore: update code base on comments --------- Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Hamid <hamid@regentmarkets.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: George Usynin <103181646+heorhi-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: hirad-deriv <hirad@re-work.dev> Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-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: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com> Co-authored-by: Farhan Ahmad Nurzi <125247833+farhan-nurzi-deriv@users.noreply.github.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <farzin@deriv.com> Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> Co-authored-by: Shahzaib <shahzaib@deriv.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-deriv@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Farabi <102643568+farabi-deriv@users.noreply.github.com> Co-authored-by: Shafin Al Karim <129021108+shafin-deriv@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: prince-deriv <82309725+prince-deriv@users.noreply.github.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> * Revert "Resolve conflicts improvement dbot tutorials (#9983)" (#9984) This reverts commit b4c8405ba15c47cf163440f46cd4f5b0abdd050f. * Revert "Sandeep/bot 404/onboarding tour improvements 1 (#9982)" (#9985) This reverts commit d2646639920fd0fe673df36bdb9267d74809d3dd. --------- Co-authored-by: Rupato Braganza <rupatobraganza@Rupato-Braganzas-Mac-L2R5WHGD9W.local> Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: rupato-deriv <rupato@regentmarkets.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Hamid <hamid@regentmarkets.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: George Usynin <103181646+heorhi-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: hirad-deriv <hirad@re-work.dev> Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-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: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com> Co-authored-by: Farhan Ahmad Nurzi <125247833+farhan-nurzi-deriv@users.noreply.github.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <farzin@deriv.com> Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> Co-authored-by: Shahzaib <shahzaib@deriv.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-deriv@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Farabi <102643568+farabi-deriv@users.noreply.github.com> Co-authored-by: Shafin Al Karim <129021108+shafin-deriv@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: prince-deriv <82309725+prince-deriv@users.noreply.github.com> * Kate / WEBREL-477 / TS migration of trader package (#9087) * refactor: ts migration of chart loader * refactor: ts migration of screen large form and started purchase * refactor: add types in store and refcator contract * refactor: ts migaration of purchase field * refactor: ts migration of cancel deal info * refactor: ts migration of the purchase btn * refactor: cancel deal info * refactor: remove simular types * refactor: create file for types * chore: cover return value with react fragment * refactor: apply suggestions * refactor: update imports * refactor: type returned value * refactor: left an explanation of expecting ts error * Akmal / feat: migrate EmptyPortfolioMessage, ErrorComponent and Page404 in Trader package (#5) * feat: migrate Page404 to Typescript * feat: migrate EmptyPortfolioMessage to Typescript * feat: migrate ErrorComponent to Typescript * fix: dialog prop * fix: dialog type * chore: remove React.FC * maryia/WEBREL-321/feat: migrate Actions files to TS (#4) * feat: migrate /contract-type.js to ts & remove barrier.js * feat: migrate duration to ts + remove unused currency.js * feat: migrate actions/purchase to ts * feat: migrate actions/symbol to ts * feat: migrate start-date.js to ts * feat: migrate actions/test.js to ts * chore: improve types in start-date and duration * fix: address review comments * revert: unnecessary line deletion * fix: address reviews * refactor: remove some code smells * refactor: remove code smells * refactor: update types in stores * Akmal / feat: migrate utils in Trader package (#9) * feat: migrate MarketUnderlying to Typescript * feat: migrate errors to Typescript * feat: migrate error spec to Typescript * feat: migrate index to Typescript * feat: migrate validator to Typescript * feat: trigger vercel * chore: sort options alphabetically * fix: TValidationResult type * chore: prettier formatting * refactor: reduce code smells * chore: validator type improvements (#12) * Kate / DTRA-249 / Code refactoring and removing duplicated files (#13) * refactor: remove duplicated file * refactor: test improvements * fix: removed forgotten import * chore: empty commit to retrigger checks * refactor: apply suggestion * maryia/DTRA-260/TS migration of /Constants files & SmartChart/Helpers files in Trader (#6) * feat: validation-rules and ui.js to ts * chore: squash merge maryia/WEBREL-321/actions-to-TS changes * chore: added types to validation-rules.ts * chore: remove unused ui.js, migrate used ui.js and index.js to ts * chore: remove unused ui.js * chore: remove unused markers.js, and migrate barriers.js to ts * chore: added types to barriers.js and its test * test: add missing test for removeBarrier to barriers * Revert "chore: squash merge maryia/WEBREL-321/actions-to-TS changes" * feat: migrated chart-barrier-store.js to ts * feat: remove unused ChartMarkerStore * build: trigger build * fix: address review comments * henry/webrel-319/ts-migration-modules-trading-helpers-folder (#11) * fix: merge conflicts * fix: resolve comments * fix: remove comment * fix: add loadash types dependency * refactor: move error type to common props file * fix: circle CI * fix: resolve comment * fix: bug * fix: convert returntype to use ttradestore * empty commit * fix: type change * fix: resolve comments * fix: comments * maryia/861n17c54/fix: sonarcloud warnings (#14) * fix: sonarcloud warnings * fix: types * fix: resolve conflicts * refactor: apply suggestions * refactor: add last suggestion * refactor: tests * refactor: update function * refactor: add ts migration of exist tests * fix: tests * fix: test case --------- Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> * fix: test case for tour (#9993) * translations: 📚 sync translations with crowdin (#9997) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#10000) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * fix: onboarding tour for mobile (#9994) * translations: 📚 sync translations with crowdin (#10005) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#10014) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hamza/chore: added hook for trading_platform_investor_password_change (#9970) * chore: added hook for trading_platform_investor_password_change * refactor: used mutate function instead of rest params and added the types for request * refactor: added deprecated message added * thisyahlen/chore: add useverifyemail hook to api package (#9986) * chore: add useverifyemail hook to api package * chore: add useverifyemail hook to api package * remove description for mutate * FarhanNurzi | WALL-1648 | Add Responsive/Desktop breakpoints handling (#9867) * chore: added useDevice hooks * chore: added mixins to wallets package * refactor: devices mixin * fix: package-lock.json missing package * chore: add wrapper for mobile and desktop * chore: add ts comment for hook and style change * chore: remove wrappers * FarhanNurzi/P2PS-1398/Symbol for Bank Transfers payment method is incorrect (#9744) * chore: revamping payment_methods implementations * fix: payment method not showing in buy-add * chore: delete unused code and comment * refactor: refactor useP2PAdvertiserPaymentMethods, and other review comments * refactor: hooks, test files, remove unused code blocks * refactor: mutation payload type * fix: review comments * refactor: review comments * fix: review comments * fix: add display_name as dependency in useMemo * fix: error in buy-sell-modal pop up after reloading the window * fix: bug in stacked delete payment method modals * Kyc/wall 1322/revamp poa section (#9623) * feat: :bento: added visual assets * Kyc/wall 1325/revamp poa section (#6) * feat: :sparkles: added new component * feat: :white_check_mark: added testcases * feat: account page revamp, cfd poa remove, account poa reuse * refactor: simplified && condition * chore: modal alignment styles * fix: failing tests * refactor: some ts issues resolve * refactor: poa container TS migration * chore: styles clarifications * refactor: poa form ts migration, code refactor * fix: ts ignore for cfd build * fix: commented code * fix: failing test * chore: code refactoring * chore: recreating PR for kyc-WALL-1322-revamp-poa-section * chore: incorporated review comments * chore: review comments * chore: review comments2 * chore: remove unused variable * chore: cfd-poa testcases * refactor: review comments * chore: review comments * ref: Incorporated review somments * chore: review coment * chore: review comments * chore: review comments addressing * fix: failing test * chore: styles code refactor * chore: spaces fix * refactor: file descriptions map array * chore: review comments * chore: review comments * chore: review comments * chore: compare account flow fix * chore: review comments * chore: review comments * chore: review comments * chore: review comments incorporating * fix: styling discrepancies * fix: back button condition * chore: remove back button * fix: failing test cfd-poa * refactor: localize change to component * refactor: :art: incorporated Localize component * chore: remove unused css and types * chore: wrong description on examples * fix: styles for resubmit message * fix: submitting error poa page * chore: mobing submit error to the top * fix: wrong message after submitting documents * refactor: boolean instead !! * chore: added gif as supported file * fix: failing test * fix: resolve path --------- Co-authored-by: Likhith Kolayari <likhith@regentmarkets.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * feat: mandatory pot upload (#8267) * feat: mandatory pot upload * fix: pr comments updated * fix: wrong error message shown * feat: format amount in pot upload popup * feat: fix issue with modal not closing on order status change * feat: pr comment fix * feat: updat…
vinu-deriv
added a commit
that referenced
this pull request
Oct 10, 2023
* updating branch with master (#10070) * henry/webrel-1160/hotfix: space issue dropdown (#9898) * fix: space issue dropdown * fix: resolve comment * fix: comment * Update packages/components/src/components/dropdown/dropdown.scss * fix: empty commit --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * fix: overwritten styles (#9899) * fix: overwritten styles * fix: overwritten styles * Ameerul /WEBREL-1159 Sort by column alignment in P2P Buy/Sell page is off (#9876) * chore: fixed sort dropdown alignment * chore: changed styling for dropdown * george / PRODQA-1316 / Transfer from Tradershub validation (#9908) * fix: :ambulance: fix active container for TH transfer, fix insufficient balance check * test: :bug: fix tests * fix: :ambulance: fix 'Insufficient balance' condition * translations: 📚 sync translations with crowdin (#9912) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9917) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hirad-Hamza-ShonTzu/Feature revamp compare account re-deployment (#9611) * feat: initializing the compare account implementation * feat: icon reusable component v1.0 * feat: icon reusable component v1.1 * feat: icon reusable component v1.1.1 * feat: initialize compare cfd account page (todo:css) * feat: blank compare cfd accounts page & navi done * feat: mobile view * fix: compare-accounts naming convention * fix: updated path import * fix: reverted icons.js changes * fix: compare-cfds -> compare-accounts * feat: reusable component v1.2 * feat: reusable component v1.2.1 * feat: icon reusable component added v1.3 * feat: reusable component for Icons * feat: reusable component for Icons refactor * feat: reusable component for Icons refactor v1.2 * feat: description div added * feat: description with title +icon is added * feat: platform label + icon component padding added * chore: labuan leverage updated * chore: css issue fixed for Cards * feat: carousel added with sorting o f MT5 accounts * feat: carousel arrow background and container added * chore: added dxtrade in the card for dynamic rendering with type fixes * chore: changes in platform label header with respect to props data * chore: icons updated because of white line issue in icons * chore: change the components css name and other naming convention tweaks * refactor: suggestions implemented * refactor: convert carousel button into one * feat: initial commit for starting collaboration * feat: added the button placeholder * feat: added new banner to cfd cards * refactor: make the banner smaller * fix: added condition to show banner for derivez and ctrader only * refactor: changed the types and applied suggestions * refactor: removed the invalide shortcode for dxtrade * refactor: round up patches based on reviews * fix: round up patch 2 based on review * Update packages/cfd/src/Containers/cfd-compare-accounts/cfd-compare-accounts.scss Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * refactor: button width * refactor: button classname * chore: fix css of underline * chore: added redirection to homepage in case of modals * fix: circle ci failed due to wrong type of client function * chore: added the disabled property for the Added accounts * chore: added condition for the dxtrade * chore: rearrange block scoped variables * chore: fix css of labuan tooltip with removal of commented code * chore: responsive view fixes * feat: demo accounts added for low risk * feat: demo accounts label added and swap-free account creation fixed * chore: added derivx account creation flow * refactor: replace ternary operators with if-else * chore: remove unused jurisdiction * feat: demo account compare implemetation tweaks as per design * feat: rectified the Demo title as per design * chore: font weigth of instruments as per design * feat: Eu flow for DIEL * feat: changes in the icons label and correction in EU flow * chore: addded translations demo title and rename baskets * chore: rename icon type * chore: final changes prop drilling instead of observer EU flow finalized * fix: hidding deriv ez * fix: EU flow platform label change * feat: test case for description added * feat: platform label test case added * feat: title icon test case added * feat: title icon test case added * chore: fix test case description + instruments icon test added * refactor: blank spaces removed * chore: cfd-instruments-label test added * chore: test file added cfd-instrument-label * feat: button partial test case added * chore: added more test case for Button component * feat: added test case for compare-account-card * chore: merge conflicts * chore: test for cfd-compare-accounts added * feat: derivX demo * chore: added testcase for dxtrade in button * fix: dxtrade for australian clients * fix: swapfree account creation added * fix: comapre account fixes first round * fix: remove the css because scroll not working * fix: renamed variable + icons * fix: cursor not allowed on instrument icons * fix: fixed the circle ci issue * fix: fixed one of our test issues * refactor: review comments resolved * fix: changing the text of mf accounts to pass the tests * fix: made changes according to suggestions * fix: made changes according to suggestions * fix: fixed the test case issues * chore: added s to spread(s) * chore: fixed capitalization * chore: line split * fix: failing test case * fix: updated markets offerings for MT5 Financial Labuan * fix: Other CFDs --> Other CFDs Platform * fix: removed standard/micro from DerivX Forex label * refactor: optimised code * fix: icon size inconsistencyn mobile VP * refactor: css refactoring to reflect figma as much as possible * refactor: minor css fixes * fix: fixed * style: added bottom padding for mobile * fix: fixed the build issue * chore: re running the tests * fix: subtasks * chore: typo * style: position the tooltip to be center within the card * style: resize width for word-wrap * chore: d and r should be lowercase dispute and resolution * fix: fixing sonar cloud issues * fix: making changes to pass the tests --------- Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * adrienne/chore: added eslint and stylelint for wallets and renamed css variables (#9877) * feat: added stylelint for wallets for bem convention * feat: added stylelint for wallets for bem convention * chore: added import sorts for wallets and bem convention checking * chore: removed unused dependencies in wallets * Arshad/Matin/WALL-1226/Dynamic leverage for MT5 financial accounts (#9314) * chore: Dynamic leverage for MT5 financial accounts initial commit * feat: :construction: dynamic leverage modal * test: unit tests * feat: :white_check_mark: added unit tests and refactoring * feat: :recycle: fixed UI * feat: :recycle: review changes for dynamic leverage * chore: item name update * feat: :bug: passed string to localize instead of a variable * test: :recycle: * refactor: :recycle: refactored column header to new component * refactor: refactored code * fix: fixed styling and refactored code * style: formatted code * test: updated test mock component * refactor: refactored styling and unit tests * fix: fixed text content for dynamic leverage * fix: fixed localize component usage * refactor: used strong instead of span styling * fix: jurisdiction card layout --------- Co-authored-by: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9924) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9925) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9930) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Ako/remove docker k8s config (#9933) * ci: remove k8s workflow * ci: remove docker build and push workflow * fix: regression bug regarding market offerings (#9936) * FarhanNurzi/WALL-1657/Link the Wallet carousel with real data in Responsive (#9895) * chore: use hook to get wallet list in mobile carousel * chore: add components/index.ts * thisyahlen/refactor: add useAvailableWallets in deriv/api (#9818) * chore: add useAvailableWallets in deriv/api * fix: empty * refactor(api): :recycle: clean-up * fix: latest code for available wallets * fix: rename useGetAccountTypes * fix: comments * chore: split function and refactor * fix: sonarcloud --------- Co-authored-by: Farzin Mirzaie <farzin@deriv.com> * thisyahlen/chore: update ui for wallet header (#9870) * chore: update ui for wallet header * chore: add more styles * chore: add more styles v2 * fix: lint errors * chore: split components * chore: split v2 * chore: split v3 * chore: add svg for header button actions * fix: format balance and css styles * fix: landing company name uppercase * fix: comments * chore: split moreeeee * fix: rename css * fix: lint styles * fix: styles * fix: comments * fix: comments v3 * fix: comments v4 * fix: comments v5 * Hamza/ hotfix: compare account text size difference (#9950) * chore: compare account text size difference * chore: compare account text size difference on mobile * translations: 📚 sync translations with crowdin (#9945) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Mahdiyeh/fix: change market price movements to market movements (#9341) * fix: change market price movements to market movements * fix: resolve issue --------- Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> * fix: cashier page height in iphone (#9779) * shahzaib / KYC-304 / additional kyc questions in the real account creation (#9501) * chore: additional information section for real accounts creation * chore: hide additional details for high risk client * chore: refactor to pass classname conditionally and removed disposable props * chore: removed unused props * chore: renamed className to class_name * chore: update test case for personal-details component * Update packages/account/src/Components/personal-details/__tests__/personal-details.spec.js Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Update onfido-container.scss Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: remove unused imports * chore: update fragment useage * chore: remove high_risk conditiono to hide the additional fields * chore: empty commit * fix(props): removed unused is_high_risk prop * chore: renamed TaxResidentField * chore: update tax residence validation message for TIN number * chore: update config to include additional details if the client is not high risk for mt5 * chore: added test case for high risk condition in personal details config * chore: refactored test case * chore: disble additional information fields if user has already filled the details * feat(hooks): created hooks to get if a user is high risk for MT5 * chore: updated comment for personal details config * fix: remove unused variable * fix(test): update test cases to reflect hook change * test: update test cases to use store provider * chore: removed unused logic from cfd & traders hub store * test: update description * test: mock hook for returned value * fix: TIN validation in personal-details-config * fix: added additional field check for diel accounts --------- Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Rupato/PRODQA-1167/fix: updated error handling for dbot skeleton (#9576) * fix: updated error handling for dbot skeleton * fix: changed method naming * fix: changed comment * fix: changed error config * fix: changed error config * fix: review comments * fix: changed keycode * fix: assigned const * fix: bug fixes * fix: for multipliers block * fix: removed extra space * fix: added parameter * fix: for localize * fix: sentence * fix: updated error messages * fix: removed fallback * fix: removed check for mandatory block * fix: review comments * fix: empty trigger * fix: code refactored and added disabled check * fix: removed key * fix: removed key * fix: changed error message * fix: reverted changes for disabled block and misplaced * fix: removed commented code * fix: review comments * fix: review comments * fix: review comments * chore: updated z-index for language switcher (#9461) * farabi/bot-512/tour content sizing and responsiveness on small screen (#9472) * fix: updated content size according to design * refactor: reverted classname changes * fix: tour is made responsive on smaller screen * Shafin/bot 301/fix preview delete save edit issue (#9549) * chore: investigation on strategy save, edit, delete issue * chore: finalize save-delete-edit issue for preview strategies * fix: don't load if workspace is not present * fix: pass parent element to mutation observer for least computation * fix: issues on quick strategy run * Vinu/bot 92/ticks history refactor (#9547) * fix: ticks_history call outside the run * fix: remove console error and make ticks_history call on load * refactor: remove unecessary code * fix: added condition to make ticks_history call * fix: disable run button untill ticks_history call is received * fix: change trade_type_category,trade_type_category_field in trade_definition_tradetype onchange * fix: fix ticks_history error when market is closed * fix: fix the ticks_history call when bot is terminated * fix: change file accept format (#9812) * fix: change file accept format * fix: update file acceptance for dashboard file input * Hamza/chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added (#9941) * chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added * chore: added comments for explanantion purpose * fix: allow custom variables and function values for limit order (#9490) * chore: fix language not correct when redirect from deriv-com (#9632) * chore: fix language not correct when redirect from deriv-com * chore: fix language redirection from deriv-com * chore: add optional chaining * chore: update code base on comments * Rupato/509/fix--for-blockly-alignment (#9460) * fix: merge latest * fix: trigger circle ci * fix: removed unused icons * fix: reverted icon file changes * fix: reverted icon file changes * Improvement/dbot tutorials (#9896) * Farabi/rupato/bot 313 update tour step (#9885) * fix: updated tour guide * fix: refactor last joyride step and last pop up modal * fix: start for both tours * fix: added check for onboard tour action bar * fix: reverted changes for tour dialog * fix: fixed review comments * fix: added localize component check * fix: for id on localize * fix: for the margin bottom on the last step of joyride * fix: made font size xs for tour * fix: made font size xs for tour --------- Co-authored-by: Rupato Braganza <rupatobraganza@Rupato-Braganzas-Mac-L2R5WHGD9W.local> Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: rupato-deriv <rupato@regentmarkets.com> * Farabi/bot 444/highlight the tutorials tab (#9887) * fix: higlighted tutorials on mobile onboarding and replaced gif with mp4 * fix: changes related to code review * fix: added width for mobile view of tour * fix: width for images and videos * fix: width adjustment on responsive * fix: disabled picture in picture and download for videos * fix: change step 5 video to updated one * fix: fix last step button --------- Co-authored-by: Farabi Chowdhury <farabi@deriv.com> * Sandeep/bot 404/onboarding tour improvements 1 (#9894) * fix: higlighted tutorials on mobile onboarding and replaced gif with mp4 * fix: changes related to code review * fix: added width for mobile view of tour * fix: width for images and videos * fix: width adjustment on responsive * fix: disabled picture in picture and download for videos * fix: change step 5 video to updated one * fix: :pencil: Updated content for bot tutorials * fix: fix last step button * fix: :construction: updated content for start tour dialog --------- Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> * Sandeep/bot 404/onboarding tour improvements 1 (#9982) * fix: higlighted tutorials on mobile onboarding and replaced gif with mp4 * fix: changes related to code review * fix: added width for mobile view of tour * fix: width for images and videos * fix: width adjustment on responsive * fix: disabled picture in picture and download for videos * fix: change step 5 video to updated one * fix: :pencil: Updated content for bot tutorials * fix: fix last step button * fix: :construction: updated content for start tour dialog * henry/webrel-1160/hotfix: space issue dropdown (#9898) * fix: space issue dropdown * fix: resolve comment * fix: comment * Update packages/components/src/components/dropdown/dropdown.scss * fix: empty commit --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * fix: overwritten styles (#9899) * fix: overwritten styles * fix: overwritten styles * Ameerul /WEBREL-1159 Sort by column alignment in P2P Buy/Sell page is off (#9876) * chore: fixed sort dropdown alignment * chore: changed styling for dropdown * george / PRODQA-1316 / Transfer from Tradershub validation (#9908) * fix: :ambulance: fix active container for TH transfer, fix insufficient balance check * test: :bug: fix tests * fix: :ambulance: fix 'Insufficient balance' condition * translations: 📚 sync translations with crowdin (#9912) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9917) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hirad-Hamza-ShonTzu/Feature revamp compare account re-deployment (#9611) * feat: initializing the compare account implementation * feat: icon reusable component v1.0 * feat: icon reusable component v1.1 * feat: icon reusable component v1.1.1 * feat: initialize compare cfd account page (todo:css) * feat: blank compare cfd accounts page & navi done * feat: mobile view * fix: compare-accounts naming convention * fix: updated path import * fix: reverted icons.js changes * fix: compare-cfds -> compare-accounts * feat: reusable component v1.2 * feat: reusable component v1.2.1 * feat: icon reusable component added v1.3 * feat: reusable component for Icons * feat: reusable component for Icons refactor * feat: reusable component for Icons refactor v1.2 * feat: description div added * feat: description with title +icon is added * feat: platform label + icon component padding added * chore: labuan leverage updated * chore: css issue fixed for Cards * feat: carousel added with sorting o f MT5 accounts * feat: carousel arrow background and container added * chore: added dxtrade in the card for dynamic rendering with type fixes * chore: changes in platform label header with respect to props data * chore: icons updated because of white line issue in icons * chore: change the components css name and other naming convention tweaks * refactor: suggestions implemented * refactor: convert carousel button into one * feat: initial commit for starting collaboration * feat: added the button placeholder * feat: added new banner to cfd cards * refactor: make the banner smaller * fix: added condition to show banner for derivez and ctrader only * refactor: changed the types and applied suggestions * refactor: removed the invalide shortcode for dxtrade * refactor: round up patches based on reviews * fix: round up patch 2 based on review * Update packages/cfd/src/Containers/cfd-compare-accounts/cfd-compare-accounts.scss Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * refactor: button width * refactor: button classname * chore: fix css of underline * chore: added redirection to homepage in case of modals * fix: circle ci failed due to wrong type of client function * chore: added the disabled property for the Added accounts * chore: added condition for the dxtrade * chore: rearrange block scoped variables * chore: fix css of labuan tooltip with removal of commented code * chore: responsive view fixes * feat: demo accounts added for low risk * feat: demo accounts label added and swap-free account creation fixed * chore: added derivx account creation flow * refactor: replace ternary operators with if-else * chore: remove unused jurisdiction * feat: demo account compare implemetation tweaks as per design * feat: rectified the Demo title as per design * chore: font weigth of instruments as per design * feat: Eu flow for DIEL * feat: changes in the icons label and correction in EU flow * chore: addded translations demo title and rename baskets * chore: rename icon type * chore: final changes prop drilling instead of observer EU flow finalized * fix: hidding deriv ez * fix: EU flow platform label change * feat: test case for description added * feat: platform label test case added * feat: title icon test case added * feat: title icon test case added * chore: fix test case description + instruments icon test added * refactor: blank spaces removed * chore: cfd-instruments-label test added * chore: test file added cfd-instrument-label * feat: button partial test case added * chore: added more test case for Button component * feat: added test case for compare-account-card * chore: merge conflicts * chore: test for cfd-compare-accounts added * feat: derivX demo * chore: added testcase for dxtrade in button * fix: dxtrade for australian clients * fix: swapfree account creation added * fix: comapre account fixes first round * fix: remove the css because scroll not working * fix: renamed variable + icons * fix: cursor not allowed on instrument icons * fix: fixed the circle ci issue * fix: fixed one of our test issues * refactor: review comments resolved * fix: changing the text of mf accounts to pass the tests * fix: made changes according to suggestions * fix: made changes according to suggestions * fix: fixed the test case issues * chore: added s to spread(s) * chore: fixed capitalization * chore: line split * fix: failing test case * fix: updated markets offerings for MT5 Financial Labuan * fix: Other CFDs --> Other CFDs Platform * fix: removed standard/micro from DerivX Forex label * refactor: optimised code * fix: icon size inconsistencyn mobile VP * refactor: css refactoring to reflect figma as much as possible * refactor: minor css fixes * fix: fixed * style: added bottom padding for mobile * fix: fixed the build issue * chore: re running the tests * fix: subtasks * chore: typo * style: position the tooltip to be center within the card * style: resize width for word-wrap * chore: d and r should be lowercase dispute and resolution * fix: fixing sonar cloud issues * fix: making changes to pass the tests --------- Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * adrienne/chore: added eslint and stylelint for wallets and renamed css variables (#9877) * feat: added stylelint for wallets for bem convention * feat: added stylelint for wallets for bem convention * chore: added import sorts for wallets and bem convention checking * chore: removed unused dependencies in wallets * Arshad/Matin/WALL-1226/Dynamic leverage for MT5 financial accounts (#9314) * chore: Dynamic leverage for MT5 financial accounts initial commit * feat: :construction: dynamic leverage modal * test: unit tests * feat: :white_check_mark: added unit tests and refactoring * feat: :recycle: fixed UI * feat: :recycle: review changes for dynamic leverage * chore: item name update * feat: :bug: passed string to localize instead of a variable * test: :recycle: * refactor: :recycle: refactored column header to new component * refactor: refactored code * fix: fixed styling and refactored code * style: formatted code * test: updated test mock component * refactor: refactored styling and unit tests * fix: fixed text content for dynamic leverage * fix: fixed localize component usage * refactor: used strong instead of span styling * fix: jurisdiction card layout --------- Co-authored-by: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9924) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9925) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9930) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Ako/remove docker k8s config (#9933) * ci: remove k8s workflow * ci: remove docker build and push workflow * fix: regression bug regarding market offerings (#9936) * FarhanNurzi/WALL-1657/Link the Wallet carousel with real data in Responsive (#9895) * chore: use hook to get wallet list in mobile carousel * chore: add components/index.ts * thisyahlen/refactor: add useAvailableWallets in deriv/api (#9818) * chore: add useAvailableWallets in deriv/api * fix: empty * refactor(api): :recycle: clean-up * fix: latest code for available wallets * fix: rename useGetAccountTypes * fix: comments * chore: split function and refactor * fix: sonarcloud --------- Co-authored-by: Farzin Mirzaie <farzin@deriv.com> * thisyahlen/chore: update ui for wallet header (#9870) * chore: update ui for wallet header * chore: add more styles * chore: add more styles v2 * fix: lint errors * chore: split components * chore: split v2 * chore: split v3 * chore: add svg for header button actions * fix: format balance and css styles * fix: landing company name uppercase * fix: comments * chore: split moreeeee * fix: rename css * fix: lint styles * fix: styles * fix: comments * fix: comments v3 * fix: comments v4 * fix: comments v5 * Hamza/ hotfix: compare account text size difference (#9950) * chore: compare account text size difference * chore: compare account text size difference on mobile * translations: 📚 sync translations with crowdin (#9945) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Mahdiyeh/fix: change market price movements to market movements (#9341) * fix: change market price movements to market movements * fix: resolve issue --------- Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> * fix: cashier page height in iphone (#9779) * shahzaib / KYC-304 / additional kyc questions in the real account creation (#9501) * chore: additional information section for real accounts creation * chore: hide additional details for high risk client * chore: refactor to pass classname conditionally and removed disposable props * chore: removed unused props * chore: renamed className to class_name * chore: update test case for personal-details component * Update packages/account/src/Components/personal-details/__tests__/personal-details.spec.js Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Update onfido-container.scss Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: remove unused imports * chore: update fragment useage * chore: remove high_risk conditiono to hide the additional fields * chore: empty commit * fix(props): removed unused is_high_risk prop * chore: renamed TaxResidentField * chore: update tax residence validation message for TIN number * chore: update config to include additional details if the client is not high risk for mt5 * chore: added test case for high risk condition in personal details config * chore: refactored test case * chore: disble additional information fields if user has already filled the details * feat(hooks): created hooks to get if a user is high risk for MT5 * chore: updated comment for personal details config * fix: remove unused variable * fix(test): update test cases to reflect hook change * test: update test cases to use store provider * chore: removed unused logic from cfd & traders hub store * test: update description * test: mock hook for returned value * fix: TIN validation in personal-details-config * fix: added additional field check for diel accounts --------- Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Rupato/PRODQA-1167/fix: updated error handling for dbot skeleton (#9576) * fix: updated error handling for dbot skeleton * fix: changed method naming * fix: changed comment * fix: changed error config * fix: changed error config * fix: review comments * fix: changed keycode * fix: assigned const * fix: bug fixes * fix: for multipliers block * fix: removed extra space * fix: added parameter * fix: for localize * fix: sentence * fix: updated error messages * fix: removed fallback * fix: removed check for mandatory block * fix: review comments * fix: empty trigger * fix: code refactored and added disabled check * fix: removed key * fix: removed key * fix: changed error message * fix: reverted changes for disabled block and misplaced * fix: removed commented code * fix: review comments * fix: review comments * fix: review comments * chore: updated z-index for language switcher (#9461) * farabi/bot-512/tour content sizing and responsiveness on small screen (#9472) * fix: updated content size according to design * refactor: reverted classname changes * fix: tour is made responsive on smaller screen * Shafin/bot 301/fix preview delete save edit issue (#9549) * chore: investigation on strategy save, edit, delete issue * chore: finalize save-delete-edit issue for preview strategies * fix: don't load if workspace is not present * fix: pass parent element to mutation observer for least computation * fix: issues on quick strategy run * Vinu/bot 92/ticks history refactor (#9547) * fix: ticks_history call outside the run * fix: remove console error and make ticks_history call on load * refactor: remove unecessary code * fix: added condition to make ticks_history call * fix: disable run button untill ticks_history call is received * fix: change trade_type_category,trade_type_category_field in trade_definition_tradetype onchange * fix: fix ticks_history error when market is closed * fix: fix the ticks_history call when bot is terminated * fix: change file accept format (#9812) * fix: change file accept format * fix: update file acceptance for dashboard file input * Hamza/chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added (#9941) * chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added * chore: added comments for explanantion purpose * fix: allow custom variables and function values for limit order (#9490) * chore: fix language not correct when redirect from deriv-com (#9632) * chore: fix language not correct when redirect from deriv-com * chore: fix language redirection from deriv-com * chore: add optional chaining * chore: update code base on comments --------- Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Hamid <hamid@regentmarkets.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: George Usynin <103181646+heorhi-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: hirad-deriv <hirad@re-work.dev> Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-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: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com> Co-authored-by: Farhan Ahmad Nurzi <125247833+farhan-nurzi-deriv@users.noreply.github.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <farzin@deriv.com> Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> Co-authored-by: Shahzaib <shahzaib@deriv.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-deriv@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Farabi <102643568+farabi-deriv@users.noreply.github.com> Co-authored-by: Shafin Al Karim <129021108+shafin-deriv@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: prince-deriv <82309725+prince-deriv@users.noreply.github.com> * Resolve conflicts improvement dbot tutorials (#9983) * henry/webrel-1160/hotfix: space issue dropdown (#9898) * fix: space issue dropdown * fix: resolve comment * fix: comment * Update packages/components/src/components/dropdown/dropdown.scss * fix: empty commit --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * fix: overwritten styles (#9899) * fix: overwritten styles * fix: overwritten styles * Ameerul /WEBREL-1159 Sort by column alignment in P2P Buy/Sell page is off (#9876) * chore: fixed sort dropdown alignment * chore: changed styling for dropdown * george / PRODQA-1316 / Transfer from Tradershub validation (#9908) * fix: :ambulance: fix active container for TH transfer, fix insufficient balance check * test: :bug: fix tests * fix: :ambulance: fix 'Insufficient balance' condition * translations: 📚 sync translations with crowdin (#9912) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9917) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hirad-Hamza-ShonTzu/Feature revamp compare account re-deployment (#9611) * feat: initializing the compare account implementation * feat: icon reusable component v1.0 * feat: icon reusable component v1.1 * feat: icon reusable component v1.1.1 * feat: initialize compare cfd account page (todo:css) * feat: blank compare cfd accounts page & navi done * feat: mobile view * fix: compare-accounts naming convention * fix: updated path import * fix: reverted icons.js changes * fix: compare-cfds -> compare-accounts * feat: reusable component v1.2 * feat: reusable component v1.2.1 * feat: icon reusable component added v1.3 * feat: reusable component for Icons * feat: reusable component for Icons refactor * feat: reusable component for Icons refactor v1.2 * feat: description div added * feat: description with title +icon is added * feat: platform label + icon component padding added * chore: labuan leverage updated * chore: css issue fixed for Cards * feat: carousel added with sorting o f MT5 accounts * feat: carousel arrow background and container added * chore: added dxtrade in the card for dynamic rendering with type fixes * chore: changes in platform label header with respect to props data * chore: icons updated because of white line issue in icons * chore: change the components css name and other naming convention tweaks * refactor: suggestions implemented * refactor: convert carousel button into one * feat: initial commit for starting collaboration * feat: added the button placeholder * feat: added new banner to cfd cards * refactor: make the banner smaller * fix: added condition to show banner for derivez and ctrader only * refactor: changed the types and applied suggestions * refactor: removed the invalide shortcode for dxtrade * refactor: round up patches based on reviews * fix: round up patch 2 based on review * Update packages/cfd/src/Containers/cfd-compare-accounts/cfd-compare-accounts.scss Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * refactor: button width * refactor: button classname * chore: fix css of underline * chore: added redirection to homepage in case of modals * fix: circle ci failed due to wrong type of client function * chore: added the disabled property for the Added accounts * chore: added condition for the dxtrade * chore: rearrange block scoped variables * chore: fix css of labuan tooltip with removal of commented code * chore: responsive view fixes * feat: demo accounts added for low risk * feat: demo accounts label added and swap-free account creation fixed * chore: added derivx account creation flow * refactor: replace ternary operators with if-else * chore: remove unused jurisdiction * feat: demo account compare implemetation tweaks as per design * feat: rectified the Demo title as per design * chore: font weigth of instruments as per design * feat: Eu flow for DIEL * feat: changes in the icons label and correction in EU flow * chore: addded translations demo title and rename baskets * chore: rename icon type * chore: final changes prop drilling instead of observer EU flow finalized * fix: hidding deriv ez * fix: EU flow platform label change * feat: test case for description added * feat: platform label test case added * feat: title icon test case added * feat: title icon test case added * chore: fix test case description + instruments icon test added * refactor: blank spaces removed * chore: cfd-instruments-label test added * chore: test file added cfd-instrument-label * feat: button partial test case added * chore: added more test case for Button component * feat: added test case for compare-account-card * chore: merge conflicts * chore: test for cfd-compare-accounts added * feat: derivX demo * chore: added testcase for dxtrade in button * fix: dxtrade for australian clients * fix: swapfree account creation added * fix: comapre account fixes first round * fix: remove the css because scroll not working * fix: renamed variable + icons * fix: cursor not allowed on instrument icons * fix: fixed the circle ci issue * fix: fixed one of our test issues * refactor: review comments resolved * fix: changing the text of mf accounts to pass the tests * fix: made changes according to suggestions * fix: made changes according to suggestions * fix: fixed the test case issues * chore: added s to spread(s) * chore: fixed capitalization * chore: line split * fix: failing test case * fix: updated markets offerings for MT5 Financial Labuan * fix: Other CFDs --> Other CFDs Platform * fix: removed standard/micro from DerivX Forex label * refactor: optimised code * fix: icon size inconsistencyn mobile VP * refactor: css refactoring to reflect figma as much as possible * refactor: minor css fixes * fix: fixed * style: added bottom padding for mobile * fix: fixed the build issue * chore: re running the tests * fix: subtasks * chore: typo * style: position the tooltip to be center within the card * style: resize width for word-wrap * chore: d and r should be lowercase dispute and resolution * fix: fixing sonar cloud issues * fix: making changes to pass the tests --------- Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * adrienne/chore: added eslint and stylelint for wallets and renamed css variables (#9877) * feat: added stylelint for wallets for bem convention * feat: added stylelint for wallets for bem convention * chore: added import sorts for wallets and bem convention checking * chore: removed unused dependencies in wallets * Arshad/Matin/WALL-1226/Dynamic leverage for MT5 financial accounts (#9314) * chore: Dynamic leverage for MT5 financial accounts initial commit * feat: :construction: dynamic leverage modal * test: unit tests * feat: :white_check_mark: added unit tests and refactoring * feat: :recycle: fixed UI * feat: :recycle: review changes for dynamic leverage * chore: item name update * feat: :bug: passed string to localize instead of a variable * test: :recycle: * refactor: :recycle: refactored column header to new component * refactor: refactored code * fix: fixed styling and refactored code * style: formatted code * test: updated test mock component * refactor: refactored styling and unit tests * fix: fixed text content for dynamic leverage * fix: fixed localize component usage * refactor: used strong instead of span styling * fix: jurisdiction card layout --------- Co-authored-by: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9924) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9925) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9930) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Ako/remove docker k8s config (#9933) * ci: remove k8s workflow * ci: remove docker build and push workflow * fix: regression bug regarding market offerings (#9936) * FarhanNurzi/WALL-1657/Link the Wallet carousel with real data in Responsive (#9895) * chore: use hook to get wallet list in mobile carousel * chore: add components/index.ts * thisyahlen/refactor: add useAvailableWallets in deriv/api (#9818) * chore: add useAvailableWallets in deriv/api * fix: empty * refactor(api): :recycle: clean-up * fix: latest code for available wallets * fix: rename useGetAccountTypes * fix: comments * chore: split function and refactor * fix: sonarcloud --------- Co-authored-by: Farzin Mirzaie <farzin@deriv.com> * thisyahlen/chore: update ui for wallet header (#9870) * chore: update ui for wallet header * chore: add more styles * chore: add more styles v2 * fix: lint errors * chore: split components * chore: split v2 * chore: split v3 * chore: add svg for header button actions * fix: format balance and css styles * fix: landing company name uppercase * fix: comments * chore: split moreeeee * fix: rename css * fix: lint styles * fix: styles * fix: comments * fix: comments v3 * fix: comments v4 * fix: comments v5 * Hamza/ hotfix: compare account text size difference (#9950) * chore: compare account text size difference * chore: compare account text size difference on mobile * translations: 📚 sync translations with crowdin (#9945) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Mahdiyeh/fix: change market price movements to market movements (#9341) * fix: change market price movements to market movements * fix: resolve issue --------- Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> * fix: cashier page height in iphone (#9779) * shahzaib / KYC-304 / additional kyc questions in the real account creation (#9501) * chore: additional information section for real accounts creation * chore: hide additional details for high risk client * chore: refactor to pass classname conditionally and removed disposable props * chore: removed unused props * chore: renamed className to class_name * chore: update test case for personal-details component * Update packages/account/src/Components/personal-details/__tests__/personal-details.spec.js Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Update onfido-container.scss Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: remove unused imports * chore: update fragment useage * chore: remove high_risk conditiono to hide the additional fields * chore: empty commit * fix(props): removed unused is_high_risk prop * chore: renamed TaxResidentField * chore: update tax residence validation message for TIN number * chore: update config to include additional details if the client is not high risk for mt5 * chore: added test case for high risk condition in personal details config * chore: refactored test case * chore: disble additional information fields if user has already filled the details * feat(hooks): created hooks to get if a user is high risk for MT5 * chore: updated comment for personal details config * fix: remove unused variable * fix(test): update test cases to reflect hook change * test: update test cases to use store provider * chore: removed unused logic from cfd & traders hub store * test: update description * test: mock hook for returned value * fix: TIN validation in personal-details-config * fix: added additional field check for diel accounts --------- Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Rupato/PRODQA-1167/fix: updated error handling for dbot skeleton (#9576) * fix: updated error handling for dbot skeleton * fix: changed method naming * fix: changed comment * fix: changed error config * fix: changed error config * fix: review comments * fix: changed keycode * fix: assigned const * fix: bug fixes * fix: for multipliers block * fix: removed extra space * fix: added parameter * fix: for localize * fix: sentence * fix: updated error messages * fix: removed fallback * fix: removed check for mandatory block * fix: review comments * fix: empty trigger * fix: code refactored and added disabled check * fix: removed key * fix: removed key * fix: changed error message * fix: reverted changes for disabled block and misplaced * fix: removed commented code * fix: review comments * fix: review comments * fix: review comments * chore: updated z-index for language switcher (#9461) * farabi/bot-512/tour content sizing and responsiveness on small screen (#9472) * fix: updated content size according to design * refactor: reverted classname changes * fix: tour is made responsive on smaller screen * Shafin/bot 301/fix preview delete save edit issue (#9549) * chore: investigation on strategy save, edit, delete issue * chore: finalize save-delete-edit issue for preview strategies * fix: don't load if workspace is not present * fix: pass parent element to mutation observer for least computation * fix: issues on quick strategy run * Vinu/bot 92/ticks history refactor (#9547) * fix: ticks_history call outside the run * fix: remove console error and make ticks_history call on load * refactor: remove unecessary code * fix: added condition to make ticks_history call * fix: disable run button untill ticks_history call is received * fix: change trade_type_category,trade_type_category_field in trade_definition_tradetype onchange * fix: fix ticks_history error when market is closed * fix: fix the ticks_history call when bot is terminated * fix: change file accept format (#9812) * fix: change file accept format * fix: update file acceptance for dashboard file input * Hamza/chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added (#9941) * chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added * chore: added comments for explanantion purpose * fix: allow custom variables and function values for limit order (#9490) * chore: fix language not correct when redirect from deriv-com (#9632) * chore: fix language not correct when redirect from deriv-com * chore: fix language redirection from deriv-com * chore: add optional chaining * chore: update code base on comments --------- Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Hamid <hamid@regentmarkets.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: George Usynin <103181646+heorhi-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: hirad-deriv <hirad@re-work.dev> Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-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: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com> Co-authored-by: Farhan Ahmad Nurzi <125247833+farhan-nurzi-deriv@users.noreply.github.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <farzin@deriv.com> Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> Co-authored-by: Shahzaib <shahzaib@deriv.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-deriv@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Farabi <102643568+farabi-deriv@users.noreply.github.com> Co-authored-by: Shafin Al Karim <129021108+shafin-deriv@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: prince-deriv <82309725+prince-deriv@users.noreply.github.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> * Revert "Resolve conflicts improvement dbot tutorials (#9983)" (#9984) This reverts commit b4c8405ba15c47cf163440f46cd4f5b0abdd050f. * Revert "Sandeep/bot 404/onboarding tour improvements 1 (#9982)" (#9985) This reverts commit d2646639920fd0fe673df36bdb9267d74809d3dd. --------- Co-authored-by: Rupato Braganza <rupatobraganza@Rupato-Braganzas-Mac-L2R5WHGD9W.local> Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: rupato-deriv <rupato@regentmarkets.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Hamid <hamid@regentmarkets.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: George Usynin <103181646+heorhi-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: hirad-deriv <hirad@re-work.dev> Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-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: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com> Co-authored-by: Farhan Ahmad Nurzi <125247833+farhan-nurzi-deriv@users.noreply.github.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <farzin@deriv.com> Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> Co-authored-by: Shahzaib <shahzaib@deriv.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-deriv@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Farabi <102643568+farabi-deriv@users.noreply.github.com> Co-authored-by: Shafin Al Karim <129021108+shafin-deriv@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: prince-deriv <82309725+prince-deriv@users.noreply.github.com> * Kate / WEBREL-477 / TS migration of trader package (#9087) * refactor: ts migration of chart loader * refactor: ts migration of screen large form and started purchase * refactor: add types in store and refcator contract * refactor: ts migaration of purchase field * refactor: ts migration of cancel deal info * refactor: ts migration of the purchase btn * refactor: cancel deal info * refactor: remove simular types * refactor: create file for types * chore: cover return value with react fragment * refactor: apply suggestions * refactor: update imports * refactor: type returned value * refactor: left an explanation of expecting ts error * Akmal / feat: migrate EmptyPortfolioMessage, ErrorComponent and Page404 in Trader package (#5) * feat: migrate Page404 to Typescript * feat: migrate EmptyPortfolioMessage to Typescript * feat: migrate ErrorComponent to Typescript * fix: dialog prop * fix: dialog type * chore: remove React.FC * maryia/WEBREL-321/feat: migrate Actions files to TS (#4) * feat: migrate /contract-type.js to ts & remove barrier.js * feat: migrate duration to ts + remove unused currency.js * feat: migrate actions/purchase to ts * feat: migrate actions/symbol to ts * feat: migrate start-date.js to ts * feat: migrate actions/test.js to ts * chore: improve types in start-date and duration * fix: address review comments * revert: unnecessary line deletion * fix: address reviews * refactor: remove some code smells * refactor: remove code smells * refactor: update types in stores * Akmal / feat: migrate utils in Trader package (#9) * feat: migrate MarketUnderlying to Typescript * feat: migrate errors to Typescript * feat: migrate error spec to Typescript * feat: migrate index to Typescript * feat: migrate validator to Typescript * feat: trigger vercel * chore: sort options alphabetically * fix: TValidationResult type * chore: prettier formatting * refactor: reduce code smells * chore: validator type improvements (#12) * Kate / DTRA-249 / Code refactoring and removing duplicated files (#13) * refactor: remove duplicated file * refactor: test improvements * fix: removed forgotten import * chore: empty commit to retrigger checks * refactor: apply suggestion * maryia/DTRA-260/TS migration of /Constants files & SmartChart/Helpers files in Trader (#6) * feat: validation-rules and ui.js to ts * chore: squash merge maryia/WEBREL-321/actions-to-TS changes * chore: added types to validation-rules.ts * chore: remove unused ui.js, migrate used ui.js and index.js to ts * chore: remove unused ui.js * chore: remove unused markers.js, and migrate barriers.js to ts * chore: added types to barriers.js and its test * test: add missing test for removeBarrier to barriers * Revert "chore: squash merge maryia/WEBREL-321/actions-to-TS changes" * feat: migrated chart-barrier-store.js to ts * feat: remove unused ChartMarkerStore * build: trigger build * fix: address review comments * henry/webrel-319/ts-migration-modules-trading-helpers-folder (#11) * fix: merge conflicts * fix: resolve comments * fix: remove comment * fix: add loadash types dependency * refactor: move error type to common props file * fix: circle CI * fix: resolve comment * fix: bug * fix: convert returntype to use ttradestore * empty commit * fix: type change * fix: resolve comments * fix: comments * maryia/861n17c54/fix: sonarcloud warnings (#14) * fix: sonarcloud warnings * fix: types * fix: resolve conflicts * refactor: apply suggestions * refactor: add last suggestion * refactor: tests * refactor: update function * refactor: add ts migration of exist tests * fix: tests * fix: test case --------- Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> * fix: test case for tour (#9993) * translations: 📚 sync translations with crowdin (#9997) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#10000) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * fix: onboarding tour for mobile (#9994) * translations: 📚 sync translations with crowdin (#10005) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#10014) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hamza/chore: added hook for trading_platform_investor_password_change (#9970) * chore: added hook for trading_platform_investor_password_change * refactor: used mutate function instead of rest params and added the types for request * refactor: added deprecated message added * thisyahlen/chore: add useverifyemail hook to api package (#9986) * chore: add useverifyemail hook to api package * chore: add useverifyemail hook to api package * remove description for mutate * FarhanNurzi | WALL-1648 | Add Responsive/Desktop breakpoints handling (#9867) * chore: added useDevice hooks * chore: added mixins to wallets package * refactor: devices mixin * fix: package-lock.json missing package * chore: add wrapper for mobile and desktop * chore: add ts comment for hook and style change * chore: remove wrappers * FarhanNurzi/P2PS-1398/Symbol for Bank Transfers payment method is incorrect (#9744) * chore: revamping payment_methods implementations * fix: payment method not showing in buy-add * chore: delete unused code and comment * refactor: refactor useP2PAdvertiserPaymentMethods, and other review comments * refactor: hooks, test files, remove unused code blocks * refactor: mutation payload type * fix: review comments * refactor: review comments * fix: review comments * fix: add display_name as dependency in useMemo * fix: error in buy-sell-modal pop up after reloading the window * fix: bug in stacked delete payment method modals * Kyc/wall 1322/revamp poa section (#9623) * feat: :bento: added visual assets * Kyc/wall 1325/revamp poa section (#6) * feat: :sparkles: added new component * feat: :white_check_mark: added testcases * feat: account page revamp, cfd poa remove, account poa reuse * refactor: simplified && condition * chore: modal alignment styles * fix: failing tests * refactor: some ts issues resolve * refactor: poa container TS migration * chore: styles clarifications * refactor: poa form ts migration, code refactor * fix: ts ignore for cfd build * fix: commented code * fix: failing test * chore: code refactoring * chore: recreating PR for kyc-WALL-1322-revamp-poa-section * chore: incorporated review comments * chore: review comments * chore: review comments2 * chore: remove unused variable * chore: cfd-poa testcases * refactor: review comments * chore: review comments * ref: Incorporated review somments * chore: review coment * chore: review comments * chore: review comments addressing * fix: failing test * chore: styles code refactor * chore: spaces fix * refactor: file descriptions map array * chore: review comments * chore: review comments * chore: review comments * chore: compare account flow fix * chore: review comments * chore: review comments * chore: review comments * chore: review comments incorporating * fix: styling discrepancies * fix: back button condition * chore: remove back button * fix: failing test cfd-poa * refactor: localize change to component * refactor: :art: incorporated Localize component * chore: remove unused css and types * chore: wrong description on examples * fix: styles for resubmit message * fix: submitting error poa page * chore: mobing submit error to the top * fix: wrong message after submitting documents * refactor: boolean instead !! * chore: added gif as supported file * fix: failing test * fix: resolve path --------- Co-authored-by: Likhith Kolayari <likhith@regentmarkets.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * feat: mandatory pot upload (#8267) * feat: mandatory pot upload * fix: pr comments updated * fix: wrong error message shown * feat: format amount in pot upload popup * feat: fix issue with modal not closing on order status change * feat: pr comment fix * feat: up…
vinu-deriv
added a commit
that referenced
this pull request
Oct 10, 2023
* updating branch with master (#10070) * henry/webrel-1160/hotfix: space issue dropdown (#9898) * fix: space issue dropdown * fix: resolve comment * fix: comment * Update packages/components/src/components/dropdown/dropdown.scss * fix: empty commit --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * fix: overwritten styles (#9899) * fix: overwritten styles * fix: overwritten styles * Ameerul /WEBREL-1159 Sort by column alignment in P2P Buy/Sell page is off (#9876) * chore: fixed sort dropdown alignment * chore: changed styling for dropdown * george / PRODQA-1316 / Transfer from Tradershub validation (#9908) * fix: :ambulance: fix active container for TH transfer, fix insufficient balance check * test: :bug: fix tests * fix: :ambulance: fix 'Insufficient balance' condition * translations: 📚 sync translations with crowdin (#9912) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9917) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hirad-Hamza-ShonTzu/Feature revamp compare account re-deployment (#9611) * feat: initializing the compare account implementation * feat: icon reusable component v1.0 * feat: icon reusable component v1.1 * feat: icon reusable component v1.1.1 * feat: initialize compare cfd account page (todo:css) * feat: blank compare cfd accounts page & navi done * feat: mobile view * fix: compare-accounts naming convention * fix: updated path import * fix: reverted icons.js changes * fix: compare-cfds -> compare-accounts * feat: reusable component v1.2 * feat: reusable component v1.2.1 * feat: icon reusable component added v1.3 * feat: reusable component for Icons * feat: reusable component for Icons refactor * feat: reusable component for Icons refactor v1.2 * feat: description div added * feat: description with title +icon is added * feat: platform label + icon component padding added * chore: labuan leverage updated * chore: css issue fixed for Cards * feat: carousel added with sorting o f MT5 accounts * feat: carousel arrow background and container added * chore: added dxtrade in the card for dynamic rendering with type fixes * chore: changes in platform label header with respect to props data * chore: icons updated because of white line issue in icons * chore: change the components css name and other naming convention tweaks * refactor: suggestions implemented * refactor: convert carousel button into one * feat: initial commit for starting collaboration * feat: added the button placeholder * feat: added new banner to cfd cards * refactor: make the banner smaller * fix: added condition to show banner for derivez and ctrader only * refactor: changed the types and applied suggestions * refactor: removed the invalide shortcode for dxtrade * refactor: round up patches based on reviews * fix: round up patch 2 based on review * Update packages/cfd/src/Containers/cfd-compare-accounts/cfd-compare-accounts.scss Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * refactor: button width * refactor: button classname * chore: fix css of underline * chore: added redirection to homepage in case of modals * fix: circle ci failed due to wrong type of client function * chore: added the disabled property for the Added accounts * chore: added condition for the dxtrade * chore: rearrange block scoped variables * chore: fix css of labuan tooltip with removal of commented code * chore: responsive view fixes * feat: demo accounts added for low risk * feat: demo accounts label added and swap-free account creation fixed * chore: added derivx account creation flow * refactor: replace ternary operators with if-else * chore: remove unused jurisdiction * feat: demo account compare implemetation tweaks as per design * feat: rectified the Demo title as per design * chore: font weigth of instruments as per design * feat: Eu flow for DIEL * feat: changes in the icons label and correction in EU flow * chore: addded translations demo title and rename baskets * chore: rename icon type * chore: final changes prop drilling instead of observer EU flow finalized * fix: hidding deriv ez * fix: EU flow platform label change * feat: test case for description added * feat: platform label test case added * feat: title icon test case added * feat: title icon test case added * chore: fix test case description + instruments icon test added * refactor: blank spaces removed * chore: cfd-instruments-label test added * chore: test file added cfd-instrument-label * feat: button partial test case added * chore: added more test case for Button component * feat: added test case for compare-account-card * chore: merge conflicts * chore: test for cfd-compare-accounts added * feat: derivX demo * chore: added testcase for dxtrade in button * fix: dxtrade for australian clients * fix: swapfree account creation added * fix: comapre account fixes first round * fix: remove the css because scroll not working * fix: renamed variable + icons * fix: cursor not allowed on instrument icons * fix: fixed the circle ci issue * fix: fixed one of our test issues * refactor: review comments resolved * fix: changing the text of mf accounts to pass the tests * fix: made changes according to suggestions * fix: made changes according to suggestions * fix: fixed the test case issues * chore: added s to spread(s) * chore: fixed capitalization * chore: line split * fix: failing test case * fix: updated markets offerings for MT5 Financial Labuan * fix: Other CFDs --> Other CFDs Platform * fix: removed standard/micro from DerivX Forex label * refactor: optimised code * fix: icon size inconsistencyn mobile VP * refactor: css refactoring to reflect figma as much as possible * refactor: minor css fixes * fix: fixed * style: added bottom padding for mobile * fix: fixed the build issue * chore: re running the tests * fix: subtasks * chore: typo * style: position the tooltip to be center within the card * style: resize width for word-wrap * chore: d and r should be lowercase dispute and resolution * fix: fixing sonar cloud issues * fix: making changes to pass the tests --------- Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * adrienne/chore: added eslint and stylelint for wallets and renamed css variables (#9877) * feat: added stylelint for wallets for bem convention * feat: added stylelint for wallets for bem convention * chore: added import sorts for wallets and bem convention checking * chore: removed unused dependencies in wallets * Arshad/Matin/WALL-1226/Dynamic leverage for MT5 financial accounts (#9314) * chore: Dynamic leverage for MT5 financial accounts initial commit * feat: :construction: dynamic leverage modal * test: unit tests * feat: :white_check_mark: added unit tests and refactoring * feat: :recycle: fixed UI * feat: :recycle: review changes for dynamic leverage * chore: item name update * feat: :bug: passed string to localize instead of a variable * test: :recycle: * refactor: :recycle: refactored column header to new component * refactor: refactored code * fix: fixed styling and refactored code * style: formatted code * test: updated test mock component * refactor: refactored styling and unit tests * fix: fixed text content for dynamic leverage * fix: fixed localize component usage * refactor: used strong instead of span styling * fix: jurisdiction card layout --------- Co-authored-by: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9924) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9925) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9930) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Ako/remove docker k8s config (#9933) * ci: remove k8s workflow * ci: remove docker build and push workflow * fix: regression bug regarding market offerings (#9936) * FarhanNurzi/WALL-1657/Link the Wallet carousel with real data in Responsive (#9895) * chore: use hook to get wallet list in mobile carousel * chore: add components/index.ts * thisyahlen/refactor: add useAvailableWallets in deriv/api (#9818) * chore: add useAvailableWallets in deriv/api * fix: empty * refactor(api): :recycle: clean-up * fix: latest code for available wallets * fix: rename useGetAccountTypes * fix: comments * chore: split function and refactor * fix: sonarcloud --------- Co-authored-by: Farzin Mirzaie <farzin@deriv.com> * thisyahlen/chore: update ui for wallet header (#9870) * chore: update ui for wallet header * chore: add more styles * chore: add more styles v2 * fix: lint errors * chore: split components * chore: split v2 * chore: split v3 * chore: add svg for header button actions * fix: format balance and css styles * fix: landing company name uppercase * fix: comments * chore: split moreeeee * fix: rename css * fix: lint styles * fix: styles * fix: comments * fix: comments v3 * fix: comments v4 * fix: comments v5 * Hamza/ hotfix: compare account text size difference (#9950) * chore: compare account text size difference * chore: compare account text size difference on mobile * translations: 📚 sync translations with crowdin (#9945) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Mahdiyeh/fix: change market price movements to market movements (#9341) * fix: change market price movements to market movements * fix: resolve issue --------- Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> * fix: cashier page height in iphone (#9779) * shahzaib / KYC-304 / additional kyc questions in the real account creation (#9501) * chore: additional information section for real accounts creation * chore: hide additional details for high risk client * chore: refactor to pass classname conditionally and removed disposable props * chore: removed unused props * chore: renamed className to class_name * chore: update test case for personal-details component * Update packages/account/src/Components/personal-details/__tests__/personal-details.spec.js Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Update onfido-container.scss Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: remove unused imports * chore: update fragment useage * chore: remove high_risk conditiono to hide the additional fields * chore: empty commit * fix(props): removed unused is_high_risk prop * chore: renamed TaxResidentField * chore: update tax residence validation message for TIN number * chore: update config to include additional details if the client is not high risk for mt5 * chore: added test case for high risk condition in personal details config * chore: refactored test case * chore: disble additional information fields if user has already filled the details * feat(hooks): created hooks to get if a user is high risk for MT5 * chore: updated comment for personal details config * fix: remove unused variable * fix(test): update test cases to reflect hook change * test: update test cases to use store provider * chore: removed unused logic from cfd & traders hub store * test: update description * test: mock hook for returned value * fix: TIN validation in personal-details-config * fix: added additional field check for diel accounts --------- Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Rupato/PRODQA-1167/fix: updated error handling for dbot skeleton (#9576) * fix: updated error handling for dbot skeleton * fix: changed method naming * fix: changed comment * fix: changed error config * fix: changed error config * fix: review comments * fix: changed keycode * fix: assigned const * fix: bug fixes * fix: for multipliers block * fix: removed extra space * fix: added parameter * fix: for localize * fix: sentence * fix: updated error messages * fix: removed fallback * fix: removed check for mandatory block * fix: review comments * fix: empty trigger * fix: code refactored and added disabled check * fix: removed key * fix: removed key * fix: changed error message * fix: reverted changes for disabled block and misplaced * fix: removed commented code * fix: review comments * fix: review comments * fix: review comments * chore: updated z-index for language switcher (#9461) * farabi/bot-512/tour content sizing and responsiveness on small screen (#9472) * fix: updated content size according to design * refactor: reverted classname changes * fix: tour is made responsive on smaller screen * Shafin/bot 301/fix preview delete save edit issue (#9549) * chore: investigation on strategy save, edit, delete issue * chore: finalize save-delete-edit issue for preview strategies * fix: don't load if workspace is not present * fix: pass parent element to mutation observer for least computation * fix: issues on quick strategy run * Vinu/bot 92/ticks history refactor (#9547) * fix: ticks_history call outside the run * fix: remove console error and make ticks_history call on load * refactor: remove unecessary code * fix: added condition to make ticks_history call * fix: disable run button untill ticks_history call is received * fix: change trade_type_category,trade_type_category_field in trade_definition_tradetype onchange * fix: fix ticks_history error when market is closed * fix: fix the ticks_history call when bot is terminated * fix: change file accept format (#9812) * fix: change file accept format * fix: update file acceptance for dashboard file input * Hamza/chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added (#9941) * chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added * chore: added comments for explanantion purpose * fix: allow custom variables and function values for limit order (#9490) * chore: fix language not correct when redirect from deriv-com (#9632) * chore: fix language not correct when redirect from deriv-com * chore: fix language redirection from deriv-com * chore: add optional chaining * chore: update code base on comments * Rupato/509/fix--for-blockly-alignment (#9460) * fix: merge latest * fix: trigger circle ci * fix: removed unused icons * fix: reverted icon file changes * fix: reverted icon file changes * Improvement/dbot tutorials (#9896) * Farabi/rupato/bot 313 update tour step (#9885) * fix: updated tour guide * fix: refactor last joyride step and last pop up modal * fix: start for both tours * fix: added check for onboard tour action bar * fix: reverted changes for tour dialog * fix: fixed review comments * fix: added localize component check * fix: for id on localize * fix: for the margin bottom on the last step of joyride * fix: made font size xs for tour * fix: made font size xs for tour --------- Co-authored-by: Rupato Braganza <rupatobraganza@Rupato-Braganzas-Mac-L2R5WHGD9W.local> Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: rupato-deriv <rupato@regentmarkets.com> * Farabi/bot 444/highlight the tutorials tab (#9887) * fix: higlighted tutorials on mobile onboarding and replaced gif with mp4 * fix: changes related to code review * fix: added width for mobile view of tour * fix: width for images and videos * fix: width adjustment on responsive * fix: disabled picture in picture and download for videos * fix: change step 5 video to updated one * fix: fix last step button --------- Co-authored-by: Farabi Chowdhury <farabi@deriv.com> * Sandeep/bot 404/onboarding tour improvements 1 (#9894) * fix: higlighted tutorials on mobile onboarding and replaced gif with mp4 * fix: changes related to code review * fix: added width for mobile view of tour * fix: width for images and videos * fix: width adjustment on responsive * fix: disabled picture in picture and download for videos * fix: change step 5 video to updated one * fix: :pencil: Updated content for bot tutorials * fix: fix last step button * fix: :construction: updated content for start tour dialog --------- Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> * Sandeep/bot 404/onboarding tour improvements 1 (#9982) * fix: higlighted tutorials on mobile onboarding and replaced gif with mp4 * fix: changes related to code review * fix: added width for mobile view of tour * fix: width for images and videos * fix: width adjustment on responsive * fix: disabled picture in picture and download for videos * fix: change step 5 video to updated one * fix: :pencil: Updated content for bot tutorials * fix: fix last step button * fix: :construction: updated content for start tour dialog * henry/webrel-1160/hotfix: space issue dropdown (#9898) * fix: space issue dropdown * fix: resolve comment * fix: comment * Update packages/components/src/components/dropdown/dropdown.scss * fix: empty commit --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * fix: overwritten styles (#9899) * fix: overwritten styles * fix: overwritten styles * Ameerul /WEBREL-1159 Sort by column alignment in P2P Buy/Sell page is off (#9876) * chore: fixed sort dropdown alignment * chore: changed styling for dropdown * george / PRODQA-1316 / Transfer from Tradershub validation (#9908) * fix: :ambulance: fix active container for TH transfer, fix insufficient balance check * test: :bug: fix tests * fix: :ambulance: fix 'Insufficient balance' condition * translations: 📚 sync translations with crowdin (#9912) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9917) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hirad-Hamza-ShonTzu/Feature revamp compare account re-deployment (#9611) * feat: initializing the compare account implementation * feat: icon reusable component v1.0 * feat: icon reusable component v1.1 * feat: icon reusable component v1.1.1 * feat: initialize compare cfd account page (todo:css) * feat: blank compare cfd accounts page & navi done * feat: mobile view * fix: compare-accounts naming convention * fix: updated path import * fix: reverted icons.js changes * fix: compare-cfds -> compare-accounts * feat: reusable component v1.2 * feat: reusable component v1.2.1 * feat: icon reusable component added v1.3 * feat: reusable component for Icons * feat: reusable component for Icons refactor * feat: reusable component for Icons refactor v1.2 * feat: description div added * feat: description with title +icon is added * feat: platform label + icon component padding added * chore: labuan leverage updated * chore: css issue fixed for Cards * feat: carousel added with sorting o f MT5 accounts * feat: carousel arrow background and container added * chore: added dxtrade in the card for dynamic rendering with type fixes * chore: changes in platform label header with respect to props data * chore: icons updated because of white line issue in icons * chore: change the components css name and other naming convention tweaks * refactor: suggestions implemented * refactor: convert carousel button into one * feat: initial commit for starting collaboration * feat: added the button placeholder * feat: added new banner to cfd cards * refactor: make the banner smaller * fix: added condition to show banner for derivez and ctrader only * refactor: changed the types and applied suggestions * refactor: removed the invalide shortcode for dxtrade * refactor: round up patches based on reviews * fix: round up patch 2 based on review * Update packages/cfd/src/Containers/cfd-compare-accounts/cfd-compare-accounts.scss Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * refactor: button width * refactor: button classname * chore: fix css of underline * chore: added redirection to homepage in case of modals * fix: circle ci failed due to wrong type of client function * chore: added the disabled property for the Added accounts * chore: added condition for the dxtrade * chore: rearrange block scoped variables * chore: fix css of labuan tooltip with removal of commented code * chore: responsive view fixes * feat: demo accounts added for low risk * feat: demo accounts label added and swap-free account creation fixed * chore: added derivx account creation flow * refactor: replace ternary operators with if-else * chore: remove unused jurisdiction * feat: demo account compare implemetation tweaks as per design * feat: rectified the Demo title as per design * chore: font weigth of instruments as per design * feat: Eu flow for DIEL * feat: changes in the icons label and correction in EU flow * chore: addded translations demo title and rename baskets * chore: rename icon type * chore: final changes prop drilling instead of observer EU flow finalized * fix: hidding deriv ez * fix: EU flow platform label change * feat: test case for description added * feat: platform label test case added * feat: title icon test case added * feat: title icon test case added * chore: fix test case description + instruments icon test added * refactor: blank spaces removed * chore: cfd-instruments-label test added * chore: test file added cfd-instrument-label * feat: button partial test case added * chore: added more test case for Button component * feat: added test case for compare-account-card * chore: merge conflicts * chore: test for cfd-compare-accounts added * feat: derivX demo * chore: added testcase for dxtrade in button * fix: dxtrade for australian clients * fix: swapfree account creation added * fix: comapre account fixes first round * fix: remove the css because scroll not working * fix: renamed variable + icons * fix: cursor not allowed on instrument icons * fix: fixed the circle ci issue * fix: fixed one of our test issues * refactor: review comments resolved * fix: changing the text of mf accounts to pass the tests * fix: made changes according to suggestions * fix: made changes according to suggestions * fix: fixed the test case issues * chore: added s to spread(s) * chore: fixed capitalization * chore: line split * fix: failing test case * fix: updated markets offerings for MT5 Financial Labuan * fix: Other CFDs --> Other CFDs Platform * fix: removed standard/micro from DerivX Forex label * refactor: optimised code * fix: icon size inconsistencyn mobile VP * refactor: css refactoring to reflect figma as much as possible * refactor: minor css fixes * fix: fixed * style: added bottom padding for mobile * fix: fixed the build issue * chore: re running the tests * fix: subtasks * chore: typo * style: position the tooltip to be center within the card * style: resize width for word-wrap * chore: d and r should be lowercase dispute and resolution * fix: fixing sonar cloud issues * fix: making changes to pass the tests --------- Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * adrienne/chore: added eslint and stylelint for wallets and renamed css variables (#9877) * feat: added stylelint for wallets for bem convention * feat: added stylelint for wallets for bem convention * chore: added import sorts for wallets and bem convention checking * chore: removed unused dependencies in wallets * Arshad/Matin/WALL-1226/Dynamic leverage for MT5 financial accounts (#9314) * chore: Dynamic leverage for MT5 financial accounts initial commit * feat: :construction: dynamic leverage modal * test: unit tests * feat: :white_check_mark: added unit tests and refactoring * feat: :recycle: fixed UI * feat: :recycle: review changes for dynamic leverage * chore: item name update * feat: :bug: passed string to localize instead of a variable * test: :recycle: * refactor: :recycle: refactored column header to new component * refactor: refactored code * fix: fixed styling and refactored code * style: formatted code * test: updated test mock component * refactor: refactored styling and unit tests * fix: fixed text content for dynamic leverage * fix: fixed localize component usage * refactor: used strong instead of span styling * fix: jurisdiction card layout --------- Co-authored-by: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9924) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9925) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9930) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Ako/remove docker k8s config (#9933) * ci: remove k8s workflow * ci: remove docker build and push workflow * fix: regression bug regarding market offerings (#9936) * FarhanNurzi/WALL-1657/Link the Wallet carousel with real data in Responsive (#9895) * chore: use hook to get wallet list in mobile carousel * chore: add components/index.ts * thisyahlen/refactor: add useAvailableWallets in deriv/api (#9818) * chore: add useAvailableWallets in deriv/api * fix: empty * refactor(api): :recycle: clean-up * fix: latest code for available wallets * fix: rename useGetAccountTypes * fix: comments * chore: split function and refactor * fix: sonarcloud --------- Co-authored-by: Farzin Mirzaie <farzin@deriv.com> * thisyahlen/chore: update ui for wallet header (#9870) * chore: update ui for wallet header * chore: add more styles * chore: add more styles v2 * fix: lint errors * chore: split components * chore: split v2 * chore: split v3 * chore: add svg for header button actions * fix: format balance and css styles * fix: landing company name uppercase * fix: comments * chore: split moreeeee * fix: rename css * fix: lint styles * fix: styles * fix: comments * fix: comments v3 * fix: comments v4 * fix: comments v5 * Hamza/ hotfix: compare account text size difference (#9950) * chore: compare account text size difference * chore: compare account text size difference on mobile * translations: 📚 sync translations with crowdin (#9945) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Mahdiyeh/fix: change market price movements to market movements (#9341) * fix: change market price movements to market movements * fix: resolve issue --------- Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> * fix: cashier page height in iphone (#9779) * shahzaib / KYC-304 / additional kyc questions in the real account creation (#9501) * chore: additional information section for real accounts creation * chore: hide additional details for high risk client * chore: refactor to pass classname conditionally and removed disposable props * chore: removed unused props * chore: renamed className to class_name * chore: update test case for personal-details component * Update packages/account/src/Components/personal-details/__tests__/personal-details.spec.js Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Update onfido-container.scss Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: remove unused imports * chore: update fragment useage * chore: remove high_risk conditiono to hide the additional fields * chore: empty commit * fix(props): removed unused is_high_risk prop * chore: renamed TaxResidentField * chore: update tax residence validation message for TIN number * chore: update config to include additional details if the client is not high risk for mt5 * chore: added test case for high risk condition in personal details config * chore: refactored test case * chore: disble additional information fields if user has already filled the details * feat(hooks): created hooks to get if a user is high risk for MT5 * chore: updated comment for personal details config * fix: remove unused variable * fix(test): update test cases to reflect hook change * test: update test cases to use store provider * chore: removed unused logic from cfd & traders hub store * test: update description * test: mock hook for returned value * fix: TIN validation in personal-details-config * fix: added additional field check for diel accounts --------- Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Rupato/PRODQA-1167/fix: updated error handling for dbot skeleton (#9576) * fix: updated error handling for dbot skeleton * fix: changed method naming * fix: changed comment * fix: changed error config * fix: changed error config * fix: review comments * fix: changed keycode * fix: assigned const * fix: bug fixes * fix: for multipliers block * fix: removed extra space * fix: added parameter * fix: for localize * fix: sentence * fix: updated error messages * fix: removed fallback * fix: removed check for mandatory block * fix: review comments * fix: empty trigger * fix: code refactored and added disabled check * fix: removed key * fix: removed key * fix: changed error message * fix: reverted changes for disabled block and misplaced * fix: removed commented code * fix: review comments * fix: review comments * fix: review comments * chore: updated z-index for language switcher (#9461) * farabi/bot-512/tour content sizing and responsiveness on small screen (#9472) * fix: updated content size according to design * refactor: reverted classname changes * fix: tour is made responsive on smaller screen * Shafin/bot 301/fix preview delete save edit issue (#9549) * chore: investigation on strategy save, edit, delete issue * chore: finalize save-delete-edit issue for preview strategies * fix: don't load if workspace is not present * fix: pass parent element to mutation observer for least computation * fix: issues on quick strategy run * Vinu/bot 92/ticks history refactor (#9547) * fix: ticks_history call outside the run * fix: remove console error and make ticks_history call on load * refactor: remove unecessary code * fix: added condition to make ticks_history call * fix: disable run button untill ticks_history call is received * fix: change trade_type_category,trade_type_category_field in trade_definition_tradetype onchange * fix: fix ticks_history error when market is closed * fix: fix the ticks_history call when bot is terminated * fix: change file accept format (#9812) * fix: change file accept format * fix: update file acceptance for dashboard file input * Hamza/chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added (#9941) * chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added * chore: added comments for explanantion purpose * fix: allow custom variables and function values for limit order (#9490) * chore: fix language not correct when redirect from deriv-com (#9632) * chore: fix language not correct when redirect from deriv-com * chore: fix language redirection from deriv-com * chore: add optional chaining * chore: update code base on comments --------- Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Hamid <hamid@regentmarkets.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: George Usynin <103181646+heorhi-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: hirad-deriv <hirad@re-work.dev> Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-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: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com> Co-authored-by: Farhan Ahmad Nurzi <125247833+farhan-nurzi-deriv@users.noreply.github.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <farzin@deriv.com> Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> Co-authored-by: Shahzaib <shahzaib@deriv.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-deriv@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Farabi <102643568+farabi-deriv@users.noreply.github.com> Co-authored-by: Shafin Al Karim <129021108+shafin-deriv@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: prince-deriv <82309725+prince-deriv@users.noreply.github.com> * Resolve conflicts improvement dbot tutorials (#9983) * henry/webrel-1160/hotfix: space issue dropdown (#9898) * fix: space issue dropdown * fix: resolve comment * fix: comment * Update packages/components/src/components/dropdown/dropdown.scss * fix: empty commit --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * fix: overwritten styles (#9899) * fix: overwritten styles * fix: overwritten styles * Ameerul /WEBREL-1159 Sort by column alignment in P2P Buy/Sell page is off (#9876) * chore: fixed sort dropdown alignment * chore: changed styling for dropdown * george / PRODQA-1316 / Transfer from Tradershub validation (#9908) * fix: :ambulance: fix active container for TH transfer, fix insufficient balance check * test: :bug: fix tests * fix: :ambulance: fix 'Insufficient balance' condition * translations: 📚 sync translations with crowdin (#9912) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9917) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hirad-Hamza-ShonTzu/Feature revamp compare account re-deployment (#9611) * feat: initializing the compare account implementation * feat: icon reusable component v1.0 * feat: icon reusable component v1.1 * feat: icon reusable component v1.1.1 * feat: initialize compare cfd account page (todo:css) * feat: blank compare cfd accounts page & navi done * feat: mobile view * fix: compare-accounts naming convention * fix: updated path import * fix: reverted icons.js changes * fix: compare-cfds -> compare-accounts * feat: reusable component v1.2 * feat: reusable component v1.2.1 * feat: icon reusable component added v1.3 * feat: reusable component for Icons * feat: reusable component for Icons refactor * feat: reusable component for Icons refactor v1.2 * feat: description div added * feat: description with title +icon is added * feat: platform label + icon component padding added * chore: labuan leverage updated * chore: css issue fixed for Cards * feat: carousel added with sorting o f MT5 accounts * feat: carousel arrow background and container added * chore: added dxtrade in the card for dynamic rendering with type fixes * chore: changes in platform label header with respect to props data * chore: icons updated because of white line issue in icons * chore: change the components css name and other naming convention tweaks * refactor: suggestions implemented * refactor: convert carousel button into one * feat: initial commit for starting collaboration * feat: added the button placeholder * feat: added new banner to cfd cards * refactor: make the banner smaller * fix: added condition to show banner for derivez and ctrader only * refactor: changed the types and applied suggestions * refactor: removed the invalide shortcode for dxtrade * refactor: round up patches based on reviews * fix: round up patch 2 based on review * Update packages/cfd/src/Containers/cfd-compare-accounts/cfd-compare-accounts.scss Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * refactor: button width * refactor: button classname * chore: fix css of underline * chore: added redirection to homepage in case of modals * fix: circle ci failed due to wrong type of client function * chore: added the disabled property for the Added accounts * chore: added condition for the dxtrade * chore: rearrange block scoped variables * chore: fix css of labuan tooltip with removal of commented code * chore: responsive view fixes * feat: demo accounts added for low risk * feat: demo accounts label added and swap-free account creation fixed * chore: added derivx account creation flow * refactor: replace ternary operators with if-else * chore: remove unused jurisdiction * feat: demo account compare implemetation tweaks as per design * feat: rectified the Demo title as per design * chore: font weigth of instruments as per design * feat: Eu flow for DIEL * feat: changes in the icons label and correction in EU flow * chore: addded translations demo title and rename baskets * chore: rename icon type * chore: final changes prop drilling instead of observer EU flow finalized * fix: hidding deriv ez * fix: EU flow platform label change * feat: test case for description added * feat: platform label test case added * feat: title icon test case added * feat: title icon test case added * chore: fix test case description + instruments icon test added * refactor: blank spaces removed * chore: cfd-instruments-label test added * chore: test file added cfd-instrument-label * feat: button partial test case added * chore: added more test case for Button component * feat: added test case for compare-account-card * chore: merge conflicts * chore: test for cfd-compare-accounts added * feat: derivX demo * chore: added testcase for dxtrade in button * fix: dxtrade for australian clients * fix: swapfree account creation added * fix: comapre account fixes first round * fix: remove the css because scroll not working * fix: renamed variable + icons * fix: cursor not allowed on instrument icons * fix: fixed the circle ci issue * fix: fixed one of our test issues * refactor: review comments resolved * fix: changing the text of mf accounts to pass the tests * fix: made changes according to suggestions * fix: made changes according to suggestions * fix: fixed the test case issues * chore: added s to spread(s) * chore: fixed capitalization * chore: line split * fix: failing test case * fix: updated markets offerings for MT5 Financial Labuan * fix: Other CFDs --> Other CFDs Platform * fix: removed standard/micro from DerivX Forex label * refactor: optimised code * fix: icon size inconsistencyn mobile VP * refactor: css refactoring to reflect figma as much as possible * refactor: minor css fixes * fix: fixed * style: added bottom padding for mobile * fix: fixed the build issue * chore: re running the tests * fix: subtasks * chore: typo * style: position the tooltip to be center within the card * style: resize width for word-wrap * chore: d and r should be lowercase dispute and resolution * fix: fixing sonar cloud issues * fix: making changes to pass the tests --------- Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * adrienne/chore: added eslint and stylelint for wallets and renamed css variables (#9877) * feat: added stylelint for wallets for bem convention * feat: added stylelint for wallets for bem convention * chore: added import sorts for wallets and bem convention checking * chore: removed unused dependencies in wallets * Arshad/Matin/WALL-1226/Dynamic leverage for MT5 financial accounts (#9314) * chore: Dynamic leverage for MT5 financial accounts initial commit * feat: :construction: dynamic leverage modal * test: unit tests * feat: :white_check_mark: added unit tests and refactoring * feat: :recycle: fixed UI * feat: :recycle: review changes for dynamic leverage * chore: item name update * feat: :bug: passed string to localize instead of a variable * test: :recycle: * refactor: :recycle: refactored column header to new component * refactor: refactored code * fix: fixed styling and refactored code * style: formatted code * test: updated test mock component * refactor: refactored styling and unit tests * fix: fixed text content for dynamic leverage * fix: fixed localize component usage * refactor: used strong instead of span styling * fix: jurisdiction card layout --------- Co-authored-by: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9924) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9925) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9930) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Ako/remove docker k8s config (#9933) * ci: remove k8s workflow * ci: remove docker build and push workflow * fix: regression bug regarding market offerings (#9936) * FarhanNurzi/WALL-1657/Link the Wallet carousel with real data in Responsive (#9895) * chore: use hook to get wallet list in mobile carousel * chore: add components/index.ts * thisyahlen/refactor: add useAvailableWallets in deriv/api (#9818) * chore: add useAvailableWallets in deriv/api * fix: empty * refactor(api): :recycle: clean-up * fix: latest code for available wallets * fix: rename useGetAccountTypes * fix: comments * chore: split function and refactor * fix: sonarcloud --------- Co-authored-by: Farzin Mirzaie <farzin@deriv.com> * thisyahlen/chore: update ui for wallet header (#9870) * chore: update ui for wallet header * chore: add more styles * chore: add more styles v2 * fix: lint errors * chore: split components * chore: split v2 * chore: split v3 * chore: add svg for header button actions * fix: format balance and css styles * fix: landing company name uppercase * fix: comments * chore: split moreeeee * fix: rename css * fix: lint styles * fix: styles * fix: comments * fix: comments v3 * fix: comments v4 * fix: comments v5 * Hamza/ hotfix: compare account text size difference (#9950) * chore: compare account text size difference * chore: compare account text size difference on mobile * translations: 📚 sync translations with crowdin (#9945) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Mahdiyeh/fix: change market price movements to market movements (#9341) * fix: change market price movements to market movements * fix: resolve issue --------- Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> * fix: cashier page height in iphone (#9779) * shahzaib / KYC-304 / additional kyc questions in the real account creation (#9501) * chore: additional information section for real accounts creation * chore: hide additional details for high risk client * chore: refactor to pass classname conditionally and removed disposable props * chore: removed unused props * chore: renamed className to class_name * chore: update test case for personal-details component * Update packages/account/src/Components/personal-details/__tests__/personal-details.spec.js Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Update onfido-container.scss Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: remove unused imports * chore: update fragment useage * chore: remove high_risk conditiono to hide the additional fields * chore: empty commit * fix(props): removed unused is_high_risk prop * chore: renamed TaxResidentField * chore: update tax residence validation message for TIN number * chore: update config to include additional details if the client is not high risk for mt5 * chore: added test case for high risk condition in personal details config * chore: refactored test case * chore: disble additional information fields if user has already filled the details * feat(hooks): created hooks to get if a user is high risk for MT5 * chore: updated comment for personal details config * fix: remove unused variable * fix(test): update test cases to reflect hook change * test: update test cases to use store provider * chore: removed unused logic from cfd & traders hub store * test: update description * test: mock hook for returned value * fix: TIN validation in personal-details-config * fix: added additional field check for diel accounts --------- Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Rupato/PRODQA-1167/fix: updated error handling for dbot skeleton (#9576) * fix: updated error handling for dbot skeleton * fix: changed method naming * fix: changed comment * fix: changed error config * fix: changed error config * fix: review comments * fix: changed keycode * fix: assigned const * fix: bug fixes * fix: for multipliers block * fix: removed extra space * fix: added parameter * fix: for localize * fix: sentence * fix: updated error messages * fix: removed fallback * fix: removed check for mandatory block * fix: review comments * fix: empty trigger * fix: code refactored and added disabled check * fix: removed key * fix: removed key * fix: changed error message * fix: reverted changes for disabled block and misplaced * fix: removed commented code * fix: review comments * fix: review comments * fix: review comments * chore: updated z-index for language switcher (#9461) * farabi/bot-512/tour content sizing and responsiveness on small screen (#9472) * fix: updated content size according to design * refactor: reverted classname changes * fix: tour is made responsive on smaller screen * Shafin/bot 301/fix preview delete save edit issue (#9549) * chore: investigation on strategy save, edit, delete issue * chore: finalize save-delete-edit issue for preview strategies * fix: don't load if workspace is not present * fix: pass parent element to mutation observer for least computation * fix: issues on quick strategy run * Vinu/bot 92/ticks history refactor (#9547) * fix: ticks_history call outside the run * fix: remove console error and make ticks_history call on load * refactor: remove unecessary code * fix: added condition to make ticks_history call * fix: disable run button untill ticks_history call is received * fix: change trade_type_category,trade_type_category_field in trade_definition_tradetype onchange * fix: fix ticks_history error when market is closed * fix: fix the ticks_history call when bot is terminated * fix: change file accept format (#9812) * fix: change file accept format * fix: update file acceptance for dashboard file input * Hamza/chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added (#9941) * chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added * chore: added comments for explanantion purpose * fix: allow custom variables and function values for limit order (#9490) * chore: fix language not correct when redirect from deriv-com (#9632) * chore: fix language not correct when redirect from deriv-com * chore: fix language redirection from deriv-com * chore: add optional chaining * chore: update code base on comments --------- Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Hamid <hamid@regentmarkets.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: George Usynin <103181646+heorhi-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: hirad-deriv <hirad@re-work.dev> Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-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: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com> Co-authored-by: Farhan Ahmad Nurzi <125247833+farhan-nurzi-deriv@users.noreply.github.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <farzin@deriv.com> Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> Co-authored-by: Shahzaib <shahzaib@deriv.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-deriv@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Farabi <102643568+farabi-deriv@users.noreply.github.com> Co-authored-by: Shafin Al Karim <129021108+shafin-deriv@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: prince-deriv <82309725+prince-deriv@users.noreply.github.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> * Revert "Resolve conflicts improvement dbot tutorials (#9983)" (#9984) This reverts commit b4c8405ba15c47cf163440f46cd4f5b0abdd050f. * Revert "Sandeep/bot 404/onboarding tour improvements 1 (#9982)" (#9985) This reverts commit d2646639920fd0fe673df36bdb9267d74809d3dd. --------- Co-authored-by: Rupato Braganza <rupatobraganza@Rupato-Braganzas-Mac-L2R5WHGD9W.local> Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: rupato-deriv <rupato@regentmarkets.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Hamid <hamid@regentmarkets.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: George Usynin <103181646+heorhi-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: hirad-deriv <hirad@re-work.dev> Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-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: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com> Co-authored-by: Farhan Ahmad Nurzi <125247833+farhan-nurzi-deriv@users.noreply.github.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <farzin@deriv.com> Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> Co-authored-by: Shahzaib <shahzaib@deriv.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-deriv@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Farabi <102643568+farabi-deriv@users.noreply.github.com> Co-authored-by: Shafin Al Karim <129021108+shafin-deriv@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: prince-deriv <82309725+prince-deriv@users.noreply.github.com> * Kate / WEBREL-477 / TS migration of trader package (#9087) * refactor: ts migration of chart loader * refactor: ts migration of screen large form and started purchase * refactor: add types in store and refcator contract * refactor: ts migaration of purchase field * refactor: ts migration of cancel deal info * refactor: ts migration of the purchase btn * refactor: cancel deal info * refactor: remove simular types * refactor: create file for types * chore: cover return value with react fragment * refactor: apply suggestions * refactor: update imports * refactor: type returned value * refactor: left an explanation of expecting ts error * Akmal / feat: migrate EmptyPortfolioMessage, ErrorComponent and Page404 in Trader package (#5) * feat: migrate Page404 to Typescript * feat: migrate EmptyPortfolioMessage to Typescript * feat: migrate ErrorComponent to Typescript * fix: dialog prop * fix: dialog type * chore: remove React.FC * maryia/WEBREL-321/feat: migrate Actions files to TS (#4) * feat: migrate /contract-type.js to ts & remove barrier.js * feat: migrate duration to ts + remove unused currency.js * feat: migrate actions/purchase to ts * feat: migrate actions/symbol to ts * feat: migrate start-date.js to ts * feat: migrate actions/test.js to ts * chore: improve types in start-date and duration * fix: address review comments * revert: unnecessary line deletion * fix: address reviews * refactor: remove some code smells * refactor: remove code smells * refactor: update types in stores * Akmal / feat: migrate utils in Trader package (#9) * feat: migrate MarketUnderlying to Typescript * feat: migrate errors to Typescript * feat: migrate error spec to Typescript * feat: migrate index to Typescript * feat: migrate validator to Typescript * feat: trigger vercel * chore: sort options alphabetically * fix: TValidationResult type * chore: prettier formatting * refactor: reduce code smells * chore: validator type improvements (#12) * Kate / DTRA-249 / Code refactoring and removing duplicated files (#13) * refactor: remove duplicated file * refactor: test improvements * fix: removed forgotten import * chore: empty commit to retrigger checks * refactor: apply suggestion * maryia/DTRA-260/TS migration of /Constants files & SmartChart/Helpers files in Trader (#6) * feat: validation-rules and ui.js to ts * chore: squash merge maryia/WEBREL-321/actions-to-TS changes * chore: added types to validation-rules.ts * chore: remove unused ui.js, migrate used ui.js and index.js to ts * chore: remove unused ui.js * chore: remove unused markers.js, and migrate barriers.js to ts * chore: added types to barriers.js and its test * test: add missing test for removeBarrier to barriers * Revert "chore: squash merge maryia/WEBREL-321/actions-to-TS changes" * feat: migrated chart-barrier-store.js to ts * feat: remove unused ChartMarkerStore * build: trigger build * fix: address review comments * henry/webrel-319/ts-migration-modules-trading-helpers-folder (#11) * fix: merge conflicts * fix: resolve comments * fix: remove comment * fix: add loadash types dependency * refactor: move error type to common props file * fix: circle CI * fix: resolve comment * fix: bug * fix: convert returntype to use ttradestore * empty commit * fix: type change * fix: resolve comments * fix: comments * maryia/861n17c54/fix: sonarcloud warnings (#14) * fix: sonarcloud warnings * fix: types * fix: resolve conflicts * refactor: apply suggestions * refactor: add last suggestion * refactor: tests * refactor: update function * refactor: add ts migration of exist tests * fix: tests * fix: test case --------- Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> * fix: test case for tour (#9993) * translations: 📚 sync translations with crowdin (#9997) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#10000) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * fix: onboarding tour for mobile (#9994) * translations: 📚 sync translations with crowdin (#10005) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#10014) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hamza/chore: added hook for trading_platform_investor_password_change (#9970) * chore: added hook for trading_platform_investor_password_change * refactor: used mutate function instead of rest params and added the types for request * refactor: added deprecated message added * thisyahlen/chore: add useverifyemail hook to api package (#9986) * chore: add useverifyemail hook to api package * chore: add useverifyemail hook to api package * remove description for mutate * FarhanNurzi | WALL-1648 | Add Responsive/Desktop breakpoints handling (#9867) * chore: added useDevice hooks * chore: added mixins to wallets package * refactor: devices mixin * fix: package-lock.json missing package * chore: add wrapper for mobile and desktop * chore: add ts comment for hook and style change * chore: remove wrappers * FarhanNurzi/P2PS-1398/Symbol for Bank Transfers payment method is incorrect (#9744) * chore: revamping payment_methods implementations * fix: payment method not showing in buy-add * chore: delete unused code and comment * refactor: refactor useP2PAdvertiserPaymentMethods, and other review comments * refactor: hooks, test files, remove unused code blocks * refactor: mutation payload type * fix: review comments * refactor: review comments * fix: review comments * fix: add display_name as dependency in useMemo * fix: error in buy-sell-modal pop up after reloading the window * fix: bug in stacked delete payment method modals * Kyc/wall 1322/revamp poa section (#9623) * feat: :bento: added visual assets * Kyc/wall 1325/revamp poa section (#6) * feat: :sparkles: added new component * feat: :white_check_mark: added testcases * feat: account page revamp, cfd poa remove, account poa reuse * refactor: simplified && condition * chore: modal alignment styles * fix: failing tests * refactor: some ts issues resolve * refactor: poa container TS migration * chore: styles clarifications * refactor: poa form ts migration, code refactor * fix: ts ignore for cfd build * fix: commented code * fix: failing test * chore: code refactoring * chore: recreating PR for kyc-WALL-1322-revamp-poa-section * chore: incorporated review comments * chore: review comments * chore: review comments2 * chore: remove unused variable * chore: cfd-poa testcases * refactor: review comments * chore: review comments * ref: Incorporated review somments * chore: review coment * chore: review comments * chore: review comments addressing * fix: failing test * chore: styles code refactor * chore: spaces fix * refactor: file descriptions map array * chore: review comments * chore: review comments * chore: review comments * chore: compare account flow fix * chore: review comments * chore: review comments * chore: review comments * chore: review comments incorporating * fix: styling discrepancies * fix: back button condition * chore: remove back button * fix: failing test cfd-poa * refactor: localize change to component * refactor: :art: incorporated Localize component * chore: remove unused css and types * chore: wrong description on examples * fix: styles for resubmit message * fix: submitting error poa page * chore: mobing submit error to the top * fix: wrong message after submitting documents * refactor: boolean instead !! * chore: added gif as supported file * fix: failing test * fix: resolve path --------- Co-authored-by: Likhith Kolayari <likhith@regentmarkets.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * feat: mandatory pot upload (#8267) * feat: mandatory pot upload * fix: pr comments updated * fix: wrong error message shown * feat: format amount in pot upload popup * feat: fix issue with modal not closing on order status change * feat: pr comment fix * feat: updated…
vinu-deriv
added a commit
that referenced
this pull request
Oct 18, 2023
* updating branch with master (#10070) * henry/webrel-1160/hotfix: space issue dropdown (#9898) * fix: space issue dropdown * fix: resolve comment * fix: comment * Update packages/components/src/components/dropdown/dropdown.scss * fix: empty commit --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * fix: overwritten styles (#9899) * fix: overwritten styles * fix: overwritten styles * Ameerul /WEBREL-1159 Sort by column alignment in P2P Buy/Sell page is off (#9876) * chore: fixed sort dropdown alignment * chore: changed styling for dropdown * george / PRODQA-1316 / Transfer from Tradershub validation (#9908) * fix: :ambulance: fix active container for TH transfer, fix insufficient balance check * test: :bug: fix tests * fix: :ambulance: fix 'Insufficient balance' condition * translations: 📚 sync translations with crowdin (#9912) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9917) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hirad-Hamza-ShonTzu/Feature revamp compare account re-deployment (#9611) * feat: initializing the compare account implementation * feat: icon reusable component v1.0 * feat: icon reusable component v1.1 * feat: icon reusable component v1.1.1 * feat: initialize compare cfd account page (todo:css) * feat: blank compare cfd accounts page & navi done * feat: mobile view * fix: compare-accounts naming convention * fix: updated path import * fix: reverted icons.js changes * fix: compare-cfds -> compare-accounts * feat: reusable component v1.2 * feat: reusable component v1.2.1 * feat: icon reusable component added v1.3 * feat: reusable component for Icons * feat: reusable component for Icons refactor * feat: reusable component for Icons refactor v1.2 * feat: description div added * feat: description with title +icon is added * feat: platform label + icon component padding added * chore: labuan leverage updated * chore: css issue fixed for Cards * feat: carousel added with sorting o f MT5 accounts * feat: carousel arrow background and container added * chore: added dxtrade in the card for dynamic rendering with type fixes * chore: changes in platform label header with respect to props data * chore: icons updated because of white line issue in icons * chore: change the components css name and other naming convention tweaks * refactor: suggestions implemented * refactor: convert carousel button into one * feat: initial commit for starting collaboration * feat: added the button placeholder * feat: added new banner to cfd cards * refactor: make the banner smaller * fix: added condition to show banner for derivez and ctrader only * refactor: changed the types and applied suggestions * refactor: removed the invalide shortcode for dxtrade * refactor: round up patches based on reviews * fix: round up patch 2 based on review * Update packages/cfd/src/Containers/cfd-compare-accounts/cfd-compare-accounts.scss Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * refactor: button width * refactor: button classname * chore: fix css of underline * chore: added redirection to homepage in case of modals * fix: circle ci failed due to wrong type of client function * chore: added the disabled property for the Added accounts * chore: added condition for the dxtrade * chore: rearrange block scoped variables * chore: fix css of labuan tooltip with removal of commented code * chore: responsive view fixes * feat: demo accounts added for low risk * feat: demo accounts label added and swap-free account creation fixed * chore: added derivx account creation flow * refactor: replace ternary operators with if-else * chore: remove unused jurisdiction * feat: demo account compare implemetation tweaks as per design * feat: rectified the Demo title as per design * chore: font weigth of instruments as per design * feat: Eu flow for DIEL * feat: changes in the icons label and correction in EU flow * chore: addded translations demo title and rename baskets * chore: rename icon type * chore: final changes prop drilling instead of observer EU flow finalized * fix: hidding deriv ez * fix: EU flow platform label change * feat: test case for description added * feat: platform label test case added * feat: title icon test case added * feat: title icon test case added * chore: fix test case description + instruments icon test added * refactor: blank spaces removed * chore: cfd-instruments-label test added * chore: test file added cfd-instrument-label * feat: button partial test case added * chore: added more test case for Button component * feat: added test case for compare-account-card * chore: merge conflicts * chore: test for cfd-compare-accounts added * feat: derivX demo * chore: added testcase for dxtrade in button * fix: dxtrade for australian clients * fix: swapfree account creation added * fix: comapre account fixes first round * fix: remove the css because scroll not working * fix: renamed variable + icons * fix: cursor not allowed on instrument icons * fix: fixed the circle ci issue * fix: fixed one of our test issues * refactor: review comments resolved * fix: changing the text of mf accounts to pass the tests * fix: made changes according to suggestions * fix: made changes according to suggestions * fix: fixed the test case issues * chore: added s to spread(s) * chore: fixed capitalization * chore: line split * fix: failing test case * fix: updated markets offerings for MT5 Financial Labuan * fix: Other CFDs --> Other CFDs Platform * fix: removed standard/micro from DerivX Forex label * refactor: optimised code * fix: icon size inconsistencyn mobile VP * refactor: css refactoring to reflect figma as much as possible * refactor: minor css fixes * fix: fixed * style: added bottom padding for mobile * fix: fixed the build issue * chore: re running the tests * fix: subtasks * chore: typo * style: position the tooltip to be center within the card * style: resize width for word-wrap * chore: d and r should be lowercase dispute and resolution * fix: fixing sonar cloud issues * fix: making changes to pass the tests --------- Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * adrienne/chore: added eslint and stylelint for wallets and renamed css variables (#9877) * feat: added stylelint for wallets for bem convention * feat: added stylelint for wallets for bem convention * chore: added import sorts for wallets and bem convention checking * chore: removed unused dependencies in wallets * Arshad/Matin/WALL-1226/Dynamic leverage for MT5 financial accounts (#9314) * chore: Dynamic leverage for MT5 financial accounts initial commit * feat: :construction: dynamic leverage modal * test: unit tests * feat: :white_check_mark: added unit tests and refactoring * feat: :recycle: fixed UI * feat: :recycle: review changes for dynamic leverage * chore: item name update * feat: :bug: passed string to localize instead of a variable * test: :recycle: * refactor: :recycle: refactored column header to new component * refactor: refactored code * fix: fixed styling and refactored code * style: formatted code * test: updated test mock component * refactor: refactored styling and unit tests * fix: fixed text content for dynamic leverage * fix: fixed localize component usage * refactor: used strong instead of span styling * fix: jurisdiction card layout --------- Co-authored-by: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9924) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9925) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9930) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Ako/remove docker k8s config (#9933) * ci: remove k8s workflow * ci: remove docker build and push workflow * fix: regression bug regarding market offerings (#9936) * FarhanNurzi/WALL-1657/Link the Wallet carousel with real data in Responsive (#9895) * chore: use hook to get wallet list in mobile carousel * chore: add components/index.ts * thisyahlen/refactor: add useAvailableWallets in deriv/api (#9818) * chore: add useAvailableWallets in deriv/api * fix: empty * refactor(api): :recycle: clean-up * fix: latest code for available wallets * fix: rename useGetAccountTypes * fix: comments * chore: split function and refactor * fix: sonarcloud --------- Co-authored-by: Farzin Mirzaie <farzin@deriv.com> * thisyahlen/chore: update ui for wallet header (#9870) * chore: update ui for wallet header * chore: add more styles * chore: add more styles v2 * fix: lint errors * chore: split components * chore: split v2 * chore: split v3 * chore: add svg for header button actions * fix: format balance and css styles * fix: landing company name uppercase * fix: comments * chore: split moreeeee * fix: rename css * fix: lint styles * fix: styles * fix: comments * fix: comments v3 * fix: comments v4 * fix: comments v5 * Hamza/ hotfix: compare account text size difference (#9950) * chore: compare account text size difference * chore: compare account text size difference on mobile * translations: 📚 sync translations with crowdin (#9945) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Mahdiyeh/fix: change market price movements to market movements (#9341) * fix: change market price movements to market movements * fix: resolve issue --------- Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> * fix: cashier page height in iphone (#9779) * shahzaib / KYC-304 / additional kyc questions in the real account creation (#9501) * chore: additional information section for real accounts creation * chore: hide additional details for high risk client * chore: refactor to pass classname conditionally and removed disposable props * chore: removed unused props * chore: renamed className to class_name * chore: update test case for personal-details component * Update packages/account/src/Components/personal-details/__tests__/personal-details.spec.js Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Update onfido-container.scss Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: remove unused imports * chore: update fragment useage * chore: remove high_risk conditiono to hide the additional fields * chore: empty commit * fix(props): removed unused is_high_risk prop * chore: renamed TaxResidentField * chore: update tax residence validation message for TIN number * chore: update config to include additional details if the client is not high risk for mt5 * chore: added test case for high risk condition in personal details config * chore: refactored test case * chore: disble additional information fields if user has already filled the details * feat(hooks): created hooks to get if a user is high risk for MT5 * chore: updated comment for personal details config * fix: remove unused variable * fix(test): update test cases to reflect hook change * test: update test cases to use store provider * chore: removed unused logic from cfd & traders hub store * test: update description * test: mock hook for returned value * fix: TIN validation in personal-details-config * fix: added additional field check for diel accounts --------- Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Rupato/PRODQA-1167/fix: updated error handling for dbot skeleton (#9576) * fix: updated error handling for dbot skeleton * fix: changed method naming * fix: changed comment * fix: changed error config * fix: changed error config * fix: review comments * fix: changed keycode * fix: assigned const * fix: bug fixes * fix: for multipliers block * fix: removed extra space * fix: added parameter * fix: for localize * fix: sentence * fix: updated error messages * fix: removed fallback * fix: removed check for mandatory block * fix: review comments * fix: empty trigger * fix: code refactored and added disabled check * fix: removed key * fix: removed key * fix: changed error message * fix: reverted changes for disabled block and misplaced * fix: removed commented code * fix: review comments * fix: review comments * fix: review comments * chore: updated z-index for language switcher (#9461) * farabi/bot-512/tour content sizing and responsiveness on small screen (#9472) * fix: updated content size according to design * refactor: reverted classname changes * fix: tour is made responsive on smaller screen * Shafin/bot 301/fix preview delete save edit issue (#9549) * chore: investigation on strategy save, edit, delete issue * chore: finalize save-delete-edit issue for preview strategies * fix: don't load if workspace is not present * fix: pass parent element to mutation observer for least computation * fix: issues on quick strategy run * Vinu/bot 92/ticks history refactor (#9547) * fix: ticks_history call outside the run * fix: remove console error and make ticks_history call on load * refactor: remove unecessary code * fix: added condition to make ticks_history call * fix: disable run button untill ticks_history call is received * fix: change trade_type_category,trade_type_category_field in trade_definition_tradetype onchange * fix: fix ticks_history error when market is closed * fix: fix the ticks_history call when bot is terminated * fix: change file accept format (#9812) * fix: change file accept format * fix: update file acceptance for dashboard file input * Hamza/chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added (#9941) * chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added * chore: added comments for explanantion purpose * fix: allow custom variables and function values for limit order (#9490) * chore: fix language not correct when redirect from deriv-com (#9632) * chore: fix language not correct when redirect from deriv-com * chore: fix language redirection from deriv-com * chore: add optional chaining * chore: update code base on comments * Rupato/509/fix--for-blockly-alignment (#9460) * fix: merge latest * fix: trigger circle ci * fix: removed unused icons * fix: reverted icon file changes * fix: reverted icon file changes * Improvement/dbot tutorials (#9896) * Farabi/rupato/bot 313 update tour step (#9885) * fix: updated tour guide * fix: refactor last joyride step and last pop up modal * fix: start for both tours * fix: added check for onboard tour action bar * fix: reverted changes for tour dialog * fix: fixed review comments * fix: added localize component check * fix: for id on localize * fix: for the margin bottom on the last step of joyride * fix: made font size xs for tour * fix: made font size xs for tour --------- Co-authored-by: Rupato Braganza <rupatobraganza@Rupato-Braganzas-Mac-L2R5WHGD9W.local> Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: rupato-deriv <rupato@regentmarkets.com> * Farabi/bot 444/highlight the tutorials tab (#9887) * fix: higlighted tutorials on mobile onboarding and replaced gif with mp4 * fix: changes related to code review * fix: added width for mobile view of tour * fix: width for images and videos * fix: width adjustment on responsive * fix: disabled picture in picture and download for videos * fix: change step 5 video to updated one * fix: fix last step button --------- Co-authored-by: Farabi Chowdhury <farabi@deriv.com> * Sandeep/bot 404/onboarding tour improvements 1 (#9894) * fix: higlighted tutorials on mobile onboarding and replaced gif with mp4 * fix: changes related to code review * fix: added width for mobile view of tour * fix: width for images and videos * fix: width adjustment on responsive * fix: disabled picture in picture and download for videos * fix: change step 5 video to updated one * fix: :pencil: Updated content for bot tutorials * fix: fix last step button * fix: :construction: updated content for start tour dialog --------- Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> * Sandeep/bot 404/onboarding tour improvements 1 (#9982) * fix: higlighted tutorials on mobile onboarding and replaced gif with mp4 * fix: changes related to code review * fix: added width for mobile view of tour * fix: width for images and videos * fix: width adjustment on responsive * fix: disabled picture in picture and download for videos * fix: change step 5 video to updated one * fix: :pencil: Updated content for bot tutorials * fix: fix last step button * fix: :construction: updated content for start tour dialog * henry/webrel-1160/hotfix: space issue dropdown (#9898) * fix: space issue dropdown * fix: resolve comment * fix: comment * Update packages/components/src/components/dropdown/dropdown.scss * fix: empty commit --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * fix: overwritten styles (#9899) * fix: overwritten styles * fix: overwritten styles * Ameerul /WEBREL-1159 Sort by column alignment in P2P Buy/Sell page is off (#9876) * chore: fixed sort dropdown alignment * chore: changed styling for dropdown * george / PRODQA-1316 / Transfer from Tradershub validation (#9908) * fix: :ambulance: fix active container for TH transfer, fix insufficient balance check * test: :bug: fix tests * fix: :ambulance: fix 'Insufficient balance' condition * translations: 📚 sync translations with crowdin (#9912) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9917) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hirad-Hamza-ShonTzu/Feature revamp compare account re-deployment (#9611) * feat: initializing the compare account implementation * feat: icon reusable component v1.0 * feat: icon reusable component v1.1 * feat: icon reusable component v1.1.1 * feat: initialize compare cfd account page (todo:css) * feat: blank compare cfd accounts page & navi done * feat: mobile view * fix: compare-accounts naming convention * fix: updated path import * fix: reverted icons.js changes * fix: compare-cfds -> compare-accounts * feat: reusable component v1.2 * feat: reusable component v1.2.1 * feat: icon reusable component added v1.3 * feat: reusable component for Icons * feat: reusable component for Icons refactor * feat: reusable component for Icons refactor v1.2 * feat: description div added * feat: description with title +icon is added * feat: platform label + icon component padding added * chore: labuan leverage updated * chore: css issue fixed for Cards * feat: carousel added with sorting o f MT5 accounts * feat: carousel arrow background and container added * chore: added dxtrade in the card for dynamic rendering with type fixes * chore: changes in platform label header with respect to props data * chore: icons updated because of white line issue in icons * chore: change the components css name and other naming convention tweaks * refactor: suggestions implemented * refactor: convert carousel button into one * feat: initial commit for starting collaboration * feat: added the button placeholder * feat: added new banner to cfd cards * refactor: make the banner smaller * fix: added condition to show banner for derivez and ctrader only * refactor: changed the types and applied suggestions * refactor: removed the invalide shortcode for dxtrade * refactor: round up patches based on reviews * fix: round up patch 2 based on review * Update packages/cfd/src/Containers/cfd-compare-accounts/cfd-compare-accounts.scss Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * refactor: button width * refactor: button classname * chore: fix css of underline * chore: added redirection to homepage in case of modals * fix: circle ci failed due to wrong type of client function * chore: added the disabled property for the Added accounts * chore: added condition for the dxtrade * chore: rearrange block scoped variables * chore: fix css of labuan tooltip with removal of commented code * chore: responsive view fixes * feat: demo accounts added for low risk * feat: demo accounts label added and swap-free account creation fixed * chore: added derivx account creation flow * refactor: replace ternary operators with if-else * chore: remove unused jurisdiction * feat: demo account compare implemetation tweaks as per design * feat: rectified the Demo title as per design * chore: font weigth of instruments as per design * feat: Eu flow for DIEL * feat: changes in the icons label and correction in EU flow * chore: addded translations demo title and rename baskets * chore: rename icon type * chore: final changes prop drilling instead of observer EU flow finalized * fix: hidding deriv ez * fix: EU flow platform label change * feat: test case for description added * feat: platform label test case added * feat: title icon test case added * feat: title icon test case added * chore: fix test case description + instruments icon test added * refactor: blank spaces removed * chore: cfd-instruments-label test added * chore: test file added cfd-instrument-label * feat: button partial test case added * chore: added more test case for Button component * feat: added test case for compare-account-card * chore: merge conflicts * chore: test for cfd-compare-accounts added * feat: derivX demo * chore: added testcase for dxtrade in button * fix: dxtrade for australian clients * fix: swapfree account creation added * fix: comapre account fixes first round * fix: remove the css because scroll not working * fix: renamed variable + icons * fix: cursor not allowed on instrument icons * fix: fixed the circle ci issue * fix: fixed one of our test issues * refactor: review comments resolved * fix: changing the text of mf accounts to pass the tests * fix: made changes according to suggestions * fix: made changes according to suggestions * fix: fixed the test case issues * chore: added s to spread(s) * chore: fixed capitalization * chore: line split * fix: failing test case * fix: updated markets offerings for MT5 Financial Labuan * fix: Other CFDs --> Other CFDs Platform * fix: removed standard/micro from DerivX Forex label * refactor: optimised code * fix: icon size inconsistencyn mobile VP * refactor: css refactoring to reflect figma as much as possible * refactor: minor css fixes * fix: fixed * style: added bottom padding for mobile * fix: fixed the build issue * chore: re running the tests * fix: subtasks * chore: typo * style: position the tooltip to be center within the card * style: resize width for word-wrap * chore: d and r should be lowercase dispute and resolution * fix: fixing sonar cloud issues * fix: making changes to pass the tests --------- Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * adrienne/chore: added eslint and stylelint for wallets and renamed css variables (#9877) * feat: added stylelint for wallets for bem convention * feat: added stylelint for wallets for bem convention * chore: added import sorts for wallets and bem convention checking * chore: removed unused dependencies in wallets * Arshad/Matin/WALL-1226/Dynamic leverage for MT5 financial accounts (#9314) * chore: Dynamic leverage for MT5 financial accounts initial commit * feat: :construction: dynamic leverage modal * test: unit tests * feat: :white_check_mark: added unit tests and refactoring * feat: :recycle: fixed UI * feat: :recycle: review changes for dynamic leverage * chore: item name update * feat: :bug: passed string to localize instead of a variable * test: :recycle: * refactor: :recycle: refactored column header to new component * refactor: refactored code * fix: fixed styling and refactored code * style: formatted code * test: updated test mock component * refactor: refactored styling and unit tests * fix: fixed text content for dynamic leverage * fix: fixed localize component usage * refactor: used strong instead of span styling * fix: jurisdiction card layout --------- Co-authored-by: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9924) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9925) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9930) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Ako/remove docker k8s config (#9933) * ci: remove k8s workflow * ci: remove docker build and push workflow * fix: regression bug regarding market offerings (#9936) * FarhanNurzi/WALL-1657/Link the Wallet carousel with real data in Responsive (#9895) * chore: use hook to get wallet list in mobile carousel * chore: add components/index.ts * thisyahlen/refactor: add useAvailableWallets in deriv/api (#9818) * chore: add useAvailableWallets in deriv/api * fix: empty * refactor(api): :recycle: clean-up * fix: latest code for available wallets * fix: rename useGetAccountTypes * fix: comments * chore: split function and refactor * fix: sonarcloud --------- Co-authored-by: Farzin Mirzaie <farzin@deriv.com> * thisyahlen/chore: update ui for wallet header (#9870) * chore: update ui for wallet header * chore: add more styles * chore: add more styles v2 * fix: lint errors * chore: split components * chore: split v2 * chore: split v3 * chore: add svg for header button actions * fix: format balance and css styles * fix: landing company name uppercase * fix: comments * chore: split moreeeee * fix: rename css * fix: lint styles * fix: styles * fix: comments * fix: comments v3 * fix: comments v4 * fix: comments v5 * Hamza/ hotfix: compare account text size difference (#9950) * chore: compare account text size difference * chore: compare account text size difference on mobile * translations: 📚 sync translations with crowdin (#9945) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Mahdiyeh/fix: change market price movements to market movements (#9341) * fix: change market price movements to market movements * fix: resolve issue --------- Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> * fix: cashier page height in iphone (#9779) * shahzaib / KYC-304 / additional kyc questions in the real account creation (#9501) * chore: additional information section for real accounts creation * chore: hide additional details for high risk client * chore: refactor to pass classname conditionally and removed disposable props * chore: removed unused props * chore: renamed className to class_name * chore: update test case for personal-details component * Update packages/account/src/Components/personal-details/__tests__/personal-details.spec.js Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Update onfido-container.scss Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: remove unused imports * chore: update fragment useage * chore: remove high_risk conditiono to hide the additional fields * chore: empty commit * fix(props): removed unused is_high_risk prop * chore: renamed TaxResidentField * chore: update tax residence validation message for TIN number * chore: update config to include additional details if the client is not high risk for mt5 * chore: added test case for high risk condition in personal details config * chore: refactored test case * chore: disble additional information fields if user has already filled the details * feat(hooks): created hooks to get if a user is high risk for MT5 * chore: updated comment for personal details config * fix: remove unused variable * fix(test): update test cases to reflect hook change * test: update test cases to use store provider * chore: removed unused logic from cfd & traders hub store * test: update description * test: mock hook for returned value * fix: TIN validation in personal-details-config * fix: added additional field check for diel accounts --------- Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Rupato/PRODQA-1167/fix: updated error handling for dbot skeleton (#9576) * fix: updated error handling for dbot skeleton * fix: changed method naming * fix: changed comment * fix: changed error config * fix: changed error config * fix: review comments * fix: changed keycode * fix: assigned const * fix: bug fixes * fix: for multipliers block * fix: removed extra space * fix: added parameter * fix: for localize * fix: sentence * fix: updated error messages * fix: removed fallback * fix: removed check for mandatory block * fix: review comments * fix: empty trigger * fix: code refactored and added disabled check * fix: removed key * fix: removed key * fix: changed error message * fix: reverted changes for disabled block and misplaced * fix: removed commented code * fix: review comments * fix: review comments * fix: review comments * chore: updated z-index for language switcher (#9461) * farabi/bot-512/tour content sizing and responsiveness on small screen (#9472) * fix: updated content size according to design * refactor: reverted classname changes * fix: tour is made responsive on smaller screen * Shafin/bot 301/fix preview delete save edit issue (#9549) * chore: investigation on strategy save, edit, delete issue * chore: finalize save-delete-edit issue for preview strategies * fix: don't load if workspace is not present * fix: pass parent element to mutation observer for least computation * fix: issues on quick strategy run * Vinu/bot 92/ticks history refactor (#9547) * fix: ticks_history call outside the run * fix: remove console error and make ticks_history call on load * refactor: remove unecessary code * fix: added condition to make ticks_history call * fix: disable run button untill ticks_history call is received * fix: change trade_type_category,trade_type_category_field in trade_definition_tradetype onchange * fix: fix ticks_history error when market is closed * fix: fix the ticks_history call when bot is terminated * fix: change file accept format (#9812) * fix: change file accept format * fix: update file acceptance for dashboard file input * Hamza/chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added (#9941) * chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added * chore: added comments for explanantion purpose * fix: allow custom variables and function values for limit order (#9490) * chore: fix language not correct when redirect from deriv-com (#9632) * chore: fix language not correct when redirect from deriv-com * chore: fix language redirection from deriv-com * chore: add optional chaining * chore: update code base on comments --------- Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Hamid <hamid@regentmarkets.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: George Usynin <103181646+heorhi-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: hirad-deriv <hirad@re-work.dev> Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-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: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com> Co-authored-by: Farhan Ahmad Nurzi <125247833+farhan-nurzi-deriv@users.noreply.github.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <farzin@deriv.com> Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> Co-authored-by: Shahzaib <shahzaib@deriv.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-deriv@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Farabi <102643568+farabi-deriv@users.noreply.github.com> Co-authored-by: Shafin Al Karim <129021108+shafin-deriv@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: prince-deriv <82309725+prince-deriv@users.noreply.github.com> * Resolve conflicts improvement dbot tutorials (#9983) * henry/webrel-1160/hotfix: space issue dropdown (#9898) * fix: space issue dropdown * fix: resolve comment * fix: comment * Update packages/components/src/components/dropdown/dropdown.scss * fix: empty commit --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * fix: overwritten styles (#9899) * fix: overwritten styles * fix: overwritten styles * Ameerul /WEBREL-1159 Sort by column alignment in P2P Buy/Sell page is off (#9876) * chore: fixed sort dropdown alignment * chore: changed styling for dropdown * george / PRODQA-1316 / Transfer from Tradershub validation (#9908) * fix: :ambulance: fix active container for TH transfer, fix insufficient balance check * test: :bug: fix tests * fix: :ambulance: fix 'Insufficient balance' condition * translations: 📚 sync translations with crowdin (#9912) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9917) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hirad-Hamza-ShonTzu/Feature revamp compare account re-deployment (#9611) * feat: initializing the compare account implementation * feat: icon reusable component v1.0 * feat: icon reusable component v1.1 * feat: icon reusable component v1.1.1 * feat: initialize compare cfd account page (todo:css) * feat: blank compare cfd accounts page & navi done * feat: mobile view * fix: compare-accounts naming convention * fix: updated path import * fix: reverted icons.js changes * fix: compare-cfds -> compare-accounts * feat: reusable component v1.2 * feat: reusable component v1.2.1 * feat: icon reusable component added v1.3 * feat: reusable component for Icons * feat: reusable component for Icons refactor * feat: reusable component for Icons refactor v1.2 * feat: description div added * feat: description with title +icon is added * feat: platform label + icon component padding added * chore: labuan leverage updated * chore: css issue fixed for Cards * feat: carousel added with sorting o f MT5 accounts * feat: carousel arrow background and container added * chore: added dxtrade in the card for dynamic rendering with type fixes * chore: changes in platform label header with respect to props data * chore: icons updated because of white line issue in icons * chore: change the components css name and other naming convention tweaks * refactor: suggestions implemented * refactor: convert carousel button into one * feat: initial commit for starting collaboration * feat: added the button placeholder * feat: added new banner to cfd cards * refactor: make the banner smaller * fix: added condition to show banner for derivez and ctrader only * refactor: changed the types and applied suggestions * refactor: removed the invalide shortcode for dxtrade * refactor: round up patches based on reviews * fix: round up patch 2 based on review * Update packages/cfd/src/Containers/cfd-compare-accounts/cfd-compare-accounts.scss Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * refactor: button width * refactor: button classname * chore: fix css of underline * chore: added redirection to homepage in case of modals * fix: circle ci failed due to wrong type of client function * chore: added the disabled property for the Added accounts * chore: added condition for the dxtrade * chore: rearrange block scoped variables * chore: fix css of labuan tooltip with removal of commented code * chore: responsive view fixes * feat: demo accounts added for low risk * feat: demo accounts label added and swap-free account creation fixed * chore: added derivx account creation flow * refactor: replace ternary operators with if-else * chore: remove unused jurisdiction * feat: demo account compare implemetation tweaks as per design * feat: rectified the Demo title as per design * chore: font weigth of instruments as per design * feat: Eu flow for DIEL * feat: changes in the icons label and correction in EU flow * chore: addded translations demo title and rename baskets * chore: rename icon type * chore: final changes prop drilling instead of observer EU flow finalized * fix: hidding deriv ez * fix: EU flow platform label change * feat: test case for description added * feat: platform label test case added * feat: title icon test case added * feat: title icon test case added * chore: fix test case description + instruments icon test added * refactor: blank spaces removed * chore: cfd-instruments-label test added * chore: test file added cfd-instrument-label * feat: button partial test case added * chore: added more test case for Button component * feat: added test case for compare-account-card * chore: merge conflicts * chore: test for cfd-compare-accounts added * feat: derivX demo * chore: added testcase for dxtrade in button * fix: dxtrade for australian clients * fix: swapfree account creation added * fix: comapre account fixes first round * fix: remove the css because scroll not working * fix: renamed variable + icons * fix: cursor not allowed on instrument icons * fix: fixed the circle ci issue * fix: fixed one of our test issues * refactor: review comments resolved * fix: changing the text of mf accounts to pass the tests * fix: made changes according to suggestions * fix: made changes according to suggestions * fix: fixed the test case issues * chore: added s to spread(s) * chore: fixed capitalization * chore: line split * fix: failing test case * fix: updated markets offerings for MT5 Financial Labuan * fix: Other CFDs --> Other CFDs Platform * fix: removed standard/micro from DerivX Forex label * refactor: optimised code * fix: icon size inconsistencyn mobile VP * refactor: css refactoring to reflect figma as much as possible * refactor: minor css fixes * fix: fixed * style: added bottom padding for mobile * fix: fixed the build issue * chore: re running the tests * fix: subtasks * chore: typo * style: position the tooltip to be center within the card * style: resize width for word-wrap * chore: d and r should be lowercase dispute and resolution * fix: fixing sonar cloud issues * fix: making changes to pass the tests --------- Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * adrienne/chore: added eslint and stylelint for wallets and renamed css variables (#9877) * feat: added stylelint for wallets for bem convention * feat: added stylelint for wallets for bem convention * chore: added import sorts for wallets and bem convention checking * chore: removed unused dependencies in wallets * Arshad/Matin/WALL-1226/Dynamic leverage for MT5 financial accounts (#9314) * chore: Dynamic leverage for MT5 financial accounts initial commit * feat: :construction: dynamic leverage modal * test: unit tests * feat: :white_check_mark: added unit tests and refactoring * feat: :recycle: fixed UI * feat: :recycle: review changes for dynamic leverage * chore: item name update * feat: :bug: passed string to localize instead of a variable * test: :recycle: * refactor: :recycle: refactored column header to new component * refactor: refactored code * fix: fixed styling and refactored code * style: formatted code * test: updated test mock component * refactor: refactored styling and unit tests * fix: fixed text content for dynamic leverage * fix: fixed localize component usage * refactor: used strong instead of span styling * fix: jurisdiction card layout --------- Co-authored-by: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9924) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9925) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9930) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Ako/remove docker k8s config (#9933) * ci: remove k8s workflow * ci: remove docker build and push workflow * fix: regression bug regarding market offerings (#9936) * FarhanNurzi/WALL-1657/Link the Wallet carousel with real data in Responsive (#9895) * chore: use hook to get wallet list in mobile carousel * chore: add components/index.ts * thisyahlen/refactor: add useAvailableWallets in deriv/api (#9818) * chore: add useAvailableWallets in deriv/api * fix: empty * refactor(api): :recycle: clean-up * fix: latest code for available wallets * fix: rename useGetAccountTypes * fix: comments * chore: split function and refactor * fix: sonarcloud --------- Co-authored-by: Farzin Mirzaie <farzin@deriv.com> * thisyahlen/chore: update ui for wallet header (#9870) * chore: update ui for wallet header * chore: add more styles * chore: add more styles v2 * fix: lint errors * chore: split components * chore: split v2 * chore: split v3 * chore: add svg for header button actions * fix: format balance and css styles * fix: landing company name uppercase * fix: comments * chore: split moreeeee * fix: rename css * fix: lint styles * fix: styles * fix: comments * fix: comments v3 * fix: comments v4 * fix: comments v5 * Hamza/ hotfix: compare account text size difference (#9950) * chore: compare account text size difference * chore: compare account text size difference on mobile * translations: 📚 sync translations with crowdin (#9945) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Mahdiyeh/fix: change market price movements to market movements (#9341) * fix: change market price movements to market movements * fix: resolve issue --------- Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> * fix: cashier page height in iphone (#9779) * shahzaib / KYC-304 / additional kyc questions in the real account creation (#9501) * chore: additional information section for real accounts creation * chore: hide additional details for high risk client * chore: refactor to pass classname conditionally and removed disposable props * chore: removed unused props * chore: renamed className to class_name * chore: update test case for personal-details component * Update packages/account/src/Components/personal-details/__tests__/personal-details.spec.js Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Update onfido-container.scss Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: remove unused imports * chore: update fragment useage * chore: remove high_risk conditiono to hide the additional fields * chore: empty commit * fix(props): removed unused is_high_risk prop * chore: renamed TaxResidentField * chore: update tax residence validation message for TIN number * chore: update config to include additional details if the client is not high risk for mt5 * chore: added test case for high risk condition in personal details config * chore: refactored test case * chore: disble additional information fields if user has already filled the details * feat(hooks): created hooks to get if a user is high risk for MT5 * chore: updated comment for personal details config * fix: remove unused variable * fix(test): update test cases to reflect hook change * test: update test cases to use store provider * chore: removed unused logic from cfd & traders hub store * test: update description * test: mock hook for returned value * fix: TIN validation in personal-details-config * fix: added additional field check for diel accounts --------- Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Rupato/PRODQA-1167/fix: updated error handling for dbot skeleton (#9576) * fix: updated error handling for dbot skeleton * fix: changed method naming * fix: changed comment * fix: changed error config * fix: changed error config * fix: review comments * fix: changed keycode * fix: assigned const * fix: bug fixes * fix: for multipliers block * fix: removed extra space * fix: added parameter * fix: for localize * fix: sentence * fix: updated error messages * fix: removed fallback * fix: removed check for mandatory block * fix: review comments * fix: empty trigger * fix: code refactored and added disabled check * fix: removed key * fix: removed key * fix: changed error message * fix: reverted changes for disabled block and misplaced * fix: removed commented code * fix: review comments * fix: review comments * fix: review comments * chore: updated z-index for language switcher (#9461) * farabi/bot-512/tour content sizing and responsiveness on small screen (#9472) * fix: updated content size according to design * refactor: reverted classname changes * fix: tour is made responsive on smaller screen * Shafin/bot 301/fix preview delete save edit issue (#9549) * chore: investigation on strategy save, edit, delete issue * chore: finalize save-delete-edit issue for preview strategies * fix: don't load if workspace is not present * fix: pass parent element to mutation observer for least computation * fix: issues on quick strategy run * Vinu/bot 92/ticks history refactor (#9547) * fix: ticks_history call outside the run * fix: remove console error and make ticks_history call on load * refactor: remove unecessary code * fix: added condition to make ticks_history call * fix: disable run button untill ticks_history call is received * fix: change trade_type_category,trade_type_category_field in trade_definition_tradetype onchange * fix: fix ticks_history error when market is closed * fix: fix the ticks_history call when bot is terminated * fix: change file accept format (#9812) * fix: change file accept format * fix: update file acceptance for dashboard file input * Hamza/chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added (#9941) * chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added * chore: added comments for explanantion purpose * fix: allow custom variables and function values for limit order (#9490) * chore: fix language not correct when redirect from deriv-com (#9632) * chore: fix language not correct when redirect from deriv-com * chore: fix language redirection from deriv-com * chore: add optional chaining * chore: update code base on comments --------- Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Hamid <hamid@regentmarkets.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: George Usynin <103181646+heorhi-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: hirad-deriv <hirad@re-work.dev> Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-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: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com> Co-authored-by: Farhan Ahmad Nurzi <125247833+farhan-nurzi-deriv@users.noreply.github.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <farzin@deriv.com> Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> Co-authored-by: Shahzaib <shahzaib@deriv.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-deriv@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Farabi <102643568+farabi-deriv@users.noreply.github.com> Co-authored-by: Shafin Al Karim <129021108+shafin-deriv@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: prince-deriv <82309725+prince-deriv@users.noreply.github.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> * Revert "Resolve conflicts improvement dbot tutorials (#9983)" (#9984) This reverts commit b4c8405ba15c47cf163440f46cd4f5b0abdd050f. * Revert "Sandeep/bot 404/onboarding tour improvements 1 (#9982)" (#9985) This reverts commit d2646639920fd0fe673df36bdb9267d74809d3dd. --------- Co-authored-by: Rupato Braganza <rupatobraganza@Rupato-Braganzas-Mac-L2R5WHGD9W.local> Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: rupato-deriv <rupato@regentmarkets.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Hamid <hamid@regentmarkets.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: George Usynin <103181646+heorhi-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: hirad-deriv <hirad@re-work.dev> Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-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: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com> Co-authored-by: Farhan Ahmad Nurzi <125247833+farhan-nurzi-deriv@users.noreply.github.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <farzin@deriv.com> Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> Co-authored-by: Shahzaib <shahzaib@deriv.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-deriv@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Farabi <102643568+farabi-deriv@users.noreply.github.com> Co-authored-by: Shafin Al Karim <129021108+shafin-deriv@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: prince-deriv <82309725+prince-deriv@users.noreply.github.com> * Kate / WEBREL-477 / TS migration of trader package (#9087) * refactor: ts migration of chart loader * refactor: ts migration of screen large form and started purchase * refactor: add types in store and refcator contract * refactor: ts migaration of purchase field * refactor: ts migration of cancel deal info * refactor: ts migration of the purchase btn * refactor: cancel deal info * refactor: remove simular types * refactor: create file for types * chore: cover return value with react fragment * refactor: apply suggestions * refactor: update imports * refactor: type returned value * refactor: left an explanation of expecting ts error * Akmal / feat: migrate EmptyPortfolioMessage, ErrorComponent and Page404 in Trader package (#5) * feat: migrate Page404 to Typescript * feat: migrate EmptyPortfolioMessage to Typescript * feat: migrate ErrorComponent to Typescript * fix: dialog prop * fix: dialog type * chore: remove React.FC * maryia/WEBREL-321/feat: migrate Actions files to TS (#4) * feat: migrate /contract-type.js to ts & remove barrier.js * feat: migrate duration to ts + remove unused currency.js * feat: migrate actions/purchase to ts * feat: migrate actions/symbol to ts * feat: migrate start-date.js to ts * feat: migrate actions/test.js to ts * chore: improve types in start-date and duration * fix: address review comments * revert: unnecessary line deletion * fix: address reviews * refactor: remove some code smells * refactor: remove code smells * refactor: update types in stores * Akmal / feat: migrate utils in Trader package (#9) * feat: migrate MarketUnderlying to Typescript * feat: migrate errors to Typescript * feat: migrate error spec to Typescript * feat: migrate index to Typescript * feat: migrate validator to Typescript * feat: trigger vercel * chore: sort options alphabetically * fix: TValidationResult type * chore: prettier formatting * refactor: reduce code smells * chore: validator type improvements (#12) * Kate / DTRA-249 / Code refactoring and removing duplicated files (#13) * refactor: remove duplicated file * refactor: test improvements * fix: removed forgotten import * chore: empty commit to retrigger checks * refactor: apply suggestion * maryia/DTRA-260/TS migration of /Constants files & SmartChart/Helpers files in Trader (#6) * feat: validation-rules and ui.js to ts * chore: squash merge maryia/WEBREL-321/actions-to-TS changes * chore: added types to validation-rules.ts * chore: remove unused ui.js, migrate used ui.js and index.js to ts * chore: remove unused ui.js * chore: remove unused markers.js, and migrate barriers.js to ts * chore: added types to barriers.js and its test * test: add missing test for removeBarrier to barriers * Revert "chore: squash merge maryia/WEBREL-321/actions-to-TS changes" * feat: migrated chart-barrier-store.js to ts * feat: remove unused ChartMarkerStore * build: trigger build * fix: address review comments * henry/webrel-319/ts-migration-modules-trading-helpers-folder (#11) * fix: merge conflicts * fix: resolve comments * fix: remove comment * fix: add loadash types dependency * refactor: move error type to common props file * fix: circle CI * fix: resolve comment * fix: bug * fix: convert returntype to use ttradestore * empty commit * fix: type change * fix: resolve comments * fix: comments * maryia/861n17c54/fix: sonarcloud warnings (#14) * fix: sonarcloud warnings * fix: types * fix: resolve conflicts * refactor: apply suggestions * refactor: add last suggestion * refactor: tests * refactor: update function * refactor: add ts migration of exist tests * fix: tests * fix: test case --------- Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> * fix: test case for tour (#9993) * translations: 📚 sync translations with crowdin (#9997) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#10000) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * fix: onboarding tour for mobile (#9994) * translations: 📚 sync translations with crowdin (#10005) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#10014) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hamza/chore: added hook for trading_platform_investor_password_change (#9970) * chore: added hook for trading_platform_investor_password_change * refactor: used mutate function instead of rest params and added the types for request * refactor: added deprecated message added * thisyahlen/chore: add useverifyemail hook to api package (#9986) * chore: add useverifyemail hook to api package * chore: add useverifyemail hook to api package * remove description for mutate * FarhanNurzi | WALL-1648 | Add Responsive/Desktop breakpoints handling (#9867) * chore: added useDevice hooks * chore: added mixins to wallets package * refactor: devices mixin * fix: package-lock.json missing package * chore: add wrapper for mobile and desktop * chore: add ts comment for hook and style change * chore: remove wrappers * FarhanNurzi/P2PS-1398/Symbol for Bank Transfers payment method is incorrect (#9744) * chore: revamping payment_methods implementations * fix: payment method not showing in buy-add * chore: delete unused code and comment * refactor: refactor useP2PAdvertiserPaymentMethods, and other review comments * refactor: hooks, test files, remove unused code blocks * refactor: mutation payload type * fix: review comments * refactor: review comments * fix: review comments * fix: add display_name as dependency in useMemo * fix: error in buy-sell-modal pop up after reloading the window * fix: bug in stacked delete payment method modals * Kyc/wall 1322/revamp poa section (#9623) * feat: :bento: added visual assets * Kyc/wall 1325/revamp poa section (#6) * feat: :sparkles: added new component * feat: :white_check_mark: added testcases * feat: account page revamp, cfd poa remove, account poa reuse * refactor: simplified && condition * chore: modal alignment styles * fix: failing tests * refactor: some ts issues resolve * refactor: poa container TS migration * chore: styles clarifications * refactor: poa form ts migration, code refactor * fix: ts ignore for cfd build * fix: commented code * fix: failing test * chore: code refactoring * chore: recreating PR for kyc-WALL-1322-revamp-poa-section * chore: incorporated review comments * chore: review comments * chore: review comments2 * chore: remove unused variable * chore: cfd-poa testcases * refactor: review comments * chore: review comments * ref: Incorporated review somments * chore: review coment * chore: review comments * chore: review comments addressing * fix: failing test * chore: styles code refactor * chore: spaces fix * refactor: file descriptions map array * chore: review comments * chore: review comments * chore: review comments * chore: compare account flow fix * chore: review comments * chore: review comments * chore: review comments * chore: review comments incorporating * fix: styling discrepancies * fix: back button condition * chore: remove back button * fix: failing test cfd-poa * refactor: localize change to component * refactor: :art: incorporated Localize component * chore: remove unused css and types * chore: wrong description on examples * fix: styles for resubmit message * fix: submitting error poa page * chore: mobing submit error to the top * fix: wrong message after submitting documents * refactor: boolean instead !! * chore: added gif as supported file * fix: failing test * fix: resolve path --------- Co-authored-by: Likhith Kolayari <likhith@regentmarkets.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * feat: mandatory pot upload (#8267) * feat: mandatory pot upload * fix: pr comments updated * fix: wrong error message shown * feat: format amount in pot upload popup * feat: fix issue with modal not closing on order status change * feat: pr comment fix * feat: updated failin…
sandeep-deriv
added a commit
that referenced
this pull request
Oct 19, 2023
* updating branch with master (#10070) * henry/webrel-1160/hotfix: space issue dropdown (#9898) * fix: space issue dropdown * fix: resolve comment * fix: comment * Update packages/components/src/components/dropdown/dropdown.scss * fix: empty commit --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * fix: overwritten styles (#9899) * fix: overwritten styles * fix: overwritten styles * Ameerul /WEBREL-1159 Sort by column alignment in P2P Buy/Sell page is off (#9876) * chore: fixed sort dropdown alignment * chore: changed styling for dropdown * george / PRODQA-1316 / Transfer from Tradershub validation (#9908) * fix: :ambulance: fix active container for TH transfer, fix insufficient balance check * test: :bug: fix tests * fix: :ambulance: fix 'Insufficient balance' condition * translations: 📚 sync translations with crowdin (#9912) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9917) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hirad-Hamza-ShonTzu/Feature revamp compare account re-deployment (#9611) * feat: initializing the compare account implementation * feat: icon reusable component v1.0 * feat: icon reusable component v1.1 * feat: icon reusable component v1.1.1 * feat: initialize compare cfd account page (todo:css) * feat: blank compare cfd accounts page & navi done * feat: mobile view * fix: compare-accounts naming convention * fix: updated path import * fix: reverted icons.js changes * fix: compare-cfds -> compare-accounts * feat: reusable component v1.2 * feat: reusable component v1.2.1 * feat: icon reusable component added v1.3 * feat: reusable component for Icons * feat: reusable component for Icons refactor * feat: reusable component for Icons refactor v1.2 * feat: description div added * feat: description with title +icon is added * feat: platform label + icon component padding added * chore: labuan leverage updated * chore: css issue fixed for Cards * feat: carousel added with sorting o f MT5 accounts * feat: carousel arrow background and container added * chore: added dxtrade in the card for dynamic rendering with type fixes * chore: changes in platform label header with respect to props data * chore: icons updated because of white line issue in icons * chore: change the components css name and other naming convention tweaks * refactor: suggestions implemented * refactor: convert carousel button into one * feat: initial commit for starting collaboration * feat: added the button placeholder * feat: added new banner to cfd cards * refactor: make the banner smaller * fix: added condition to show banner for derivez and ctrader only * refactor: changed the types and applied suggestions * refactor: removed the invalide shortcode for dxtrade * refactor: round up patches based on reviews * fix: round up patch 2 based on review * Update packages/cfd/src/Containers/cfd-compare-accounts/cfd-compare-accounts.scss Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * refactor: button width * refactor: button classname * chore: fix css of underline * chore: added redirection to homepage in case of modals * fix: circle ci failed due to wrong type of client function * chore: added the disabled property for the Added accounts * chore: added condition for the dxtrade * chore: rearrange block scoped variables * chore: fix css of labuan tooltip with removal of commented code * chore: responsive view fixes * feat: demo accounts added for low risk * feat: demo accounts label added and swap-free account creation fixed * chore: added derivx account creation flow * refactor: replace ternary operators with if-else * chore: remove unused jurisdiction * feat: demo account compare implemetation tweaks as per design * feat: rectified the Demo title as per design * chore: font weigth of instruments as per design * feat: Eu flow for DIEL * feat: changes in the icons label and correction in EU flow * chore: addded translations demo title and rename baskets * chore: rename icon type * chore: final changes prop drilling instead of observer EU flow finalized * fix: hidding deriv ez * fix: EU flow platform label change * feat: test case for description added * feat: platform label test case added * feat: title icon test case added * feat: title icon test case added * chore: fix test case description + instruments icon test added * refactor: blank spaces removed * chore: cfd-instruments-label test added * chore: test file added cfd-instrument-label * feat: button partial test case added * chore: added more test case for Button component * feat: added test case for compare-account-card * chore: merge conflicts * chore: test for cfd-compare-accounts added * feat: derivX demo * chore: added testcase for dxtrade in button * fix: dxtrade for australian clients * fix: swapfree account creation added * fix: comapre account fixes first round * fix: remove the css because scroll not working * fix: renamed variable + icons * fix: cursor not allowed on instrument icons * fix: fixed the circle ci issue * fix: fixed one of our test issues * refactor: review comments resolved * fix: changing the text of mf accounts to pass the tests * fix: made changes according to suggestions * fix: made changes according to suggestions * fix: fixed the test case issues * chore: added s to spread(s) * chore: fixed capitalization * chore: line split * fix: failing test case * fix: updated markets offerings for MT5 Financial Labuan * fix: Other CFDs --> Other CFDs Platform * fix: removed standard/micro from DerivX Forex label * refactor: optimised code * fix: icon size inconsistencyn mobile VP * refactor: css refactoring to reflect figma as much as possible * refactor: minor css fixes * fix: fixed * style: added bottom padding for mobile * fix: fixed the build issue * chore: re running the tests * fix: subtasks * chore: typo * style: position the tooltip to be center within the card * style: resize width for word-wrap * chore: d and r should be lowercase dispute and resolution * fix: fixing sonar cloud issues * fix: making changes to pass the tests --------- Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * adrienne/chore: added eslint and stylelint for wallets and renamed css variables (#9877) * feat: added stylelint for wallets for bem convention * feat: added stylelint for wallets for bem convention * chore: added import sorts for wallets and bem convention checking * chore: removed unused dependencies in wallets * Arshad/Matin/WALL-1226/Dynamic leverage for MT5 financial accounts (#9314) * chore: Dynamic leverage for MT5 financial accounts initial commit * feat: :construction: dynamic leverage modal * test: unit tests * feat: :white_check_mark: added unit tests and refactoring * feat: :recycle: fixed UI * feat: :recycle: review changes for dynamic leverage * chore: item name update * feat: :bug: passed string to localize instead of a variable * test: :recycle: * refactor: :recycle: refactored column header to new component * refactor: refactored code * fix: fixed styling and refactored code * style: formatted code * test: updated test mock component * refactor: refactored styling and unit tests * fix: fixed text content for dynamic leverage * fix: fixed localize component usage * refactor: used strong instead of span styling * fix: jurisdiction card layout --------- Co-authored-by: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9924) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9925) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9930) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Ako/remove docker k8s config (#9933) * ci: remove k8s workflow * ci: remove docker build and push workflow * fix: regression bug regarding market offerings (#9936) * FarhanNurzi/WALL-1657/Link the Wallet carousel with real data in Responsive (#9895) * chore: use hook to get wallet list in mobile carousel * chore: add components/index.ts * thisyahlen/refactor: add useAvailableWallets in deriv/api (#9818) * chore: add useAvailableWallets in deriv/api * fix: empty * refactor(api): :recycle: clean-up * fix: latest code for available wallets * fix: rename useGetAccountTypes * fix: comments * chore: split function and refactor * fix: sonarcloud --------- Co-authored-by: Farzin Mirzaie <farzin@deriv.com> * thisyahlen/chore: update ui for wallet header (#9870) * chore: update ui for wallet header * chore: add more styles * chore: add more styles v2 * fix: lint errors * chore: split components * chore: split v2 * chore: split v3 * chore: add svg for header button actions * fix: format balance and css styles * fix: landing company name uppercase * fix: comments * chore: split moreeeee * fix: rename css * fix: lint styles * fix: styles * fix: comments * fix: comments v3 * fix: comments v4 * fix: comments v5 * Hamza/ hotfix: compare account text size difference (#9950) * chore: compare account text size difference * chore: compare account text size difference on mobile * translations: 📚 sync translations with crowdin (#9945) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Mahdiyeh/fix: change market price movements to market movements (#9341) * fix: change market price movements to market movements * fix: resolve issue --------- Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> * fix: cashier page height in iphone (#9779) * shahzaib / KYC-304 / additional kyc questions in the real account creation (#9501) * chore: additional information section for real accounts creation * chore: hide additional details for high risk client * chore: refactor to pass classname conditionally and removed disposable props * chore: removed unused props * chore: renamed className to class_name * chore: update test case for personal-details component * Update packages/account/src/Components/personal-details/__tests__/personal-details.spec.js Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Update onfido-container.scss Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: remove unused imports * chore: update fragment useage * chore: remove high_risk conditiono to hide the additional fields * chore: empty commit * fix(props): removed unused is_high_risk prop * chore: renamed TaxResidentField * chore: update tax residence validation message for TIN number * chore: update config to include additional details if the client is not high risk for mt5 * chore: added test case for high risk condition in personal details config * chore: refactored test case * chore: disble additional information fields if user has already filled the details * feat(hooks): created hooks to get if a user is high risk for MT5 * chore: updated comment for personal details config * fix: remove unused variable * fix(test): update test cases to reflect hook change * test: update test cases to use store provider * chore: removed unused logic from cfd & traders hub store * test: update description * test: mock hook for returned value * fix: TIN validation in personal-details-config * fix: added additional field check for diel accounts --------- Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Rupato/PRODQA-1167/fix: updated error handling for dbot skeleton (#9576) * fix: updated error handling for dbot skeleton * fix: changed method naming * fix: changed comment * fix: changed error config * fix: changed error config * fix: review comments * fix: changed keycode * fix: assigned const * fix: bug fixes * fix: for multipliers block * fix: removed extra space * fix: added parameter * fix: for localize * fix: sentence * fix: updated error messages * fix: removed fallback * fix: removed check for mandatory block * fix: review comments * fix: empty trigger * fix: code refactored and added disabled check * fix: removed key * fix: removed key * fix: changed error message * fix: reverted changes for disabled block and misplaced * fix: removed commented code * fix: review comments * fix: review comments * fix: review comments * chore: updated z-index for language switcher (#9461) * farabi/bot-512/tour content sizing and responsiveness on small screen (#9472) * fix: updated content size according to design * refactor: reverted classname changes * fix: tour is made responsive on smaller screen * Shafin/bot 301/fix preview delete save edit issue (#9549) * chore: investigation on strategy save, edit, delete issue * chore: finalize save-delete-edit issue for preview strategies * fix: don't load if workspace is not present * fix: pass parent element to mutation observer for least computation * fix: issues on quick strategy run * Vinu/bot 92/ticks history refactor (#9547) * fix: ticks_history call outside the run * fix: remove console error and make ticks_history call on load * refactor: remove unecessary code * fix: added condition to make ticks_history call * fix: disable run button untill ticks_history call is received * fix: change trade_type_category,trade_type_category_field in trade_definition_tradetype onchange * fix: fix ticks_history error when market is closed * fix: fix the ticks_history call when bot is terminated * fix: change file accept format (#9812) * fix: change file accept format * fix: update file acceptance for dashboard file input * Hamza/chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added (#9941) * chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added * chore: added comments for explanantion purpose * fix: allow custom variables and function values for limit order (#9490) * chore: fix language not correct when redirect from deriv-com (#9632) * chore: fix language not correct when redirect from deriv-com * chore: fix language redirection from deriv-com * chore: add optional chaining * chore: update code base on comments * Rupato/509/fix--for-blockly-alignment (#9460) * fix: merge latest * fix: trigger circle ci * fix: removed unused icons * fix: reverted icon file changes * fix: reverted icon file changes * Improvement/dbot tutorials (#9896) * Farabi/rupato/bot 313 update tour step (#9885) * fix: updated tour guide * fix: refactor last joyride step and last pop up modal * fix: start for both tours * fix: added check for onboard tour action bar * fix: reverted changes for tour dialog * fix: fixed review comments * fix: added localize component check * fix: for id on localize * fix: for the margin bottom on the last step of joyride * fix: made font size xs for tour * fix: made font size xs for tour --------- Co-authored-by: Rupato Braganza <rupatobraganza@Rupato-Braganzas-Mac-L2R5WHGD9W.local> Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: rupato-deriv <rupato@regentmarkets.com> * Farabi/bot 444/highlight the tutorials tab (#9887) * fix: higlighted tutorials on mobile onboarding and replaced gif with mp4 * fix: changes related to code review * fix: added width for mobile view of tour * fix: width for images and videos * fix: width adjustment on responsive * fix: disabled picture in picture and download for videos * fix: change step 5 video to updated one * fix: fix last step button --------- Co-authored-by: Farabi Chowdhury <farabi@deriv.com> * Sandeep/bot 404/onboarding tour improvements 1 (#9894) * fix: higlighted tutorials on mobile onboarding and replaced gif with mp4 * fix: changes related to code review * fix: added width for mobile view of tour * fix: width for images and videos * fix: width adjustment on responsive * fix: disabled picture in picture and download for videos * fix: change step 5 video to updated one * fix: :pencil: Updated content for bot tutorials * fix: fix last step button * fix: :construction: updated content for start tour dialog --------- Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> * Sandeep/bot 404/onboarding tour improvements 1 (#9982) * fix: higlighted tutorials on mobile onboarding and replaced gif with mp4 * fix: changes related to code review * fix: added width for mobile view of tour * fix: width for images and videos * fix: width adjustment on responsive * fix: disabled picture in picture and download for videos * fix: change step 5 video to updated one * fix: :pencil: Updated content for bot tutorials * fix: fix last step button * fix: :construction: updated content for start tour dialog * henry/webrel-1160/hotfix: space issue dropdown (#9898) * fix: space issue dropdown * fix: resolve comment * fix: comment * Update packages/components/src/components/dropdown/dropdown.scss * fix: empty commit --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * fix: overwritten styles (#9899) * fix: overwritten styles * fix: overwritten styles * Ameerul /WEBREL-1159 Sort by column alignment in P2P Buy/Sell page is off (#9876) * chore: fixed sort dropdown alignment * chore: changed styling for dropdown * george / PRODQA-1316 / Transfer from Tradershub validation (#9908) * fix: :ambulance: fix active container for TH transfer, fix insufficient balance check * test: :bug: fix tests * fix: :ambulance: fix 'Insufficient balance' condition * translations: 📚 sync translations with crowdin (#9912) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9917) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hirad-Hamza-ShonTzu/Feature revamp compare account re-deployment (#9611) * feat: initializing the compare account implementation * feat: icon reusable component v1.0 * feat: icon reusable component v1.1 * feat: icon reusable component v1.1.1 * feat: initialize compare cfd account page (todo:css) * feat: blank compare cfd accounts page & navi done * feat: mobile view * fix: compare-accounts naming convention * fix: updated path import * fix: reverted icons.js changes * fix: compare-cfds -> compare-accounts * feat: reusable component v1.2 * feat: reusable component v1.2.1 * feat: icon reusable component added v1.3 * feat: reusable component for Icons * feat: reusable component for Icons refactor * feat: reusable component for Icons refactor v1.2 * feat: description div added * feat: description with title +icon is added * feat: platform label + icon component padding added * chore: labuan leverage updated * chore: css issue fixed for Cards * feat: carousel added with sorting o f MT5 accounts * feat: carousel arrow background and container added * chore: added dxtrade in the card for dynamic rendering with type fixes * chore: changes in platform label header with respect to props data * chore: icons updated because of white line issue in icons * chore: change the components css name and other naming convention tweaks * refactor: suggestions implemented * refactor: convert carousel button into one * feat: initial commit for starting collaboration * feat: added the button placeholder * feat: added new banner to cfd cards * refactor: make the banner smaller * fix: added condition to show banner for derivez and ctrader only * refactor: changed the types and applied suggestions * refactor: removed the invalide shortcode for dxtrade * refactor: round up patches based on reviews * fix: round up patch 2 based on review * Update packages/cfd/src/Containers/cfd-compare-accounts/cfd-compare-accounts.scss Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * refactor: button width * refactor: button classname * chore: fix css of underline * chore: added redirection to homepage in case of modals * fix: circle ci failed due to wrong type of client function * chore: added the disabled property for the Added accounts * chore: added condition for the dxtrade * chore: rearrange block scoped variables * chore: fix css of labuan tooltip with removal of commented code * chore: responsive view fixes * feat: demo accounts added for low risk * feat: demo accounts label added and swap-free account creation fixed * chore: added derivx account creation flow * refactor: replace ternary operators with if-else * chore: remove unused jurisdiction * feat: demo account compare implemetation tweaks as per design * feat: rectified the Demo title as per design * chore: font weigth of instruments as per design * feat: Eu flow for DIEL * feat: changes in the icons label and correction in EU flow * chore: addded translations demo title and rename baskets * chore: rename icon type * chore: final changes prop drilling instead of observer EU flow finalized * fix: hidding deriv ez * fix: EU flow platform label change * feat: test case for description added * feat: platform label test case added * feat: title icon test case added * feat: title icon test case added * chore: fix test case description + instruments icon test added * refactor: blank spaces removed * chore: cfd-instruments-label test added * chore: test file added cfd-instrument-label * feat: button partial test case added * chore: added more test case for Button component * feat: added test case for compare-account-card * chore: merge conflicts * chore: test for cfd-compare-accounts added * feat: derivX demo * chore: added testcase for dxtrade in button * fix: dxtrade for australian clients * fix: swapfree account creation added * fix: comapre account fixes first round * fix: remove the css because scroll not working * fix: renamed variable + icons * fix: cursor not allowed on instrument icons * fix: fixed the circle ci issue * fix: fixed one of our test issues * refactor: review comments resolved * fix: changing the text of mf accounts to pass the tests * fix: made changes according to suggestions * fix: made changes according to suggestions * fix: fixed the test case issues * chore: added s to spread(s) * chore: fixed capitalization * chore: line split * fix: failing test case * fix: updated markets offerings for MT5 Financial Labuan * fix: Other CFDs --> Other CFDs Platform * fix: removed standard/micro from DerivX Forex label * refactor: optimised code * fix: icon size inconsistencyn mobile VP * refactor: css refactoring to reflect figma as much as possible * refactor: minor css fixes * fix: fixed * style: added bottom padding for mobile * fix: fixed the build issue * chore: re running the tests * fix: subtasks * chore: typo * style: position the tooltip to be center within the card * style: resize width for word-wrap * chore: d and r should be lowercase dispute and resolution * fix: fixing sonar cloud issues * fix: making changes to pass the tests --------- Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * adrienne/chore: added eslint and stylelint for wallets and renamed css variables (#9877) * feat: added stylelint for wallets for bem convention * feat: added stylelint for wallets for bem convention * chore: added import sorts for wallets and bem convention checking * chore: removed unused dependencies in wallets * Arshad/Matin/WALL-1226/Dynamic leverage for MT5 financial accounts (#9314) * chore: Dynamic leverage for MT5 financial accounts initial commit * feat: :construction: dynamic leverage modal * test: unit tests * feat: :white_check_mark: added unit tests and refactoring * feat: :recycle: fixed UI * feat: :recycle: review changes for dynamic leverage * chore: item name update * feat: :bug: passed string to localize instead of a variable * test: :recycle: * refactor: :recycle: refactored column header to new component * refactor: refactored code * fix: fixed styling and refactored code * style: formatted code * test: updated test mock component * refactor: refactored styling and unit tests * fix: fixed text content for dynamic leverage * fix: fixed localize component usage * refactor: used strong instead of span styling * fix: jurisdiction card layout --------- Co-authored-by: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9924) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9925) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9930) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Ako/remove docker k8s config (#9933) * ci: remove k8s workflow * ci: remove docker build and push workflow * fix: regression bug regarding market offerings (#9936) * FarhanNurzi/WALL-1657/Link the Wallet carousel with real data in Responsive (#9895) * chore: use hook to get wallet list in mobile carousel * chore: add components/index.ts * thisyahlen/refactor: add useAvailableWallets in deriv/api (#9818) * chore: add useAvailableWallets in deriv/api * fix: empty * refactor(api): :recycle: clean-up * fix: latest code for available wallets * fix: rename useGetAccountTypes * fix: comments * chore: split function and refactor * fix: sonarcloud --------- Co-authored-by: Farzin Mirzaie <farzin@deriv.com> * thisyahlen/chore: update ui for wallet header (#9870) * chore: update ui for wallet header * chore: add more styles * chore: add more styles v2 * fix: lint errors * chore: split components * chore: split v2 * chore: split v3 * chore: add svg for header button actions * fix: format balance and css styles * fix: landing company name uppercase * fix: comments * chore: split moreeeee * fix: rename css * fix: lint styles * fix: styles * fix: comments * fix: comments v3 * fix: comments v4 * fix: comments v5 * Hamza/ hotfix: compare account text size difference (#9950) * chore: compare account text size difference * chore: compare account text size difference on mobile * translations: 📚 sync translations with crowdin (#9945) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Mahdiyeh/fix: change market price movements to market movements (#9341) * fix: change market price movements to market movements * fix: resolve issue --------- Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> * fix: cashier page height in iphone (#9779) * shahzaib / KYC-304 / additional kyc questions in the real account creation (#9501) * chore: additional information section for real accounts creation * chore: hide additional details for high risk client * chore: refactor to pass classname conditionally and removed disposable props * chore: removed unused props * chore: renamed className to class_name * chore: update test case for personal-details component * Update packages/account/src/Components/personal-details/__tests__/personal-details.spec.js Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Update onfido-container.scss Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: remove unused imports * chore: update fragment useage * chore: remove high_risk conditiono to hide the additional fields * chore: empty commit * fix(props): removed unused is_high_risk prop * chore: renamed TaxResidentField * chore: update tax residence validation message for TIN number * chore: update config to include additional details if the client is not high risk for mt5 * chore: added test case for high risk condition in personal details config * chore: refactored test case * chore: disble additional information fields if user has already filled the details * feat(hooks): created hooks to get if a user is high risk for MT5 * chore: updated comment for personal details config * fix: remove unused variable * fix(test): update test cases to reflect hook change * test: update test cases to use store provider * chore: removed unused logic from cfd & traders hub store * test: update description * test: mock hook for returned value * fix: TIN validation in personal-details-config * fix: added additional field check for diel accounts --------- Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Rupato/PRODQA-1167/fix: updated error handling for dbot skeleton (#9576) * fix: updated error handling for dbot skeleton * fix: changed method naming * fix: changed comment * fix: changed error config * fix: changed error config * fix: review comments * fix: changed keycode * fix: assigned const * fix: bug fixes * fix: for multipliers block * fix: removed extra space * fix: added parameter * fix: for localize * fix: sentence * fix: updated error messages * fix: removed fallback * fix: removed check for mandatory block * fix: review comments * fix: empty trigger * fix: code refactored and added disabled check * fix: removed key * fix: removed key * fix: changed error message * fix: reverted changes for disabled block and misplaced * fix: removed commented code * fix: review comments * fix: review comments * fix: review comments * chore: updated z-index for language switcher (#9461) * farabi/bot-512/tour content sizing and responsiveness on small screen (#9472) * fix: updated content size according to design * refactor: reverted classname changes * fix: tour is made responsive on smaller screen * Shafin/bot 301/fix preview delete save edit issue (#9549) * chore: investigation on strategy save, edit, delete issue * chore: finalize save-delete-edit issue for preview strategies * fix: don't load if workspace is not present * fix: pass parent element to mutation observer for least computation * fix: issues on quick strategy run * Vinu/bot 92/ticks history refactor (#9547) * fix: ticks_history call outside the run * fix: remove console error and make ticks_history call on load * refactor: remove unecessary code * fix: added condition to make ticks_history call * fix: disable run button untill ticks_history call is received * fix: change trade_type_category,trade_type_category_field in trade_definition_tradetype onchange * fix: fix ticks_history error when market is closed * fix: fix the ticks_history call when bot is terminated * fix: change file accept format (#9812) * fix: change file accept format * fix: update file acceptance for dashboard file input * Hamza/chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added (#9941) * chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added * chore: added comments for explanantion purpose * fix: allow custom variables and function values for limit order (#9490) * chore: fix language not correct when redirect from deriv-com (#9632) * chore: fix language not correct when redirect from deriv-com * chore: fix language redirection from deriv-com * chore: add optional chaining * chore: update code base on comments --------- Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Hamid <hamid@regentmarkets.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: George Usynin <103181646+heorhi-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: hirad-deriv <hirad@re-work.dev> Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-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: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com> Co-authored-by: Farhan Ahmad Nurzi <125247833+farhan-nurzi-deriv@users.noreply.github.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <farzin@deriv.com> Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> Co-authored-by: Shahzaib <shahzaib@deriv.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-deriv@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Farabi <102643568+farabi-deriv@users.noreply.github.com> Co-authored-by: Shafin Al Karim <129021108+shafin-deriv@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: prince-deriv <82309725+prince-deriv@users.noreply.github.com> * Resolve conflicts improvement dbot tutorials (#9983) * henry/webrel-1160/hotfix: space issue dropdown (#9898) * fix: space issue dropdown * fix: resolve comment * fix: comment * Update packages/components/src/components/dropdown/dropdown.scss * fix: empty commit --------- Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> * fix: overwritten styles (#9899) * fix: overwritten styles * fix: overwritten styles * Ameerul /WEBREL-1159 Sort by column alignment in P2P Buy/Sell page is off (#9876) * chore: fixed sort dropdown alignment * chore: changed styling for dropdown * george / PRODQA-1316 / Transfer from Tradershub validation (#9908) * fix: :ambulance: fix active container for TH transfer, fix insufficient balance check * test: :bug: fix tests * fix: :ambulance: fix 'Insufficient balance' condition * translations: 📚 sync translations with crowdin (#9912) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9917) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hirad-Hamza-ShonTzu/Feature revamp compare account re-deployment (#9611) * feat: initializing the compare account implementation * feat: icon reusable component v1.0 * feat: icon reusable component v1.1 * feat: icon reusable component v1.1.1 * feat: initialize compare cfd account page (todo:css) * feat: blank compare cfd accounts page & navi done * feat: mobile view * fix: compare-accounts naming convention * fix: updated path import * fix: reverted icons.js changes * fix: compare-cfds -> compare-accounts * feat: reusable component v1.2 * feat: reusable component v1.2.1 * feat: icon reusable component added v1.3 * feat: reusable component for Icons * feat: reusable component for Icons refactor * feat: reusable component for Icons refactor v1.2 * feat: description div added * feat: description with title +icon is added * feat: platform label + icon component padding added * chore: labuan leverage updated * chore: css issue fixed for Cards * feat: carousel added with sorting o f MT5 accounts * feat: carousel arrow background and container added * chore: added dxtrade in the card for dynamic rendering with type fixes * chore: changes in platform label header with respect to props data * chore: icons updated because of white line issue in icons * chore: change the components css name and other naming convention tweaks * refactor: suggestions implemented * refactor: convert carousel button into one * feat: initial commit for starting collaboration * feat: added the button placeholder * feat: added new banner to cfd cards * refactor: make the banner smaller * fix: added condition to show banner for derivez and ctrader only * refactor: changed the types and applied suggestions * refactor: removed the invalide shortcode for dxtrade * refactor: round up patches based on reviews * fix: round up patch 2 based on review * Update packages/cfd/src/Containers/cfd-compare-accounts/cfd-compare-accounts.scss Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * refactor: button width * refactor: button classname * chore: fix css of underline * chore: added redirection to homepage in case of modals * fix: circle ci failed due to wrong type of client function * chore: added the disabled property for the Added accounts * chore: added condition for the dxtrade * chore: rearrange block scoped variables * chore: fix css of labuan tooltip with removal of commented code * chore: responsive view fixes * feat: demo accounts added for low risk * feat: demo accounts label added and swap-free account creation fixed * chore: added derivx account creation flow * refactor: replace ternary operators with if-else * chore: remove unused jurisdiction * feat: demo account compare implemetation tweaks as per design * feat: rectified the Demo title as per design * chore: font weigth of instruments as per design * feat: Eu flow for DIEL * feat: changes in the icons label and correction in EU flow * chore: addded translations demo title and rename baskets * chore: rename icon type * chore: final changes prop drilling instead of observer EU flow finalized * fix: hidding deriv ez * fix: EU flow platform label change * feat: test case for description added * feat: platform label test case added * feat: title icon test case added * feat: title icon test case added * chore: fix test case description + instruments icon test added * refactor: blank spaces removed * chore: cfd-instruments-label test added * chore: test file added cfd-instrument-label * feat: button partial test case added * chore: added more test case for Button component * feat: added test case for compare-account-card * chore: merge conflicts * chore: test for cfd-compare-accounts added * feat: derivX demo * chore: added testcase for dxtrade in button * fix: dxtrade for australian clients * fix: swapfree account creation added * fix: comapre account fixes first round * fix: remove the css because scroll not working * fix: renamed variable + icons * fix: cursor not allowed on instrument icons * fix: fixed the circle ci issue * fix: fixed one of our test issues * refactor: review comments resolved * fix: changing the text of mf accounts to pass the tests * fix: made changes according to suggestions * fix: made changes according to suggestions * fix: fixed the test case issues * chore: added s to spread(s) * chore: fixed capitalization * chore: line split * fix: failing test case * fix: updated markets offerings for MT5 Financial Labuan * fix: Other CFDs --> Other CFDs Platform * fix: removed standard/micro from DerivX Forex label * refactor: optimised code * fix: icon size inconsistencyn mobile VP * refactor: css refactoring to reflect figma as much as possible * refactor: minor css fixes * fix: fixed * style: added bottom padding for mobile * fix: fixed the build issue * chore: re running the tests * fix: subtasks * chore: typo * style: position the tooltip to be center within the card * style: resize width for word-wrap * chore: d and r should be lowercase dispute and resolution * fix: fixing sonar cloud issues * fix: making changes to pass the tests --------- Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-deriv@users.noreply.github.com> * adrienne/chore: added eslint and stylelint for wallets and renamed css variables (#9877) * feat: added stylelint for wallets for bem convention * feat: added stylelint for wallets for bem convention * chore: added import sorts for wallets and bem convention checking * chore: removed unused dependencies in wallets * Arshad/Matin/WALL-1226/Dynamic leverage for MT5 financial accounts (#9314) * chore: Dynamic leverage for MT5 financial accounts initial commit * feat: :construction: dynamic leverage modal * test: unit tests * feat: :white_check_mark: added unit tests and refactoring * feat: :recycle: fixed UI * feat: :recycle: review changes for dynamic leverage * chore: item name update * feat: :bug: passed string to localize instead of a variable * test: :recycle: * refactor: :recycle: refactored column header to new component * refactor: refactored code * fix: fixed styling and refactored code * style: formatted code * test: updated test mock component * refactor: refactored styling and unit tests * fix: fixed text content for dynamic leverage * fix: fixed localize component usage * refactor: used strong instead of span styling * fix: jurisdiction card layout --------- Co-authored-by: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9924) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9925) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#9930) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Ako/remove docker k8s config (#9933) * ci: remove k8s workflow * ci: remove docker build and push workflow * fix: regression bug regarding market offerings (#9936) * FarhanNurzi/WALL-1657/Link the Wallet carousel with real data in Responsive (#9895) * chore: use hook to get wallet list in mobile carousel * chore: add components/index.ts * thisyahlen/refactor: add useAvailableWallets in deriv/api (#9818) * chore: add useAvailableWallets in deriv/api * fix: empty * refactor(api): :recycle: clean-up * fix: latest code for available wallets * fix: rename useGetAccountTypes * fix: comments * chore: split function and refactor * fix: sonarcloud --------- Co-authored-by: Farzin Mirzaie <farzin@deriv.com> * thisyahlen/chore: update ui for wallet header (#9870) * chore: update ui for wallet header * chore: add more styles * chore: add more styles v2 * fix: lint errors * chore: split components * chore: split v2 * chore: split v3 * chore: add svg for header button actions * fix: format balance and css styles * fix: landing company name uppercase * fix: comments * chore: split moreeeee * fix: rename css * fix: lint styles * fix: styles * fix: comments * fix: comments v3 * fix: comments v4 * fix: comments v5 * Hamza/ hotfix: compare account text size difference (#9950) * chore: compare account text size difference * chore: compare account text size difference on mobile * translations: 📚 sync translations with crowdin (#9945) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Mahdiyeh/fix: change market price movements to market movements (#9341) * fix: change market price movements to market movements * fix: resolve issue --------- Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> * fix: cashier page height in iphone (#9779) * shahzaib / KYC-304 / additional kyc questions in the real account creation (#9501) * chore: additional information section for real accounts creation * chore: hide additional details for high risk client * chore: refactor to pass classname conditionally and removed disposable props * chore: removed unused props * chore: renamed className to class_name * chore: update test case for personal-details component * Update packages/account/src/Components/personal-details/__tests__/personal-details.spec.js Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Update onfido-container.scss Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: update props Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * chore: remove unused imports * chore: update fragment useage * chore: remove high_risk conditiono to hide the additional fields * chore: empty commit * fix(props): removed unused is_high_risk prop * chore: renamed TaxResidentField * chore: update tax residence validation message for TIN number * chore: update config to include additional details if the client is not high risk for mt5 * chore: added test case for high risk condition in personal details config * chore: refactored test case * chore: disble additional information fields if user has already filled the details * feat(hooks): created hooks to get if a user is high risk for MT5 * chore: updated comment for personal details config * fix: remove unused variable * fix(test): update test cases to reflect hook change * test: update test cases to use store provider * chore: removed unused logic from cfd & traders hub store * test: update description * test: mock hook for returned value * fix: TIN validation in personal-details-config * fix: added additional field check for diel accounts --------- Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> * Rupato/PRODQA-1167/fix: updated error handling for dbot skeleton (#9576) * fix: updated error handling for dbot skeleton * fix: changed method naming * fix: changed comment * fix: changed error config * fix: changed error config * fix: review comments * fix: changed keycode * fix: assigned const * fix: bug fixes * fix: for multipliers block * fix: removed extra space * fix: added parameter * fix: for localize * fix: sentence * fix: updated error messages * fix: removed fallback * fix: removed check for mandatory block * fix: review comments * fix: empty trigger * fix: code refactored and added disabled check * fix: removed key * fix: removed key * fix: changed error message * fix: reverted changes for disabled block and misplaced * fix: removed commented code * fix: review comments * fix: review comments * fix: review comments * chore: updated z-index for language switcher (#9461) * farabi/bot-512/tour content sizing and responsiveness on small screen (#9472) * fix: updated content size according to design * refactor: reverted classname changes * fix: tour is made responsive on smaller screen * Shafin/bot 301/fix preview delete save edit issue (#9549) * chore: investigation on strategy save, edit, delete issue * chore: finalize save-delete-edit issue for preview strategies * fix: don't load if workspace is not present * fix: pass parent element to mutation observer for least computation * fix: issues on quick strategy run * Vinu/bot 92/ticks history refactor (#9547) * fix: ticks_history call outside the run * fix: remove console error and make ticks_history call on load * refactor: remove unecessary code * fix: added condition to make ticks_history call * fix: disable run button untill ticks_history call is received * fix: change trade_type_category,trade_type_category_field in trade_definition_tradetype onchange * fix: fix ticks_history error when market is closed * fix: fix the ticks_history call when bot is terminated * fix: change file accept format (#9812) * fix: change file accept format * fix: update file acceptance for dashboard file input * Hamza/chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added (#9941) * chore: useCreateOtherCFDAccount and useCreateMT5Account hooks added * chore: added comments for explanantion purpose * fix: allow custom variables and function values for limit order (#9490) * chore: fix language not correct when redirect from deriv-com (#9632) * chore: fix language not correct when redirect from deriv-com * chore: fix language redirection from deriv-com * chore: add optional chaining * chore: update code base on comments --------- Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Hamid <hamid@regentmarkets.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: George Usynin <103181646+heorhi-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: hirad-deriv <hirad@re-work.dev> Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-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: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com> Co-authored-by: Farhan Ahmad Nurzi <125247833+farhan-nurzi-deriv@users.noreply.github.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <farzin@deriv.com> Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> Co-authored-by: Shahzaib <shahzaib@deriv.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-deriv@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Farabi <102643568+farabi-deriv@users.noreply.github.com> Co-authored-by: Shafin Al Karim <129021108+shafin-deriv@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: prince-deriv <82309725+prince-deriv@users.noreply.github.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> * Revert "Resolve conflicts improvement dbot tutorials (#9983)" (#9984) This reverts commit b4c8405ba15c47cf163440f46cd4f5b0abdd050f. * Revert "Sandeep/bot 404/onboarding tour improvements 1 (#9982)" (#9985) This reverts commit d2646639920fd0fe673df36bdb9267d74809d3dd. --------- Co-authored-by: Rupato Braganza <rupatobraganza@Rupato-Braganzas-Mac-L2R5WHGD9W.local> Co-authored-by: Farabi Chowdhury <farabi@deriv.com> Co-authored-by: rupato-deriv <rupato@regentmarkets.com> Co-authored-by: Sandeep <sandeepsingh@Sandeeps-Mac-CX9PCJX3L9.local> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: Hamid <hamid@regentmarkets.com> Co-authored-by: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Co-authored-by: George Usynin <103181646+heorhi-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: hirad-deriv <hirad@re-work.dev> Co-authored-by: hamza-deriv <hamza.muhammad@regentmarkets.com> Co-authored-by: shontzu-deriv <shon.tzu@regentmarkets.com> Co-authored-by: shontzu <108507236+shontzu-deriv@users.noreply.github.com> Co-authored-by: Muhammad Hamza <120543468+hamza-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: arshad-rao-deriv <muhammad.arshad@deriv.com> Co-authored-by: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> Co-authored-by: Ali(Ako) Hosseini <ali.hosseini@deriv.com> Co-authored-by: Farhan Ahmad Nurzi <125247833+farhan-nurzi-deriv@users.noreply.github.com> Co-authored-by: thisyahlen <104053934+thisyahlen-deriv@users.noreply.github.com> Co-authored-by: Farzin Mirzaie <farzin@deriv.com> Co-authored-by: Mahdiyeh Amirkhani <mahdiyehamirkhani@Mahdiyeh-Amirkhanis-Mac-J79XQHKXVJ.local> Co-authored-by: Shahzaib <shahzaib@deriv.com> Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Co-authored-by: rupato-deriv <97010868+rupato-deriv@users.noreply.github.com> Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com> Co-authored-by: Farabi <102643568+farabi-deriv@users.noreply.github.com> Co-authored-by: Shafin Al Karim <129021108+shafin-deriv@users.noreply.github.com> Co-authored-by: vinu-deriv <100689171+vinu-deriv@users.noreply.github.com> Co-authored-by: prince-deriv <82309725+prince-deriv@users.noreply.github.com> * Kate / WEBREL-477 / TS migration of trader package (#9087) * refactor: ts migration of chart loader * refactor: ts migration of screen large form and started purchase * refactor: add types in store and refcator contract * refactor: ts migaration of purchase field * refactor: ts migration of cancel deal info * refactor: ts migration of the purchase btn * refactor: cancel deal info * refactor: remove simular types * refactor: create file for types * chore: cover return value with react fragment * refactor: apply suggestions * refactor: update imports * refactor: type returned value * refactor: left an explanation of expecting ts error * Akmal / feat: migrate EmptyPortfolioMessage, ErrorComponent and Page404 in Trader package (#5) * feat: migrate Page404 to Typescript * feat: migrate EmptyPortfolioMessage to Typescript * feat: migrate ErrorComponent to Typescript * fix: dialog prop * fix: dialog type * chore: remove React.FC * maryia/WEBREL-321/feat: migrate Actions files to TS (#4) * feat: migrate /contract-type.js to ts & remove barrier.js * feat: migrate duration to ts + remove unused currency.js * feat: migrate actions/purchase to ts * feat: migrate actions/symbol to ts * feat: migrate start-date.js to ts * feat: migrate actions/test.js to ts * chore: improve types in start-date and duration * fix: address review comments * revert: unnecessary line deletion * fix: address reviews * refactor: remove some code smells * refactor: remove code smells * refactor: update types in stores * Akmal / feat: migrate utils in Trader package (#9) * feat: migrate MarketUnderlying to Typescript * feat: migrate errors to Typescript * feat: migrate error spec to Typescript * feat: migrate index to Typescript * feat: migrate validator to Typescript * feat: trigger vercel * chore: sort options alphabetically * fix: TValidationResult type * chore: prettier formatting * refactor: reduce code smells * chore: validator type improvements (#12) * Kate / DTRA-249 / Code refactoring and removing duplicated files (#13) * refactor: remove duplicated file * refactor: test improvements * fix: removed forgotten import * chore: empty commit to retrigger checks * refactor: apply suggestion * maryia/DTRA-260/TS migration of /Constants files & SmartChart/Helpers files in Trader (#6) * feat: validation-rules and ui.js to ts * chore: squash merge maryia/WEBREL-321/actions-to-TS changes * chore: added types to validation-rules.ts * chore: remove unused ui.js, migrate used ui.js and index.js to ts * chore: remove unused ui.js * chore: remove unused markers.js, and migrate barriers.js to ts * chore: added types to barriers.js and its test * test: add missing test for removeBarrier to barriers * Revert "chore: squash merge maryia/WEBREL-321/actions-to-TS changes" * feat: migrated chart-barrier-store.js to ts * feat: remove unused ChartMarkerStore * build: trigger build * fix: address review comments * henry/webrel-319/ts-migration-modules-trading-helpers-folder (#11) * fix: merge conflicts * fix: resolve comments * fix: remove comment * fix: add loadash types dependency * refactor: move error type to common props file * fix: circle CI * fix: resolve comment * fix: bug * fix: convert returntype to use ttradestore * empty commit * fix: type change * fix: resolve comments * fix: comments * maryia/861n17c54/fix: sonarcloud warnings (#14) * fix: sonarcloud warnings * fix: types * fix: resolve conflicts * refactor: apply suggestions * refactor: add last suggestion * refactor: tests * refactor: update function * refactor: add ts migration of exist tests * fix: tests * fix: test case --------- Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com> Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com> Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com> Co-authored-by: Matin shafiei <matin@deriv.com> * fix: test case for tour (#9993) * translations: 📚 sync translations with crowdin (#9997) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#10000) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * fix: onboarding tour for mobile (#9994) * translations: 📚 sync translations with crowdin (#10005) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * translations: 📚 sync translations with crowdin (#10014) Co-authored-by: DerivFE <80095553+DerivFE@users.noreply.github.com> * Hamza/chore: added hook for trading_platform_investor_password_change (#9970) * chore: added hook for trading_platform_investor_password_change * refactor: used mutate function instead of rest params and added the types for request * refactor: added deprecated message added * thisyahlen/chore: add useverifyemail hook to api package (#9986) * chore: add useverifyemail hook to api package * chore: add useverifyemail hook to api package * remove description for mutate * FarhanNurzi | WALL-1648 | Add Responsive/Desktop breakpoints handling (#9867) * chore: added useDevice hooks * chore: added mixins to wallets package * refactor: devices mixin * fix: package-lock.json missing package * chore: add wrapper for mobile and desktop * chore: add ts comment for hook and style change * chore: remove wrappers * FarhanNurzi/P2PS-1398/Symbol for Bank Transfers payment method is incorrect (#9744) * chore: revamping payment_methods implementations * fix: payment method not showing in buy-add * chore: delete unused code and comment * refactor: refactor useP2PAdvertiserPaymentMethods, and other review comments * refactor: hooks, test files, remove unused code blocks * refactor: mutation payload type * fix: review comments * refactor: review comments * fix: review comments * fix: add display_name as dependency in useMemo * fix: error in buy-sell-modal pop up after reloading the window * fix: bug in stacked delete payment method modals * Kyc/wall 1322/revamp poa section (#9623) * feat: :bento: added visual assets * Kyc/wall 1325/revamp poa section (#6) * feat: :sparkles: added new component * feat: :white_check_mark: added testcases * feat: account page revamp, cfd poa remove, account poa reuse * refactor: simplified && condition * chore: modal alignment styles * fix: failing tests * refactor: some ts issues resolve * refactor: poa container TS migration * chore: styles clarifications * refactor: poa form ts migration, code refactor * fix: ts ignore for cfd build * fix: commented code * fix: failing test * chore: code refactoring * chore: recreating PR for kyc-WALL-1322-revamp-poa-section * chore: incorporated review comments * chore: review comments * chore: review comments2 * chore: remove unused variable * chore: cfd-poa testcases * refactor: review comments * chore: review comments * ref: Incorporated review somments * chore: review coment * chore: review comments * chore: review comments addressing * fix: failing test * chore: styles code refactor * chore: spaces fix * refactor: file descriptions map array * chore: review comments * chore: review comments * chore: review comments * chore: compare account flow fix * chore: review comments * chore: review comments * chore: review comments * chore: review comments incorporating * fix: styling discrepancies * fix: back button condition * chore: remove back button * fix: failing test cfd-poa * refactor: localize change to component * refactor: :art: incorporated Localize component * chore: remove unused css and types * chore: wrong description on examples * fix: styles for resubmit message * fix: submitting error poa page * chore: mobing submit error to the top * fix: wrong message after submitting documents * refactor: boolean instead !! * chore: added gif as supported file * fix: failing test * fix: resolve path --------- Co-authored-by: Likhith Kolayari <likhith@regentmarkets.com> Co-authored-by: Likhith Kolayari <98398322+likhith-deriv@users.noreply.github.com> Co-authored-by: “yauheni-kryzhyk-deriv” <“yauheni@deriv.me”> * feat: mandatory pot upload (#8267) * feat: mandatory pot upload * fix: pr comments updated * fix: wrong error message shown * feat: format amount in pot upload popup * feat: fix issue with modal not closing on order status change * feat: pr comment fix * feat: update…
Dhruv-deriv
pushed a commit
to Dhruv-deriv/deriv-app
that referenced
this pull request
May 23, 2024
Fasih/UPM-642/Enabled POA for tablet view
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog
ChartLoader
component, modified / tweaked fromLoading
component.ChartLoader
when waiting forresponse
fromAPI
duringcontract
switching.chart_status
and store intosmart-charts
store.trade
andinitial_loading
component.