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

Add onSettingsPage export #2911

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft

Add onSettingsPage export #2911

wants to merge 13 commits into from

Conversation

GuillaumeRx
Copy link
Contributor

This PR adds a new onSettingsPage export that is used to display custom UI.

Fixes: #2874

@GuillaumeRx GuillaumeRx requested a review from a team as a code owner November 27, 2024 13:13
@GuillaumeRx GuillaumeRx marked this pull request as draft November 27, 2024 13:13
Copy link

codecov bot commented Nov 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.50%. Comparing base (c7a6906) to head (7e0e53c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2911      +/-   ##
==========================================
+ Coverage   94.49%   94.50%   +0.01%     
==========================================
  Files         487      488       +1     
  Lines       10450    10472      +22     
  Branches     1604     1608       +4     
==========================================
+ Hits         9875     9897      +22     
  Misses        575      575              

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

@@ -0,0 +1,23 @@
{
Copy link
Member

Choose a reason for hiding this comment

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

This file will need updating after a rebase

content: (
<Box>
<Heading>Hello world!</Heading>
<Text>Welcome to my Snap settings page!</Text>
Copy link
Member

Choose a reason for hiding this comment

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

Can we add a toggle or something to show how one would build a settings page and save the data from it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Coming soon ™️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider letting Snaps expose settings that show up alongside the MetaMask settings
2 participants