Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Niloofar / Migrate mobx to v6 #3

Merged
merged 7 commits into from
May 26, 2022

Conversation

niloofar-deriv
Copy link

Changes:

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

  • ...

When you need to add unit test

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

When you need to add integration test

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

Test coverage checklist (for reviewer)

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

Type of change

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

@shayan-deriv shayan-deriv merged commit 3882983 into shayan-deriv:master May 26, 2022
shayan-deriv pushed 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 (binary-com#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 (binary-com#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 (binary-com#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 (binary-com#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 (binary-com#92)

* Henry/89489/fix sell button missing accumulator (binary-com#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 (binary-com#94)

* fix: show barriers for current symbol

* refactor: show barriers for current symbol only

* Maryia/test: added tests for getAccumulatorBarriers function (binary-com#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 (binary-com#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 (binary-com#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>
shayan-deriv pushed a commit that referenced this pull request May 17, 2023
* refactor: migration done

* refactor: init pr

* Rostislav / 85420 / Migrate cashier `utils` to TS (#2)

* refactor: init pr

* refactor: refactored utils/validator to ts + moved it to shared

* refactor: added more typescript shenanigans to validator

* refactor: a minor change

* refactor: import refactored

* refactor: some more progress with the validator to avoid the build failing hopefully

* refactor: validator ts issues fixed

* refactor: more ts fixes to get this to work

* refactor: removed validator from cashier

* refactor: added tests for validator/errors in shared

* refactor: applied suggested changes

* refactor: some more any -> unknown refactoring

* refactor: fixed cringe mistake

* refactor: fixed a small mistake

* Update packages/cashier/src/utils/server_time.ts

Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>

---------

Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>

* Rostislav / 85418 / Migrate disable-withdrawal-modal Component (#4)

* refactor: ts migration

* refactor: rmved the file

* Rostislav / 85421 / Migrate cashier constants to TS (#3)

* refactor: init pr

* refactor: constants.js migrated

* refactor: tsx'd transaction-status.js

* refactor: tsx'd static-url.jsx

* refactor: test deploy again

* refactor: tests fixed

* refactor: import fixed

* refactor: removed the usage of PlatformContext and its is_appstore from StaticUrl

* refactor: added eslint-disable-next-line

* refactor: removed "return undefined" and typed return value

* refactor: refactored types out into type file

* refactor: added more constants

* refactor: removed ! from recent-transaction.tsx

* refactor: removed ts-ignore

* refactor: more importing types instead of defining whats defined

* refactor: fixed tests

* refactor: capitalized status codes

* refactor: rollbacked status codes in tests some more (lowercase -> CAPS)

* refactor: removed unused import

* refactor: Types -> ../types

* refactor: added "as const" in constants.ts

* refactor: new typeguards + improved readability

* Update packages/cashier/src/constants/transaction-status.tsx

Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>

* refactor: fixed typeguards

* refactor: type fixes

* refactor: mockRootStore type changed to TStores (@hamid-deriv's suggestion)

* refactor: added default return for transaction status

---------

Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>

* Rostislav / WALL-257 / TS migration of Payment Agent Transfer UI component and store (#7)

* refactor: init pr

* refactor: migrated the store

* refactor: migrated components

* refactor: fixed mockStore

* refactor: minor fix

* refactor: more minor fixes

* refactor: a few more minor fixes

* refactor: one more import fix

* refactor: tests fix

* refactor: pa transfer request amount type string -> number

* Update packages/cashier/src/types/props.types.ts

Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>

* refactor: applied @farzin-deriv's suggestion

* refactor: applied more suggestions

---------

Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>

* Rostislav / WALL-256 / TS migration of payment agent UI component and store (#6)

* refactor: init pr

* refactor: pa deposit details

* refactor: mad webstorm suggestion (lets have it like this for now)

* refactor: pa card helpers

* refactor: pa card helpers (+ this one)

* refactor: pa detail + spec

* refactor: pa detail index

* refactor: pa + spec

* refactor: pa card deposit details spec

* refactor: pa card listed withdraw form (to revisit)

* refactor: pa card listed withdraw form (index)

* refactor: pa card description

* refactor: added types

* refactor: types export

* refactor: pa search box

* refactor: pa withdraw form

* refactor: pa card (to revisit)

* refactor: pa container spec

* refactor: pa container (to revisit)

* refactor: pa container index

* refactor: pa container index +1

* refactor: pa receipt index

* refactor: pa index

* refactor: pa withdraw confirm index

* refactor: pa receipt (revisit after pa store)

* refactor: pa receipt spec +1

* refactor: pa listed withdraw form

* refactor: pa withdraw confirm + spec (to revisit after pa store)

* refactor: pa listed withdraw form spec

* refactor: pa disclaimer

* refactor: pa receipt (revisit after pa store)

* refactor: side note

* refactor: stores types updated

* refactor: store refactored + types added + few more changes

* refactor: logic changed + store tests fixed

* refactor: tests fixed it seems

* fix: mockStore fixed

* refactor: param type simplified for getNormalizedPaymentMethod

* refactor: removed unused scss + minor changes

* refactor: payment-agent.spec.tsx final

* refactor: simplified payment-agent-card.tsx a bit

* refactor: pa container spec removed TRootStore

* refactor: a few changes to tests + a few ts errors resolved

* refactor: init pr

* refactor: init pr

* refactor: trigger deploy

* refactor: trigger deploy

* refactor: old logic for banks and payment agents restored in PA store + type alias removed

* Update packages/cashier/src/pages/payment-agent/payment-agent-withdrawal-locked/payment-agent-withdrawal-locked.tsx

Co-authored-by: George Usynin <103181646+heorhi-deriv@users.noreply.github.com>

* Update packages/cashier/src/pages/payment-agent/payment-agent-withdrawal-locked/payment-agent-withdrawal-locked.tsx

Co-authored-by: George Usynin <103181646+heorhi-deriv@users.noreply.github.com>

* refactor: changed `undefined` fallback to '' in pa listed withdraw form

* refactor: renamed the types to start with 'T'

* refactor: tests should be fixed now

* refactor: one more tests fix

* refactor: ReactNode -> React.ReactNode

* refactor: a minor change

* refactor: tests re-run check

* refactor: a minor change

* Update packages/stores/types.ts

Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>

* Update packages/stores/src/mockStore.ts

Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>

* refactor: more suggestions applied

* refactor: suggestions

* refactor: React.ReactNode | string => React.ReactNode

* refactor: PaymentAgentCard default values set for boolean params

* refactor: formatting post merge-conflict problem fixed

* refactor: verification_code removed from props and is being set from client store

* refactor: prev commit changes fix in tests (oops)

* refactor: one more test fix

* refactor: tests fix

* refactor: cashier store ts fix

* refactor: type problems in PaymentAgentCard fixed with the help of @heorhi-deriv

* Update packages/cashier/src/pages/payment-agent/payment-agent-withdraw-confirm/payment-agent-withdraw-confirm.tsx

Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>

* fix: tests fix

---------

Co-authored-by: George Usynin <103181646+heorhi-deriv@users.noreply.github.com>
Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>

* Rostislav / WALL-261 / Migrate remaining cashier js to ts (#8)

* refactor: init pr

* refactor: refactored app to ts

* refactor: cashier pages index.js -> .ts

* refactor: remove a bunch of import aliases

* refactor: revert accidental committed changes

* refactor: some changes to the request types

* refactor: sonarcloud fixes + removing TRootStore

* refactor: continue removing TRootStore from everywhere

* refactor: remove redundant static typing for mockStore call results + continue removing TRootStore

* refactor: remove TRootStore completely

* refactor: const mockRootStore -> const mock_root_store (convention for consts)

* refactor: more spec refactoring

* refactor: remove TRootStore from non-specs as well

* fix: tests fix

* refactor: removed imports for beforeEach

* refactor: remove redundant cast

* fix: fixing tests

* fix: fixing tests

* fix: fixing tests

* fix: fix tests

* refactor: a bunch of errors resolved

* fix: test fix

* fix: cast amount to number

* fix: a few more forgotten number casts

* fix: fixing tests

* fix: fixing code smells

* fix: fixing code smells

* fix: fixing code smells

* refactor: remove import of a removed type

* refactor: rolled back on bad refactor + +{smth} -> Number({smth})

* refactor: ref and ReactPortal problems resolved

* refactor: pa withdraw form spec type errors resolved

* refactor: more refactoring in cashier tests

* fix: tests fix

* Update packages/shared/src/utils/validator/errors.ts

Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>

* Update packages/components/src/components/input/input.tsx

Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>

* refactor: revert back to TRootStore for a bunch of stores

* refactor: TCoreStores changed + withdraw store change revert

* refactor: Array<T> -> T[]

* refactor: PA store param type: TStores -> TRootStore

* refactor: crypto-fiat-converter.spec.tsx type errors resolved

* refactor: crypto transactions ts changes

* Update packages/cashier/src/components/crypto-transactions-history/__tests__/crypto-transactions-renderer.spec.tsx

Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>

* Update packages/cashier/src/components/crypto-transactions-history/__tests__/crypto-transactions-renderer.spec.tsx

Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>

* Update packages/cashier/src/components/crypto-transactions-history/__tests__/crypto-transactions-renderer.spec.tsx

Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>

* refactor: error.tsx and error.spec.tsx type errors resolved

* refactor: recent-transaction.tsx status null return value accounted for

* refactor: crypto-transactions-renderer.spec.tsx removed unused import

* refactor: error.tsx props type adjusted

* refactor: payment-agent-store.ts added await on async call

* refactor: Array<T> => T[] in more cashier files + account-transfer-store.ts type error resolution

* refactor: TWebsocketCall functions types made async

* Update packages/stores/types.ts

Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>

* fix: pa transfer store tests oddity fixed

* fix: @farzin-deriv's suggestions

* fix: another suggestion applied

* fix: another suggestion applied

* refactor: TStores-related refactoring

* refactor: TStores-related refactoring

* refactor: ClientStore.account_limits.daily_transfers types changed

* fix: mockStore account_limits type inconsistency

* refactor: fixing more ts errors

* refactor: TClientStore account_limits type now used from api types

* refactor: some of the more risky changes

* fix: tests fix

* refactor: accidental auto change rollback

* refactor: remove auto changes

* refactor: remove auto changes

* refactor: ErrorDialog-related type errors fixed

* refactor: withdraw.tsx-related type errors fixed

* refactor: withdrawal-locked.spec.tsx-related type errors resolved

* refactor: more type errors resolved

* refactor: package-lock.json set to master

* refactor: remove icons.js from changes

* refactor: remve type errors from pa store and pa transfer store

* refactor: minor refactoring

* refactor: minor refactoring

* refactor: removing more type errors

* refactor: insignificant change reverted

* refactor: { [key: string]: never } -> Record<string, never>

* refactor: small type change in tests

* refactor: got rid of a bunch of code smells

* refactor: got rid of a bunch more code smells

* refactor: got rid of a bunch more code smells

* fix: tests fix

* fix: qa fix

* fix: tests fix

---------

Co-authored-by: Farzin Mirzaie <72082844+farzin-deriv@users.noreply.github.com>
Co-authored-by: George Usynin <103181646+heorhi-deriv@users.noreply.github.com>
Co-authored-by: hirad-deriv <hirad@re-work.dev>
shayan-deriv pushed a commit that referenced this pull request May 26, 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…
shayan-deriv pushed a commit that referenced this pull request Jun 23, 2023
* feat: added derivez demo/real/static to tradershub/onboarding

* fix: call success modal instead of logging out

* fix: roundup patch #1 based on reviews

* fix: move consts to Helpers/constants file

* fix: roundup patch #2 based on reviews

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

This reverts commit f0cf7f5.

* fix: round up patch#2 based on review

* fix: clean up

* fix: outdated icons after merging

* fix: fixed derivx testcase error

* fix: update derivx icon

* fix: fixed conflicts

* fix: roundup patch #3 based on code reviews

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

* chore: unit test for derivez static

* fix: asdf

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

* fix: qrcode, download links, and download options

* fix: round-up-patch 1

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

* fix: round-up-patch 3

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

* fix: code smells

* fix: asdf

* feat: disable derivez real flow

* fix: added top up for DerivEz

* fix: qr code for derivez and derivx

* fix: hide qr box if isMobile

* fix: derivez fund topup text

* fix: derivx fund topup text

* fix: onboarding demo title

* fix: Deriv Ez -> Deriv EZ

* fix: Go -> GO

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

* fix: revert changes on tradershub

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

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

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

* fix: Server maintenance notice time

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

* fix: derivez topupVirtual

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

* remove unnecesary parameter

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

* fix: disable button while getting account creating

* fix: disable GET button while account is being created

* fix: disable GET button while account is being created

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

* fix: remove redundant use of await

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

* fix: reenable button when error is triggered too

* fix: blur derivez icon on onboarding 5th page

* fix: remove function call that trigger token error

* Update cfd-store.js

* fix: pull upstream

* fix: hide derivez from oboarding page

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

* fix: empty commit

* fix: total asset included derivez balance

* fix: updated mockstore

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

* fix: rerunning all of our tests

* chore: empty commit

* fix: capitalization on module import

* chore: empty commit

---------

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

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

* fix: call success modal instead of logging out

* fix: roundup patch #1 based on reviews

* fix: move consts to Helpers/constants file

* fix: roundup patch #2 based on reviews

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

This reverts commit f0cf7f5.

* fix: round up patch#2 based on review

* fix: clean up

* fix: outdated icons after merging

* fix: fixed derivx testcase error

* fix: update derivx icon

* fix: fixed conflicts

* fix: roundup patch #3 based on code reviews

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

* chore: unit test for derivez static

* fix: asdf

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

* fix: qrcode, download links, and download options

* fix: round-up-patch 1

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

* fix: round-up-patch 3

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

* fix: code smells

* fix: asdf

* feat: disable derivez real flow

* fix: added top up for DerivEz

* fix: qr code for derivez and derivx

* fix: hide qr box if isMobile

* fix: derivez fund topup text

* fix: derivx fund topup text

* fix: onboarding demo title

* fix: Deriv Ez -> Deriv EZ

* fix: Go -> GO

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

* fix: revert changes on tradershub

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

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

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

* fix: Server maintenance notice time

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

* fix: derivez topupVirtual

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

* remove unnecesary parameter

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

* fix: disable button while getting account creating

* fix: disable GET button while account is being created

* fix: disable GET button while account is being created

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

* fix: remove redundant use of await

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

* fix: reenable button when error is triggered too

* fix: blur derivez icon on onboarding 5th page

* fix: remove function call that trigger token error

* Update cfd-store.js

* fix: pull upstream

* fix: hide derivez from oboarding page

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

* fix: empty commit

* fix: total asset included derivez balance

* fix: updated mockstore

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

* fix: rerunning all of our tests

* chore: empty commit

* fix: capitalization on module import

* chore: empty commit

* fix: hotfix

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

* fix: use short_title instead of title for type_label

* chore: empty commit

* fix: circle ci failing

* fix: font

* Update index.tsx

* fix: text

* fix: asdf

* chore: empty commit

* chore: update branch

* Update cfd-password-modal.tsx

---------

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

* chore: remove irrelevant check

* chore: unit test

* chore: unit test fail

* chore: fixes based on review

* chore: empty commit

* chore: code revie fixes

* chore: revert test case changes

* chore: rename type to TUseTotalAccountBalance

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

---------

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

* fix: initial setup for useReportsStore

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

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

* fix: refactor useReportsStores

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

* fix: reduce typescript errors

* fix: sonarcloud

* fix: resolve typescript errors

* chore: remove connect from composite-calendar

* fix: type fix

* fix: remove connect files and mobx providers

* fix: resolve comments

* fix: resolve comment

* fix: remove unused files

* fix: fix types

* fix: resolve comments

* fix: resolve comments

* fix: snoarcloud

* fix: comment

* fix: comment

* fix: resolve comment

* fix: add onclick to test

* fix: reset with master

* fix: resolve comment

---------

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

* feat: tablet view

* revert: trade params test cases

* chore: remove unused imports

* chore: added test case for usedevice

* fix: height

* fix: accumulators stats

* fix: layout

* fix: test

* refactor: update test

* refactor: change mixins names

* fix: platform switcher

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

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

* fix: comments

* revert: unneded changes

* fix: test failed

* fix: breaking designs because of rtl

* feat: empty

* fix: account switcher

* fix: account switcher and add blocker on portrait

* chore: update test case

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

* fix: failing test cases

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

* fix: useonclickoutside

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

* feat: update to deriv-com/ui

* feat: delete landscape blocker

* feat: add some mixins

* feat: complete with mixins

* feat: modify traders hub main page

* feat: modify main title

* feat: modify asset-summary

* feat: modify asset-summary styles

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

* feat: modify header

* feat: get back package-lock.json

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

* chore: empty commit

* feat: get back landscape_blocker

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

* feat: update package.json

* feat: create hook to hide landscape_blocker

* feat: move landscape blocker to the react compnent

* feat: add routes to LandscapeBlocker

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

* fix: fix one test

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

* fix: trying to fix tests again

* fix: fix again and again

* fix: fix test case again

* feat: add isDesktop check for cfds-listing

* feat: override some styles

* feat: change breakpoints for footer

* fix: change package version

* feat: update mixins based on Farhan PR

* fix: fix lint issue

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

* feat: modify footer

* chore: made decision to delete unreachable code

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

* feat: remove routes.root from disable blocker array

* feat: change condition to else

* feat: implement review suggestions and fix mixin

* feat: rename sccs file

* feat: get changes back for trading.scss

* feat: implemet review suggestions

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

* feat: modify regulators compare modal component

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

* fix: add resolver for react/jsx-runtime

* fix: mock deriv-com/ui useDevice hook

* feat: implement review suggestions

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

* chore: reports pages tablet view

* style: update width as per figma design

* refactor: landscape cloker component

* fix: comments

* chore: use bitwise to avoid nan value

* fix: comments

* fix: import

* chore: update function

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

* chore: lock landscape mode on tablet view

* chore: only show tablet view on real tablet

* fix: notification

* chore: change implementation

* fix: change root

* refactor: comments

* fix: comments

* fix: height

* fix: rtl language

* refactor: remove extra property

* fix: positions modal height based on figma

* chore: add loader before rotating the screen

* fix: failing test

* chore: add timeout before hiding loader

* style: move styles

* chore: another ref for loader timeout cleanup

* fix: hide footer for dtrader

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

* fix: add check for desktop

* refactor: add custom check for tablet os

* refactor: revert changes from endpoint note and server time

* refactor: device detection

* fix: style and update function for detection tablet os

* chore: remove empty space

* chore: remove used type

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

* fix: add check for purchase button popover for tablet

* fix: make popover optional for header

* refactor: add condition for wallets header

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

* chore: lock landscape mode on tablet view

* chore: only show tablet view on real tablet

* fix: notification

* chore: change implementation

* fix: change root

* refactor: comments

* fix: comments

* fix: height

* fix: rtl language

* refactor: remove extra property

* fix: positions modal height based on figma

* chore: add loader before rotating the screen

* fix: failing test

* chore: add timeout before hiding loader

* style: move styles

* chore: another ref for loader timeout cleanup

* fix: hide footer for dtrader

* chore: update os detect

* fix: failing tests

* fix: height issue

* fix: android device issue and toolbar widgets

* fix: reports height

* fix: test failing

* fix: position drawer on ios

* refactor: remove unused prop

* fix: route for contract

---------

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

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

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

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

* chore: lock landscape mode on tablet view

* chore: only show tablet view on real tablet

* fix: notification

* chore: change implementation

* fix: change root

* refactor: comments

* fix: comments

* fix: height

* fix: rtl language

* refactor: remove extra property

* fix: positions modal height based on figma

* chore: add loader before rotating the screen

* fix: failing test

* chore: add timeout before hiding loader

* style: move styles

* chore: another ref for loader timeout cleanup

* fix: hide footer for dtrader

* chore: update os detect

* fix: failing tests

* fix: height issue

* fix: android device issue and toolbar widgets

* fix: reports height

* fix: test failing

* fix: position drawer on ios

* refactor: remove unused prop

* fix: route for contract

* fix: failing test and ts

* fix: miseed ts errors

---------

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

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

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

* feat: change styles for mt5 jurisdiction modal

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

* feat: change more styles

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

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

* chore: lock landscape mode on tablet view

* chore: only show tablet view on real tablet

* fix: notification

* chore: change implementation

* fix: change root

* refactor: comments

* fix: comments

* fix: height

* fix: rtl language

* refactor: remove extra property

* fix: positions modal height based on figma

* chore: add loader before rotating the screen

* fix: failing test

* chore: add timeout before hiding loader

* style: move styles

* chore: another ref for loader timeout cleanup

* fix: hide footer for dtrader

* chore: update os detect

* fix: failing tests

* fix: height issue

* fix: android device issue and toolbar widgets

* fix: reports height

* fix: test failing

* fix: position drawer on ios

* refactor: remove unused prop

* fix: route for contract

* fix: failing test and ts

* fix: miseed ts errors

* fix: hide indicators and drawing tools for tablet view

* fix: test case

* fix: height reports

---------

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

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

* fix: hide popover on traders hub header

* fix: account switcher width

* fix: comments

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

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

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

* fix: subtasks 2

* fix: failing tests

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

* fix: subtasks 2

* fix: failing tests

* fix: positions toggle icon

* refactor: digit breakpoint

* fix: drawer moving when coming back from reports

* fix: tablet tooltip

* fix: hide download widget for tablet

* fix: report open position footer

* fix: double sell button

* fix: digit container

* fix: failing tests

* fix: tests

---------

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

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

* fix: css for link

* fix: css

* chore: get back line height

* refactor: add tablet os check and revert style changes

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

* fix: jest test trader

* fix: alignment issues

* fix: test cases

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

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

* chore: strike icon

* fix: revert all

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

* chore: remove unused hook

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

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

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

* feat: add styles for mt5 password modal

* feat: fix notifications styles

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

* chore: strike icon

* fix: revert all

* chore: add important

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

* chore: strike icon

* fix: revert all

* chore: add important

* fix: update packages and remove temp fix

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

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

This reverts commit ef2dddb.

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

* fix: creation banner and adding mt5 account

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

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

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

* feat: tablet view suggestion

* feat: implement new design for tablet

* chore: fix test cases

* chore: add observer

---------

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

* chore: lock landscape mode on tablet view

* chore: only show tablet view on real tablet

* fix: notification

* chore: change implementation

* fix: change root

* refactor: comments

* fix: comments

* fix: height

* fix: rtl language

* refactor: remove extra property

* fix: positions modal height based on figma

* chore: add loader before rotating the screen

* fix: failing test

* chore: add timeout before hiding loader

* style: move styles

* chore: another ref for loader timeout cleanup

* fix: hide footer for dtrader

* feat: added teamp breakpoints

* feat: enable tablet view on accounts

* feat: enabled table view for financial assessment

* feat: tablet design for personal details

* chore: update css files

* feat: enable table view for financial assesment

* feat: enabled tablet view

* feat: removed unwanted code

* feat: updated with logical property

* feat: removd ui store and added devices

* feat: updated nav condition

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

* fix: padding of content and footer btn

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

* fix: add check for desktop

* refactor: add custom check for tablet os

* refactor: revert changes from endpoint note and server time

* refactor: device detection

* fix: style and update function for detection tablet os

* chore: remove empty space

* chore: remove used type

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

* fix: add check for purchase button popover for tablet

* fix: make popover optional for header

* refactor: add condition for wallets header

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

* chore: lock landscape mode on tablet view

* chore: only show tablet view on real tablet

* fix: notification

* chore: change implementation

* fix: change root

* refactor: comments

* fix: comments

* fix: height

* fix: rtl language

* refactor: remove extra property

* fix: positions modal height based on figma

* chore: add loader before rotating the screen

* fix: failing test

* chore: add timeout before hiding loader

* style: move styles

* chore: another ref for loader timeout cleanup

* fix: hide footer for dtrader

* chore: update os detect

* fix: failing tests

* fix: height issue

* fix: android device issue and toolbar widgets

* fix: reports height

* fix: test failing

* fix: position drawer on ios

* refactor: remove unused prop

* fix: route for contract

---------

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

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

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

* style: initial style changes

* feat: tablet view changes for languages

* feat: removed unwanted new line

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

* chore: lock landscape mode on tablet view

* chore: only show tablet view on real tablet

* fix: notification

* chore: change implementation

* fix: change root

* refactor: comments

* fix: comments

* fix: height

* fix: rtl language

* refactor: remove extra property

* fix: positions modal height based on figma

* chore: add loader before rotating the screen

* fix: failing test

* chore: add timeout before hiding loader

* style: move styles

* chore: another ref for loader timeout cleanup

* fix: hide footer for dtrader

* chore: update os detect

* fix: failing tests

* fix: height issue

* fix: android device issue and toolbar widgets

* fix: reports height

* fix: test failing

* fix: position drawer on ios

* refactor: remove unused prop

* fix: route for contract

* fix: failing test and ts

* fix: miseed ts errors

---------

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

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

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

* feat: change styles for mt5 jurisdiction modal

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

* feat: change more styles

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

* style: update self-exclusion deign tablet

* chore: update mixin names

* feat: enabled tablet view for trading assessment

* style: tablet design api token

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

* chore: lock landscape mode on tablet view

* chore: only show tablet view on real tablet

* fix: notification

* chore: change implementation

* fix: change root

* refactor: comments

* fix: comments

* fix: height

* fix: rtl language

* refactor: remove extra property

* fix: positions modal height based on figma

* chore: add loader before rotating the screen

* fix: failing test

* chore: add timeout before hiding loader

* style: move styles

* chore: another ref for loader timeout cleanup

* fix: hide footer for dtrader

* chore: update os detect

* fix: failing tests

* fix: height issue

* fix: android device issue and toolbar widgets

* fix: reports height

* fix: test failing

* fix: position drawer on ios

* refactor: remove unused prop

* fix: route for contract

* fix: failing test and ts

* fix: miseed ts errors

* fix: hide indicators and drawing tools for tablet view

* fix: test case

* fix: height reports

---------

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

* style: tablet design acnt limits

* feat: enabled poa for tablet view

* feat: removed unused code

* feat: used not desktop breakpoint

* fix: lof=gical property for css

* fix: css

* feat: updated device hook

* style: tablet view, modal fix

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

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

* fix: hide popover on traders hub header

* fix: account switcher width

* fix: comments

* feat: enabled tablet view for proof of income section

* style: tablet view for 2FA

* fix: build_issue

* chore: email-pswd-section

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

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

* fix: new button fixes

* fix: fixed containers

* fix: fixed comments1

* fix: fixed bug in desktop view

* fix: fixed comments 2

* fix: fixed comments 5

* fix: fixed comments 6

* fix: fixed padding and changed px to rem

* fix: removed lines

* fix: fixed code

* feat: added missing code which already merged

* chore: clean code

* fix: remove unused css

* fix: personal details section

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

* fix: subtasks 2

* fix: failing tests

* fix: fixed scrolling issue for tablet and mobile

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

* fix: removed unwanted code

* fix: fixed footer width

* test: fix testcases for useDevice hook

* test: update api-token testcase

* test: update api-token testcase

* fix: fixed width and scroll issue

* test: update api-token testcase

* chore: added new break points and removed old

* fix: update testcases

* fix: close-acnt modal

* fix: address comments

* fix: address comments

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

* fix: subtasks 2

* fix: failing tests

* fix: positions toggle icon

* refactor: digit breakpoint

* fix: drawer moving when coming back from reports

* fix: tablet tooltip

* fix: hide download widget for tablet

* fix: report open position footer

* fix: double sell button

* fix: digit container

* fix: failing tests

* fix: tests

---------

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

* chore: removed drag drop for tablet view

* fix: use new breakpoints r passkeys components

* fix: POI test cases

* fix: POI test cases2

* fix: POI test cases3

* fix: clean up and test cases in POI

* fix: POI clean up

* fix: style for tradingassessment

* fix: cleanup 3

* fix: style for tradingassessment

* fix: removed height

* fix: removed typoerror

* fix: removed code2

* chore: remove desktop/mobile wrappers

* chore: remove desktop/mobile wrappers

* fix: rtl changes

* style: update closing acnt

* chore: update prop name

* chore: update prop name

* style: close account margin

* fix: added missing code

* fix: added missing code2

* chore: resovled conflicts

* fix: replaced Desktop() with useDevice hook

* fix: replaced Desktop() with useDevice hook2

* fix: replaced Desktop() with useDevice hook3

* fix: replaced Desktop() with useDevice hook4

* fix: replaced Desktop() with useDevice hook5

* fix: replaced Desktop() with useDevice hook5

* style: empty commit to resolve conflicts

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

* fix: css for link

* fix: css

* chore: get back line height

* refactor: add tablet os check and revert style changes

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

* fix: jest test trader

* fix: alignment issues

* fix: test cases

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

* fix: added isDesktop to missing places2

* chore: fixed modal height issue and semicolon issue

* chore: removed extra semicolon

* fix: added isDesktop to missing places3

* fix: personal details error

* fix: added isDesktop to missing places4

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

* chore: strike icon

* fix: revert all

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

* fix: padding top for sections

* chore: fixed semocolon and scrollbar issue

* fix: fieldset max width

* fix: close acnt btn alignment

* fix: fixed scroll and padding in POI

* fix: close acnt btn alignment

* fix: px to rem fix

* fix: testcases

* chore: remove unused hook

* chore: updated with parent branch and resolved conflicts

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

* fix: poi scroll screen issue

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

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

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

* feat: add styles for mt5 password modal

* feat: fix notifications styles

* fix: fixed build issue

* fix: added test cases for passkeys

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

* chore: strike icon

* fix: revert all

* chore: add important

* fix: poi fixes1

* fix: fixed testcases

* fix: fixed testcases2

* fix: poi fixes2

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

* chore: strike icon

* fix: revert all

* chore: add important

* fix: update packages and remove temp fix

* fix: address comments

* fix: selfexclusion testcase

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

* fix: api and connected apps

* fix: css fixes

* fix: icon1

* chore: resolved comments and added fragment

* fix: self exclusion and css

* fix: endpoint page

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

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

This reverts commit ef2dddb.

* fix: api token layout

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

* fix: creation banner and adding mt5 account

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

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

* chore: fixed width of tray on mobile

* chore: addressed comments

* chore: removed duplicated import

* fix: border radius api card

* fix: btn aligmnent desktop

* fix: pull invalid date fix

* chore: back btn margin fix

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

* feat: tablet view suggestion

* feat: implement new design for tablet

* fix: fix passkeys and coverall issue

* fix: build fail

* fix: build fail

* fix: fix import

---------

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

Successfully merging this pull request may close these issues.

2 participants