* 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
* 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
* 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>
* chore: migrate network stats and clean up liquidity lib
* fix: format
* fix: test imports
* fix: format
* fix: market info expiry format tests
* fix: format again
* fix: build
* chore: use new GQL candle fields
* Revert "chore: downgrade to 0.55 (#1406)"
This reverts commit cc7a4f2ddd.
* chore: update queries to be compatible with 0.56
* fix: update positions data provider to use only marketId field, omit new position insertion for now
* fix: regen types after merging candles query update
* chore: remove unused generated files
* chore: check for null markets connection
* fix: import errors
* chore: export types from market-list, disable unrelated failing tests
Co-authored-by: johnwalley <john@walley.org.uk>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* 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
* 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
* fix: generated imports
* fix: lint
* fix: accounts export
* fix: more imports
* fix: add type alias for new type system and regenerate
* fix: format
* fix: delete leftover file from merge
* feat: create new buttons
* feat: update anchor and button link styles
* feat: add icon support
* feat: fix full width with icon
* feat: convert invalid button props to use new props
* feat: tidy up explorer
* feat: more tidy up for token and trading
* feat: move styles to css file using @apply
* chore: remove css with @apply as its not working in apps
* fix: deposit form button
* feat: use default tailwind config, start on forms
* feat: fixup trade grid styles
* feat: form styles
* feat: styles for order book and tables
* feat: make key management use dropdown
* feat: update various components
* feat: tidy up wallet section
* feat: token tidy up
* feat: token governance styles
* Feat/927: Dialog styling
* feat: token styles
* feat: add font familys
* feat: change token borders to be softer
* feat: console-lite changes to support new theme
* Feat/927: Centered key-value-table.tsx spacing
* Feat/927: Tweak to Explorer site border colours to be inline with trading
* Feat/927: Tweak to Explorer header
* Feat/927: Theme switcher icon colours
* Feat/927: Fix for Explorer block data styling
* feat: fix tests, add status footer and change logos
* feat: render both theme icons to avoid hydration error
* chore: run migrations for project
* fix: tailwindconfig build to work with new next version
* feat: use document page for next as per documentation
* chore: update build targets to use development mode when serving
* fix: console-lite default text colors
* chore: fix tooltip text break, change submit button
* feat: adjust console-lite styles to work with tabs
* feat: add bespoke dialog for console-lite market-selector
* Feat/927: Theme switcher now has prop for fixed bg colour
* Feat/927: Font size and border radius tweak for toggles
* Feat/927: Cleaned up trade-grid.tsx spacing
* feat: responsive styles for market header and nav
* feat: update designs for market popover
* fix: nav active state
* chore: allow classname to be passed to button
* Feat/927: Fix Token width on desktop (was overflowing)
* Feat/927: Fix token header h1 from wrapping
* Feat/927: Tweak for claim-flow.tsx
* fix: connect button test
* Feat/927: Proposals list styling polish
* Feat/927: key-value-table.tsx spacing tweak
* feat: add copy button to kp dropdown
* Feat/927: Removing old theme params and uses
* Feat/927: Removing old theme params and uses, documenting the now used otb sizes
* feat: use key val table in asset dialog
* feat: align tooltip styles
* fix: orderbook grid alignment
* chore: linting
* fix: dialog sizing in medium mode, node switcher styles
* chore: remove unused color classes
* feat: update radio and checkbox designs
* feat: updates to storybook
* feat: update design system stories
* chore: stories update
* chore: rename resize panels and tidy
* feat: fix checkbox tick
* fix: add poyfills for jest in trading test setup
* chore: fix checkbox tests
* chore: fix tests
* chore: fix tests again
* chore: revert token wallet name test
* fix: tooltip tests on console-lite
* fix: wallet dropdown test
Co-authored-by: sam-keen <samuel.kleinmann@gmail.com>
* feat: add enviromnemt provider to the ui-toolkit
* chore: replace etherscan links
* chore: wrap trading app into environment provider
* chore: move env provider to react-helpers and wrap every app
* chore: remove more env variables from libs and replace them with the env hook
* fix: lint
* fix: update readme with correct formatting command
* fix: warnings for web3 hook
* fix: wrap warning in conditional, print message only when env keys are missing
* fix: incorrect condition on deposit manager fauceting param
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* fix: cleanup token app ethereum config
* chore: add better error handling to the useEnvironment hook
* fix: lint
* fix: formatting
* fix: more lint
* fix: throw error if required env variables are missing
* fix: remove default eth chain id
* fix: add back etherscan testid to withdrawals links
* fix: imports
* fix: try using babel jest for smart contracts test transpilation
* fix: uniform ts syntax
* chore: set resolveJsonModule in base tsconfig
* fix: add missing data-ids for etherscan links
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* network parameters table with key value rows and syntax blobs only for json values
* inline row not for syntax
* add unit test for network param table
* add cypress test to verify if values are non-empty
* remove some comments
* rename formatNumber method to addDecimalsFormatNumber and simplify formatNumber
* remove duplicate expect line
* use AsyncRenderer and sort params asc
* refactor and add extra tests to check ordering and loading cases
* format big number params with addDecimals formatNumber
* Update apps/explorer/src/app/routes/network-parameters/network-parameters.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* capitalize and refactor tests
* missing ; caused formatting to fail
Co-authored-by: madalinaraicu <“madalina@raygroup.uk”>
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* frontend-monorepo-267 Reduce total staked to 2 decimal precision
* Tweak to formatNumber to allow fixed decimal specificity
* Setting default value for the 'defaultPrecision' argument in the function signature of 'addDecimal'
* add manage dialog to wallet lib, add it to trading app
* add test for wallet button
* add tests for manage dialog
* move tooltip to ui-toolkit, add copy with tooltip component for manage dialog
* add better labelling
* add tooltip story
* add story for copy-with-tooltip
* add tests for tooltip and copy-with-tooltip
* move useFakeTimers call to beforeAll
* adjust design of manage dialog
* fix linting issues