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

feat: add notifications UI views #10405

Closed
wants to merge 31 commits into from

Conversation

Jonathansoufer
Copy link
Contributor

Description

This is the last PR from a series of 6 PRs to implement the new notifications feature on MetaMask. This brings all the backbones and UI elements together to present our users:

  • OptIn Screen
  • Settings Screen
  • Notifications List Screen
  • Notification Details Screen

Related issues

Fixes:

Manual testing steps

  1. Go to this Settings screen, open the new Notifications option and enable it.
  2. Go to main screen, click on the bell icon
  3. See the empty screens.
  4. Perform any onChain transaction
  5. Click on the Notification and see its details

Screenshots/Recordings

NotificationsDemo.mov

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@Jonathansoufer Jonathansoufer self-assigned this Jul 25, 2024
Copy link
Contributor

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.

@Jonathansoufer Jonathansoufer added needs-qa Any New Features that needs a full manual QA prior to being added to a release. team-mobile-platform Run Smoke E2E Triggers smoke e2e on Bitrise team-notifications Notifications team needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) labels Jul 25, 2024
Copy link

socket-security bot commented Jul 25, 2024

Copy link

socket-security bot commented Jul 25, 2024

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Network access npm/[email protected] 🚫

View full report↗︎

Next steps

What is network access?

This module accesses the network.

Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

@metamaskbot metamaskbot added the team-snaps-platform Snaps Platform team label Jul 25, 2024
Copy link
Contributor

github-actions bot commented Jul 25, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 075deca
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/aba108f9-ee5f-4f09-ba93-a00474c60d2e

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@Jonathansoufer Jonathansoufer added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Jul 25, 2024
Copy link
Contributor

github-actions bot commented Jul 25, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: e53e79c
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/3266d23a-1980-4c51-8176-4cc3c016224c

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@Jonathansoufer Jonathansoufer marked this pull request as ready for review July 25, 2024 21:04
@Jonathansoufer Jonathansoufer requested review from a team as code owners July 25, 2024 21:04
@Jonathansoufer Jonathansoufer added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Jul 25, 2024
Copy link
Contributor

github-actions bot commented Jul 25, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 79d4500
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/a0bc827f-5b65-4a13-9133-ce44856273b6

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@Jonathansoufer Jonathansoufer added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Jul 26, 2024
Copy link
Contributor

github-actions bot commented Jul 26, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: b236519
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/b2c2d38e-515d-4260-9017-38e977a2bf99

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@Jonathansoufer Jonathansoufer removed the Run Smoke E2E Triggers smoke e2e on Bitrise label Jul 26, 2024
@Jonathansoufer Jonathansoufer added the Run Smoke E2E Triggers smoke e2e on Bitrise label Jul 26, 2024
Copy link
Contributor

github-actions bot commented Jul 26, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 39d0674
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/d547b183-5d91-4374-ab04-a45d95bb7c42

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Copy link

@github-actions github-actions bot locked and limited conversation to collaborators Jul 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) needs-qa Any New Features that needs a full manual QA prior to being added to a release. Run Smoke E2E Triggers smoke e2e on Bitrise team-mobile-platform team-notifications Notifications team team-snaps-platform Snaps Platform team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants