Commit Graph

200 Commits

Author SHA1 Message Date
Bartłomiej Głownia
6705eb4398
feat(trading): calculate required margin base on open volume, active … ()
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 () 2023-03-08 15:58:40 +01:00
Bartłomiej Głownia
f10c33748f
fix(orders): orders table flickering () 2023-03-07 17:13:34 +01:00
Maciek
c030264211
chore(react-helpers): improve error catching in useResizeObserver () 2023-03-02 10:32:42 +01:00
Matthew Russell
a796a38200
chore(datagrid,utils,react-helpers): rename token app, add utils, datagrid, i18n () 2023-02-28 10:56:29 -08:00
m.ray
4eb6e09bd4
fix(trading): condense deal ticket & market info price range snags () 2023-02-27 18:04:13 +00:00
Art
a3fcd6b7dc
feat(explorer): validators page () 2023-02-27 09:17:23 +00:00
Matthew Russell
649cc61280
chore(trading): fix formatting for volume cells in book () 2023-02-24 16:31:42 -05:00
Matthew Russell
56b5214dbf
chore(trading): grid cell fixes () 2023-02-24 14:38:45 +00:00
Maciek
c29087cc96
chore(trading): filtering and sorting for ledger entries ()
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2023-02-24 08:40:31 +01:00
m.ray
d95fdca0d4
fix(trading): update step on market dp () 2023-02-23 11:10:56 +00:00
Edd
efeccc7972
feat(explorer): add transfers tx view () 2023-02-22 16:31:06 +00:00
Ciaran McGhie
abf69786ba
feat(ci): publish monorepo libs to npm () 2023-02-22 12:11:35 +00:00
Maciek
b2a115f935
chore(trading): handle timeout and offline errors () 2023-02-16 17:30:32 +01:00
Matthew Russell
a82509f0e0
feat(trading): datanode block header for env and node switcher () 2023-02-15 19:52:54 -08:00
m.ray
55d6dd4dce
feat(trading): deposit flow deal ticket () 2023-02-14 15:43:52 +00:00
Maciek
ee67736ac5
chore(trading): positions and collateral tab remove infinitive scroll () 2023-02-13 15:48:44 +01:00
Sam Keen
fa415318ff
feat(governance): epoch total rewards tables () 2023-02-10 18:01:30 +00:00
Bartłomiej Głownia
a5d53eee77
chore(trading): live update deal ticket market data () 2023-02-09 14:20:31 +00:00
Maciek
4dd63da62b
chore(trading): handle positions with market data gql errors () 2023-02-09 14:26:23 +01:00
Bartłomiej Głownia
56731e34cc
chore(react-helpers): add generic data provider unit test () 2023-02-08 17:35:10 +00:00
Matthew Russell
8bcdaf4cda
feat(trading): key to key transfers () 2023-02-06 11:35:40 -08:00
Art
01f0934da3
chore(ui-toolkit): new colour palette () 2023-01-31 16:33:16 +01:00
Bartłomiej Głownia
00e319b3c6
chore: handle not found errors as correct response () 2023-01-27 18:35:45 -08:00
Matthew Russell
cb9b811730
feat(): block height check ()
Co-authored-by: asiaznik <artur@vegaprotocol.io>
2023-01-27 11:31:23 +01:00
Ciaran McGhie
3ed3714e79
fix(): lp-dashboard grab market close from metadata () 2023-01-26 09:58:39 +00:00
m.ray
7ea7edc1e2
feat(): orderbook populate limit ()
Co-authored-by: asiaznik <artur@vegaprotocol.io>
2023-01-25 11:38:26 -08:00
macqbat
a218da93a6
feat: logging - working solution () 2023-01-25 09:43:11 +01:00
Bartłomiej Głownia
0cff5895c7
feat: call update with null data from useDataProvider hook on variables change () 2023-01-24 14:01:51 +00:00
Art
5ccef2de5e
feat: deposit and deal ticket transaction stores and toasts () 2023-01-19 13:10:52 +01:00
Bartłomiej Głownia
1a6266e2ec
chore: fix data and no data message update issues in trading data grids () 2023-01-17 15:01:24 +00:00
macqbat
5e97391d53
chore(2559): filter ledger entries by account type ()
* 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
Bartłomiej Głownia
5a0da4e158
feat: update market data components when they are in view () 2023-01-16 17:51:30 +00:00
Bartłomiej Głownia
06151c0592
feat: add marketId to orders query ()
* feat: add marketId to orders query

* feat: move filters handling from useOrderListData to ordersProvider
2023-01-16 12:26:50 +00:00
m.ray
0fd1739ce5
fix(): show rejection reason & orderbook fixed dp ()
* 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
m.ray
bbdc64582a
feat(): vega-pink across frontend-monorepo ()
* feat(): change red to vega pink

* feat(): 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(): 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(): 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(): stake to ccy volume renaming ()
* fix(): stakeToCcyVolume param

* chore: fix for network params query error

Co-authored-by: Rado <szpiechrados@gmail.com>
2023-01-06 15:35:32 +00:00
Art
1211d27011
fix: error message consitency (2486) ()
fix: error message consitency (2486)
2023-01-04 13:25:11 +01:00
Matthew Russell
955e233c46
fix: dark class being removed on token due to theme switcher changes ()
* 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(): liquidity supplied info in market header ()
* feat(): market liquidity supplied in trade market header

* feat(): calculate LP status

* fix: add LP view link

* fix: add LP view link

* feat(): show liquidity supplied percentage

* feat(): show liquidity supplied percentage

* fix: liquidity-utils test needs big number

* feat(): liquidity status marker

* feat(): liquidity indicator

* feat(): update props lp

* fix: use market data directly

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

* feat(): 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
m.ray
485c609791
fix: governance links to proposals () ()
* 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
Radosław Szpiech
6cb2e3a3cf
chore: move mocks next to graphql queries ()
* chore: move mocks next to graphql queries

* chore: mock functions rework

* chore: clean up
2022-12-23 12:36:25 +01:00
Matthew Russell
0b4f918208
chore(): refactor theme context ()
* 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
m.ray
817521bb08
feat(): ledger entries date filtering ()
* chore: update ledger entries columns

* fix: yarn generate types against stagnet3

* fix: orderbook decimal places issue  ()

* fix: positions table fixes notional dp ()

* 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(): use date range filter

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

* chore(): add extra checks

* fix: update types on stagnet3

* fix: add checkpoint balance restore

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

* fix(): fix transfer type

* fix(): remove TransferTypeMapping cast type

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

* fix(): call filterChangedCallback in onChange method

* fix(): remove subscription from ledger entries table

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

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

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

* fix(): 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 ()
* 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
Dexter Edwards
7bf753e6c2
fix: token dependency graph ()
* chore: fix dependency graph

* fix: silly error

* fix: remove uneeded generics
2022-12-09 14:02:56 +00:00
botond
2211abbd72
chore: cleanup type gen ()
* 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
macqbat
ca5c3bc21d
fix: live validation in deal ticket ()
* fix: live validation in deal ticket

* fix: live validation in deal ticket

* fix: live validation in deal ticket

* fix: live validation in deal ticket - fix test mock generate
2022-12-06 09:09:13 +01:00
macqbat
aafa3d7256
fix: fix empty rows on empty collateral list ()
* 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
Sam Keen
7c8a54b35a
feat(1263): split validator page into separate tables ()
* frontend-monorepo-1263 validator status of pending now named 'candidate' in the ui

* feat(1263): validator table updates, calculating penalties

* feat(1263): bit of cleanup

* feat(1263): tables built and values derived

* feat(1263): tweaks

* feat(1263): upping site max width to 1500px

* feat(1263): tweak to normalised voting power column width

* feat(1263): ensure validator rows when hovered have cursor:pointer

* feat(1263): consensus validators now have a ranking field by voting power shown in the table

* feat(1263): fixed linting errors

* feat(1263): a couple of extra tests and correct import of schema to use enums

* Update apps/token/src/routes/staking/home/validator-tables/standby-pending-validators-table.tsx

Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>

* Update apps/token/src/routes/staking/home/validator-tables/validator-tables.tsx

Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>

* Update apps/token/src/routes/staking/home/validator-tables/validator-tables.tsx

Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>

* Update apps/token/src/routes/staking/home/validator-tables/validator-tables.tsx

Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>

* feat(1263): tweaks from PR comments, initial push of util to remove 'node' from arrs

* feat(1263): updated new util to remove 'node' from 'edges'. Implemented across the monorepo

* feat(1263): cleaned up splitting validators into consensus, pending and ersatz to put into tables

* feat(1263): used decimals from app state in validator-tables.tsx

* feat(1263): removed redundant compact import

Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
2022-11-30 12:55:30 +00:00