Commit Graph

106 Commits

Author SHA1 Message Date
m.ray
d03e4cf785
Feat/300 network parameters table ()
* network parameters table with key value rows and syntax blobs only for json values

* inline row not for syntax

* add unit test for network param table

* add cypress test to verify if values are non-empty

* remove some comments

* rename formatNumber method to addDecimalsFormatNumber and simplify formatNumber

* remove duplicate expect line

* use AsyncRenderer and sort params asc

* refactor and add extra tests to check ordering and loading cases

* format big number params with addDecimals formatNumber

* Update apps/explorer/src/app/routes/network-parameters/network-parameters.tsx

Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>

* capitalize and refactor tests

* missing ; caused formatting to fail

Co-authored-by: madalinaraicu <“madalina@raygroup.uk”>
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
2022-05-04 18:15:54 +03:00
Matthew Russell
3af4e354cd
Mock accounts for trading page ()
* move accounts and positions into own feature, add mock for accounts

* use length for expected number of columns

* combine trading feature tests into single trading-page.feature

* add orders scenario for trading page

* fix typo

* move related test cases for orders together
2022-04-29 14:24:15 +01:00
Bartłomiej Głownia
d0ec016adc
Feature/151 orderbook ()
* [] Add orderbook

* [] Add orderbook components

* [] Add market-depth data provider

* [] Add orderbook manager

* [] handle market depth updates in orderbook manager

* [] Fix PageQueryContainer usage of AsyncRenderer

* [] Move data handling logig out from orderbook manager

* [] Use mocked data, fix data issues

* [] Add compact order book data unit tests

* [] Add updateData unit tests

* [] Add updateCompactedData unit tests

* [] update cummulative vol on update, move data ref handling from effect to manager

* [] Update cummulative vol on update, fixes

* [] Optimieze orderbook ag-grid render

* [] Replace ag-grid with orderbook component

* [] Use react memo to optimize orderbook rendering

* [] Fix cummulative vol computation on compacted data update

* [] Add resolution controls

* [] Fix cumulative spelling mistake

* [] Use number instead of string for cumulative values

* [] Expose restart callback in useDataProvider hook

* [] Update empty cumulative values

* [] Add horizontal line under header in orderbook

* [] reuse orderbook data in market-depth chart

* [] restart market depth provider on sequenceNumber gap

* [] use throttle in orderbook and depth-chart

* [] Add comments, refactor data functions

* [] Add comments, refactor data functions

* [] move orderbook and depth-chart libs to market-depth
2022-04-26 17:26:28 +02:00
Bartłomiej Głownia
2cdf349641
Limit number of warnings in tests () 2022-04-25 17:33:49 +01:00
Dexter Edwards
ce5d7bc15b
run nx format () 2022-04-25 15:03:58 +01:00
Bartłomiej Głownia
c573349f68
[] Add accounts table ()
* [] Add accounts table

* [] Add summary row to accounts table
2022-04-06 10:48:05 -07:00