-
Notifications
You must be signed in to change notification settings - Fork 5.5k
feat: release sidepanel #37304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: release sidepanel #37304
Conversation
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Results generated automatically by MetaMask CI |
Builds ready [d7419ea]
UI Startup Metrics (1256 ± 85 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Results generated automatically by MetaMask CI |
Builds ready [174fe3a]
UI Startup Metrics (1284 ± 83 ms)
|
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Results generated automatically by MetaMask CI |
Builds ready [d1ebf0c]
UI Startup Metrics (1260 ± 81 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Results generated automatically by MetaMask CI |
Builds ready [9d07da2]
UI Startup Metrics (1164 ± 104 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Results generated automatically by MetaMask CI |
Builds ready [7c4c440]
UI Startup Metrics (1289 ± 104 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Results generated automatically by MetaMask CI |
Builds ready [01a77b2]
UI Startup Metrics (1281 ± 77 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Results generated automatically by MetaMask CI |
Builds ready [6efcfb7]
UI Startup Metrics (1285 ± 100 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
|
I can't tell if it's related to this PR but I get a hanging confirmation screen when trying to add different evm networks, e.g.
The same steps on popup don't result in the spinner. |
Great Catch, @ameliejyc. This happened because recently a race condition was introduced in the confirmations screen. Since the tests operate in popup view we were not able to catch it. Since, in the popup view The |
| await onAddEthereumChain(); | ||
| history.push(DEFAULT_ROUTE); | ||
| } else if (isTransactionConfirmation) { | ||
| onTransactionConfirm(); | ||
| await onTransactionConfirm(); | ||
| navigateNext(currentConfirmation.id); | ||
| } else { | ||
| dispatch(resolvePendingApproval(currentConfirmation.id, undefined)); | ||
| await dispatch(resolvePendingApproval(currentConfirmation.id, undefined)); | ||
| navigateNext(currentConfirmation.id); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prevents race condition where navigation happens before approval completes, causing spinner to hang in sidepanel.
Builds ready [335360d]
UI Startup Metrics (1221 ± 94 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [e88b985]
UI Startup Metrics (1234 ± 86 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
7a7d64b to
8b135a2
Compare
Builds ready [0ed9cd2]
UI Startup Metrics (1208 ± 86 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
chaitanyapotti
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: we're no longer using code fences but instead using env variables
lgtm on onboarding changes
| await driver.driver.get(`${driver.extensionUrl}/home.html`); | ||
|
|
||
| // Wait for the home page to fully load | ||
| await driver.waitForSelector('[data-testid="account-menu-icon"]'); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will update it to use helper function for page loading in a separate PR
jpuri
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes in files owned by confirmations look good 👍
This PR is to release sidepanel feature in main
Description
This PR is to introduce sidepanel
Changelog
CHANGELOG entry: Introduced sidepanel
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Enables the side panel experience across builds with new permissions/manifests, feature-gated logic, updated global menu/onboarding/confirmations flows, and comprehensive test adjustments, plus new i18n strings.
getIsSidePanelFeatureEnabled+ newuseSidePanelEnabled(build flag + remote flag + API presence).IS_SIDEPANEL: trueformain,beta, andflaskinbuilds.yml.browser.sidePanelexists.tabs,sidePanel,contextMenuspermissions; Chromeside_panelwithsidepanel.html.handleSidepanelPostOnboardinghelper; integrate across onboarding, privacy, metrics, network, reset, and dapp tests.IS_SIDEPANELin test env.metamaskExtension,openFullScreen,switchToPopup,switchToSidePanel(en/en_GB); remove legacyexpandView,popupView,sidePanelViewacross locales.Written by Cursor Bugbot for commit 0ed9cd2. This will update automatically on new commits. Configure here.