Skip to content

Conversation

@mgrabina
Copy link
Contributor

@mgrabina mgrabina commented Jul 3, 2025

This PR includes a bunch of UX improvements, and a few fixes and safe checks for border cases, mostly recommended by our support and CoW's QAs.

Some of the changes are:

  • Slippage Selector:
    • showing 'Auto' or 'Custom' slippage title
    • improved logic for default options, adding Auto as well
    • native tokens minimum per chain improved ux
  • blocking max input when no need to use it
  • show exipred past txs as expired not cancelled
  • show user rejected tx message
  • refetching quote each 30s
  • fix responsiveness for swaps history in mobile
  • show full amounts in tooltips (usefull for small ones)
  • more precise eth leftover for layer 2s in eth-flows
  • showing spot values for easy comparison with other swap protocols
  • improved surplus text for small amounts
  • eth-flow not allowed in non-Safe SC wallets
  • special revoke+approval flow for second higher approvals for USDT in mainnet
  • improved cow orders metadata for analytics
  • nit widget title when no asset is selected
  • slippage cap
  • adds cow to tokens list

@vercel
Copy link

vercel bot commented Jul 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
interface ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 8, 2025 2:25pm

@github-actions
Copy link

github-actions bot commented Jul 3, 2025

@github-actions
Copy link

github-actions bot commented Jul 3, 2025

📦 Next.js Bundle Analysis for aave-ui

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

🎉 Global Bundle Size Decreased

Page Size (compressed)
global 1.39 MB (🟢 -4 KB)
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!

Fourteen Pages Changed Size

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

Page Size (compressed) First Load
/ 47.75 KB (🟢 -2.66 KB) 1.44 MB
/404 2.47 KB (🟡 +1 B) 1.39 MB
/500 2.91 KB (🟡 +1 B) 1.39 MB
/bridge 33.3 KB (🟡 +524 B) 1.42 MB
/faucet 14.86 KB (🟢 -2 B) 1.41 MB
/governance 80.61 KB (🟡 +251 B) 1.47 MB
/governance/ipfs-preview 99.68 KB (🟢 -165 B) 1.49 MB
/governance/v3/proposal 122.74 KB (🟢 -95 B) 1.51 MB
/history 23.64 KB (🟡 +180 B) 1.41 MB
/markets 30.77 KB (🟢 -431 B) 1.42 MB
/reserve-overview 20.91 KB (🟢 -132 B) 1.41 MB
/safety-module 37.83 KB (🟢 -388 B) 1.43 MB
/staking 31.23 KB (🟡 +55 B) 1.42 MB
/v3-migration 34.43 KB (🟡 +364 B) 1.42 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.

@github-actions
Copy link

github-actions bot commented Jul 4, 2025

@github-actions
Copy link

github-actions bot commented Jul 4, 2025

📦 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.4 MB (🟡 +4.1 KB)
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!

Fourteen Pages Changed Size

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

Page Size (compressed) First Load
/ 47.61 KB (🟢 -2.8 KB) 1.44 MB
/404 2.47 KB (🟡 +1 B) 1.4 MB
/500 2.91 KB (🟡 +1 B) 1.4 MB
/bridge 33.31 KB (🟡 +531 B) 1.43 MB
/faucet 14.86 KB (🟢 -2 B) 1.41 MB
/governance 80.63 KB (🟡 +265 B) 1.48 MB
/governance/ipfs-preview 99.68 KB (🟢 -165 B) 1.5 MB
/governance/v3/proposal 122.75 KB (🟢 -88 B) 1.52 MB
/history 23.64 KB (🟡 +180 B) 1.42 MB
/markets 30.77 KB (🟢 -431 B) 1.43 MB
/reserve-overview 20.76 KB (🟢 -280 B) 1.42 MB
/safety-module 29.06 KB (🟢 -9.14 KB) 1.43 MB
/staking 31.23 KB (🟡 +55 B) 1.43 MB
/v3-migration 34.43 KB (🟡 +364 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.

@github-actions
Copy link

github-actions bot commented Jul 4, 2025

@github-actions
Copy link

github-actions bot commented Jul 4, 2025

📦 Next.js Bundle Analysis for aave-ui

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

🎉 Global Bundle Size Decreased

Page Size (compressed)
global 1.39 MB (🟢 -3.92 KB)
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!

Fourteen Pages Changed Size

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

Page Size (compressed) First Load
/ 47.75 KB (🟢 -2.66 KB) 1.44 MB
/404 2.47 KB (🟡 +1 B) 1.39 MB
/500 2.91 KB (🟡 +1 B) 1.39 MB
/bridge 33.3 KB (🟡 +524 B) 1.42 MB
/faucet 14.86 KB (🟢 -2 B) 1.41 MB
/governance 80.61 KB (🟡 +251 B) 1.47 MB
/governance/ipfs-preview 99.68 KB (🟢 -165 B) 1.49 MB
/governance/v3/proposal 122.74 KB (🟢 -95 B) 1.51 MB
/history 23.64 KB (🟡 +180 B) 1.41 MB
/markets 30.77 KB (🟢 -431 B) 1.42 MB
/reserve-overview 20.91 KB (🟢 -132 B) 1.41 MB
/safety-module 37.83 KB (🟢 -388 B) 1.43 MB
/staking 31.23 KB (🟡 +55 B) 1.42 MB
/v3-migration 34.43 KB (🟡 +364 B) 1.42 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.

@github-actions
Copy link

github-actions bot commented Jul 4, 2025

@github-actions
Copy link

github-actions bot commented Jul 4, 2025

📦 Next.js Bundle Analysis for aave-ui

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

🎉 Global Bundle Size Decreased

Page Size (compressed)
global 1.39 MB (🟢 -3.9 KB)
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!

Fourteen Pages Changed Size

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

Page Size (compressed) First Load
/ 47.75 KB (🟢 -2.66 KB) 1.44 MB
/404 2.47 KB (🟡 +1 B) 1.39 MB
/500 2.91 KB (🟡 +1 B) 1.39 MB
/bridge 33.3 KB (🟡 +524 B) 1.42 MB
/faucet 14.86 KB (🟢 -2 B) 1.41 MB
/governance 80.61 KB (🟡 +251 B) 1.47 MB
/governance/ipfs-preview 99.68 KB (🟢 -165 B) 1.49 MB
/governance/v3/proposal 122.74 KB (🟢 -95 B) 1.51 MB
/history 23.64 KB (🟡 +180 B) 1.41 MB
/markets 30.77 KB (🟢 -431 B) 1.42 MB
/reserve-overview 20.91 KB (🟢 -132 B) 1.41 MB
/safety-module 37.83 KB (🟢 -388 B) 1.43 MB
/staking 31.23 KB (🟡 +55 B) 1.42 MB
/v3-migration 34.43 KB (🟡 +364 B) 1.42 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.

@github-actions
Copy link

github-actions bot commented Jul 4, 2025

📦 Next.js Bundle Analysis for aave-ui

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

🎉 Global Bundle Size Decreased

Page Size (compressed)
global 1.39 MB (🟢 -3.78 KB)
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!

Fourteen Pages Changed Size

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

Page Size (compressed) First Load
/ 47.75 KB (🟢 -2.66 KB) 1.44 MB
/404 2.47 KB (🟡 +1 B) 1.39 MB
/500 2.91 KB (🟡 +1 B) 1.39 MB
/bridge 33.3 KB (🟡 +524 B) 1.42 MB
/faucet 14.86 KB (🟢 -2 B) 1.41 MB
/governance 80.61 KB (🟡 +251 B) 1.47 MB
/governance/ipfs-preview 99.68 KB (🟢 -165 B) 1.49 MB
/governance/v3/proposal 122.74 KB (🟢 -95 B) 1.51 MB
/history 23.64 KB (🟡 +180 B) 1.41 MB
/markets 30.77 KB (🟢 -431 B) 1.42 MB
/reserve-overview 20.91 KB (🟢 -132 B) 1.41 MB
/safety-module 37.83 KB (🟢 -388 B) 1.43 MB
/staking 31.23 KB (🟡 +55 B) 1.42 MB
/v3-migration 34.43 KB (🟡 +364 B) 1.42 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.

@github-actions
Copy link

github-actions bot commented Jul 4, 2025

@mgrabina mgrabina marked this pull request as ready for review July 4, 2025 15:32
@github-actions
Copy link

github-actions bot commented Jul 4, 2025

@github-actions
Copy link

github-actions bot commented Jul 4, 2025

📦 Next.js Bundle Analysis for aave-ui

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

🎉 Global Bundle Size Decreased

Page Size (compressed)
global 1.39 MB (🟢 -3.56 KB)
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!

Fourteen Pages Changed Size

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

Page Size (compressed) First Load
/ 47.75 KB (🟢 -2.66 KB) 1.44 MB
/404 2.47 KB (🟡 +1 B) 1.39 MB
/500 2.91 KB (🟡 +1 B) 1.39 MB
/bridge 33.3 KB (🟡 +524 B) 1.42 MB
/faucet 14.86 KB (🟢 -2 B) 1.41 MB
/governance 80.61 KB (🟡 +251 B) 1.47 MB
/governance/ipfs-preview 99.68 KB (🟢 -165 B) 1.49 MB
/governance/v3/proposal 122.74 KB (🟢 -95 B) 1.51 MB
/history 23.64 KB (🟡 +180 B) 1.41 MB
/markets 30.77 KB (🟢 -431 B) 1.42 MB
/reserve-overview 20.91 KB (🟢 -132 B) 1.41 MB
/safety-module 37.83 KB (🟢 -388 B) 1.43 MB
/staking 31.23 KB (🟡 +55 B) 1.42 MB
/v3-migration 34.43 KB (🟡 +364 B) 1.42 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.

@github-actions
Copy link

github-actions bot commented Jul 4, 2025

@github-actions
Copy link

github-actions bot commented Jul 4, 2025

📦 Next.js Bundle Analysis for aave-ui

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

🎉 Global Bundle Size Decreased

Page Size (compressed)
global 1.39 MB (🟢 -3.54 KB)
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!

Fourteen Pages Changed Size

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

Page Size (compressed) First Load
/ 47.75 KB (🟢 -2.66 KB) 1.44 MB
/404 2.47 KB (🟡 +1 B) 1.39 MB
/500 2.91 KB (🟡 +1 B) 1.39 MB
/bridge 33.3 KB (🟡 +524 B) 1.42 MB
/faucet 14.86 KB (🟢 -2 B) 1.41 MB
/governance 80.61 KB (🟡 +251 B) 1.47 MB
/governance/ipfs-preview 99.68 KB (🟢 -165 B) 1.49 MB
/governance/v3/proposal 122.74 KB (🟢 -95 B) 1.51 MB
/history 23.64 KB (🟡 +180 B) 1.41 MB
/markets 30.77 KB (🟢 -431 B) 1.42 MB
/reserve-overview 20.91 KB (🟢 -132 B) 1.41 MB
/safety-module 37.83 KB (🟢 -388 B) 1.43 MB
/staking 31.23 KB (🟡 +55 B) 1.42 MB
/v3-migration 34.43 KB (🟡 +364 B) 1.42 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.

@github-actions
Copy link

github-actions bot commented Jul 8, 2025

@github-actions
Copy link

github-actions bot commented Jul 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 Jul 8, 2025

@github-actions
Copy link

github-actions bot commented Jul 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! 🙌

@mgrabina mgrabina merged commit 6fb8a0a into main Jul 8, 2025
22 of 24 checks passed
@mgrabina mgrabina deleted the fix/cow-qa-round branch July 8, 2025 14:56
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.

4 participants