Skip to content

feat: redesign asset page cards and transaction modals - #3190

Merged
sammdec merged 5 commits into
mainfrom
abhijeet/ui-asset-page-design-updates
Nov 23, 2026
Merged

sammdec merged 5 commits into
mainfrom
abhijeet/ui-asset-page-design-updates

Conversation

@abjt14

@abjt14 abjt14 commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Asset page (reserve overview)

  • Split the "Reserve status & configuration" panel into Supply, Borrow and Interest rate model cards. LTV/E-Mode config tables (filters, persisted sort, show more, stacked cards on mobile) replace the E-Mode panel.
  • Restyle the APY and interest rate charts: 1D-1Y ranges, average line centred in a fixed 15rem block, dotted lines, axes shown by default, horizontal touch scrubbing.
  • Header spacing, "Your Position" panel and stat styles follow the Figma.
  • GHO page uses the same cards: About GHO, Borrow, Collector Info.

Transaction modals (app-wide)

  • 480px modals with the new amount box (shared AmountInputRow and AmountBalanceRow with % presets and Max), dashed detail rows, network fee as a detail row, pinned action button and "Enter amount" label.
  • Supply collateral options become a radio list with E-Mode rows and borrowable-asset icon stacks.
  • Swap inputs share the same amount box.

Shared

  • New 16px info icon on every tooltip; Figma checkmark, cross, E-Mode and filter icons; radio dot is 8px.
  • Theme: menus keep their right padding when they scroll.

General Changes

  • Fixes XYZ bug
  • Adds XYZ feature
  • …

Developer Notes

Add any notes here that may be helpful for reviewers.


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)

Asset page (reserve overview)
- Split the "Reserve status & configuration" panel into Supply, Borrow and
  Interest rate model cards. LTV/E-Mode config tables (filters, persisted
  sort, show more, stacked cards on mobile) replace the E-Mode panel.
- Restyle the APY and interest rate charts: 1D-1Y ranges, average line
  centred in a fixed 15rem block, dotted lines, axes shown by default,
  horizontal touch scrubbing.
- Header spacing, "Your Position" panel and stat styles follow the Figma.
- GHO page uses the same cards: About GHO, Borrow, Collector Info.

Transaction modals (app-wide)
- 480px modals with the new amount box (shared AmountInputRow and
  AmountBalanceRow with % presets and Max), dashed detail rows, network fee
  as a detail row, pinned action button and "Enter amount" label.
- Supply collateral options become a radio list with E-Mode rows and
  borrowable-asset icon stacks.
- Swap inputs share the same amount box.

Shared
- New 16px info icon on every tooltip; Figma checkmark, cross, E-Mode and
  filter icons; radio dot is 8px.
- Theme: menus keep their right padding when they scroll.
@abjt14 abjt14 self-assigned this Nov 18, 2026
@vercel

vercel Bot commented Nov 18, 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 Nov 23, 2026 1:28am UTC

Request Review

…e-design-updates

# Conflicts:
#	src/components/transactions/Supply/CollateralOptionsSelector.tsx
@github-actions

Copy link
Copy Markdown

📦 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
Copy Markdown

sammdec
sammdec previously approved these changes Nov 18, 2026
The config filter buttons (Borrowable, Collateral, Markets) and the About GHO links used the
outlined pill, which is meant for the page background. In dark mode pills have no ring, and the
outlined fill (#1e1e20) is almost the same as the card (#1a1919), so these buttons nearly
disappeared. Tertiary (bg-4 in dark) is what the other in-card buttons use and what the
designer specified. Light mode only changes the hover tint, from 3% to 4%.
@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. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

MUI's RadioGroup renders a column FormGroup with flex-wrap: wrap. A wrapping flex container
sizes its line to the widest row's fit-content width, so a long E-Mode name (noWrap) made every
row wider than the box instead of shrinking. The name never ellipsized, and the box's overflow
clipped the LTV and penalty on all rows, the Default row included.

Making the group single-line (flexWrap: nowrap) keeps every row at the box width, so the
existing minWidth: 0 chain truncates the name while the bolt, tags, LTV and penalty stay visible.
@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. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

sammdec
sammdec previously approved these changes Nov 20, 2026
The reserve factor and collector contract now sit in one row under the Borrow card's APY chart,
1.0625rem below it, following the Figma spec: "Reserve factor" in base fg-3, the 16px info icon
0.25rem after it, the value in h5 0.5rem later with a flush percent, then 1.5rem to a dotted
"Collector Contract" link with the external-link arrow. The dots are a radial-gradient row so
they render round. The arrow sits 0.25rem after the text because the icon carries 4px of
padding, which matches the Figma's visible 0.5rem.

The Interest rate model card loses its divider and Collector Info section. Without a chart
(broken V2 assets) the row sits 2.5rem under the borrow stats. GHO keeps its own Collector Info
card, now in the same row style, and its Borrow card does not repeat the row.

flushPercentSx moves into FormattedNumber, next to the markup it targets, and is shared with
the supply collateral options.
@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. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@abjt14
abjt14 requested a review from sammdec November 23, 2026 09:40
@sammdec
sammdec merged commit 1aef62b into main Nov 23, 2026
19 of 21 checks passed
@sammdec
sammdec deleted the abhijeet/ui-asset-page-design-updates branch November 23, 2026 10:07
abjt14 added a commit that referenced this pull request Nov 24, 2026
Brings in #3190 (asset page cards and transaction modals) and #3197
(asset page visual tweaks).

Conflicts
- PageHeader/pageBandSx.ts: kept main's SystemStyleObject type, which
  TopInfoPanel now spreads, and this branch's 2rem top padding.
- Locale catalogs: took main's, then re-extracted the English catalog
  from the merged source and recompiled every locale.

This branch was successfully deployed

1 active deployment
Preview — 620febc6 Deployed Nov 23, 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