-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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: add support for template and header result pages #6832
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. |
a7c49fb
to
67ce48d
Compare
app/components/UI/MetamaskTemplateRenderer/MetamaskTemplateRenderer.js
Outdated
Show resolved
Hide resolved
app/components/UI/MetamaskTemplateRenderer/MetamaskTemplateRenderer.js
Outdated
Show resolved
Hide resolved
app/components/UI/MetamaskTemplateRenderer/MetamaskTemplateRenderer.js
Outdated
Show resolved
Hide resolved
app/components/UI/MetamaskTemplateRenderer/SafeComponentList.js
Outdated
Show resolved
Hide resolved
3954f17
to
c551d97
Compare
c551d97
to
0fc32bb
Compare
app/components/Approvals/TemplateConfirmationModal/TemplateConfirmationModal.tsx
Outdated
Show resolved
Hide resolved
app/components/UI/Approval/TemplateConfirmation/TemplateConfirmation.tsx
Outdated
Show resolved
Hide resolved
app/components/Approvals/TemplateConfirmationModal/TemplateConfirmationModal.tsx
Show resolved
Hide resolved
app/components/Approvals/TemplateConfirmationModal/TemplateConfirmationModal.tsx
Outdated
Show resolved
Hide resolved
app/components/UI/Approval/TemplateConfirmation/Templates/index.ts
Outdated
Show resolved
Hide resolved
app/components/UI/Approval/TemplateConfirmation/TemplateConfirmation.tsx
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed!
|
Development & PR Process
release-xx
label to identify the PR slated for a upcoming release (will be used in release discussion)needs-dev-review
label when work is completedneeds-qa
label when dev review is completedQA Passed
label when QA has signed offDescription
This PR aims to include support for header and components on result pages (success & error). Additionally, it also includes support for templates identical to what already exists in the extension.
MetamaskTemplateRenderer
with asafeComponentList
to ensure only allow components can be rendered.Screenshots/Recordings
Note: the recordings below are for testing the components no change was done on the add & switch approval.
header_template_support_error.webm
header_template_support_success.webm
Issue
Progresses: https://github.com/MetaMask/mobile-planning/issues/1028
Pipeline E2E
https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/6836897f-b4ef-4564-8707-68419ad75ca3
Checklist