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: Add Basic Functionality to Settings Search #25185

Merged
merged 5 commits into from
Sep 5, 2024
Merged

Conversation

darkwing
Copy link
Contributor

@darkwing darkwing commented Jun 10, 2024

Description

Adds "Basic Functionality" to the Settings search

Open in GitHub Codespaces

Related issues

Fixes: #25441

Manual testing steps

  1. Go to Settings
  2. Search the term "Basic"
  3. See "Basic Functionality" and click it
  4. End up on top of the Privacy tab

Screenshots/Recordings

Before

After

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.

@darkwing darkwing requested a review from a team as a code owner June 10, 2024 17:19
@darkwing darkwing added team-wallet-ux needs-assets-ux-review A shared label between the Assets and UX team to flag PRs ready for consolidated team review. labels Jun 10, 2024
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.

@metamaskbot
Copy link
Collaborator

Builds ready [2d5f289]
Page Load Metrics (211 ± 229 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint6814192209
domContentLoaded8251352
load391735211476229
domInteractive8251352
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 217 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

Copy link

codecov bot commented Jun 10, 2024

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 70.17%. Comparing base (2455440) to head (efe5da8).
Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
ui/helpers/constants/settings.js 33.33% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #25185      +/-   ##
===========================================
- Coverage    70.17%   70.17%   -0.00%     
===========================================
  Files         1425     1425              
  Lines        49644    49647       +3     
  Branches     13889    13889              
===========================================
+ Hits         34835    34836       +1     
- Misses       14809    14811       +2     

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

route: `${SECURITY_ROUTE}#basic-functionality-toggle`,
icon: 'fa fa-lock',
},
// securityAndPrivacy settingsRefs[1]
Copy link
Contributor

Choose a reason for hiding this comment

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

This PR did allow me to search + jump to the basic toggle. But I notice some other settings breaking. Looking for fix

Before on latest develop, IPFS gateway would jump correctly:

Screen.Recording.2024-06-10.at.12.44.23.PM.mov

But on this branch it jumps me to autodetect instead:

Screen.Recording.2024-06-10.at.12.45.48.PM.mov

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is the fix. Just shifting the other indices that incremented (all except 18)

1dc663d

@sahar-fehri
Copy link
Contributor

I've tested this, LGTM!

@salimtb
Copy link
Contributor

salimtb commented Aug 13, 2024

Just tested it locally , LGTM

Copy link

sonarcloud bot commented Sep 5, 2024

@metamaskbot
Copy link
Collaborator

Builds ready [efe5da8]
Page Load Metrics (1690 ± 115 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint27121961588356171
domContentLoaded142923431671243117
load143223481690240115
domInteractive1295382311
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 218 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@darkwing darkwing merged commit 31c9f04 into develop Sep 5, 2024
81 checks passed
@darkwing darkwing deleted the basic-func-search branch September 5, 2024 19:46
@github-actions github-actions bot locked and limited conversation to collaborators Sep 5, 2024
@metamaskbot metamaskbot added the release-12.6.0 Issue or pull request that will be included in release 12.6.0 label Sep 5, 2024
@gauthierpetetin gauthierpetetin added release-12.5.0 Issue or pull request that will be included in release 12.5.0 and removed release-12.6.0 Issue or pull request that will be included in release 12.6.0 labels Sep 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs-assets-ux-review A shared label between the Assets and UX team to flag PRs ready for consolidated team review. release-12.5.0 Issue or pull request that will be included in release 12.5.0 team-wallet-ux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Settings - Basic Functionality does not appear on Settings search
6 participants