Radosław Szpiech
efcd128240
fix: console-lite e2e tests ( #1576 )
2022-09-30 16:51:41 +02:00
m.ray
907a4e256e
feat( #847 ): collateral table, add breakdown ( #1442 )
...
* feat: #847 show progress bar, margin accounts, no used/deposited
* feat: #847 add collateral tables
* fix : #847 add deposit asset type and fix tests
* feat: #847 show deposited value, avaliable and percentage used
* fix : #847 add styling fixes
* fix : #847 add deposit new asset button
* fix : #847 remove disabledSelect
to fix withdraw and deposit dialogs
* fix : #847 remove global reward from incoming - needs to be party specific
* fix : #847 integration tests
* fix : #847 default select deposit & withdraw
* fix : #847 default select deposit & withdraw
* fix : #847 pass asset id as default value
* fix: #847 use only bigint no bignumber, remove NaN check
* fix: #847 update deposit-form.spec.tsx
* fix: revert update on account fields
* feat: add storybook set up
* chore: ignore apollo errors - to be reverted after API will be fixed
* fix: container moved, progress bar in helpers
* fix : #847 UI tweaks around accounts container
* feat: #847 added useDepositAsset and useWithdrawAsset
* fix : #847 fix progress bar in accounts and positions
* feat: #847 add storybook
* fix : #847 added tooltip and updated filtering
* chore: #847 add get account data test
* fix : #847 fix lint and type in account story
* fix: #847 update data provider
* fix : #847 fix get account data dry & lp link
* fix : #847 fix breakdown table test
* fix : #847 account data provider test
* fix : #847 remove deposit new asset button - subscription does not display a
sset data
* fix : #847 add defaultValue in select otherwise default is not set up
* feat: #847 update data provider update method and tables
* fix : #847 fix accounts tests
* fix : #847 remove unused getRows
* fix: add decimals
* fix : #847 fix imports
* fix: update ids
* Update apps/trading/pages/liquidity/[marketId].page.tsx
* fix : #847 accounts update method check delta
* fix : #847 use vega value formatters and cell renderers
* fix : #847 fix imports
* fix : #847 handle new account else block comment
* fix: accounts and breakdown tables
* fix(#847 ): account data provider improvments
* fix : #847 fix formatters null check and add param
* fix : #847 fix withdraw test and mock the hook
* fix : #847 fix console lite grid select market test
* fix: console lite build
* fix: revert withdraw limits
* fix: remove redundant waitFor use vega cell renderer
* fix: breakdown display only use accounts
* fix: breakdown display only use accounts
* fix: updated accounts table
* fix: move update inside try useWithdrawAsset
* fix: update trading-accounts test
* fix: portfolio-page.test.ts
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
2022-09-29 17:40:44 -07:00
Bartłomiej Głownia
3f6bd066f1
Feat/asset balance decimals fix ( #1474 )
...
* feat: positions tab asset balance decimals
* feat: positions tab asset balance decimals
2022-09-26 14:33:01 +01:00
Art
ebf2bfc7a9
feat: added asset details dialog to market select (1226) ( #1260 )
...
* feat: added asset details dialog to market select (1226)
* Update libs/ui-toolkit/src/components/dialog/dialog.tsx
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* removed focus complexity from popover, refactored
* chore: after rebase fixes
* fix: fixed console-lite asset details dialog func - after rebase
* fix: added mock for one failing test, removed console.log
* fix: removed increased timeout - not needed
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2022-09-23 15:14:52 +02:00
macqbat
06a2fc4d12
fix: [console-lite] - empty portfolio views ( #1433 )
...
* fix: [console-lite] - empty protfolio views
* fix: [console-lite] - empty portfolio views - fix linters
Co-authored-by: maciek <maciek@vegaprotocol.io>
2022-09-23 07:51:18 +02:00
macqbat
5c4af868a7
feat: [console-lite] - abstract components for portfolio page ( #1306 )
...
* feat: [console-lite] - abstract components for portfolio page
* feat: [console-lite] - abstract components for portfolio page - improvements
* feat: [console-lite] - use abstract list with accounts manager
* feat: [console-lite] - use abstract list with positions
* feat: [console-lite] - use abstract list with orders
* feat: [console-lite] - use abstract list with fills
* feat: [console-lite] - fix failings linters
* feat: [console-lite] - fix failings e2e test
* feat: [console-lite] - fix failings e2e test
* feat: [console-lite] - improve some css
* feat: [console-lite] - a bunch of fixes for positions
* feat: [console-lite] - tweaks of columns confs, bunch of e2e tests
* feat: [console-lite] - abstract components for portfolio page - after review feedback fixes
* feat: [console-lite] - abstract components for portfolio page - after review feedback fixes
* feat: [console-lite] - abstract components for portfolio page - add missing asset datails dialog
* feat: [console-lite] - portfolio abstractions - add fills hook unit tests
* feat: [console-lite] - portfolio abstractions - add orders hook unit tests
* feat: [console-lite] - portfolio abstractions - fix lint error
* feat: [console-lite] - abstract components for portfolio page -fix failings tests
* feat: [console-lite] - abstract components for portfolio page -fix failings tests
* feat: [console-lite] - abstract components for portfolio page - fix failings lint check
* feat: [console-lite] - abstract components for portfolio page - next fix
* feat: [console-lite] - abstract components for portfolio page - improve some int test
Co-authored-by: maciek <maciek@vegaprotocol.io>
2022-09-22 13:09:12 +02:00
Bartłomiej Głownia
3bf5d823ee
chore: stagnet3 api updates ( #1321 )
...
* chore: update account, fills and orders subscriptions in data providers
* chore: update account, fills and orders subscriptions in data providers
* fixing console-lite
* fixing types in general - regen
* chore: update account, fills and orders subscriptions in data providers
* fixed console-lite unit tests, uncommented quote name
* chore: update account, fills and orders subscriptions in data providers
* type aligning of assets and proposals
* fixes liquidity data provider
* fixed accounts build errors and unit tests
* regen types, removed market name
* regen types
* fixed positions
* chore: handle updates in derived market provider, update orders
* removed taker fee mapping (renamed to maker fee)
* chore: update account, fills and orders subscriptions in data providers
* chore: update account, fills and orders subscriptions in data providers
* chore: fix Order type
* chore: fix possible null types
* chore: revert order-list.stories.tsx
* chore: derivedDataProvider fixes
* fills unit tests fixes
* orders unit tests fixes
* added eslint ingore for generated files in liquidity
* added unique key to the list element of simple market toolbar
* changed main-branch-name to develop for pr workflows
* removed redundant waitFor
* increased test timeout to 10s
* removed mocked response
* chore: disable simple market list tests
* chore: fix e2e projects mock types
* feat: [subscription-update] - uncomment some console-lite tests
* cypress: trading-accounts
* chore: replace market candles with candlesConnection
* chore: ignore gql errors, to be reverted after candlesConnectio n will be fixed
* feat: [subscription-update] - improve wrongly renamed hook
* feat: [subscription-update] - improve wrongly renamed hook
* feat: [subscription-update] - improve wrongly renamed hook 3
* chore: add pagination hangdling to derived data provier
* cypress: trading-fills
* feat: [stagnet3 api update] - remove redundant command in tests
* feat: [stagnet3 api update] - remove redundant command in tests
* chore: fix trading orders e2e tests
* chore: fix console lite e2e mocks
* chore: fix market-trade tests
* chore: use markets only in market selector, change Instrument cache policy
* chore: fix market-selector tests
* feat: [subscription-update] - improve ag grid conf for unit tests
* feat: [subscription-update] - improve ag grid conf for unit tests
* chore: fix candle types in console lite market mocks
* chore: revert error policy ignore
* chore: revert jest timeout
* chore: remove unused AccountFields
* chore: revert remove unused AccountFields
* chore: simplify node subscription probe
* chore: remove unused generated types in candles-chart
* chore: improve useMarketsList mock
* feat: [subscription-update] - increase jest timeout
* feat: [subscription-update] - fix jest timeout
* feat: [subscription-update] - fix jest timeout
* feat: [subscription-update] - try to fix failing test again
* chore: fix candles-chart types
* feat: [subscription-update] - temporary skip failing test
* feat: [subscription-update] - temporary skip failing test
* feat: [subscription-update] - temporary skip failing test
* feat: [subscription-update] - fix failling int test
* feat: [subscription-update] - try to restore commented unit tests
* feat: [subscription-update] - try to restore commented unit tests
* feat: [subscription-update] - improve fixed unit tests
Co-authored-by: asiaznik <artur@vegaprotocol.io>
Co-authored-by: maciek <maciek@vegaprotocol.io>
2022-09-20 08:24:28 -07:00
botond
7613a9fa9f
Feat/migrate libs ( #1266 )
...
* feat: add new generator with config
* feat: split off gql queries to separate files for the new generator
* fix: delete dummy schema
* feat: add generated queries with new codegen
* fix: regenerate from scratch and remove duplicates
* fix: libs and app gen folders
* fix: remove more duplicate queries
* fix: add generated files to be ignored by the formatter
* fix: format
* feat: migrate assets to use new code generator
* fix: generated imports
* fix: lint
* fix: accounts export
* fix: more imports
* fix: add type alias for new type system and regenerate
* fix: format
* fix: export
* fix: format
* fix: delete leftover file from merge
* chore: migrate candles-chart lib
* fix: remove redundant asset files
* chore: migrate accounts
* chore: update glob
* chore: add cleanup to fix-imports to support type migrations for now
* fix: imports
* fix: update market types
* fix: type import paths
* fix: format
* fix: import
* fix: types in e2e tests
* fix: format
* fix: lint
2022-09-09 16:14:48 +01:00
Art
c83b5bf93c
chore( #1259 ): replaced market name with tradable instrument name ( #1269 )
...
* chore: replaced market name with tradable instrument name (1259)
* removed lodash import that must have added itself magically
* =aligned cypress tests with code changed
* =aligned console lite cypress mocks to the code changes
* changed cypress market info key details test
* changed cypress market info key details test
* generate markets for console lite
2022-09-07 11:37:39 -07:00
botond
a57d484496
Fix/1083: Update type generator ( #1219 )
...
* feat: add new generator with config
* feat: split off gql queries to separate files for the new generator
* fix: delete dummy schema
* feat: add generated queries with new codegen
* fix: regenerate from scratch and remove duplicates
* fix: libs and app gen folders
* fix: remove more duplicate queries
* fix: add generated files to be ignored by the formatter
* fix: format
* fix: generated imports
* fix: lint
* fix: accounts export
* fix: more imports
* fix: add type alias for new type system and regenerate
* fix: format
* fix: delete leftover file from merge
2022-09-06 10:03:10 +01:00
Bartłomiej Głownia
6de90c6b1f
feat( #840 ): update positions tab ( #1101 )
...
* feat(#473 ): add positions metrics data provider
* feat(#473 ) add positions stats
* feat(#473 ) add positions stats
* feat(#473 ): add positions stats
* feat(#473 ): add positions stats
* feat(#473 ): position metrics, test and refactoring
* feat(#473 ): add unit tests to positions table
* feat(#473 ): fix spelling, order positions by updated at desc
* feat(#473 ): protect from division by 0
* feat(#473 ): fix trading positions e2e tests
* feat(#473 ): fix e2e data mocks
* feat(#473 ): post code review clean up
* feat(#993 ): dependencies handling in data provider
* feat(#993 ): fix e2e tests data mocks
* feat(#993 ): remove position metrics mocks, add market data market id
* feat(#993 ): add missing mocks, fix combine function
* feat(#993 ): set loading initially to true, add unit tests
* feat(#993 ): cleanup, add comments
* feat(#993 ): remove undefined from client type
* feat(#993 ): cosmetic changes
* feat(#840 ): update positions tab
* feat:(#993 ): pass informaton about update callback cause
* feat(#840 ): update positions tab
* feat(#840 ): update positions tab
* feat(#840 ): update positions tab
* chore: skip handles 5000 markets e2e test
* feat(#840 ): update positions tab
* feat(#840 ): rename assetDecimals to decimals
* feat(#840 ): close position
* feat(#993 ): notify about update
* feat(#840 ): add use close position hook
* feat(#840 ): do not show 0 volume positions, make liquidation price minimum 0
* feat(#840 ): post code review fixes and improvments
* feat: fix fill-table spec
2022-09-02 13:53:00 -07:00
m.ray
509a68d795
fix( #661 ): prices and number values right-aligned ( #1193 )
...
* fix : #661 prices and number values right-aligned
* fix: revert fills-table test created instead of date
2022-08-30 22:59:30 -07:00
Bartłomiej Głownia
93a5f911f5
feat( #993 ): derived data provider ( #1047 )
...
* feat(#473 ): add positions metrics data provider
* feat(#473 ) add positions stats
* feat(#473 ) add positions stats
* feat(#473 ): add positions stats
* feat(#473 ): add positions stats
* feat(#473 ): position metrics, test and refactoring
* feat(#473 ): add unit tests to positions table
* feat(#473 ): fix spelling, order positions by updated at desc
* feat(#473 ): protect from division by 0
* feat(#473 ): fix trading positions e2e tests
* feat(#473 ): fix e2e data mocks
* feat(#473 ): post code review clean up
* feat(#993 ): dependencies handling in data provider
* feat(#993 ): fix e2e tests data mocks
* feat(#993 ): remove position metrics mocks, add market data market id
* feat(#993 ): add missing mocks, fix combine function
* feat(#993 ): set loading initially to true, add unit tests
* feat(#993 ): cleanup, add comments
* feat(#993 ): remove undefined from client type
* feat(#993 ): cosmetic changes
* feat:(#993 ): pass informaton about update callback cause
2022-08-26 08:39:40 -07:00
m.ray
b6cda139df
chore: fix status mappings after API updates ( #1119 )
...
* chore(#1116 ): status mapping fixes after API changes
* fix: modify proposal status
* fix: update to use numbers in price cell rather than converting
2022-08-23 10:24:33 -07:00
Dexter Edwards
c70a273e0b
feat: 0.54.0 ( #949 )
...
* chore: remove stagnet2, add stagnet3
* fix: types for transaction order submission (#932 )
* test: add night runs again (#917 )
Co-authored-by: Rado <rado@vegaprotocol.io>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Feat/893 anchor per network param (#907 )
* feat: highlight network param targeted by anchor
* Feat/893: Highlighted key-value row colours
* Feat/893: Removed unneeded important bangs
Co-authored-by: sam-keen <samuel.kleinmann@gmail.com>
* Fix/687: Jump to block input should not allow negative block numbers or 0 (#918 )
* Fix/687: Jump to block input should not allow negative block numbers
* Fix/687: Jump to block input should have a minimum of 1
* fix: text and theme icon colors (#920 )
* Fix/eager connection (#923 )
* fix: eager connect
* chore: add comment for eslint disable
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Task/Remove vegawallet service api client (#916 )
* chore: remove generated vegawallet client code and implement in rest connector
* feat: add zod validation
* feat: handle specific auth/token delete case
* feat: make withdraw dialog match vega tx dialog
* fix: response stub to be right shape, add content type to requests
* chore: revert unrelated classname change
* feat: [console-lite] - fixes in order margin calcs (#891 )
* feat: [console-lite] - fixes in order margin calcs
* feat: [console-lite] - fixes in order margin calcs - fix decimals
* feat: [console-lite] - fixes in order margin calcs - add unit tests
* feat: [console-lite] - fixes in order margin calcs - improve cals
* feat: [console-lite] - fixes in order margin calcs - improve cals
* feat: [console-lite] - fixes in order margin calcs - more improvements
Co-authored-by: maciek <maciek@vegaprotocol.io>
* fix: make check link unclickable while loading (#928 )
* fix: make check link unclickable while loading
* fix: format
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix/904: Validators sorting (#913 )
* fix(790): gap between orderbook headers and tabs (#929 )
* feat: show correct reward type (#930 )
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Task/remove vegawallet service (#926 )
* feat: improve error handling
* chore: lint
* fix: cypress test incorrect assertion
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: order transaction types
Co-authored-by: Radosław Szpiech <szpiechrados@gmail.com>
Co-authored-by: Rado <rado@vegaprotocol.io>
Co-authored-by: mattrussell36 <mattrussell36@users.noreply.github.com>
Co-authored-by: Edd <edd@vega.xyz>
Co-authored-by: sam-keen <samuel.kleinmann@gmail.com>
Co-authored-by: Sam Keen <samuel@vegaprotocol.io>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: macqbat <kubat.maciek@gmail.com>
Co-authored-by: maciek <maciek@vegaprotocol.io>
Co-authored-by: asiaznik <artur.siaznik@gmail.com>
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* test: fix test import
* chore: resolve bad merge files
* chore: begin enum changes
* test: fix the majority of the tests
* test: fix tests
* style: lint
* fix: update enums
* fix: adjusted tests to updated enums
* ci: bump capsule
* fix: temporarily skip failing staking tests
* ci: revert capsule changes
* test: fix tests for stats
* chore: merge few changes and api updates to stagnet3 updates branch (#1100 )
* chore: merge few changes and api updates to stagnet3 updates branch
* chore: [console-lite] - fast fix in unit test
Co-authored-by: maciek <maciek@vegaprotocol.io>
* test: fix broken test
* chore: change to use the new nodes rather than load balancer
* style: formatting
* style: formatting
* chore: fix env file
* fix: don't assume GQL URL path
* fix: skip positions query if there is no part
* fix: simple trading app test
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
Co-authored-by: Radosław Szpiech <szpiechrados@gmail.com>
Co-authored-by: Rado <rado@vegaprotocol.io>
Co-authored-by: mattrussell36 <mattrussell36@users.noreply.github.com>
Co-authored-by: Edd <edd@vega.xyz>
Co-authored-by: sam-keen <samuel.kleinmann@gmail.com>
Co-authored-by: Sam Keen <samuel@vegaprotocol.io>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: macqbat <kubat.maciek@gmail.com>
Co-authored-by: maciek <maciek@vegaprotocol.io>
Co-authored-by: asiaznik <artur.siaznik@gmail.com>
Co-authored-by: Joe <joe@vega.xyz>
Co-authored-by: m.ray <16125548+MadalinaRaicu@users.noreply.github.com>
2022-08-22 15:50:13 -07:00
Art
6211c87389
Feat/627 show asset details ( #960 )
...
* feat: show asset details (627)
* feat: show asset details (627)
fixed tests
* feat: show asset details (627)
pr suggestions
* feat: show asset details (627)
var name convention
* feat: show asset details (627)
merge confict, keys
* feat: show asset details (627)
Introduced zustand store for asset details dialog.
* feat: show asset details (627)
Made it prettier
* fix: fixed lint error in accounts-table
2022-08-17 15:10:01 +01:00
m.ray
0523b56e39
feat: market list mega dropdown (rich popover) ( #889 )
...
* feat: use MarketList query only
* fix: remove Market.ts from index
* feat: 30 refactor dialog, market list, change query
* feat: #30 add indicativeVolume, total fees, tooltip, large dialog, tooltip accepts html description
* fix : #30 total fees display in tooltip
* fix : #30 toggle title on dialog open
* fix : #30 fix order, price, high, low utils
* fix : #30 fix test for market utils
* feat: #30 add popover with markets to select
* feat: #30 storybook popover
* feat: #30 remove border on trigger and add some other classes
* fix: #30 fix format check with format:write
* feat: #30 add tooltip on taker fee
* feat: #30 add tooltip on taker fee
* fix : #30 format on select market list
* fix : #30 remove unknown cast in test mock data
* fix : #30 show markets where you have open positions
* fix : #30 double check if open positions
* fix : #30 dialog has only small/large sizes
* feat: #30 add border on trigger and change padding and no wrap
* fix : #30 if fees or factors are not found
* fix : #30 remove markets.cy tests as markets page is now gone
* fix #30 remove view full market list test
* fix : #30 add rotating arrow on market title
* fix : #30 add ease-in-out on popover
* fix : #30 add ease-in-out on popover
* fix : #30 align select a market table
* fix : #30 select a market title
* fix : #30 select a market title
* fix : #30 fix any validateDOMnesting issues
* fix : #30 show loading market data
* fix : #30 add list of header columns
* fix : #30 add list of header columns
* fix : #30 small refactoring after review
* fix : #30 update bold undreline class names
* fix : #30 add large-mobile size
* feat: #30 refactor select markets tables to render array of columns
* fix : #30 remove size from select market dialog
* fix : #30 add extra file for columns
* fix : #30 update formtting
* fix : #30 make sure popup closes on same market navigation
* fix: rename market-utils, add calcCandle methods, store market id on select
* fix: useMemo ondata and marketPositionData + orderbook stories fix
* feat: #30 add open volume positions
* fix: add market summary back
* fix: update formatting
* fix: use currentcolor on arrow
* fix: create all markets page
* fix: add overflow-y auto
* fix: enlarge select market to get started dialog
* fix: revert markets container
* fix: use query to fix flickering on position markets
* fix: edit unordered list in tooltips
* fix: fix tooltip table
* fix: fix home.cy.ts
* chore: skip /markets tests
2022-08-11 12:56:35 +01:00
m.ray
71ede25339
chore: upgrade to React 18 ( #952 )
...
* chore: upgrade react only
* chore: import renderHook from testing-library/react
* chore: add @babel/runtime to fix tests
* fix: fix some of the tests
* fix: fix some of the tests
* fix: fix tests failing on not being wrapped in act
* fix: fix tests in use-environment
* fix: fix @types/react issue
* fix: fix formatting
* fix: remove unsued method
* fix: callout not accepting react node and root element null check
* fix: main.tsx stats null check
* fix: implicit any type fixes
* Update libs/environment/src/hooks/use-nodes.spec.tsx
* fix: import act from testing-lib
* fix: add strict mode back
* fix: fix formatting issues
* fix: add babel deps for storybook
* Update tsconfig.json (#970 )
* Update tsconfig.json
* feat: [console-lite] - add missing types in few places
Co-authored-by: maciek <maciek@vegaprotocol.io>
* chore(#952 ): remove any from useDataProvider hook
Co-authored-by: macqbat <kubat.maciek@gmail.com>
Co-authored-by: maciek <maciek@vegaprotocol.io>
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
2022-08-09 10:43:11 +01:00
Bartłomiej Głownia
b9aef78447
Add pagination support to generic-data-provider ( #691 )
...
* feat(#638 ): add pagination support to data-provider
* feat(#638 ): use infinite rowModelType in market list table
* chore(#638 ): code style fixes
* feat(#638 ): fix data provider post update callbacks, handle market list table empty data
* feat(#638 ): amend variable names to improve code readability
2022-07-05 15:33:50 +02:00
Bartłomiej Głownia
98d3c47808
feat(orderbook): improve data handling performance ( #605 )
...
* feat(orderbook): improve data handling performance
* feat(orderbook): fix scrolling out of range
2022-06-27 12:05:05 +02:00
Dexter Edwards
107171d46a
renaming test files ( #351 )
...
* renaming test files
* add eslint plugin jest
* enable linting rule and additional rules
* fix a metric ton of linting errors
* fix lint errors
* remove export
2022-05-12 13:32:14 +01:00
m.ray
d03e4cf785
Feat/300 network parameters table ( #333 )
...
* 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 ( #311 )
...
* 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 ( #266 )
...
* [#151 ] Add orderbook
* [#151 ] Add orderbook components
* [#151 ] Add market-depth data provider
* [#151 ] Add orderbook manager
* [#151 ] handle market depth updates in orderbook manager
* [#151 ] Fix PageQueryContainer usage of AsyncRenderer
* [#151 ] Move data handling logig out from orderbook manager
* [#151 ] Use mocked data, fix data issues
* [#151 ] Add compact order book data unit tests
* [#151 ] Add updateData unit tests
* [#151 ] Add updateCompactedData unit tests
* [#151 ] update cummulative vol on update, move data ref handling from effect to manager
* [#151 ] Update cummulative vol on update, fixes
* [#151 ] Optimieze orderbook ag-grid render
* [#151 ] Replace ag-grid with orderbook component
* [#151 ] Use react memo to optimize orderbook rendering
* [#151 ] Fix cummulative vol computation on compacted data update
* [#151 ] Add resolution controls
* [#151 ] Fix cumulative spelling mistake
* [#151 ] Use number instead of string for cumulative values
* [#151 ] Expose restart callback in useDataProvider hook
* [#151 ] Update empty cumulative values
* [#151 ] Add horizontal line under header in orderbook
* [#151 ] reuse orderbook data in market-depth chart
* [#151 ] restart market depth provider on sequenceNumber gap
* [#151 ] use throttle in orderbook and depth-chart
* [#151 ] Add comments, refactor data functions
* [#151 ] Add comments, refactor data functions
* [#151 ] 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 ( #298 )
2022-04-25 17:33:49 +01:00
Bartłomiej Głownia
c573349f68
[ #185 ] Add accounts table ( #193 )
...
* [#185 ] Add accounts table
* [#185 ] Add summary row to accounts table
2022-04-06 10:48:05 -07:00