Skip to content

Feat/emode only borrowable note - #3147

Merged
grothem merged 2 commits into
mainfrom
feat/emode-only-borrowable-note
Oct 21, 2026
Merged

grothem merged 2 commits into
mainfrom
feat/emode-only-borrowable-note

Conversation

@grothem

@grothem grothem commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Better messaging for reserves that are only borrowable in an e-mode

Markets page: Borrow APY column now indicates if a reserve is only borrowable in an e-mode (previously said borrowing was disabled)

Reserve page: Borrow Info section now indicates if a reserve is only borrowable in an e-mode (previously said the reserve was not borrowable)

grothem and others added 2 commits October 21, 2026 09:20
On v3.6+ pools a reserve with borrowing disabled can still be borrowed in
specific E-Mode categories. Market rows (desktop and mobile) now show an
'E-Mode only' note with the categories in a tooltip, and the reserve page
shows an info notice naming them. Shared helper getBorrowableOnlyInEModeLabels
trusts the backend's eModeInfo[].canBeBorrowed.

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

vercel Bot commented Oct 21, 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 21, 2026 6:41pm 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 (🟡 +69 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!

Seven Pages Changed Size

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

Page Size (compressed) First Load
/ 93.69 KB (🟡 +191 B) 1.43 MB
/dashboard 82.2 KB (🟡 +32 B) 1.42 MB
/markets 54.85 KB (🟡 +190 B) 1.39 MB
/reserve-overview 38.94 KB (-1 B) 1.38 MB
/safety-module 55.71 KB (🟡 +32 B) 1.39 MB
/sgho 92.81 KB (🟡 +32 B) 1.43 MB
/v3-migration 49.11 KB (🟡 +32 B) 1.39 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.

@grothem
grothem merged commit 10ee937 into main Oct 21, 2026
15 of 22 checks passed
@grothem
grothem deleted the feat/emode-only-borrowable-note branch October 21, 2026 18:53

This branch was successfully deployed

1 active deployment
Preview — 274ebe36 Deployed Oct 21, 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