Commit Graph

86 Commits

Author SHA1 Message Date
Bartłomiej Głownia
cefcff040f
feat(positions): use i18next (#5266) 2023-11-17 19:49:19 -08:00
Matthew Russell
78add88014
chore(trading,governance,explorer): comply with eslint type import rules (#5257) 2023-11-14 16:43:36 -08:00
Matthew Russell
d85f413e41
chore(trading,positions): update estimatePosition query to use market decimals for liquidation price (#5005) 2023-10-24 17:30:17 -07:00
Matthew Russell
ef4a740b91
fix(trading): allotment breaking [main] (#4875) 2023-09-25 17:26:06 -04:00
Matthew Russell
d7e2da7a54
fix(trading): missing styles for tooltip in positions table (#4780) 2023-09-14 14:00:59 -07:00
Bartłomiej Głownia
fbd01dc1bd
fix(trading): use asset decimals to format liquidation price in posions table (#4787)
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2023-09-14 11:18:58 -07:00
Matthew Russell
7f5e8ebb15
chore(trading): replace successor cols with market code cell (#4722) 2023-09-12 11:52:03 -07:00
Matthew Russell
f75787562c
chore(trading): minor style changes 2 (#4698) 2023-09-04 20:03:59 -07:00
Matthew Russell
21bb6a69c6
chore(trading): minor style tweaks (#4696) 2023-09-04 17:21:46 -07:00
Matthew Russell
6d130c9cfc
feat(positions): filter closed markets in positions table (#4569) 2023-08-22 10:17:10 +01:00
Matthew Russell
611f8d7491
feat(positions): table layout changes (#4558) 2023-08-17 11:07:48 +01:00
m.ray
e3ed71bec4
chore(trading): use action icon buttons (#4550) 2023-08-16 15:38:19 +01:00
Matthew Russell
e4eedf5ccd
feat(trading,datagrid): datagrid improvements (#4524) 2023-08-15 12:26:13 +01:00
m.ray
aac0c25d09
fix(trading): positions tooltips update (#4504) 2023-08-08 13:27:17 +01:00
Matthew Russell
1041864ad8
chore(trading): remove unnecessary forwarding of grid refs (#4486) 2023-08-04 11:08:28 +01:00
Matthew Russell
f8c4d39b93
fix(positions): fix valueGetter for realisedPNL in positions table 2023-07-20 17:55:21 +01:00
Matthew Russell
e55cf5ecc6
chore(trading): cherry pick position pnl formatting fix (#4347) 2023-07-20 12:52:33 +01:00
Art
f6fc4df1c5
chore(trading): dropdown alignments, account history default asset, transfer dialog asset selector (#4239) 2023-07-05 13:02:02 +02:00
Bartłomiej Głownia
6e9e7c2a5c
fix(positions): use market decimal places to format realized and unrealized PnL (#4225) 2023-06-30 14:58:01 +02:00
Matthew Russell
c3e39b6e15
refactor(trading): pane stores for grid state (#4119) 2023-06-26 17:10:22 -07:00
Bartłomiej Głownia
310506e5af
feat(positions): live update market data in positions table (#4154) 2023-06-26 12:50:57 +02:00
Bartłomiej Głownia
597e07608f
feat(positions): add liquidation to positions view (#4115) 2023-06-20 21:49:52 +00:00
Bartłomiej Głownia
f364dabe2f
feat(trading): show positions for all connected keys (#3858) 2023-05-25 11:59:08 +01:00
Bartłomiej Głownia
67643afd74
fix(trading): positions and markets settlement asset column filter and sort (#3873) 2023-05-22 12:34:05 -07:00
Matthew Russell
8dc465c1d1
feat(trading): additional row actions for tables (#3600) 2023-05-17 21:05:53 -07:00
Maciek
0a6e3cb6f5
chore(trading): refactor docs links resolver (#3782) 2023-05-17 12:10:31 +02:00
Maciek
246577f401
feat(trading): persist table column sizes (#3595) 2023-05-09 08:09:53 +02:00
Matthew Russell
eefcc96149
fix(datagrid): prevent unmount of aggrid on theme change (#3588) 2023-05-03 09:45:14 +01:00
Art
933878acf5
chore(ui-toolkit): leftover dependencies (#3485)
Co-authored-by: Joe <joe@vega.xyz>
2023-04-21 16:16:04 +01:00
Maciek
82e5128ba1
chore(trading): add "holding CMD + click" external link (#3273)
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2023-03-31 15:23:44 +02:00
Maciek
84795b2d6a
chore(trading): split bottom panel into two parts (#3205) 2023-03-17 09:50:43 +00:00
m.ray
8f3cf390c5
fix(trading): remove liquidation from positions & format price bounds with market dp (#3173) 2023-03-13 18:17:00 +00:00
m.ray
e66e96f12d
fix(trading): add loss socialisation docs links (#3109) 2023-03-08 09:42:25 +00:00
Matthew Russell
f54a629179
feat(positions): positions losses and maintenance warnings (#2985) 2023-03-06 16:01:31 +00: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
Matthew Russell
56b5214dbf
chore(trading): grid cell fixes (#2986) 2023-02-24 14:38:45 +00:00
Maciek
ee67736ac5
chore(trading): positions and collateral tab remove infinitive scroll (#2898) 2023-02-13 15:48:44 +01:00
Maciek
4dd63da62b
chore(trading): handle positions with market data gql errors (#2884) 2023-02-09 14:26:23 +01:00
m.ray
73de2fed43
fix(trading): when order is rejected change tx toast intent (#2851) 2023-02-06 11:44:04 +00:00
m.ray
7f1e47d7fd
fix(trading): remove price flash cell from PNL (#2829) 2023-02-03 14:59:24 +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
b1280c8285
fix: hide close button if openVolume is zero (#2768) 2023-01-27 18:44:20 +00:00
m.ray
e4ada295e2
fix(#2345): positions table link to markets (#2652) 2023-01-19 13:53:10 -08: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
7d5cc9b080
chore: change name of the column (#2420) 2022-12-15 13:38:55 +01: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
081c9f44ae
fix: orderbook decimal places issue (#2235) (#2237)
* fix: positions table fixes notional dp (#2144)

* 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

* chore: merge with release/testnet

* fix: orderbook dp

* Update libs/positions/src/lib/positions-table.spec.tsx
2022-11-28 15:15:18 +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
b1fe10e6d4
fix(#2144): fix positions table notional value and remove total row (#2155) 2022-11-17 21:35:29 +00:00
Edd
e598cd1247
chore: update explorer to use v2 queries (#2049)
* fix: migrate queries to latest apis
* fix: remove oracles section for now
* fix: dive in to fields correctly
* fix: update queries
* fix: fragment for stats fields
* fix: rename triple underscore generated
* chore: refactor types that have moved
* chore(explorer): disable e2e test that asserts json structure
2022-11-15 12:31:25 +00:00