• 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
..
AllV3TicksQuery.ts Loading commit data...
FeeTierDistributionQuery.ts Loading commit data...
PoolData.ts Loading commit data...
apollo.ts Loading commit data...
useBlocksFromTimestamps.ts Loading commit data...
utils.ts Loading commit data...