botond
69b19e4b7b
feat( #507 ): Node Discovery
...
* feat: add network-switcher lib
* feat: add env variables for some deployed app urls
* feat: add network processing to environment hoook
* refactor: network handling
* refactor: remove dialog from provider and add env setter
* feat: add network switcher dialog to the trading app
* refactor: add network redirect to dialog connect callback
* fix: lint
* feat: add network configuration files to static app
* feat: update environments to use config file instead of static node url
* refactor: split out network switcher utils
* refactor: split up environment hook
* fix: jsonify env variable for possible networks
* fix: add formatter file
* feat: add network loader component
* feat: add network loader to the trading app
* fix: assign correct global state to network swicther
* feat: add status modal
* feat: add network-switcher lib
* feat: add env variables for some deployed app urls
* feat: add network processing to environment hoook
* refactor: network handling
* refactor: remove dialog from provider and add env setter
* feat: add network switcher dialog to the trading app
* refactor: add network redirect to dialog connect callback
* fix: lint
* fix: jsonify env variable for possible networks
* fix: add formatter file
* fix: assign correct global state to network swicther
* fix: failing tests from UI changes
* feat: add environment validation
* feat: add runtime validation for network configs
* fix: readd node urls to envs to avoid breaking the apps for now
* chore: rename network swicther lib to environmnet
* fix: lint
* feat: add tests for config hook
* feat: add environment hook tests
* fix: lint
* fix: lint
* feat: add environment hook tests
* feat: add storage tests
* fix: formet
* feat: improve loading states
* fix: format
* fix: use router instead of window location
* fix: rearrange network loader props and components
* fix: remove FC type
* fix: env validation
* fix: untangle returns in network loader
* fix: add teardown for env and localstorage
* fix: add custom to env networks
* fix: lint
* fix: format
* fix: lint
* fix: remove env provider from simple trading app
* fix: remove failing promise hacks
* fix: some leftover format files
* fix: remove network switcher from tsconf
* fix: move Networks to libs/environment
* fix: add defaults for ether env vars
* feat: add tests for default ether env vars
* fix: remove chain id env var from web3 container
* fix: remove chain id from the environment
* fix: format
* fix: lint token
* fix: lint env
* fix: add comment to callout hack
* fix: lint token again
* fix: remove skip
* fix: move addresses to token app
* fix: improve schema validation errors and fix token app
* fix: lint
* fix: format
* fix: format
* fix: add network loaders to apps
* fix: format
* fix: remove logs
* fix: cypress process errors
* fix: change network loader hierarchy in token
* fix: remove stray console.log
* fix: revert test changes in simple trading app
* fix: prefix env vars with NX
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* fix: improve schema validation errors and fix token app
* fix: format
* fix: disable lint rules for catch block any types
* fix: format again
* fix: remove redundant process.platform injections
* fix: format
Co-authored-by: Joe <joe@vega.xyz>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
2022-06-21 16:20:53 -07:00
botond
ecda46caa5
Feat/6 Network Switcher ( #502 )
...
* feat: add network-switcher lib
* feat: add env variables for some deployed app urls
* feat: add network processing to environment hoook
* refactor: network handling
* refactor: remove dialog from provider and add env setter
* feat: add network switcher dialog to the trading app
* refactor: add network redirect to dialog connect callback
* fix: lint
* fix: jsonify env variable for possible networks
* fix: add formatter file
* fix: assign correct global state to network swicther
* feat: add network-switcher lib
* feat: add env variables for some deployed app urls
* feat: add network processing to environment hoook
* refactor: network handling
* refactor: remove dialog from provider and add env setter
* feat: add network switcher dialog to the trading app
* refactor: add network redirect to dialog connect callback
* fix: lint
* fix: jsonify env variable for possible networks
* fix: add formatter file
* fix: assign correct global state to network swicther
* fix: failing tests from UI changes
* fix: lint
* fix: lint
Co-authored-by: Joe <joe@vega.xyz>
Co-authored-by: Dexter <dexter.edwards93@gmail.com>
2022-06-10 10:15:38 +01:00
botond
3a27172e04
feat( #175 ): ui-toolkit links ( #453 )
...
* 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>
2022-05-31 17:30:02 -07:00
Bartłomiej Głownia
6cbc701384
[ #168 ] Use static resources from static.vega.xyz ( #205 )
2022-04-06 11:36:36 +01:00
Bartłomiej Głownia
7af0efa8d8
Enable @typescript-eslint/consistent-type-imports eslint rule
2022-03-30 13:05:41 +02:00
sam-keen
1d2db41e92
Added new shared theme switcher into stats project
2022-03-25 16:47:28 +00:00
sam-keen
e2a61d26ad
Proper way to get environment variables, and hoisted obtaining the env vars to the consumer of the stats manager
2022-03-24 14:58:24 +00:00
sam-keen
5d6147ec7e
frontend-monorepo-127 Generalize stats page to work for all environments
2022-03-24 12:04:01 +00:00