Closed henrio123 closed 2 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
sommelier-web | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 19, 2024 9:11am |
The recent updates streamline the APY tooltip logic across several code modules. Specifically, the conditional override for the time array in ApyChartProvider
is removed, and the show7DayAPYTooltip
property is eliminated from multiple strategy objects. Additionally, the logic for returning "7 Day MA APY" in the APY hover label functions is commented out in the uiConfig.ts
file, leading to more consistent user interface behavior.
Files | Change Summaries |
---|---|
src/.../apyChartContext.tsx |
Removed conditional override logic for the time array within the ApyChartProvider component. |
src/.../morpho-eth.ts , ...usd-arb.ts |
Removed show7DayAPYTooltip property from morphoETH and realYieldUsdArb objects. |
src/data/uiConfig.ts |
Commented out logic for returning "7 Day MA APY" in apyHoverLabel and baseApyHoverLabel . |
In lines of code, where changes creep, \ A simpler flow, now we keep. \ Tooltips sway, like leaves in June, \ A clearer path, beneath the moon. 🌙 \ APY charts, with grace, provide, \ In data's dance, we here abide.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Fixes #
Description
Describe big picture changes here. This will give viewers context for the changes.
Changes
List any technical changes.
Screenshots (if appropriate):
Testing Steps
As a reviewer, what steps should I take to verify this is working correctly?
Links
Add links to Figma files, documentation, etc.
Summary by CodeRabbit
ApyChartProvider
component by removing conditional overrides for the time array.show7DayAPYTooltip
property from relevant strategy objects for cleaner data models.