-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pocin dashboard chart updates #923
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deploy preview for core ready! ✅ Preview Built with commit aa4e07f. |
medariox
approved these changes
Dec 6, 2023
frontier159
approved these changes
Dec 10, 2023
marshall2112
approved these changes
Dec 11, 2023
marshall2112
added a commit
that referenced
this pull request
Dec 11, 2023
* fix: totalCreditUSD strategyToken field * feat: round decimals in USD metrics * revert: inverting debtUSD and netDebtUSD in chart * fix: strategyToken totalCreditUSD -> creditUSD * Fix env import (#924) --------- Co-authored-by: Marshall <[email protected]>
marshall2112
added a commit
that referenced
this pull request
Dec 12, 2023
* Basic shell with crude nav and empty pages * Initial legacy and trade pages * Add footer * Connect wallet and other misc fixes * Make temple logo clickable in Nav * WIP Dashboard pages * WIP More dashboard work * WIP * Dashboard metrics WIP * Update strategy metric sources * Add prod subgraph endpoint * WIP React-query * Small tidy up * feat: strategies transaction history table with pagination * feat: add loading animations for table records * feat: add set rows per page dropdown & link to etherscan * feat: add TxHistoryFilterType in subgraph queries * fix: solve yarn build issues for newer fetch generic subgraph typings * feat: frontend calc of transaction count & add type to table * wip: use react-query for transaction history table * feat: add react-query overload signatures & few updates * feat: simplify react useApiQuery hook and apply changes to dashboard metrics * feat: revert changes on dashboard v2 metrics * Add V2 strategy chart * Remove unused linechart prop * Remove GNOSIS from DashboardType * Make InputSelect as wide as parent container * store query timestamp filter as named constant * make metric selector readonly * Fix metric formatting * remove checking fetch response.ok status * feat: use react-query for fetching subgraph data * feat: toggle chart lines by clicking legend * fix: type chart strategy names * style: format * style: reformat LineChart * fix: typo in DashboardType enum * fix: make chart header more responsive * feat: add netDebtUSD to chart * feat: format chart numbers with decimal separators * refactor: use common useApiQuery hook * refactor: to conform with other dashboard comps * Bug fix * feat: select chart metric using URL params * Add daily metrics to strategy charts * fix: selected metric selector * Mobile nav * Fix flex direction breakpoint * Port TLC and Ohmage to dapp V2 (#878) * Make borrow page Add debt ceiling Move to folder Add UR/IR chart Mobile friendly Port OHM * Migrate TLC directory * Remove TLC Overview screen * Separate subgraph and signer data fetching * Insert type any for interval toggler * Add ohmage to nav * Pagination updates (#880) * feat: add pagination range component to handle 6 or more pages * fix: addressed CRs * feat: add ordering to tables by clicking header * feat: update subgraph query to have a single dataset to retrieve data from * feat: use enums & change order table headers * feat: add table header filters * feat: add loading row animation of refetching * fix: allow to clear type filter * fix: simplify react-query usage for the transaction table * feat: update tx history table react query keys * feat: add dropdown options as table header filters * fix: metric selector z index, chart aesthetics * fix: add missing default zIndex value on inputSelect dropdown menu options * feat: remove reactApiQuery hook in favour of default useQuery & use query factory on dashboard metrics * feat: various react table updates & mobile responsive * feat: address table CRs --------- Co-authored-by: mountainpath <[email protected]> Co-authored-by: pocin <[email protected]> * Misc metrics tweaks and fixes (#898) * Change row arrangement of metrics * Update to fetch non-shutdown stratgies * Tweak font size * Adjust styles and facilitate wallet connect (#902) * feat: table using filter symbol * feat: update filters to use radio buttons and other cleanups * feat: address option label CRs * Split chart metric by asset (#900) * feat: break down some chart metrics by asset * fix: render line on top of stacked items * feat: invert debt and add split by asset metrics * feat: use default y domain for chart * Add blurbs and hide tlc (#905) * fix: sync chart designs with figma (#908) * feat: remove some v2 metrics from chart (#909) * feat: remove some v2 metrics from chart * Remove un-needed metrics --------- Co-authored-by: marshall <[email protected]> * Fostrich responsive design improvements (#903) * feat: improve design responsiveness metrics * feat: simplify dashboard metrics react query hook * feat: remove unnecessary mobile container * fix: metrics text aligments and ensure double row * feat: svg components in vite & mobile nav improvements * feat: extra updates to nav bar * feat: dashboard component width adjust to parent width, no more hardcoded vh width * feat: smaller mobile hamburger icon * feat: table page controller at the bottom of the table * fix: add missing yarn.lock deps * feat: mobile table with additional info when dropdown click * feat: add strategies contract links in dashboard * feat: solve various console isseus & address various CRs * feat: table expand row in a single line * fix: update ramos strategy contract * feat: centered amount on table * fix: addressed CRs * feat: now table headers are responsive, fix etherscan dashboard link & few other css improvements * feat: add disconnect button on nav bar * Rename v2dapp path (#912) * feat: add command format to amounts & better responsive table * Ensure USD values and labels (#915) * Ensure USD values and labels * Fixes * Fix typo * fix: split chart tooltip on two lines on mobile (#913) * fix: split chart tooltip on two lines on mobile * style: remove unused imports * feat: prettify chart metric names * fix: show $ on new line * Use updated templeCirculatingSupply (#919) * Use updated templeCirculatingSupply * Tidy up subgraphs * Use env var * Feedback applied * Limit geoblocked users to legacy withdraw page (#914) * Limit geoblocked users to legacy withdraw page * Buttons should prompt for connect (#920) --------- Co-authored-by: Marshall <[email protected]> * Update blurbs (#925) * Pocin dashboard chart updates (#923) * fix: totalCreditUSD strategyToken field * feat: round decimals in USD metrics * revert: inverting debtUSD and netDebtUSD in chart * fix: strategyToken totalCreditUSD -> creditUSD * Fix env import (#924) --------- Co-authored-by: Marshall <[email protected]> * Update learn more doc link (#926) --------- Co-authored-by: Nicho <[email protected]> Co-authored-by: frost ostrich <[email protected]> Co-authored-by: pocin <[email protected]> Co-authored-by: frost-ostrich <[email protected]> Co-authored-by: mountainpath <[email protected]>
marshall2112
added a commit
that referenced
this pull request
Dec 12, 2023
* refactor: useRamosAdmin easier to read * post deploy minor changes * feat: add exponential backoff retries & fallback to alchemy api when thegraph fails * fix: remove unnecessary block no * feat: addressed CRs * feat: docker tag/push to aws ecr temple-tasks img as latest * fix: clean error log * TLC Upgrade (#863) * Basic shell with crude nav and empty pages * Initial legacy and trade pages * Add footer * Connect wallet and other misc fixes * Make temple logo clickable in Nav * WIP Dashboard pages * WIP More dashboard work * WIP * Dashboard metrics WIP * Update strategy metric sources * Add prod subgraph endpoint * WIP React-query * Small tidy up * feat: strategies transaction history table with pagination * feat: add loading animations for table records * feat: add set rows per page dropdown & link to etherscan * feat: add TxHistoryFilterType in subgraph queries * fix: solve yarn build issues for newer fetch generic subgraph typings * feat: frontend calc of transaction count & add type to table * wip: use react-query for transaction history table * feat: add react-query overload signatures & few updates * feat: simplify react useApiQuery hook and apply changes to dashboard metrics * feat: revert changes on dashboard v2 metrics * Add V2 strategy chart * Remove unused linechart prop * Remove GNOSIS from DashboardType * Make InputSelect as wide as parent container * store query timestamp filter as named constant * make metric selector readonly * Fix metric formatting * remove checking fetch response.ok status * feat: use react-query for fetching subgraph data * feat: toggle chart lines by clicking legend * fix: type chart strategy names * style: format * style: reformat LineChart * fix: typo in DashboardType enum * fix: make chart header more responsive * feat: add netDebtUSD to chart * feat: format chart numbers with decimal separators * refactor: use common useApiQuery hook * refactor: to conform with other dashboard comps * Bug fix * feat: select chart metric using URL params * Add daily metrics to strategy charts * fix: selected metric selector * Mobile nav * Fix flex direction breakpoint * Port TLC and Ohmage to dapp V2 (#878) * Make borrow page Add debt ceiling Move to folder Add UR/IR chart Mobile friendly Port OHM * Migrate TLC directory * Remove TLC Overview screen * Separate subgraph and signer data fetching * Insert type any for interval toggler * Add ohmage to nav * Pagination updates (#880) * feat: add pagination range component to handle 6 or more pages * fix: addressed CRs * feat: add ordering to tables by clicking header * feat: update subgraph query to have a single dataset to retrieve data from * feat: use enums & change order table headers * feat: add table header filters * feat: add loading row animation of refetching * fix: allow to clear type filter * fix: simplify react-query usage for the transaction table * feat: update tx history table react query keys * feat: add dropdown options as table header filters * fix: metric selector z index, chart aesthetics * fix: add missing default zIndex value on inputSelect dropdown menu options * feat: remove reactApiQuery hook in favour of default useQuery & use query factory on dashboard metrics * feat: various react table updates & mobile responsive * feat: address table CRs --------- Co-authored-by: mountainpath <[email protected]> Co-authored-by: pocin <[email protected]> * Misc metrics tweaks and fixes (#898) * Change row arrangement of metrics * Update to fetch non-shutdown stratgies * Tweak font size * Adjust styles and facilitate wallet connect (#902) * feat: table using filter symbol * feat: update filters to use radio buttons and other cleanups * feat: address option label CRs * Split chart metric by asset (#900) * feat: break down some chart metrics by asset * fix: render line on top of stacked items * feat: invert debt and add split by asset metrics * feat: use default y domain for chart * Add blurbs and hide tlc (#905) * fix: sync chart designs with figma (#908) * feat: remove some v2 metrics from chart (#909) * feat: remove some v2 metrics from chart * Remove un-needed metrics --------- Co-authored-by: marshall <[email protected]> * Fostrich responsive design improvements (#903) * feat: improve design responsiveness metrics * feat: simplify dashboard metrics react query hook * feat: remove unnecessary mobile container * fix: metrics text aligments and ensure double row * feat: svg components in vite & mobile nav improvements * feat: extra updates to nav bar * feat: dashboard component width adjust to parent width, no more hardcoded vh width * feat: smaller mobile hamburger icon * feat: table page controller at the bottom of the table * fix: add missing yarn.lock deps * feat: mobile table with additional info when dropdown click * feat: add strategies contract links in dashboard * feat: solve various console isseus & address various CRs * feat: table expand row in a single line * fix: update ramos strategy contract * feat: centered amount on table * fix: addressed CRs * feat: now table headers are responsive, fix etherscan dashboard link & few other css improvements * feat: add disconnect button on nav bar * Rename v2dapp path (#912) * feat: add command format to amounts & better responsive table * Ensure USD values and labels (#915) * Ensure USD values and labels * Fixes * Fix typo * fix: split chart tooltip on two lines on mobile (#913) * fix: split chart tooltip on two lines on mobile * style: remove unused imports * feat: prettify chart metric names * fix: show $ on new line * Use updated templeCirculatingSupply (#919) * Use updated templeCirculatingSupply * Tidy up subgraphs * Use env var * Feedback applied * Limit geoblocked users to legacy withdraw page (#914) * Limit geoblocked users to legacy withdraw page * Buttons should prompt for connect (#920) --------- Co-authored-by: Marshall <[email protected]> * Update blurbs (#925) * Pocin dashboard chart updates (#923) * fix: totalCreditUSD strategyToken field * feat: round decimals in USD metrics * revert: inverting debtUSD and netDebtUSD in chart * fix: strategyToken totalCreditUSD -> creditUSD * Fix env import (#924) --------- Co-authored-by: Marshall <[email protected]> * Update learn more doc link (#926) --------- Co-authored-by: Nicho <[email protected]> Co-authored-by: frost ostrich <[email protected]> Co-authored-by: pocin <[email protected]> Co-authored-by: frost-ostrich <[email protected]> Co-authored-by: mountainpath <[email protected]> --------- Co-authored-by: frost ostrich <[email protected]> Co-authored-by: princetonbishop <[email protected]> Co-authored-by: princetonbishop <[email protected]> Co-authored-by: frost-ostrich <[email protected]> Co-authored-by: Nicho <[email protected]> Co-authored-by: pocin <[email protected]> Co-authored-by: mountainpath <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
https://discord.com/channels/847178511604252741/1131806977488588903/1181944578945847376
https://discord.com/channels/847178511604252741/1131806977488588903/1181787577557209141
Fixes # (issue)
Checklist