-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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: create Developer Options Setting Page #22382
Conversation
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. |
Please take a look at some of the thinking from DevEx related to Developer settings. |
Hi @vandan, glad you found this PR. I believe this PR would complement the "Developer Mode" you've put deep thought into. I was thinking, upon toggling the "Developer Mode" setting, it would unlock the "Developer Options" setting page. Thoughts? |
I think there is some crossover between developers working directly on the wallet itself and developers working with the wallet. I think DevEx focuses on developers working with the wallet. This new page was designed to suit developers working directly on the wallet. I see the page extending its boundaries to all developer experiences |
Great. Yes, I would think that a general developer mode should ideally have some functions for people building MetaMask itself as well. Everything we explored was conceptual so it's nice to see some common interest in actually solving for the developer needs. |
This PR has been automatically marked as stale because it has not had recent activity in the last 60 days. It will be closed in 14 days. Thank you for your contributions. |
- Developer Options Setting
- todo: remove isFromReminder hack
- todo: this doesn't fully work. It works for the first redirect, but does not persist. Thus there is a hack in place to bypass this through the code. Search "@hack" in codebase
00127af
to
bab8673
Compare
resurrecting PR for a demo |
Builds ready [d8af4eb]
Page Load Metrics (1609 ± 606 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #22382 +/- ##
===========================================
- Coverage 67.56% 67.54% -0.02%
===========================================
Files 1246 1246
Lines 48888 48878 -10
Branches 12746 12753 +7
===========================================
- Hits 33031 33013 -18
- Misses 15857 15865 +8 ☔ View full report in Codecov by Sentry. |
Builds ready [ab364fa]
Page Load Metrics (403 ± 377 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [123b3d3]
Page Load Metrics (915 ± 547 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [5fbda42]
Page Load Metrics (1217 ± 733 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
The "Developer Options" setting page will provide developers with additional controls and customization to assist with development and testing. This feature will enable developers to reset app states easily, toggle certain features on/off, and update configurations without needing to reinstall the app, accelerating developer velocity.
To enable, add
ENABLE_SETTINGS_PAGE_DEV_OPTIONS=true
in .metamaskrcDeveloper Options Supported:
Related issues
Fixes: #23592
Blocked By: MetaMask/core#4088
Manual testing steps
yarn install
to install the latest announcement-controller changes.metamaskrc
ENABLE_SETTINGS_PAGE_DEV_OPTIONS=true
yarn start
Test using test-dapp
Screenshots/Recordings
New UI
Announcements
Onboarding
Pre-merge author checklist
Pre-merge reviewer checklist