Skip to content

Conversation

@AGMASO
Copy link
Collaborator

@AGMASO AGMASO commented Oct 20, 2025

General Changes

  • Refactored Dashboard using the SDK.
  • Actions are using the legacy flow for now. All the rest is refactored using SDK

Developer Notes


Reviewer Checklist

Please ensure you, as the reviewer(s), have gone through this checklist to ensure that the code changes are ready to ship safely and to help mitigate any downstream issues that may occur.

  • End-to-end tests are passing without any errors
  • Code changes do not significantly increase the application bundle size
  • If there are new 3rd-party packages, they do not introduce potential security threats
  • If there are new environment variables being added, they have been added to the .env.example file as well as the pertinant .github/actions/* files
  • There are no CI changes, or they have been approved by the DevOps and Engineering team(s)

@vercel
Copy link

vercel bot commented Oct 20, 2025

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

Project Deployment Preview Comments Updated (UTC)
interface Ready Ready Preview Comment Dec 8, 2025 1:40pm

@AGMASO AGMASO marked this pull request as ready for review December 8, 2025 08:00
@github-actions
Copy link

github-actions bot commented Dec 8, 2025

@github-actions
Copy link

github-actions bot commented Dec 8, 2025

📦 Next.js Bundle Analysis for aave-ui

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

This PR introduced no changes to the JavaScript bundle! 🙌

@github-actions
Copy link

github-actions bot commented Dec 8, 2025

@github-actions
Copy link

github-actions bot commented Dec 8, 2025

📦 Next.js Bundle Analysis for aave-ui

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

This PR introduced no changes to the JavaScript bundle! 🙌

@github-actions
Copy link

github-actions bot commented Dec 8, 2025

@github-actions
Copy link

github-actions bot commented Dec 8, 2025

📦 Next.js Bundle Analysis for aave-ui

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

This PR introduced no changes to the JavaScript bundle! 🙌

},
],
user: userAddress!,
orderBy: { debt: OrderDirection.Asc },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we order Desc so bigger first?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it doesn’t sort based on the balance. It sorts according to the internal order in the backend. That’s why I think one ordering or the other makes no difference.

},
],
user: userAddress!,
orderBy: { balance: OrderDirection.Asc },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we order Desc so bigger first?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same answer

symbol: tokenInReserve.underlyingToken.symbol,
underlyingAsset: tokenInReserve.underlyingToken.address,
decimals: tokenInReserve.underlyingToken.decimals,
priceInUSD: tokenInReserve.usdExchangeRate,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is usdExchangeRate giving the amount in usd as we had before or just the rate?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

usd amount per token

Comment on lines 79 to 81
const currentNetworkConfig = useRootStore((store) => store.currentNetworkConfig);
const currentMarketData = useRootStore((store) => store.currentMarketData);
const currentMarket = useRootStore((store) => store.currentMarket);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can merge these three

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

0
);
}, [isShowSmallBalanceAssets, user?.userReservesData, marketReferencePriceInUsd]);
}, [suppliedPositions]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably add isShowSmallBalanceAssets (and test the dashboard with some dust)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok!

Comment on lines +49 to +51
const disableSwap = isPaused || reserve.underlyingToken.symbol == 'stETH';
const disableWithdraw = isPaused;
const disableSupply = isFrozen || isPaused;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't have isActive anymore with the sdk?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nop

Comment on lines -89 to -91
//! Your Staked Amount: shows the underlying of assets(ej. USDC, WETH) staked or equivalent to the
//! shares.
//! Using stakeTokenReedemableAmount should be the equivalent in Asset to the shares
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one seems useful, isnt it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, I should have only deleted the exclamation. Restored

@vercel
Copy link

vercel bot commented Dec 11, 2025

You must have Developer access to commit code to Aave on Vercel. If you contact an administrator and receive Developer access, commit again to see your changes.

Learn more: https://vercel.com/docs/accounts/team-members-and-roles/access-roles#team-level-roles

@github-actions
Copy link

@github-actions
Copy link

📦 Next.js Bundle Analysis for aave-ui

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

This PR introduced no changes to the JavaScript bundle! 🙌

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