• Charles Bachmeier's avatar
    feat: [info] Add Stats Section to PDP (#7353) · d63bdf18
    Charles Bachmeier authored
    * feat: setup initial pool details page and route
    
    * add pool data query and call on enw page
    
    * make query dynamic to url chainId
    
    * Get and display Header info
    
    * add token symbols
    
    * split header into its own file
    
    * add helper function to not default to eth chain
    
    * add helper function tests
    
    * add header component tests
    
    * add mocked test for PDP
    
    * use valid values
    
    * allow unsupported BE chains supported by thegraph
    
    * typecheck
    
    * remove useless row
    
    * no longer needed child
    
    * use first and last child
    
    * move mock consts to their own file
    
    * skele linear task
    
    * return null
    
    * descriptiive pool not found bool
    
    * modify correct logo container
    
    * update snapshots
    
    * instantiate all chain apollo clients
    
    * added snapshot test
    
    * merge main and update snapshots
    
    * Update src/pages/PoolDetails/PoolDetailsHeader.tsx
    Co-authored-by: default avatarNate Wienert <natewienert@gmail.com>
    
    * type feeTier
    
    * setup init stats component
    
    * correctly query pool data for t24, t48, and tWeek timestamps
    
    * add comments
    
    * sanitize pool data and update tests
    
    * correct test data
    
    * add todo
    
    * lint
    
    * show correct data
    
    * remove logs
    
    * use formatter
    
    * showing colored bars
    
    * styled graph
    
    * get muted color
    
    * refactor: move getColor to src
    
    * refactor useColor to use getColor function
    
    * remove consts
    
    * refactor files
    
    * 1st class var support courtesy of carter
    
    * remove logging and adds comments
    
    * mobile styling
    
    * move Stats to its own file
    
    * add test cases
    
    * add test file
    
    * update padding
    
    * remove old test file
    
    * respond to feedback
    
    * right column wrapper
    
    * update tests
    
    ---------
    Co-authored-by: default avatarNate Wienert <natewienert@gmail.com>
    d63bdf18
Name
Last commit
Last update
..
abis Loading commit data...
analytics Loading commit data...
assets Loading commit data...
components Loading commit data...
connection Loading commit data...
constants Loading commit data...
featureFlags Loading commit data...
graphql Loading commit data...
hooks Loading commit data...
lib Loading commit data...
locales Loading commit data...
nft Loading commit data...
pages Loading commit data...
rpc Loading commit data...
serviceWorker Loading commit data...
state Loading commit data...
test-utils Loading commit data...
theme Loading commit data...
tracing Loading commit data...
types Loading commit data...
utils Loading commit data...
i18n.tsx Loading commit data...
index.tsx Loading commit data...
polyfills.ts Loading commit data...
react-app-env.d.ts Loading commit data...
service-worker.ts Loading commit data...
serviceWorkerRegistration.ts Loading commit data...
setupTests.ts Loading commit data...