Commit Graph

1192 Commits

Author SHA1 Message Date
Maciek
b7a440132d
feat(trading): make Sentry only after opt in (#3448) 2023-04-26 15:17:23 +00:00
m.ray
d6ecdf80fa
fix(fills): handle side_unspecified added for the aggresor (#3550) 2023-04-26 13:34:56 +00:00
Dexter
0a92f62a66 ci: publish esm and cjs 2023-04-25 10:11:55 +01:00
Dexter
11b08d16e4 ci: bump version 2023-04-24 15:56:05 +01:00
Dexter Edwards
a1366e59ec
fix(ui-toolkit): box size being wrong for multiline check boxes (#3527) 2023-04-24 12:10:52 +00:00
Bartłomiej Głownia
6371199537
feat(trading): add negative oracle status banner (#3486) 2023-04-21 18:31:52 +02:00
Dexter Edwards
75cb48a4b9
chore(react-helpers): make log level customisable (#3474) 2023-04-21 16:29:30 +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
Dexter Edwards
5995df8e68
chore(ui-toolkit,react-helpers,utils,tailwindcss-config): add more build targets (#3518) 2023-04-21 14:28:18 +00:00
Bartłomiej Głownia
4d5b7cf5e7
fix(trading): amend market list settlement asset column getter (#3487) 2023-04-21 16:08:41 +02:00
Joe Tsang
da59e83b19
test(governance): e2e tests for rewards pagination (#3473) 2023-04-20 16:48:42 +01:00
Art
360624282d
chore(web3): wallet connect v2 (#3324) 2023-04-20 17:20:59 +02:00
m.ray
911e927ab0
fix(wallet): fetch new keys without re-connecting the wallet (#3467) 2023-04-20 13:56:48 +02:00
Art
e4a51061a3
chore(ci): bump typescript (#3444)
Co-authored-by: Mikołaj Młodzikowski <mikolaj.mlodzikowski@gmail.com>
2023-04-20 11:56:33 +00:00
Bartłomiej Głownia
c15051d457
fix(trading): refactor market info accordion to avoid remount on candle reload (#3447) 2023-04-20 11:32:09 +02:00
Sam Keen
460ccdb3a2
feat(governance): associate form associate link (#3468) 2023-04-20 10:16:52 +01:00
Ciaran McGhie
48072eb4c3
chore(react-helpers): ugprade react-helpers to 0.2.0 and ui-toolkit to 0.11.0 (#3469) 2023-04-19 16:07:35 +01:00
Sam Keen
ae92ff2580
feat(governance): protocol upgrade proposals list and details (#3363) 2023-04-19 13:44:36 +01:00
Ciaran McGhie
3cd60ad3e6
chore(ui-toolkit): bump ui toolkit to 0.10.0 (#3458) 2023-04-19 09:46:57 +01:00
Art
2f4bc9484b
feat(environment): github releases (#3426) 2023-04-19 09:42:37 +01:00
botond
4d266963ae
feat(governance): paginate rewards (#3391) 2023-04-18 14:40:57 +01:00
Bartłomiej Głownia
ec12c7ecfd
fix(trading): update cached Order objects (#3450) 2023-04-18 13:56:13 +01:00
m.ray
045dace274
feat(trading): add liquidity provision link to orders table (#3432) 2023-04-18 13:55:11 +01:00
Bartłomiej Głownia
31859cb779
chore(trading): maintain always up to date active orders list (#3430) 2023-04-18 12:49:42 +02:00
Maciek
53ce9bfaa2
chore(assets): make query for asset list lighter (#3425) 2023-04-13 11:42:09 +00:00
m.ray
9fc6b255c8
fix(orders): update order toast intent and title (#3424) 2023-04-12 15:19:15 +00:00
Bartłomiej Głownia
bbfda65bcc
feat(withdraws): improve ux surrounding withdraw balances thresholds and delays (#3402)
Co-authored-by: m.ray <16125548+MadalinaRaicu@users.noreply.github.com>
2023-04-12 11:21:24 +02:00
Maciek
f3fe43724e
fix(deposits): deposit dialog doesn't respect given assetId (#3414) 2023-04-11 16:41:20 +02:00
m.ray
03f5ca3096
fix(trading): fix formatting on clicking on orderbook cell after decimal resolution update (#3409) 2023-04-11 12:23:43 +00:00
Maciek
b010c98346
fix(trading): welcome dialog with markets list click on market close window (#3404) 2023-04-11 11:34:44 +02:00
Bartłomiej Głownia
fd7940c4cf
chore(deal-ticket): remove not used code (#3406) 2023-04-11 08:13:41 +02:00
Matthew Russell
dfa3355a68
chore(trading): prevent node poll if query fails (#3411) 2023-04-10 14:48:03 -07:00
Maciek
ecd362615e
chore(deposits): impove UX on deposit dialog (#3401) 2023-04-10 12:59:02 +01:00
John Walley
2e5ff07824
chore(candles-chart): upgrade pennant to v1.8.1 (#3399) 2023-04-07 10:35:10 -07:00
Bartłomiej Głownia
7accb42793
fix(market-depth): make market data up to date, use fixed number of decimals in cumulative vol (#3361) 2023-04-07 10:34:51 -07:00
Matthew Russell
9229e7f686
chore(trading): update approval amount to be max uint256 (#3395) 2023-04-07 10:33:53 -07:00
m.ray
ed78261aad
fix(trading): order tx toasts title and intent should be set by status (#3368) 2023-04-07 13:01:12 -04:00
m.ray
363ca9c6e1
fix(trading): add liquidity provision docs (#3403) 2023-04-07 13:00:57 -04:00
m.ray
bafd3c384c
feat(trading): include fees in transfer amount (#3345) 2023-04-07 13:00:11 -04:00
Maciek
7e4aafcb77
chore(trading): add filters to the proposals table (#3375) 2023-04-06 15:30:21 +02:00
m.ray
2a2af3ba9c
fix(trading): fix docs resources (#3382) 2023-04-06 12:53:08 +01:00
Maciek
70943c523c
chore(deposits): persistence of deposit form state (#3348) 2023-04-05 14:53:55 +02:00
Matthew Russell
b483c13f81
chore(trading): fix bad grammar on approval notification (#3354) 2023-04-04 15:14:36 -07:00
Matthew Russell
bde7a9fbf9
fix(smart-contracts): add increased gas limit estimation (#3371) 2023-04-04 11:41:11 -07:00
Bartłomiej Głownia
351a5aaf96
chore(trading): remove not used close position code and liquidity subscription (#3350) 2023-04-03 14:58:06 -07:00
Bartłomiej Głownia
381d9011a0
fix(orders): restore filter by marketId (#3342) 2023-04-03 14:20:31 -07:00
Matthew Russell
18f1c0014c
chore(governance,explorer,multisig-signer): delete rest of sandbox/mirror env files (#3310) 2023-04-03 14:07:43 -07:00
m.ray
474543d91b
fix(trading): order stopped intent toasts (#3347) 2023-04-03 19:21:56 +00:00
Bartłomiej Głownia
2aad6b1a14
feat(deal-ticket): show total margin available for an order, and where it will come from (#3318) 2023-04-03 15:17:23 +02:00
Bartłomiej Głownia
8463d371ad
chore(trading): liquidity table DRY (#3346) 2023-04-03 15:02:43 +02:00
Maciek
7c82144f37
chore(trading): add metaKey detection - clean up some unit tests (#3337) 2023-04-03 10:20:20 +02:00
m.ray
ce0ccdfebc
feat(trading): add post only and reduce only orders (#3311) 2023-03-31 17:00:55 +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
2bfc3abd15
chore(trading): liquidity provision, change query for set flag live on true (#3335) 2023-03-31 14:20:44 +01:00
Maciek
c899da52c2
fix(trading): stabilize the liquidity provision table (#3320)
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
2023-03-31 11:41:16 +01:00
Matthew Russell
b9c4057ce5
feat(oracles,trading): 3224 add oracle links to market info (#3297) 2023-03-31 09:06:21 +01:00
Bartłomiej Głownia
77ada964b5
feat(market-depth): always show the same number of decimal places in order book (#3317) 2023-03-30 10:54:13 +01:00
botond
528fd96721
feat(announcements): announcements (#3252)
Co-authored-by: Mikołaj Młodzikowski <mikolaj.mlodzikowski@gmail.com>
2023-03-29 15:20:49 +02:00
Matthew Russell
5f7e60d22f
chore(orders): update orders filters (#3277)
Co-authored-by: maciek <maciek@vegaprotocol.io>
2023-03-29 13:12:29 +02:00
Maciek
fcda4d7fcd
chore(wallet,positions): use reduceOnly and IOC order for close position tx (#3263) 2023-03-28 23:50:11 -07:00
Art
6854980b32
fix(trading): volumes formatting (#3293) 2023-03-28 22:12:52 -07:00
Bartłomiej Głownia
8863209342
feat(trading): persist state of chart intervals studies and overlays (#3261) 2023-03-28 21:03:53 +02:00
Ciaran McGhie
e0b701e05a
chore(react-helpers): react-helpers v0.1.0 (#3289) 2023-03-28 16:13:34 +01:00
Sam Keen
eca212eee0
feat(governance): see user stake on validators table (#3250)
Co-authored-by: Joe <joe@vega.xyz>
2023-03-28 15:28:15 +01:00
Ciaran McGhie
081f5b48e2
chore(ui-toolkit): version 0.9.0 - includes healthbar in ui-toolkit (#3287) 2023-03-28 13:36:29 +01:00
Bartłomiej Głownia
4595db07b0
fix(trading): throttle deal ticket submit (#3282) 2023-03-27 11:46:40 -07:00
Maciek
a2b112d898
fix(positions): make positions table smoothly updated (again) (#3266) 2023-03-27 12:30:55 +02:00
Matthew Russell
8693f3bfd8
chore(trading): dont show faucet button until connected (#3251) 2023-03-24 17:06:22 -07:00
Bartłomiej Głownia
58c6652e29
feat(trading): use mini scroll in deal ticket, market info for and landing dialog (#3269) 2023-03-24 17:01:12 -07:00
Bartłomiej Głownia
e8adff25c4
fix(trading): handle lack of approval in trading deposit flow (#3278) 2023-03-24 16:57:00 -07:00
Art
8a0c15ac11
feat(explorer): breadcrumbs (#3254) 2023-03-23 19:11:34 +00:00
daro-maj
a060f94146
test(trading): 0003-WTXN submit vega transaction e2e tests (#3246) 2023-03-23 09:46:28 +01:00
Maciek
f649d78565
chore(orders): remove infinite scroll from order table (#3247)
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2023-03-23 09:13:07 +01:00
Joe Tsang
8d8f6b4928
test(governance): governance tests refactor (#3059) 2023-03-22 17:35:00 +00:00
m.ray
6c1c5bf2a9
feat(trading): pin collateral row (#3218) 2023-03-22 13:05:05 +01:00
Ciaran McGhie
74a3aa8566
refactor(ui-toolkit): move healthbar to ui-toolkit (#3121) 2023-03-22 11:33:46 +00:00
Dexter Edwards
90ceeebf15
fix(ui-toolkit): anchor button should be same size as button by default (#3172)
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2023-03-21 15:24:34 -07:00
Ciaran McGhie
18633efec3
chore(ui-toolkit): rework intent colours (#3202) 2023-03-21 16:40:39 +00:00
m.ray
a0b758334a
fix(trading): auction triggers liquidity API change in develop for core 0.69.0 (#3197)
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com>
2023-03-21 09:19:21 -07:00
Bartłomiej Głownia
9f3026aa4b
fix(market-depth): fix depth chart data upate, use market depth as mid price source (#3242) 2023-03-21 08:46:04 -07:00
Maciek
faa359e2fb
chore(trading): 2764 link to mainnet incident reports (#3235) 2023-03-21 08:19:54 -07:00
Bartłomiej Głownia
1d178b940f
feat(trading): store current tab selection (#3148) 2023-03-21 15:50:31 +01:00
Dexter Edwards
3e619acd4b
feat(ui-toolkit): button icons (#3233) 2023-03-20 14:40:04 +00:00
Bartłomiej Głownia
7ef1d75529
chore(trading): remove red background from trades table (#3214) 2023-03-17 09:52:40 +00:00
Maciek
84795b2d6a
chore(trading): split bottom panel into two parts (#3205) 2023-03-17 09:50:43 +00:00
daro-maj
0f7e76ae01
test(trading): increase coverage for 0004-ewal (#3210) 2023-03-16 13:29:40 +01:00
Joe Tsang
5c19263653
chore(governance): include slippage factor to proposals (#3204) 2023-03-16 10:41:18 +00:00
Maciek
5dbc5d7997
chore(trading): make loading masks in tabs consistent along the app (#3155) 2023-03-15 16:08:48 +01:00
Maciek
da7c0b84f7
chore(trading): display latency in block height progressing as warn or error (#3169) 2023-03-15 12:49:31 +01:00
Art
f407110e95
chore(environment): etherscan link (#3193) 2023-03-15 08:24:20 +00:00
Art
66a85cce2a
chore(explorer): market info shared panels (#3192) 2023-03-15 08:21:12 +00:00
Art
93f8450ecb
fix(utils): missing flags (#3194) 2023-03-15 08:20:41 +00:00
Joe Tsang
090d850647
test(governance): e2e rewards (#3190) 2023-03-14 16:10:58 +00:00
Maciek
95280f5b26
chore(environment): fetch networks configuration from repo (#3145) 2023-03-14 16:02:43 +01:00
Bartłomiej Głownia
613cce3683
feat(orders): use default filters in orders list (#3143) 2023-03-14 13:53:51 +01:00
m.ray
010ffc0f46
fix(trading): dropdown fix from testnet and validator-testnet (#3185) 2023-03-14 08:55:45 +00:00
m.ray
e5ebaf02d2
fix(trading): ledger entries table formatting (#3180) 2023-03-13 19:40:08 +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
64cf0c90a7
feat(trading): clarify collateral and breakdown tables (#3113) 2023-03-13 18:15:53 +00:00
m.ray
676aeb07a4
fix(trading): deal ticket validation on zero account balance and margin warnings (#3177) 2023-03-13 17:58:51 +00:00
Edd
f1fa13e0bd
feat(explorer): show signers in proposal multisig bundles (#3122) 2023-03-10 18:19:37 +00:00
Edd
4205dd471a
fix(explorer,trading): asset details should show quantum in asset dps (#3158) 2023-03-10 16:14:36 +00:00
Art
9d346d7846
feat(ui-toolkit): navigation (#3069) 2023-03-10 16:46:51 +01:00
Matthew Russell
b68136ba3f
chore(deposits): update faucet feedback i18n (#3132)
Co-authored-by: m.ray <16125548+MadalinaRaicu@users.noreply.github.com>
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
2023-03-10 14:43:32 +00:00
Joe Tsang
b3bfb90804
test(governance): new and update market proposal forms (#3131) 2023-03-10 14:03:36 +00:00
m.ray
327ebf3496
fix(trading): deal ticket expiry not wiped out after changing TIF from GTT (#3149) 2023-03-10 15:02:01 +01:00
Matthew Russell
1098accb84
fix(trading,explorer,governance): consistent zustand usage (#3133) 2023-03-10 14:01:51 +00:00
Bartłomiej Głownia
49e3baf094
feat(deal-ticket): simplify summary validation (#3144) 2023-03-09 16:12:59 -08:00
Maciek
a575b4c502
chore(trading): tweaks and improvements of floating bottom buttons (#3138) 2023-03-09 15:52:38 -08: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
8f5a2276de
fix(trading): order store connection to deal ticket (#3100)
Co-authored-by: Madalina Raicu <madalina@raygroup.uk>
2023-03-08 12:14:56 +00:00
m.ray
e66e96f12d
fix(trading): add loss socialisation docs links (#3109) 2023-03-08 09:42:25 +00:00
Bartłomiej Głownia
f10c33748f
fix(orders): orders table flickering (#3105) 2023-03-07 17:13:34 +01:00
Matthew Russell
adca4600c2
feat(deposits): deposit flow (#3062) 2023-03-07 08:17:02 +00:00
m.ray
3b3fcab4f4
fix(trading): fills table fees display (#3071) 2023-03-06 17:24:18 +01:00
Matthew Russell
f54a629179
feat(positions): positions losses and maintenance warnings (#2985) 2023-03-06 16:01:31 +00:00
Bartłomiej Głownia
a65ee358ff
fix(market-depth): orderbook row height calculation (#3068) 2023-03-06 10:21:45 +00:00
Bartłomiej Głownia
fab055bb34
chore(orders): fix order table rows flickering on filter change (#3088) 2023-03-05 14:08:16 +00:00
Edd
acd96fbf21
chore(smart-contracts): remove redundant ascii to hex in favour of ethers hexlify (#3066) 2023-03-03 12:21:22 +00:00
Matthew Russell
96bf12d4dd
fix(trading): add a timeout to show subscriptions as failed (#3073) 2023-03-03 12:20:51 +00:00
Maciek
5dd0cafeca
chore(trading): catch ethereum errors and capture to sentry (#3064) 2023-03-03 08:39:20 +01:00
Maciek
c030264211
chore(react-helpers): improve error catching in useResizeObserver (#3058) 2023-03-02 10:32:42 +01:00
Maciek
068f7b3fc3
chore(trading): tweaking catching no market data error (#3044) 2023-03-02 08:25:57 +01:00
m.ray
cddf2ba00b
fix(trading): edit order strikethrough (#3057) 2023-03-01 16:36:12 +00:00
m.ray
886b0cb6d3
fix(trading): deal ticket limit price input and margin warning (#3050) 2023-03-01 14:23:21 +00:00
Maciek
76bf45b461
chore(trading): add handle wrong chainId in withdrawal (#3015) 2023-03-01 09:07:31 +01:00
Matthew Russell
f128f41ea0
fix(environment): console not finding node (#3040) 2023-03-01 08:45:57 +01:00
Matthew Russell
fcb992b64e
chore(trading,explorer,governance): remove unused deps (#3019) 2023-02-28 22:09:58 -08: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
cc6ea6176a
fix(accounts): show breakdown in view as user mode (#3021) 2023-02-28 17:21:57 +00:00
Dexter Edwards
6b280d8a70
chore(token): add validator testnet env (#2808)
Co-authored-by: Edd <edd@vega.xyz>
2023-02-28 16:51:02 +00:00
Maciek
86739dfaad
chore(trading): loader component css animation only, preloader tweaks (#3027) 2023-02-28 15:31:23 +01:00
Sam Keen
d87adfd7d5
fix(governance): vote state update fix (#3023) 2023-02-28 12:43:20 +00:00
Ciaran McGhie
1bd56c9bdb
chore(ci): bump ui-toolkit version to 0.7.0 (#2961) 2023-02-28 10:13:51 +00:00
Matthew Russell
69a0830e80
fix(ui-toolkit): remove calt from nav and toasts (#3020) 2023-02-27 15:21:17 -08:00
m.ray
4eb6e09bd4
fix(trading): condense deal ticket & market info price range snags (#3012) 2023-02-27 18:04:13 +00:00
Maciek
a02100b079
chore(ui-toolkit): revert: loader no rerender version only 2023-02-27 07:51:50 -08:00
Maciek
4bb78e9891
chore(ui-toolkit): loader no rerender version only (#3011) 2023-02-27 16:44:48 +01:00
Art
a3fcd6b7dc
feat(explorer): validators page (#2982) 2023-02-27 09:17:23 +00:00
Matthew Russell
23ce480daa
feat(trading): show block height (#3010) 2023-02-27 09:16:19 +00:00
Matthew Russell
da209d96b0
fix(tailwindcss-config): fix calt for firefox, make calt opt in when using font-alpha (#3007) 2023-02-27 09:13:19 +00:00
Matthew Russell
649cc61280
chore(trading): fix formatting for volume cells in book (#3006) 2023-02-24 16:31:42 -05:00
Dexter Edwards
92ec7166bc
feat(token): 1823 tranches service (#2742) 2023-02-24 14:53:30 +00:00
Matthew Russell
56b5214dbf
chore(trading): grid cell fixes (#2986) 2023-02-24 14:38:45 +00:00
Maciek
94509a29c5
chore(ui-toolkit): add pseudo random instead Math.random (#2997) 2023-02-24 14:38:34 +00:00
Maciek
c29087cc96
chore(trading): filtering and sorting for ledger entries (#2944)
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2023-02-24 08:40:31 +01:00
m.ray
0c26d99ce2
fix(trading): fees breakdown layout and condense tabs (#2976) 2023-02-23 14:27:11 +00:00
m.ray
d95fdca0d4
fix(trading): update step on market dp (#2972) 2023-02-23 11:10:56 +00:00
Maciek
e4bf61c2e2
chore(trading): add market dropdown to account history (#2971) 2023-02-23 11:02:13 +00:00
Matthew Russell
63698fbb80
feat(trading,deposits): improve ethereum connection and approve step (#2926) 2023-02-22 16:27:17 -08:00
m.ray
3aefa10a4f
feat(trading): quote unit and settlement asset relation (#2953) 2023-02-22 17:05:31 +00:00
Edd
efeccc7972
feat(explorer): add transfers tx view (#2902) 2023-02-22 16:31:06 +00:00
Ciaran McGhie
abf69786ba
feat(ci): publish monorepo libs to npm (#2951) 2023-02-22 12:11:35 +00:00
Bartłomiej Głownia
4bb57e9c47
fix(market-depth): fix order book priceInCenter calculation and scroll to price (#2901) 2023-02-21 18:01:48 -08:00
Matthew Russell
a12a5b3a15
chore(trading,governance): remove busEvent for proposals (#2946) 2023-02-20 16:57:25 -08:00
Matthew Russell
849415a78e
fix: set size properly for checkbox icon (#2903) 2023-02-20 16:50:27 +00:00
Dexter Edwards
d33f5428b6
chore(token): governance missing details (#2938) 2023-02-20 16:18:40 +00:00
m.ray
c73b01d549
feat(trading): do not pin row of existing account as it will become duplicated (#2942) 2023-02-20 15:59:01 +00:00
Sam Keen
4286bc37b3
feat(wallet): tighten up the flow for "view as vega user" (#2934) 2023-02-20 15:56:12 +00:00
Art
d4ecb88fb4
feat(explorer): new proposals index page (#2925) 2023-02-20 15:53:23 +00:00
Sam Keen
ac53b1f97a
feat(governance,ui-toolkit): individual rewards table (#2928) 2023-02-20 14:30:11 +00:00
m.ray
94c40cce7d
fix(trading): re-use input errors instead of notification component (#2924) 2023-02-20 07:53:16 +00:00
Sam Keen
4dcdec7a35
fix(governance): navigation token drop down behaviour (#2931) 2023-02-17 16:41:32 +00: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
Matthew Russell
a82509f0e0
feat(trading): datanode block header for env and node switcher (#2905) 2023-02-15 19:52:54 -08:00
Art
969bfd6945
feat(explorer): markets and market details pages (#2914) 2023-02-15 14:20:01 +00:00
Joe Tsang
42cd32f376
test(governance): refactor proposal enactment tests (#2897) 2023-02-14 16:44:36 +00:00
m.ray
55d6dd4dce
feat(trading): deposit flow deal ticket (#2874) 2023-02-14 15:43:52 +00:00
Maciek
ee67736ac5
chore(trading): positions and collateral tab remove infinitive scroll (#2898) 2023-02-13 15:48:44 +01:00
Sam Keen
fa415318ff
feat(governance): epoch total rewards tables (#2889) 2023-02-10 18:01:30 +00:00
Art
fc93bbd7c5
feat(explorer): asset details (#2882)
Co-authored-by: Edd <edd@vega.xyz>
2023-02-09 18:12:38 +01:00
Bartłomiej Głownia
a5d53eee77
chore(trading): live update deal ticket market data (#2570) 2023-02-09 14:20:31 +00:00
Maciek
4dd63da62b
chore(trading): handle positions with market data gql errors (#2884) 2023-02-09 14:26:23 +01:00
Bartłomiej Głownia
56731e34cc
chore(react-helpers): add generic data provider unit test (#2776) 2023-02-08 17:35:10 +00:00
daro-maj
026e5f5679
chore(trading): key to key transfers e2e tests (#2878) 2023-02-08 18:31:41 +01:00
Sam Keen
da551f9d3c
feat(governance): replace proposal and vote busEvents with subscriptions (#2862) 2023-02-08 09:42:20 +00:00
Maciek
1952cb0e78
fix(trading): inform the user his connection to wallet is lost (#2863) 2023-02-07 11:31:15 +01:00
Matthew Russell
8dccee69f2
chore(trading): remove unnecessary sentry capture from asyncrenderer component (#2869) 2023-02-06 15:21:39 -08:00
Art
c7a6fdd879
chore(trading): new toasts designs (#2779) 2023-02-06 20:09:56 +00:00
Matthew Russell
8bcdaf4cda
feat(trading): key to key transfers (#2784) 2023-02-06 11:35:40 -08:00
macqbat
710e2daa27
chore(trading): notification component redesign (#2845) 2023-02-06 13:31:35 +01:00
m.ray
73de2fed43
fix(trading): when order is rejected change tx toast intent (#2851) 2023-02-06 11:44:04 +00:00
Sam Keen
536859e067
feat(governance): visual tweaks to main nav (#2839) 2023-02-06 11:18:14 +00:00
Matthew Russell
9ece19869d
chore(trading): update order subs to not use busevents (#2849) 2023-02-03 16:12:20 -08:00
m.ray
44d6d931d5
fix(trading): update async renderer on error (#2842) 2023-02-03 16:52:10 +00:00
m.ray
7f1e47d7fd
fix(trading): remove price flash cell from PNL (#2829) 2023-02-03 14:59:24 +00:00
Art
0eddfa4073
fix(ui-toolkit): dark and light shades mismatch (#2841) 2023-02-03 12:33:13 +00:00
macqbat
3f7692ce75
chore(trading): add alpha font to trading (#2833) 2023-02-02 19:25:14 +01:00
macqbat
83af6e74f6
chore(trading): no data message in charts (#2816) 2023-02-02 18:43:16 +01:00
m.ray
b9908003ba
fix(trading): fix symbol on order estimates (#2827) 2023-02-02 13:30:47 +00:00
macqbat
fb1ebb3bdf
chore(trading): remove noise form the test logs (#2801) 2023-02-01 16:58:47 +01:00
macqbat
d151b6e923
chore(trading): add sub statuses of opening auction trading mode (#2797) 2023-01-31 17:31:55 +01:00
Sam Keen
8f8e9c1061
feat(ui-toolkit): announcement banner to highlight mainnet sims (#2800) 2023-01-31 16:12:44 +00:00
m.ray
b40358a723
fix(trading): consolidate view as user mode (#2778) 2023-01-31 16:04:52 +00:00
Art
01f0934da3
chore(ui-toolkit): new colour palette (#2783) 2023-01-31 16:33:16 +01:00
Art
053cd0fa27
fix(trading): asset option on mobile got overflown (#2782) 2023-01-31 11:10:55 +01:00
Joe Tsang
1861852852
test(2704): proposals with market (#2775) 2023-01-30 18:06:04 +00:00
Bartłomiej Głownia
00e319b3c6
chore: handle not found errors as correct response (#2759) 2023-01-27 18:35:45 -08:00
m.ray
4b3b5c322a
fix: trades grid colors (#2766) 2023-01-27 18:55:20 +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
fe95c6fcbc
fix: show markets link & deal ticket validation (#2763) 2023-01-27 18:10:20 +01:00
macqbat
853ec8f69c
chore(2351): improve handling wallet errors (#2729) 2023-01-27 15:45:29 +01:00
Matthew Russell
cb9b811730
feat(#1791): block height check (#2701)
Co-authored-by: asiaznik <artur@vegaprotocol.io>
2023-01-27 11:31:23 +01:00
Bartłomiej Głownia
98b5260d93
feat: fix positions and margins providers update (#2753) 2023-01-27 09:39:39 +01:00
m.ray
cfb75fcf8f
fix: volume charts position dp (#2756) 2023-01-26 19:36:29 +00:00
Edd
33e528c569
fix(explorer): switch decimals used in lp commitment views (#2747) 2023-01-26 14:47:31 +00:00
m.ray
47b2a2fdcb
fix: volume chart values fixing - position dp (#2749) 2023-01-26 14:21:43 +00:00
m.ray
860938f26c
fix: market selected no longer available - add link to all markets (#2748) 2023-01-26 13:46:44 +00:00
Art
5766d84804
fix: select position (#2745) 2023-01-26 12:36:47 +00:00
Ciaran McGhie
3ed3714e79
fix(#2216): lp-dashboard grab market close from metadata (#2564) 2023-01-26 09:58:39 +00:00
Matthew Russell
3893b26d30
fix: dropdown menu portals (#2740) 2023-01-26 09:52:49 +01:00
Bartłomiej Głownia
129274a8e6
feat: add seperate transaction toast for completed eth transaction (#2733)
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2023-01-25 12:25:44 -08:00
Bartłomiej Głownia
3fadda15fd
chore: remove sentry captureException in marketDepthProvider update (#2713) 2023-01-25 11:58:37 -08:00
m.ray
7ea7edc1e2
feat(#2565): orderbook populate limit (#2690)
Co-authored-by: asiaznik <artur@vegaprotocol.io>
2023-01-25 11:38:26 -08:00
Art
b2ab4f49d9
feat: rich asset details dropdown (2557) (#2711) 2023-01-25 14:24:53 +00:00
m.ray
7279556bf7
feat(#2599): liquidity price range added in market info (#2716) 2023-01-25 13:42:29 +02:00
Dexter Edwards
52cc2ef7df
fix: add risk parameters (#2706) 2023-01-25 10:36:22 +00:00
macqbat
a218da93a6
feat: logging - working solution (#2696) 2023-01-25 09:43:11 +01:00
daro-maj
10fe82dea8
chore: deposit and withdrawal capsule e2e tests (#2720) 2023-01-25 08:21:17 +01:00
Matthew Russell
cd0e2e41a8
chore(#2668): use ui-toolkit checkbox for orderbook (#2702) 2023-01-24 21:49:59 -08:00
Matthew Russell
a016feab2a
fix: dont use current value in update callback for estimate queries (#2721) 2023-01-24 21:33:55 +00:00
Matthew Russell
c7aec5cfcb
chore: add cypress files to ignore list and use glob ignore option (#2700) 2023-01-24 08:06:46 -08:00
Art
165b131b27
chore: move token's web3 url connector to web3 lib (#2655)
Co-authored-by: Dexter <dexter.edwards93@gmail.com>
Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com>
2023-01-24 14:02:17 +00:00
Bartłomiej Głownia
0cff5895c7
feat: call update with null data from useDataProvider hook on variables change (#2689) 2023-01-24 14:01:51 +00:00
Art
346af6118d
chore: consolidate persisted order entries (#2673) 2023-01-24 13:56:12 +00:00
Joe Tsang
e883ef5c5e
test(#2639): e2e view public key tests (#2688) 2023-01-24 10:52:01 +00:00
botond
ae84e16b9b
chore: bump wallet client (#2662) 2023-01-20 20:05:18 +00:00
m.ray
e4ada295e2
fix(#2345): positions table link to markets (#2652) 2023-01-19 13:53:10 -08:00
Art
805e8fbee7
chore: focus on toggle (2562) (#2678) 2023-01-19 18:43:58 +00:00
m.ray
df4cea8e00
feat(#2661): show status on all markets list (#2669) 2023-01-19 10:09:24 -08:00
m.ray
52b25b8b15
fix: explorer header remove w-full network switcher (#2679) 2023-01-19 18:06:51 +00:00
Art
5ccef2de5e
feat: deposit and deal ticket transaction stores and toasts (#2495) 2023-01-19 13:10:52 +01:00
Dexter Edwards
f5b345636c
feat: view apps as any pub key (#2548) 2023-01-19 11:16:21 +00:00
Matthew Russell
c533c584da
chore: tidy market setup scripts (#2657) 2023-01-19 09:52:38 +00:00
m.ray
fbdcd04096
chore(#2618): rename fields in ledger entry query (#2658) (#2660)
Co-authored-by: macqbat <maciek@vegaprotocol.io>
2023-01-18 13:14:06 +00:00
m.ray
2a9f3c7568
fix: liquidation est. should update on price change (#2649)
* fix: liquidation close out price needs to update when price updates on limit orders

* fix(#2624): add test case on limit sell order
2023-01-17 16:31:39 +00:00
Matthew Russell
2c3c685522
feat(#2255): capsule tests for trading (#2498)
* feat: improve proposal types, add faucet for trading asset

* chore: yarn lock update

* fix: capsule tests to avoid jsx import

* chore: throw error so that ethereum setup failure is caught

* chore: org files and add logging

* chore: revert current trading-e2e .env file

* chore: add .env.capsule for trading tests on capsule

* chore: remove unused nx command

* chore: remove try catchs and allow errors to be caught by cypress

* chore: add slow tag for capsule test

* feat: move create market setup to libs/cypress

* chore: clearly separate vars meant for capsule with vars meant for non-capsule

* feat: remove hardcoded urls and use config obj

* chore: fix missing comma in genesis.tmpl

* chore: added limit order edit price test

* chore: remove encoding of transaction, update proposal tx trigger ratio to string

* chore: fix date and add date verification for update order

* chore: formatting fix

* chore: adjust trading app tests and workflows to be run in capsule in ci (#2574)

* chore: adjust trading app tests and workflows to be run in capsule in ci

* chore: fix token tests

* chore: increase timeout as it fails in ci

* chore: move market check to before function

* chore: add capsule logs to trading

* chore: increase proposal close time, also break up script for better debugging

* chore: bump up ethereum account setup timeout

* chore: suppress fetch logs to help with debugging

* chore: revert cy wraps now with suppressed logging

* chore: decrease tick amount

* chore: promise with timeout for better debugging

* chore: bump individual timeouts

* chore: bump timeout for tx wait promises

* chore: minor fix

* fix: leave Promise<any>

* fix: leave Promise<any>

* chore: fix home fail

Co-authored-by: Joe <joe@vega.xyz>
Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com>
Co-authored-by: Radosław Szpiech <szpiechrados@gmail.com>
Co-authored-by: Madalina Raicu <madalina@raygroup.uk>
2023-01-17 16:33:43 +01: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
m.ray
c70ec7676e
fix(#2569): market id copy update (#2627)
* fix(#2569): market id copy update

* fix: enable cell text selection on ag-grid by default

* chore: fix partially filled order test

Co-authored-by: Rado <szpiechrados@gmail.com>
2023-01-17 13:59:34 +00:00
macqbat
5e97391d53
chore(2559): filter ledger entries by account type (#2631)
* chore: ledger entries - add account type filters

* chore: ledger entries filtering - add int test

* chore: ledger entries filtering - fix linter fails

* chore: ledger entries filtering - fix int test failing

* chore: ledger entries filtering - fix int test failing
2023-01-17 13:44:23 +00:00
m.ray
e362d06b5a
fix: asset dropdown list (#2622)
* fix(#2556): asset dropdown list fix

* fix: add ID to market list and make cell copyable

* fix: revert market list table
2023-01-17 10:02:46 +00:00
macqbat
45a4dd7009
feat: mobile navbar on Console (#2547)
* feat: mobile navbar on Console

* feat: mobile navbar on Console - adjust unit test

* feat: mobile navbar on Console - adjust unit test

* feat: mobile navbar on Console - adjust themes

* feat: mobile navbar on Console - add some unit tests

* feat: mobile navbar on Console - refactor solution

* feat: mobile navbar on Console - adjust int tests

* feat: mobile navbar on Console - adjust styling

* feat: mobile navbar on Console - move close button into the drawer

* feat: mobile navbar on Console - adjust int tests

* chore: close drawe after navigation

* chore: mobile navbar on Console - adjust unit tests

* chore: mobile navbar on Console - adjust unit tests

Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2023-01-17 10:59:12 +01:00
Bartłomiej Głownia
5a0da4e158
feat: update market data components when they are in view (#2607) 2023-01-16 17:51:30 +00:00
m.ray
e5bf54ca02
fix: market expiry & trading live copy (#2619)
* fix(#2602): market expiry tooltip

* fix(#2612): update live trading copy

* fix: show - liq. supplied and fix lint issue

* fix: on-chain functionality tooltip

* Update apps/trading/components/welcome-dialog/welcome-notice-dialog.tsx

Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>

* fix: propose a market link

Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
2023-01-16 17:36:06 +00:00
Matthew Russell
b10effa3c7
chore: add link to etherscan for asset dialog contract address (#2561)
* chore: add link to etherscan for asset dialog contract address

* chore: use useEtherscanLink hook

* chore: fix unused import
2023-01-16 13:11:51 +00:00
Bartłomiej Głownia
06151c0592
feat: add marketId to orders query (#2536)
* feat: add marketId to orders query

* feat: move filters handling from useOrderListData to ordersProvider
2023-01-16 12:26:50 +00:00
macqbat
2b28ff6c18
chore: update fills tab - add tooltip with fees breakdown (#2606)
* chore: update fills tab - add tooltip with fees breakdown

* chore: update fills tab - fix failing unit test

* chore: update fills tab - add unit test

* chore: update fills tab - adjust int test
2023-01-13 10:44:01 +00:00
Sam Keen
47c0ec01eb
feat(2601): token homepage proposals should have their width halved on larger breakpoints (#2603) 2023-01-12 14:18:17 +00:00
Dexter Edwards
b8ff3d3050
feat(2093): token sub nav (#2549)
* feat: implement subnav using exisitng DD component

* chore: make nav as per design

* chore: fix conflicts

* style: make css for trigger match designs

* chore: add border to subnav card

* chore: reogranise files

* chore: remove unused imports

* fix: minor rendering errors

* test: add first tests

* chore: fix failing tests from nav update

* test: add unit tests for nav

* style: lint

* style: make navbar theme work properly

* style: lint

* chore: remove unnecessary click on header

* fix: move route config to ts only file

* test: tidy up test logic

* feat: add nav drop down to ui toolkit

* fix: broken routing in places

* style: lint

Co-authored-by: Joe <joe@vega.xyz>
2023-01-12 11:45:22 +00:00
macqbat
06e1b3663d
chore: volume in chart enabled by default (#2577)
* chore: volume in chart enabled by default

* chore: volume in chart enabled by default - add unit test
2023-01-12 11:49:57 +01:00
m.ray
31ffa306eb
fix(#2554): close out formatting (#2584)
* fix(#2530): fix use order close out - formatting to be done in component

* fix: format number in console-lite
2023-01-11 17:10:35 +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
Edd
996c4ac4d5
chore: regenerate types from version 66 (#2568)
* chore: regenerate types from version 66

* chore: fix transfer type mappings

* chore: update triggering ratio to use strings

* chore: regen explorer types

* build(explorer): fix linting error in regenerated explorer types

* chore: remove expiry fields from tests and fix imports to use updated generated code

Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2023-01-10 14:21:54 -08:00
m.ray
0fd1739ce5
fix(#2553): show rejection reason & orderbook fixed dp (#2563)
* fix: orderbook fixed dp - and show rejection reason

* fix: show rejection reason in order list

* fix: fix parked rejection reason test

* fix: remove not covered part
2023-01-10 13:41:37 +00:00
Matthew Russell
9552fbc033
chore: change text for TRANSFER_TYPE_WIN (#2522) 2023-01-09 10:55:48 -08:00
m.ray
ef35999091
fix(#2532): show why market is in liquidity monitoring auction when liquidity supplied is > target (#2543)
* fix: add sufficient liquidity still auction message

* fix: add sufficient liquidity still auction message

* fix(#2532): update message

* fix(#2532): update liquidity data provider

* fix: lint issue

* fix: try update test
2023-01-09 14:39:03 +00:00
m.ray
bbdc64582a
feat(#2465): vega-pink across frontend-monorepo (#2476)
* feat(#2465): change red to vega pink

* feat(#2465): change red to vega pink part 2

* fix: update vega.red to vega.pink

* feat: color the charts

* feat: color the charts

* feat: color the charts

* fix: use dark pink and green

* fix: use dark pink and green

* feat(#2467): color long/short toggle and place order button

* fix: colors wick showing within candle

* fix: remove opacity from chart

* fix: use vega dark pink and green for vol cell

* fix: toggle and button colors

* feat(#2465): toggle peer checked text white

* fix: add liquidity supplied gap-2 in tooltip data grid

* fix: add indicator temporarily

* chore: update colors

* chore: update from x-dark to vega-x

* fix: rename symbols

* chore: update sell candles to only use stroke as they are solidly filled

* fix: remove use state

* fix: remove network account types

Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2023-01-06 16:58:55 +00:00
m.ray
dabae31bfd
fix(#2538): stake to ccy volume renaming (#2546)
* fix(#2538): stakeToCcyVolume param

* chore: fix for network params query error

Co-authored-by: Rado <szpiechrados@gmail.com>
2023-01-06 15:35:32 +00:00
Ciaran McGhie
8db3b01284
feat: add market close datetime to lp dashboard (#2529)
* feat: add proposal data from governance to market liquidity provider

We need data from this API to be able to tell when a market will close,
and when opening auctions will end.

* feat: add closing time to lp-dashboard market list page

Adds a 'closing time' column to the market list page on the dashboard.
2023-01-05 15:28:30 +00:00
Bartłomiej Głownia
4fbd2e5eba
feat(#2323): don't allow cancel all if there are no cancellable orders (#2472) 2023-01-05 13:11:58 +00:00
Matthew Russell
35de756120
fix(#2515): use accounts nested under LP provision (#2523)
* fix: use accounts nested under lp provision

* fix: add getLiquidityProvision test

Co-authored-by: Madalina Raicu <madalina@raygroup.uk>
2023-01-05 13:09:45 +00:00
botond
117c0c1306
fix: wallet connect save url to config (#2518) 2023-01-04 16:34:35 +00:00
macqbat
ba14ead8fc
feat(1784): maintenance page (#2505)
* feat: maintance page

* feat: maintenance page - add styling and animations

* feat: maintenance page - add skip of node inits

* feat: maintenance page - add unit test

* feat: maintenance page - add unit test
2023-01-04 13:45:50 +01:00
Art
1211d27011
fix: error message consitency (2486) (#2507)
fix: error message consitency (2486)
2023-01-04 13:25:11 +01:00
Art
e45265ac71
chore: chain id to name (714) (#2503) 2023-01-03 14:54:54 -08:00
Art
cc3c339cc3
fix: asset dialog overflow (2488) (#2497) 2023-01-03 10:37:23 -08:00
Radosław Szpiech
14f0c5a5fb
chore: change connect vega wallet to set vega wallet config in local storage (#2502) 2023-01-03 14:56:33 +01:00
Matthew Russell
82833cc06a
chore: fix and improve types for market proposal (#2493)
* chore: fix and improve types for market proposal

* chore: remove unused type definition
2022-12-30 10:05:48 -08:00
botond
aac3799b14
chore: add wallet client (#2462)
* chore: migrate to wallet client

* fix: bump client with new esm release version

* fix: add new no client error

* fix: bump wallet client to 0.1.2 and remove empty params from method calls

* fix: bump wallet client

* fix: format

* fix: reset client on url change

* fix: trading-deal-ticket tests after wallet client added

* fix: amend and cancel order tests, global connect tests

* chore: fix typescript error

* fix: connect wallet before mobile view test for console-lite

Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2022-12-30 10:05:27 -08:00
Edd
f8eec8a056
fix(explorer): fix resizing callout (#2492)
* fix(explorer): prevent layout thrashing on stats page
2022-12-30 11:40:47 +00:00
Matthew Russell
955e233c46
fix: dark class being removed on token due to theme switcher changes (#2484)
* fix: dark class being removed on token due to theme switcher changes

* chore: check for window before reading from document classlist
2022-12-29 21:01:37 -08:00
m.ray
1e98ecbd21
feat(#2367): liquidity supplied info in market header (#2481)
* feat(#2367): market liquidity supplied in trade market header

* feat(#2467): calculate LP status

* fix: add LP view link

* fix: add LP view link

* feat(#2367): show liquidity supplied percentage

* feat(#2367): show liquidity supplied percentage

* fix: liquidity-utils test needs big number

* feat(#2456): liquidity status marker

* feat(#2456): liquidity indicator

* feat(#2367): update props lp

* fix: use market data directly

* feat(#2367): move data grid in react-helpers

* feat(#2367): move data grid in react-helpers

* fix: indicator commented

* chore: remove unnecessary styles

* test: update test name

Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2022-12-28 09:37:19 -08:00
macqbat
64aa39fe4b
feat: add animated preloader (#2464)
* feat: add animated preloader

* feat: add animated preloader - add scss lines

* feat: add animated preloader - add scss lines

* feat: add animated preloader - ref scss lines

* feat: add animated preloader - add preloader property to loader component
2022-12-27 15:46:44 +00:00
m.ray
485c609791
fix: governance links to proposals (#2478) (#2480)
* fix: governance links to proposals

* fix:  fix proposals link in governance.cy.js

* fix: fix link for https://vega.xyz/governance
2022-12-27 15:18:42 +00:00
m.ray
61457bc24d
fix(#2474): liquidity provisions table has incorrect supplied values (#2475)
* fix(#2472): lp table supplied calculate bond account balance fixed

* fix(#2472): unit tests in accounts-data-provider.spec.ts

* fix(#2472): unit tests in accounts.mock.ts
2022-12-27 14:10:09 +00:00
botond
2217925285
fix: env ssl to subscription (#2440)
* fix: rename ssl environment check to subscription

* fix: format
2022-12-27 13:28:54 +00:00
Radosław Szpiech
6cb2e3a3cf
chore: move mocks next to graphql queries (#2469)
* chore: move mocks next to graphql queries

* chore: mock functions rework

* chore: clean up
2022-12-23 12:36:25 +01:00
Art
9c26f4d01b
chore: console dapp routes for skeleton page (2361) (#2450)
* chore: console dapp routes for skeleton page (2361)

* chore: console dapp routes for skeleton page (2361)

* chore: console dapp routes for skeleton page (2361)
2022-12-22 15:24:20 +01:00
Bartłomiej Głownia
dbba734672
feat: add filters to Orders query (#2446) 2022-12-22 10:52:09 +00:00
daro-maj
c2595b533d
chore: 7003 mord amend and cancel e2e tests (#2449)
* chore: cover e2e tests for: Amend order - price and Cancel orders

* chore: fix for formating

* chore: rework

* chore: fix for formating
2022-12-22 10:49:15 +00:00
Art
65316075fa
feat: view proposed network changes (579) (#2444) 2022-12-22 10:49:02 +00:00
m.ray
57c9ea9471
chore(#2410): market info reduce font sizes (#2443)
* chore(#2410): market info reduce font sizes

* chore(#2410): text-sm to row class name in market info
2022-12-21 16:06:50 +00: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
Art
87e1f9998e
feat: transaction store and toasts (#2382)
* feat: add eth and vega transaction stores

feat: replace useStoredEthereumTransaction with useEthTransactionManager

feat: add event bus subsciption to vega transaction store

feat: handle order cancellation

feat: rename Deposit, Order and Withdraw status field to be unique

Revert "feat: rename Deposit, Order and Withdraw status field to be unique"

This reverts commit f0b314d53fb3ada6fbebaba4fd1e5af6f38beaed.

feat: split transaction update subscription

feat: handle order and deposit transaction

feat: handle withdrawal creation through transaction store

feat: handle withdraw approval

feat: handle panding withdrawls, add createdAt

feat: handle transaction toast/dialog dismissal

feat: add use vega transaction store tests

feat: add use vega transaction store tests

feat: add use vega transaction menager tests

feat: add use vega transaction menager tests

feat: add use vega transaction updater tests

feat: improve use vega transaction updater tests

feat: add use eth transaction store

feat: add use eth withdraw approvals store

feat: add use eth transaction updater tests

fixed tests

* feat: toasts

feat: toasts

feat: toasts

* feat: add use eth withdraw approval manager tests

* feat: add use eth transaction manager tests

* feat: add use eth transaction manager tests

* feat: add useEthWithdrawApprovalsManager tests

* feat: remove Web3Container react container from CreateWithdrawalDialog

* feat: remove Web3Container react container around TransactionsHandler

* feat: remove unnecessary async from PendingWithdrawalsTable

* feat: remove comments from WithdrawalFeedback

* fixed z-index issue

* cypress

Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
2022-12-21 10:29:32 +01:00
Matthew Russell
0b4f918208
chore(#2412): refactor theme context (#2435)
* chore: switch theme to zustand, delete context

* chore: switch apps/componenets to consume the hook

* chore: update storybook theme usage to use documentElement

* chore: dry up theme switcher listener for storybooks

* feat: optional theme param to allow toggling

* chore: add additional check for matchMedia function

* chore: change block explorer test to use light theme as its the default

* chore: remove unused headerprops for multisig-signer

* chore: remove unused props from theme switcher component

* chore: dry up validateTheme func

* chore: remove unused props from explorer header test

* chore: use new theme switcher in account history container
2022-12-20 18:55:35 -08:00
Matthew Russell
df609d442c
chore: remove settlementDataDecimals field and regen graphql (#2442) 2022-12-20 17:36:54 -08:00
macqbat
a830e4729f
chore: fix too big margin in tooltips (#2438) 2022-12-20 14:41:30 +01:00
m.ray
c5b6032184
feat(#469): account history with pennant price chart (#2434)
* feat: account hitory poc

* feat(#469): update account history and chart

* feat(#469): remove radix toggle group

* fix: add use memo and some tweaks to make sure you pass undefined to cancel all

* feat(#469): add new version pennant

* feat(#469): style account history chart and no data splash

* fix(#469): use splash only

* fix(#469): sort assets list

* feat(#469): new pennant version

* fix: update query

* fix: update query

* Update libs/orders/src/lib/components/order-list/order-list.tsx

* Update libs/assets/src/lib/asset-details-dialog.tsx

* feat(#469): update test on trading positions tab

* Update apps/trading-e2e/src/integration/trading-positions.cy.ts

* fix: click on positions in portfolio

* feat(#469): refactor with async renderer

* feat(#469): refactor date range in account history

Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2022-12-20 11:22:35 +00:00
m.ray
cb80c6d417
chore(#2430): update stake reward to reward payout mapping (#2437) 2022-12-20 10:58:33 +00:00
macqbat
b9ff2388db
chore(2415): get rid of polling queries on deal ticket (#2427)
* chore: get rid of polling queries on dael ticket

* chore: get rid of polling queries on dael ticket - fix tests

* chore: get rid of polling queries on deal ticket - fix linter

* chore: get rid of polling queries on deal ticket - fix linter

* chore: get rid of polling queries on deal ticket - adjust int test

* chore: get rid of polling queries on deal ticket - adjust int test in console-lite

* chore: get rid of polling queries on deal ticket - adjust unit some test

* chore: get rid of polling queries on deal ticket - adjust unit some test

* chore: get rid of polling queries on deal ticket - clean up some redundant types

* chore: get rid of polling queries on deal ticket - clean up some redundant files
2022-12-20 10:01:10 +01:00
Sam Keen
f133200c7f
fix(2380): fixed block duration field to account for the new api format (#2423)
* fix(2380): fixed block duration field to account for the new api format

* fix(2380): removed unneeded import

* fix(2380): a little more hardened against duration being undefined and different environments returning different data

* fix(2380): improved comment
2022-12-16 12:25:20 +00:00
Sam Keen
0a3509faad
feat(2034): governance home (#2299)
* feat(2034): quickly-assembled governance home

* feat(2034): tweaks

* feat(2034): tidied up new homepage

* feat(2034): e2e test tweak

* feat(2034): tweaks from PR comments and adjusted epoch progress bg-colour

* feat(2034): fix linting
2022-12-16 10:11:14 +00:00
macqbat
7d5cc9b080
chore: change name of the column (#2420) 2022-12-15 13:38:55 +01:00
macqbat
e653ad328f
feat(2036): add markets to the navbar (#2402)
* feat: add markets to the navbar

* feat: add markets to the navbar - adjust failing int test
2022-12-15 08:45:03 +01:00
Sam Keen
071a9ab34b
feat(2326): style Token validators (#2388)
* feat(2326): styled up validators intro as per designs, including site-wide tweaking to headers for consistency

* feat(2326): styled up reduced height epoch progress bar

* feat(2326): styled up inline 'reveal all validators' table row. Test failing

* feat(2326): failing test fixed

* feat(2326): components and styling for validator table

* feat(2326): making proposals section consistent with new validators styling

* feat(2326): extra consistency changes

* feat(2326): linting fixes

* feat(2326): a couple of e2e test fixes

* feat(2326): more e2e test fixes
2022-12-14 13:25:03 +00:00
m.ray
e49ad9da6a
feat(#2273): orders and fills on trading page to be market specific (#2395)
* feat(#2273): make orders and fills tabs market specific in trade grid

* feat(#2273): fix order navigation and show orders for this market only checkbox

* fix(#2273): fills container should not require market

* feat(#2273): add marketId as hook dependency

* fix: use data-testid in trading orders

* fix(#2273): default to false
2022-12-14 12:59:59 +00:00
m.ray
817521bb08
feat(#1853): ledger entries date filtering (#2267)
* chore: update ledger entries columns

* fix: yarn generate types against stagnet3

* fix: orderbook decimal places issue  (#2235)

* 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

* feat(#1853): use date range filter

* feat(#1853): add date range filter to ledger entries on update

* chore(#1853): add extra checks

* fix: update types on stagnet3

* fix: add checkpoint balance restore

* fix(#1853): fix ledger generic make data provider cast in ledger entries

* fix(#1853): fix transfer type

* fix(#1853): remove TransferTypeMapping cast type

* fix(#1853): remove pagination filtering and use formatForInput from date

* fix(#1853): call filterChangedCallback in onChange method

* fix(#1853): remove subscription from ledger entries table

* fix(#1853): filterChangedCallback called in useEffect gets triggered also on reset

* fix: use-order-list-data hook order of params for makeInfiniteScrollGetRows

* fix(#1853): fix ledger build import all as schema

* fix(#1853): fix schema import

Co-authored-by: maciek <maciek@vegaprotocol.io>
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
2022-12-14 09:43:16 +00:00
macqbat
c14e57cfd5
feat(2146): adjust and refactor welcome dialogs (#2384)
* feat: adjust and refactor welcome dialogs

* feat: adjust and refactor welcome dialogs - add int tests

* feat: adjust and refactor welcome dialogs - small fixes and imprvments

* feat: adjust and refactor welcome dialogs - fix a typo

* feat: adjust and refactor welcome dialogs - fix a property name

* feat: adjust and refactor welcome dialogs - fix an unit test
2022-12-13 14:31:28 +01:00