-
Notifications
You must be signed in to change notification settings - Fork 563
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
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. |
f2afbf9
to
10d2afb
Compare
packages/test-snaps/src/features/snaps/settings-page/SettingsPage.tsx
Outdated
Show resolved
Hide resolved
packages/test-snaps/src/features/snaps/settings-page/constants.ts
Outdated
Show resolved
Hide resolved
10d2afb
to
fa382b6
Compare
@@ -0,0 +1,23 @@ | |||
{ |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coming soon ™️
This PR adds a new
onSettingsPage
export that is used to display custom UI.Fixes: #2874