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 a link to confirmation dialog in dialog example snap #2112

Merged
merged 3 commits into from
Jan 22, 2024

Conversation

bowensanders
Copy link
Contributor

This just adds a link to the confirmation dialog for UI link testing purposes.

@bowensanders bowensanders requested a review from a team as a code owner January 19, 2024 18:15
Copy link

codecov bot commented Jan 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f1903db) 96.67% compared to head (cbe99e4) 96.67%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2112   +/-   ##
=======================================
  Coverage   96.67%   96.67%           
=======================================
  Files         313      313           
  Lines        7062     7062           
  Branches     1108     1108           
=======================================
  Hits         6827     6827           
  Misses        235      235           

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

@@ -47,7 +47,7 @@ export const onRpcRequest: OnRpcRequestHandler = async ({ request }) => {
content: panel([
heading('Confirmation Dialog'),
text(
'This is a confirmation dialog. It has two buttons: "OK" and "Cancel," letting the user choose whether to proceed with an action.',
'This is a confirmation dialog. It has two buttons: "OK" and "Cancel," letting the user choose whether to proceed with an action. [That](https://snaps.metamask.io/) is a what a link looks like.',
Copy link
Member

Choose a reason for hiding this comment

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

You need to update tests as well since you've changed the UI displayed!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was fixed in the latest commit.

@bowensanders bowensanders merged commit 5096566 into main Jan 22, 2024
144 checks passed
@bowensanders bowensanders deleted the bowen/uilinks branch January 22, 2024 22:39
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.

2 participants