Matthew Russell
1041864ad8
chore(trading): remove unnecessary forwarding of grid refs ( #4486 )
2023-08-04 11:08:28 +01:00
Maciek
bb9fce4831
feat(trading): 4322 get started steps ( #4440 )
2023-08-02 15:34:04 +00:00
Matthew Russell
c1675e4b49
feat(trading): design changes ( #4264 )
...
Co-authored-by: Art <artur@vegaprotocol.io>
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com>
2023-07-24 09:37:18 +01:00
Matthew Russell
c3e39b6e15
refactor(trading): pane stores for grid state ( #4119 )
2023-06-26 17:10:22 -07:00
m.ray
df88e77cdf
fix(trading): liquidity provision table quantum formatting ( #4114 )
2023-06-21 11:23:07 +00:00
Bartłomiej Głownia
1027827576
feat(trading): show margin level visualisation in asset breakdown modal ( #4048 )
2023-06-16 12:28:59 +02:00
Matthew Russell
98d248e02e
feat(accounts): accounts table quantum formatting ( #4076 )
...
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
2023-06-15 11:31:43 +01:00
Matthew Russell
0d96c487d9
fix(trading): use ag grid to handle error,loading and no data message ( #4012 )
2023-06-06 00:08:19 -07:00
Bartłomiej Głownia
d6e2432955
fix(accounts): avoid last row re-rendering ( #3950 )
2023-06-05 12:40:34 +02:00
Bartłomiej Głownia
f364dabe2f
feat(trading): show positions for all connected keys ( #3858 )
2023-05-25 11:59:08 +01:00
Matthew Russell
db75261cd5
chore(react-helpers): remove ag-grid deps ( #3628 )
2023-05-09 09:04:33 +01:00
Maciek
246577f401
feat(trading): persist table column sizes ( #3595 )
2023-05-09 08:09:53 +02:00
Matthew Russell
72821dd183
chore(utils,react-helpers,data-provider): remove apollo deps from ui-toolkit ( #3626 )
2023-05-07 18:01:07 -07:00
Bartłomiej Głownia
c37f9ebe66
feat(trading): divide order tab into open, closed, rejected and all ( #3541 )
2023-05-04 12:09:55 +02:00
m.ray
6c1c5bf2a9
feat(trading): pin collateral row ( #3218 )
2023-03-22 13:05:05 +01:00
Maciek
84795b2d6a
chore(trading): split bottom panel into two parts ( #3205 )
2023-03-17 09:50:43 +00:00
Maciek
5dbc5d7997
chore(trading): make loading masks in tabs consistent along the app ( #3155 )
2023-03-15 16:08:48 +01:00
Bartłomiej Głownia
6705eb4398
feat(trading): calculate required margin base on open volume, active … ( #2957 )
...
Co-authored-by: mattrussell36 <mattrussell36@users.noreply.github.com>
2023-03-09 10:03:50 +00:00
Maciek
197f2e8097
chore(trading): 2825 buttons floating over table rows ( #3084 )
2023-03-08 15:58:40 +01:00
Matthew Russell
a796a38200
chore(datagrid,utils,react-helpers): rename token app, add utils, datagrid, i18n ( #3022 )
2023-02-28 10:56:29 -08:00
m.ray
c22fec97b4
feat(trading): deposit to trade collateral tab pinned row ( #2921 )
2023-02-17 13:32:20 +00:00
Maciek
b2a115f935
chore(trading): handle timeout and offline errors ( #2918 )
2023-02-16 17:30:32 +01:00
Maciek
ee67736ac5
chore(trading): positions and collateral tab remove infinitive scroll ( #2898 )
2023-02-13 15:48:44 +01:00
m.ray
b40358a723
fix(trading): consolidate view as user mode ( #2778 )
2023-01-31 16:04:52 +00:00
Bartłomiej Głownia
1a6266e2ec
chore: fix data and no data message update issues in trading data grids ( #2620 )
2023-01-17 15:01:24 +00:00
Bartłomiej Głownia
4608683bde
feat(2408): trading data grid snags ( #2513 )
...
* feat: trading data grid snags
* feat: fix e2e tests, fix use order list data avoid rerender condition
2023-01-11 15:43:52 +01:00
macqbat
aafa3d7256
fix: fix empty rows on empty collateral list ( #2312 )
...
* fix: fix empty rows on empty collateral list
* fix: fix empty rows on empty collateral list
* fix: fix empty rows on empty collateral list
2022-12-05 11:05:31 +01:00
macqbat
8639cf0ff6
chore(2104): make account table ready for change from being empty to full and back ( #2302 )
...
* chore: split ag-grid table for make one empty ready for new records
* chore: split ag-grid table for make one empty fix linter issues
* chore: split ag-grid table for make one empty change implnt. Add unit test
* chore: split ag-grid table for make one empty fix failing int test
2022-12-02 13:32:54 +01:00
Matthew Russell
9dfce9e723
fix( #2209 ): make asset dialog use asset id rather than symbol ( #2217 )
...
* fix: make asset dialog use asset id rather than symbol
* fix: tests that relied on asset symbol rather than id
* chore: add missing asset id to mocks
* chore: add asset id to mocks for e2e tests
* chore: add missing asset id for orders mock
* chore: fix console-lite build
* chore: add missing asset ids to mocks
2022-11-23 23:42:22 +00:00
Bartłomiej Głownia
0c93023998
fix: remove useDataProviderHook updateOnInit ( #2041 )
...
* fix: fix useDataProviderHook updateOnInit
* chore: remove updateOnInit - always execute initial update in useDataProviderHook
* chore: remove useless variables param in useDataProvider update and insert callbacks
* chore: remove console.log
2022-11-14 16:08:12 +01:00
macqbat
dc5881b71b
chore: fix update results from dataProvider when variable change ( #1962 )
...
* chore: fix race conditions in useDataProvider hook
* chore: fix race conditions in useDataProvider hook - populate fix to other modules
* chore: fix race conditions in useDataProvider hook - populate fix to other modules
* chore: fix race conditions in useDataProvider hook - populate fix to other modules
* chore: fix race conditions in useDataProvider hook - populate fix to other modules
Co-authored-by: maciek <maciek@vegaprotocol.io>
2022-11-07 13:14:21 +01:00
Bartłomiej Głownia
ba9ad40ad2
chore: use optional chaining for ag-grid api ( #1810 )
2022-10-20 21:17:36 -07:00
macqbat
d8544ddd00
chore: accounts-table reload after partyId change ( #1764 )
...
* chore: accounts-table reload after partyId change
* chore: accounts-table reload after partyId change
Co-authored-by: maciek <maciek@vegaprotocol.io>
2022-10-18 11:40:26 +01:00
m.ray
7c5bfc4471
feat: 1648 add deposit button and show accounts 0 state ( #1696 )
...
* feat: #1648 add deposit button and show accounts 0 state
* fix: remove text-white and text-black
* fix : #1648 revert and add back row model type and data source in accounts table
* fix : #1648 fix linting issue
* fix : #1648 table tweaks buttons at the bottom
* fix : #1644 hide withdrawals history title
* fix : #1648 fix accounts-table test
* fix : #1648 fix trading-accounts.cy.ts test
* fix: leave ag grid to show overlay if data is simply null but there is no error or it's not loading
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
2022-10-12 11:49:13 +01:00
Radosław Szpiech
50df63c858
test: added tests to cover submit orders ac ( #1708 )
...
* test: added tests to cover submit orders ac
* fix: unit tests
* fix: mock subscription fixed
* fix: typo
* fix: lint
* fix(1593): remove ag-grid api presence check from providder update callbacks
* fix: unit tests
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
2022-10-12 09:55:23 +02:00
Bartłomiej Głownia
9dfe8789d1
fix(1649): don't use old data on rerender when data update from provider is handled by component ( #1707 )
2022-10-11 13:52:35 +02:00
Bartłomiej Głownia
0821cafdf0
chore: replace duplicated assets queries with assetsProvider ( #1617 )
2022-10-05 12:42:22 +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
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
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
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
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
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