Skip to content

feat: default supply and borrow APR charts to 1d (hourly) window - #3142

Open
sammdec wants to merge 1 commit into
mainfrom
feat/hourly-default-chart-interval
Open

sammdec wants to merge 1 commit into
mainfrom
feat/hourly-default-chart-interval

Conversation

@sammdec

@sammdec sammdec commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a 1d (TimeWindow.LastDay) option to the reserve supply/borrow APR chart time range selector
  • Makes 1d the default for both the Supply APR and Borrow APR charts, so they show hourly data on load
  • The tooltip shows the time (MMM DD, HH:MM UTC±hh:mm) in 1d view as well as 1m

The APY history API only takes a window and has no granularity setting, so LAST_DAY is how we get hourly data.

Test plan

  • Open a reserve overview page: both charts load on 1d with hourly points
  • Hovering in 1d shows the time in the tooltip
  • Switching to 1w / 1m / 6m / 1y still works

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
interface Ready Ready Preview Oct 20, 2026 11:18am UTC

Request Review

@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

📦 Next.js Bundle Analysis for aave-ui

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 1.34 MB (🟡 +35 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

One Page Changed Size

The following page changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/sgho 92.78 KB (🟡 +6 B) 1.43 MB
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this.

This branch was successfully deployed

1 active deployment
Preview — 0f497213 Deployed Oct 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants