m.ray
c22fec97b4
feat(trading): deposit to trade collateral tab pinned row ( #2921 )
2023-02-17 13:32:20 +00:00
m.ray
b40358a723
fix(trading): consolidate view as user mode ( #2778 )
2023-01-31 16:04:52 +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
m.ray
b6c448b630
fix( #2413 ): collateral table to have separate used available cells ( #2436 )
...
* fix(#2413 ): separate collateral used and available cells
* fix(#2413 ): fix accounts table test update
* fix(#2413 ): move progress bar in breakdown.tsx
2022-12-21 10:35:15 +00:00
botond
2211abbd72
chore: cleanup type gen ( #2362 )
...
* chore: remove apollo type gen and clean up types lib
* fix: format
* fix: tests
* fix: format
* fix: hammer token types til sh*t turns green
* fix: format
* fix: apparently format again
* fix: lint
* fix: build-specs
* fix: format
* chore: regen types
* chore: regenerate types again
* fix: format
2022-12-08 21:13:30 +00:00
m.ray
41646086e4
chore( #2179 ): update number formatters across frontend-monorepo ( #2182 )
...
* chore: update stagnet3 urls
* chore(#2179 ): remove normalized number formatter functions and update getNumberFormat
* fix(#2179 ): fix unit tests on all formatters
* fix(#2179 ): fix some cypress tests
* fix: fix trading-accounts.cy.ts
* fix: update staking and wallet teardown tests
* chore: add e2e run-all command
* fix: wallet-eth test
* fix: fix tests in explorer and token
* fix: fix common.functions.js
* fix: fix common.functions.js in explorer
* fix(#2179 ): fix common.functions.js in explorer
* fix(#2179 ): fix common.functions.js in explorer
* fix(#2179 ): fix common.functions.js in explorer
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2022-11-22 18:14:16 +00:00
m.ray
0189b9c94e
fix: fixes around formatting numbers and arrange edit order dialog ( #2178 )
...
* fix: update size and order edit dialog
* fix: update decimals on position notional size
* fix: normalize values
* fix: fix positions unit tests
* fix: remove liquidation price
* fix: positions linting issue
* fix: remove liquidation price test
* fix: remove total summary row
* fix: remove comments
* fix: cypress test to not show trailing 0s
* fix: add back liq. price est as cell only
* fix: remove not used params
* fix: positions formatting in select market and format account numbers
* fix: remove import
* fix: remove redundant comment
* fix: fix unit tests
* fix: fix cypress tests
2022-11-18 19:00:38 +00:00
Art
633c2ae526
chore: updated order rejection reason mapping, types regen (1808) ( #1845 )
2022-10-25 11:07:54 +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
m.ray
a71f40956b
fix: deal ticket estimated uncrossing ( #1636 )
...
* fix: invalid uncrossing price
* chore: align estimated uncrossing price with size label
* fix: 0 used balance on margin and bond accounts should not be displayed
* fix: small tweaks and bugfixes
* fix: filter empty acounts
* fix: fix unit test
* fix: fix unit test
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2022-10-07 16:19:01 +01:00
Matthew Russell
1f8f54617b
chore: misc quick wins ( #1596 )
...
* fix: make sparkline appear after change cell
* fix: make price come after expiry in market header
* fix: refer to size rather than amount in validation
* fix: radio colors in light theme
* fix: remove orange border from vega tx pending state
* chore: combine deposit and withdraw buttons into single cell
* chore: update accounts table test, remove console warning from breakdown tests
* chore: update order validation test
* chore: place market table header in correct position
* chore: use actual change id to avoid clash
* fix: remove assertion in fills table that is flakey
* chore: render fills table with act
* fix: add a wait time for infura queries to resolve
2022-10-04 21:00:06 -07:00
macqbat
406b69566f
Feat/1491 insert accounts and positions ( #1515 )
...
* feat: inserts of new item in positions
* feat: inserts of new item in positions - move select-market to app dir
* feat: inserts of new item in positions - add delta to update
* feat: inserts of new item in positions - fix e2e mocks
* feat: inserts of new item in positions - fix e2e mocks
* feat: inserts of new item in positions - adjust e2e mocks
* feat: inserts of new item in positions - adjust e2e tests
* feat: inserts of new item in positions - adjust e2e tests
* feat: inserts of new item in positions - adjust e2e trading tests
* feat: inserts of new item in positions - adjust e2e account tests
* feat: inserts of new item in positions - adjust e2e account tests
* feat: inserts of new item in positions - adjust e2e account tests
* feat: inserts of new item in accounts - manage inserting new accounts
* feat: inserts of new item in accounts - adjust console-lite tests
* feat: inserts of new item in accounts - adjust console-v2 tests
* feat: inserts of new item in accounts - adjust console-v2 tests
* feat: inserts of new item in accounts - clean up after merge
* feat: inserts of new item in accounts - fixes after feedback
Co-authored-by: maciek <maciek@vegaprotocol.io>
2022-10-04 10:37:31 +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
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
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
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
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
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