Skip to content

Conversation

@mjc1283
Copy link
Contributor

@mjc1283 mjc1283 commented Aug 7, 2019

Summary

This PR adds two exports from the utils package:

  • NOTIFICATION_TYPES, an enum
  • NotificationCenter, an interface.

I want this package to be the home of notification types and the notification center interface, to facilitate using notification center in both the optimizely-sdk package and the event-processor package.

Also, I added a new LOG_EVENT notification type. I plan to use this in the event processor when implementing the requirement in OASIS-4976.

Test plan

Manually tested

Issues

https://optimizely.atlassian.net/browse/OASIS-4976

@mjc1283 mjc1283 requested review from a team and mikeproeng37 August 7, 2019 02:54
@mjc1283 mjc1283 changed the title feat (utils): Add notification types as an enum feat (utils): Add notification types as an enum and log event notification type Aug 7, 2019
@coveralls
Copy link

coveralls commented Aug 7, 2019

Coverage Status

Coverage remained the same at 97.597% when pulling 8354f15 on mcarroll/add-notification-type-enum into 00f6c13 on master.

@mjc1283 mjc1283 changed the title feat (utils): Add notification types as an enum and log event notification type feat (utils): Add notification types to utils package Aug 7, 2019
Copy link
Contributor

@mikeproeng37 mikeproeng37 left a comment

Choose a reason for hiding this comment

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

lgtm

@mjc1283 mjc1283 merged commit 19bc495 into master Aug 7, 2019
@mjc1283 mjc1283 deleted the mcarroll/add-notification-type-enum branch August 7, 2019 21:07
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.

4 participants