-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
feat: STAKE-808: graph with historic vault apy tooltip #12804
feat: STAKE-808: graph with historic vault apy tooltip #12804
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Updated dependencies detected. Learn more about Socket for GitHub ↗︎
|
e121cd6
to
f7b65ad
Compare
f7b65ad
to
aa5c436
Compare
1bafbdb
to
a6e84c0
Compare
095522a
to
e9f2204
Compare
|
30c8006
to
b57dd1a
Compare
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me overall. Left some minor comments!
Great job on this ! 👏🏼
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great Matthew! Just a few minor comments. Tests well for me!
...onents/PoolStakingLearnMoreModal/InteractiveTimespanChart/ChartTimespanButtonGroup/index.tsx
Show resolved
Hide resolved
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - reviewed package.json and yarn.lock
Description
This PR updates the existing pooled-staking learn more modal to include an interactive historic vault APY graph.
Changes
<InteractiveTimespanChart />
component that is meant to be reusable in other flows (e.g. stablecoin lending)useVaultAprs
anduseVaultApys
hooksstake-sdk
under the hood to fetch data.vaultAprs
andvaultApys
to our staking redux state.Related issues
Ticket: [FE]Graph with vault historic APY in tooltip
Manual testing steps
Note: The related
staking-api
andstaking-cronjobs
changes haven't been deployed yet. They're pending code review. I can provide instructions to demo locally if interested."?"
next toMetaMask Pool
Screenshots/Recordings
Before
stake-808-learn-more-modal-with-interactive-graph-before.mov
After
Loading Skeleton
stake-808-learn-more-modal-with-interactive-graph-loading-skeleton-demo.mov
Interactive Graph
stake-808-learn-more-modal-with-interactive-graph-after.mov
Pre-merge author checklist
Pre-merge reviewer checklist