Skip to content
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

Fix #20910 - Turn off ENS resolution if IPFS is turned off #20915

Merged
merged 5 commits into from
Sep 21, 2023

Conversation

darkwing
Copy link
Contributor

Explanation

When a user turns off the "IPFS gateway" settings, the "Show ENS domains in address bar" setting should also be disabled.

Screenshots/Screencaps

Screen.Recording.2023-09-15.at.1.54.22.PM.mov

Manual Testing Steps

  1. Open Settings > Security
  2. Turn off the "IPFS gateway" toggle
  3. The "Show ENS domains in address bar" should also toggle off

Pre-merge author checklist

  • I've clearly explained:
    • What problem this PR is solving
    • How this problem was solved
    • How reviewers can test my changes
  • Sufficient automated test coverage has been added

Pre-merge reviewer checklist

  • Manual testing (e.g. pull and build branch, run in browser, test code being changed)
  • PR is linked to the appropriate GitHub issue
  • IF this PR fixes a bug in the release milestone, add this PR to the release milestone

If further QA is required (e.g. new feature, complex testing steps, large refactor), add the Extension QA Board label.

In this case, a QA Engineer approval will be be required.

@darkwing darkwing requested a review from a team as a code owner September 15, 2023 19:01
@darkwing darkwing added team-extension-ux DEPRECATED: please use "team-wallet-ux" label instead needs-ux-ds-review labels Sep 15, 2023
@github-actions
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.

@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01% ⚠️

Comparison is base (3741079) 68.25% compared to head (8fb0471) 68.24%.
Report is 9 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #20915      +/-   ##
===========================================
- Coverage    68.25%   68.24%   -0.01%     
===========================================
  Files         1006     1006              
  Lines        40190    40198       +8     
  Branches     10744    10750       +6     
===========================================
  Hits         27430    27430              
- Misses       12760    12768       +8     
Files Changed Coverage Δ
app/scripts/lib/ens-ipfs/setup.js 0.00% <0.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@metamaskbot
Copy link
Collaborator

Builds ready [efc1f39]
Page Load Metrics (1557 ± 72 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint109165130178
domContentLoaded13751933155514771
load13751957155715072
domInteractive13751933155514771
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 47 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

NidhiKJha
NidhiKJha previously approved these changes Sep 18, 2023
@PeterYinusa PeterYinusa added the DO-NOT-MERGE Pull requests that should not be merged label Sep 18, 2023
@metamaskbot
Copy link
Collaborator

Builds ready [874d480]
Page Load Metrics (1685 ± 93 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint114187139199
domContentLoaded14872313168519393
load14872313168519393
domInteractive14872313168519393
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 47 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@darkwing
Copy link
Contributor Author

@PeterYinusa What's the reason for DO-NOT-MERGE?

@metamaskbot
Copy link
Collaborator

Builds ready [4bcd17f]
Page Load Metrics (1628 ± 94 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint110194141178
domContentLoaded14532212162819594
load14532212162819594
domInteractive14532212162819594
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 47 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@legobeat
Copy link
Contributor

@darkwing See discussion in #20910

@danjm danjm added release-blocker This bug is blocking the next release release-11.1.0 Issue or pull request that will be included in release 11.1.0 labels Sep 21, 2023
@PeterYinusa PeterYinusa removed the DO-NOT-MERGE Pull requests that should not be merged label Sep 21, 2023
@metamaskbot
Copy link
Collaborator

Builds ready [8fb0471]
Page Load Metrics (1578 ± 35 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint123160140126
domContentLoaded1482175515787235
load1482175515787235
domInteractive1482175515787235
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 51 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@darkwing darkwing merged commit a0349a6 into develop Sep 21, 2023
11 of 14 checks passed
@darkwing darkwing deleted the 20910-ipfs-settings branch September 21, 2023 16:37
@github-actions github-actions bot locked and limited conversation to collaborators Sep 21, 2023
@metamaskbot metamaskbot added the release-11.3.0 Issue or pull request that will be included in release 11.3.0 label Sep 21, 2023
@danjm danjm removed the release-11.3.0 Issue or pull request that will be included in release 11.3.0 label Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-11.1.0 Issue or pull request that will be included in release 11.1.0 release-blocker This bug is blocking the next release team-extension-ux DEPRECATED: please use "team-wallet-ux" label instead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Show ENS domain in address bar toggle defaults
9 participants