vega-frontend-monorepo/libs/network-stats
Sam Keen 7c8a54b35a
feat(1263): split validator page into separate tables (#2250)
* 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
..
src feat(1263): split validator page into separate tables (#2250) 2022-11-30 12:55:30 +00:00
.babelrc frontend-monorepo-127 Generalize stats page to work for all environments 2022-03-24 12:04:01 +00:00
.eslintrc.json Fix/1083: Update type generator (#1219) 2022-09-06 10:03:10 +01:00
jest.config.ts feat(#927) design update (#1201) 2022-08-30 21:35:46 -07:00
package.json frontend-monorepo-127 Generalize stats page to work for all environments 2022-03-24 12:04:01 +00:00
project.json chore: add build-spec targets and execute on affected apps and libs on CI (#1745) 2022-10-25 09:41:16 +02:00
README.md fix: cleanup more env things (#1383) 2022-09-18 11:15:05 +00:00
tsconfig.json feat: toast component (1677) (#1998) 2022-11-15 15:26:13 +01:00
tsconfig.lib.json feat(#927) design update (#1201) 2022-08-30 21:35:46 -07:00
tsconfig.spec.json feat(#927) design update (#1201) 2022-08-30 21:35:46 -07:00

network-stats

This library was generated with Nx.

Prerequisites

Two environment variables need to be present for any app consuming this library.

NX_VEGA_ENV is the name of the environment.

For examples, see Block Explorer's .env files here

Running unit tests

Run nx test network-stats to execute the unit tests via Jest.