From ac97e62f2e0d06bd2b58165c1b7cd728ba02e96d Mon Sep 17 00:00:00 2001 From: Ian Philips Date: Fri, 30 Sep 2022 13:45:57 -0600 Subject: [PATCH] Add portfolio updates to notification settings --- common/notification.ts | 8 ++++---- web/components/notification-settings.tsx | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/common/notification.ts b/common/notification.ts index b42df541..d91dc300 100644 --- a/common/notification.ts +++ b/common/notification.ts @@ -116,8 +116,8 @@ export const NOTIFICATION_DESCRIPTIONS: notification_descriptions = { detailed: "Only answers by market creator on markets you're watching", }, betting_streaks: { - simple: 'For predictions made over consecutive days', - detailed: 'Bonuses for predictions made over consecutive days', + simple: `For prediction streaks`, + detailed: `Bonuses for predictions made over consecutive days (Prediction streaks)})`, }, comments_by_followed_users_on_watched_markets: { simple: 'Only comments by users you follow', @@ -159,8 +159,8 @@ export const NOTIFICATION_DESCRIPTIONS: notification_descriptions = { detailed: 'Large changes in probability on markets that you watch', }, profit_loss_updates: { - simple: 'Weekly profit and loss updates', - detailed: 'Weekly profit and loss updates', + simple: 'Weekly portfolio updates', + detailed: 'Weekly portfolio updates', }, referral_bonuses: { simple: 'For referring new users', diff --git a/web/components/notification-settings.tsx b/web/components/notification-settings.tsx index 047d15dd..f0b9591e 100644 --- a/web/components/notification-settings.tsx +++ b/web/components/notification-settings.tsx @@ -62,8 +62,8 @@ export function NotificationSettings(props: { 'tagged_user', // missing tagged on contract description email 'contract_from_followed_user', 'unique_bettors_on_your_contract', + 'profit_loss_updates', // TODO: add these - // 'profit_loss_updates', - changes in markets you have shares in // biggest winner, here are the rest of your markets // 'referral_bonuses', @@ -153,6 +153,7 @@ export function NotificationSettings(props: { 'trending_markets', 'thank_you_for_purchases', 'onboarding_flow', + 'profit_loss_updates', ], }