Skip to content

Conversation

runway-github[bot]
Copy link
Contributor

@runway-github runway-github bot commented Sep 12, 2025

Description

Shows the 0-quotes alert banner when there are no quotes, without
requiring the user to scroll down

Open in GitHub Codespaces

Changelog

CHANGELOG entry: fix: show swap alert banner when there are no quotes

Related issues

Fixes: #35875

Manual testing steps

  1. Request .0001 SOL to linea:USDC bridge
  2. Alert banner indicating there are no quotes should appear after a few
    seconds

Screenshots/Recordings

Before

Screenshot 2025-09-12 at 10 54 42 AM

After

Screenshot 2025-09-12 at 10 41 11 AM

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the
    app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described
    in the ticket it closes and includes the necessary testing evidence such
    as recordings and or screenshots. e618013

…re no quotes cp-13.4.0 (#35914)

<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

Shows the 0-quotes alert banner when there are no quotes, without
requiring the user to scroll down

<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/35914?quickstart=1)

## **Changelog**

<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`

If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`

(This helps the Release Engineer do their job more quickly and
accurately)
-->

CHANGELOG entry: `fix: show swap alert banner when there are no quotes`

## **Related issues**

Fixes: #35875

## **Manual testing steps**

1. Request .0001 SOL to linea:USDC bridge
2. Alert banner indicating there are no quotes should appear after a few
seconds

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**
<img width="237" height="345" alt="Screenshot 2025-09-12 at 10 54 42 AM"
src="https://github.com/user-attachments/assets/9f83180f-1e59-4e00-8971-7df9680c80e7"
/>



### **After**
<img width="410" height="611" alt="Screenshot 2025-09-12 at 10 41 11 AM"
src="https://github.com/user-attachments/assets/3fc37984-114b-46bb-85cd-9f1148e1574b"
/>

<!-- [screenshots/recordings] -->

## **Pre-merge author checklist**

- [ ] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've completed the PR template to the best of my ability
- [ ] I’ve included tests if applicable
- [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [ ] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
@runway-github runway-github bot requested a review from a team as a code owner September 12, 2025 22:41
@metamaskbot metamaskbot added the team-runway-bot Runway bot team (for Runway Bot) label Sep 12, 2025
@metamaskbot
Copy link
Collaborator

✨ Files requiring CODEOWNER review ✨

🔄 @MetaMask/swaps-engineers (1 files, +14 -15)
  • 📁 ui/
    • 📁 pages/
      • 📁 bridge/
        • 📁 prepare/
          • 📄 prepare-bridge-page.tsx +14 -15

cursor[bot]

This comment was marked as outdated.

@metamaskbot
Copy link
Collaborator

📊 Page Load Benchmark Results

Current Commit: 1f94fec | Date: 9/12/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.06s (±74ms) 🟡 | historical mean value: 1.05s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 748ms (±87ms) 🟢 | historical mean value: 737ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 82ms (±43ms) 🟢 | historical mean value: 80ms ⬆️ (historical data)
📈 Detailed Results
Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.06s 74ms 1.02s 1.35s 1.32s 1.35s
domContentLoaded 748ms 87ms 708ms 1.31s 982ms 1.31s
firstPaint 82ms 43ms 60ms 500ms 88ms 500ms
firstContentfulPaint 82ms 43ms 60ms 500ms 88ms 500ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Results generated automatically by MetaMask CI

@metamaskbot
Copy link
Collaborator

Builds ready [1f94fec]
UI Startup Metrics (1222 ± 63 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1222110614016312541361
load106194412426210911186
domContentLoaded105593912346210851179
domInteractive18134771740
firstPaint67873123843210691161
backgroundConnect2462322767251256
firstReactRender25175372641
getState1463471828
initialActions50315613
loadScripts81571299661843935
setupStore1063241019
WebpackHomeuiStartup20021544261826321932438
load15991249202419717331872
domContentLoaded15901241201319417261847
domInteractive1912144181553
firstPaint1706350970207296
backgroundConnect3617352473165
firstReactRender90363317481320
getState2732886313269
initialActions62274614
loadScripts15861239200119317211836
setupStore206293471427
FirefoxBrowserifyHomeuiStartup13791191181910614381603
load1199104614788512501345
domContentLoaded1198104614788512491345
domInteractive963425238102184
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect342098163687
firstReactRender27225552836
getState7315115610
initialActions6120120312
loadScripts1173102914528312231320
setupStore94799826
WebpackHomeuiStartup15441364217917216202065
load13161162166811914101550
domContentLoaded13151162166711914101549
domInteractive1043231961101287
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect3320140183754
firstReactRender42326554552
getState10220428613
initialActions502182237
loadScripts12921136158411813891512
setupStore95617918
Benchmark value 246 exceeds gate value 10 for chrome browserify home mean backgroundConnect
Benchmark value 25 exceeds gate value 23 for chrome browserify home mean firstReactRender
Benchmark value 5 exceeds gate value 1 for chrome browserify home mean initialActions
Benchmark value 257 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 13 exceeds gate value 1.2 for chrome browserify home p95 initialActions
Benchmark value 19 exceeds gate value 17 for chrome browserify home p95 setupStore
Benchmark value 269 exceeds gate value 195 for chrome webpack home p95 getState
Benchmark value 14 exceeds gate value 7 for chrome webpack home p95 initialActions
Benchmark value 34 exceeds gate value 25 for firefox browserify home mean backgroundConnect
Benchmark value 27 exceeds gate value 25 for firefox browserify home mean firstReactRender
Benchmark value 6 exceeds gate value 1 for firefox browserify home mean initialActions
Benchmark value 10 exceeds gate value 9 for firefox browserify home mean setupStore
Benchmark value 87 exceeds gate value 70 for firefox browserify home p95 backgroundConnect
Benchmark value 12 exceeds gate value 2 for firefox browserify home p95 initialActions
Benchmark value 104 exceeds gate value 100 for firefox webpack home mean domInteractive
Benchmark value 34 exceeds gate value 26 for firefox webpack home mean backgroundConnect
Benchmark value 43 exceeds gate value 38 for firefox webpack home mean firstReactRender
Benchmark value 6 exceeds gate value 1 for firefox webpack home mean initialActions
Benchmark value 2065 exceeds gate value 1935 for firefox webpack home p95 uiStartup
Benchmark value 287 exceeds gate value 156 for firefox webpack home p95 domInteractive
Benchmark value 54 exceeds gate value 49 for firefox webpack home p95 backgroundConnect
Benchmark value 52 exceeds gate value 50 for firefox webpack home p95 firstReactRender
Benchmark value 7 exceeds gate value 2 for firefox webpack home p95 initialActions
Sum of mean exceeds: 281ms | Sum of p95 exceeds: 633.8ms
Sum of all benchmark exceeds: 914.8ms

Copy link
Contributor

@gauthierpetetin gauthierpetetin left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@whatever1341132
Copy link

LGTM
Shootit

@whatever1341132
Copy link

LGTM
[email protected]
Wanna help

@metamaskbot
Copy link
Collaborator

📊 Page Load Benchmark Results

Current Commit: 767d5b2 | Date: 9/15/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.08s (±77ms) 🟡 | historical mean value: 1.06s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 758ms (±74ms) 🟢 | historical mean value: 740ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 80ms (±13ms) 🟢 | historical mean value: 79ms ⬆️ (historical data)
📈 Detailed Results
Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.08s 77ms 1.03s 1.38s 1.33s 1.38s
domContentLoaded 758ms 74ms 714ms 1.05s 991ms 1.05s
firstPaint 80ms 13ms 64ms 196ms 88ms 196ms
firstContentfulPaint 80ms 13ms 64ms 196ms 88ms 196ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Results generated automatically by MetaMask CI

@metamaskbot
Copy link
Collaborator

Builds ready [767d5b2]
UI Startup Metrics (1231 ± 68 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1231108114136812781350
load107095712216411121181
domContentLoaded106395112156411061173
domInteractive17134561736
firstPaint66870121243310721164
backgroundConnect2462342767249254
firstReactRender24174762636
getState15575111832
initialActions50667614
loadScripts82471397662869930
setupStore1062841118
WebpackHomeuiStartup19881507250125721842457
load15841208199619417051912
domContentLoaded15771202198419217011900
domInteractive171278111447
firstPaint1657337658184286
backgroundConnect3216350333256
firstReactRender83373286181314
getState2753036314265
initialActions52234615
loadScripts15731196197319116991889
setupStore186286381424
FirefoxBrowserifyHomeuiStartup14271217198212014881646
load1233106615308412941363
domContentLoaded1233106615298412941363
domInteractive1063235152113241
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect39201482337109
firstReactRender27234432932
getState63768613
initialActions5019119312
loadScripts1203104815078212621341
setupStore1159313848
WebpackHomeuiStartup15171370206014516021814
load12881155157811813791547
domContentLoaded12881155157811813791546
domInteractive106303686298284
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect32206173741
firstReactRender44367264557
getState6319268
initialActions411301337
loadScripts12651129155811913581524
setupStore96314915
Benchmark value 1063 exceeds gate value 1061 for chrome browserify home mean domContentLoaded
Benchmark value 246 exceeds gate value 10 for chrome browserify home mean backgroundConnect
Benchmark value 24 exceeds gate value 23 for chrome browserify home mean firstReactRender
Benchmark value 6 exceeds gate value 1 for chrome browserify home mean initialActions
Benchmark value 255 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 14 exceeds gate value 1.2 for chrome browserify home p95 initialActions
Benchmark value 18 exceeds gate value 17 for chrome browserify home p95 setupStore
Benchmark value 2457 exceeds gate value 2454 for chrome webpack home p95 uiStartup
Benchmark value 265 exceeds gate value 195 for chrome webpack home p95 getState
Benchmark value 15 exceeds gate value 7 for chrome webpack home p95 initialActions
Benchmark value 1428 exceeds gate value 1405 for firefox browserify home mean uiStartup
Benchmark value 39 exceeds gate value 25 for firefox browserify home mean backgroundConnect
Benchmark value 28 exceeds gate value 25 for firefox browserify home mean firstReactRender
Benchmark value 6 exceeds gate value 1 for firefox browserify home mean initialActions
Benchmark value 11 exceeds gate value 9 for firefox browserify home mean setupStore
Benchmark value 241 exceeds gate value 195 for firefox browserify home p95 domInteractive
Benchmark value 109 exceeds gate value 70 for firefox browserify home p95 backgroundConnect
Benchmark value 12 exceeds gate value 2 for firefox browserify home p95 initialActions
Benchmark value 48 exceeds gate value 27 for firefox browserify home p95 setupStore
Benchmark value 106 exceeds gate value 100 for firefox webpack home mean domInteractive
Benchmark value 32 exceeds gate value 26 for firefox webpack home mean backgroundConnect
Benchmark value 44 exceeds gate value 38 for firefox webpack home mean firstReactRender
Benchmark value 5 exceeds gate value 1 for firefox webpack home mean initialActions
Benchmark value 284 exceeds gate value 156 for firefox webpack home p95 domInteractive
Benchmark value 57 exceeds gate value 50 for firefox webpack home p95 firstReactRender
Benchmark value 7 exceeds gate value 2 for firefox webpack home p95 initialActions
Sum of mean exceeds: 313ms | Sum of p95 exceeds: 587.8ms
Sum of all benchmark exceeds: 900.8ms

@gauthierpetetin gauthierpetetin merged commit 213e5d7 into Version-v13.4.0 Sep 15, 2025
142 checks passed
@gauthierpetetin gauthierpetetin deleted the runway-cherry-pick-13.4.0-1757716878 branch September 15, 2025 17:12
@github-actions github-actions bot locked and limited conversation to collaborators Sep 15, 2025
@metamaskbot metamaskbot added the release-13.4.0 Issue or pull request that will be included in release 13.4.0 label Sep 15, 2025
@metamaskbot
Copy link
Collaborator

No release label on PR. Adding release label release-13.4.0 on PR, as PR was cherry-picked in branch 13.4.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-13.4.0 Issue or pull request that will be included in release 13.4.0 team-runway-bot Runway bot team (for Runway Bot)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants