-
Notifications
You must be signed in to change notification settings - Fork 5.4k
feat: shield-confirmation-alert-update #37580
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
base: main
Are you sure you want to change the base?
Conversation
✨ Files requiring CODEOWNER review ✨✅ @MetaMask/confirmations (8 files, +105 -23)
|
Builds ready [5b4c75e]
UI Startup Metrics (1298 ± 98 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [5e81934]
UI Startup Metrics (1235 ± 105 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [433ed94]
UI Startup Metrics (1226 ± 89 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [aade062]
UI Startup Metrics (1218 ± 79 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [e876676]
UI Startup Metrics (1243 ± 89 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [5b3d867]
UI Startup Metrics (1083 ± 82 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
Fix shield coverage status for simple send to show gray not covered
Handle shield coverage paused status
Update confirmation alert and shield coverage alert to
iinfor circle for all shield coverage iconChangelog
CHANGELOG entry: All coverage statuses show a background of a lighter text color
CHANGELOG entry: Gray status for not covered shield coverage status
CHANGELOG entry: Icon i info for all shield coverage status alert
CHANGELOG entry: Fix shield coverage status for simple send not showing
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Adds paused handling and simple-send fallback for Transaction Shield, introduces
Severity.Disabled, and extends inline/ modal alert APIs and visuals.useEnableShieldCoverageChecks()returnsisEnabledorisPaused.TRANSACTION_SHIELD_ROUTE.Severity.Disabledfor not covered; keep success/danger for covered/malicious.Severity.Disabled; include in sort order and styles (pill + muted background).InlineAlert: supports pill style, customiconName,iconColor, right-aligned icon, andbackgroundColor.AlertModal: supports custom header icon/color and custom acknowledge button text/onClick.useEnableShieldCoverageChecksreturns{ isEnabled, isPaused }(detects paused subscription).useShieldCoverageAlertupdated to new logic/props and paused flow.enanden_GB.Severity.Disabledexpectations, and paused/indicator behavior.Written by Cursor Bugbot for commit 5b3d867. This will update automatically on new commits. Configure here.