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

PLAT-945: browser push feature flag #5191

Merged
merged 8 commits into from May 5, 2023
Merged

Conversation

alecsavvy
Copy link
Contributor

Description

adds feature flag to control browser push through optimizely

Tests

testing on stage

Monitoring - How will this change be monitored? Are there sufficient logs / alerts?

@alecsavvy alecsavvy self-assigned this May 1, 2023
@@ -123,8 +133,11 @@ export class AppNotificationsProcessor {
)
if (isEnabled) {
const isLiveEmailEnabled = this.getIsLiveEmailEnabled()
const isBrowserPushEnabled = this.getIsBrowserPushEnabled()
logger.info(`live email ${isLiveEmailEnabled ? "is" : "is not"} enabled`)
Copy link
Contributor

Choose a reason for hiding this comment

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

are these logs intentional for every notification? maybe move the gets outside too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good catch

# Conflicts:
#	discovery-provider/plugins/notifications/src/processNotifications/mappers/create.ts
#	discovery-provider/plugins/notifications/src/processNotifications/mappers/repost.ts
#	discovery-provider/plugins/notifications/src/processNotifications/mappers/supportingRankUp.ts
#	discovery-provider/plugins/notifications/src/processNotifications/mappers/tastemaker.ts
@alecsavvy alecsavvy merged commit e84976e into main May 5, 2023
16 of 17 checks passed
@alecsavvy alecsavvy deleted the as/plat-945-browser-push-ff branch May 5, 2023 19:30
@AudiusProject AudiusProject deleted a comment from linear bot Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants