fix(notifications): New Activity vs Daily Reminder separation and copy
- PushNotificationPermission: show "Turn on New Activity Notifications" when enabling New Activity; use NOTIFY_PUSH_SUCCESS_NEW_ACTIVITY for success toast so copy says "New Activity notifications are now enabled." - App.vue: on native, turnOffNotifications invokes the modal's callback only (fixes turn-off not updating state); add comment that callback is per notification type. - AccountViewView: handle plugin UNIMPLEMENTED for scheduleDualNotification on iOS with friendlier message; add New Activity time block and "Edit New Activity Notification…"; rename Daily Reminder button to "Edit Daily Reminder…". - Constants: add NOTIFY_PUSH_SUCCESS_NEW_ACTIVITY. Reminder IDs and Option A (skip single reminder for New Activity) from earlier commit.
This commit is contained in:
@@ -1640,12 +1640,18 @@ export const NOTIFY_PUSH_SETUP_UNDERWAY = {
|
||||
"Setting up notifications for interesting activity, which takes about 10 seconds. If you don't see a final confirmation, check the 'Troubleshoot' page.",
|
||||
};
|
||||
|
||||
// Used in: PushNotificationPermission.vue (turnOnNotifications method - success)
|
||||
// Used in: PushNotificationPermission.vue (turnOnNotifications method - success, Daily Reminder)
|
||||
export const NOTIFY_PUSH_SUCCESS = {
|
||||
title: "Notifications On",
|
||||
message: "Daily Reminder notifications are now enabled.",
|
||||
};
|
||||
|
||||
// Used in: PushNotificationPermission.vue (turnOnNotifications method - success, New Activity only)
|
||||
export const NOTIFY_PUSH_SUCCESS_NEW_ACTIVITY = {
|
||||
title: "Notifications On",
|
||||
message: "New Activity notifications are now enabled.",
|
||||
};
|
||||
|
||||
// Used in: PushNotificationPermission.vue (turnOnNotifications method - general error)
|
||||
export const NOTIFY_PUSH_SETUP_ERROR = {
|
||||
title: "Error Setting Notification Permissions",
|
||||
|
||||
Reference in New Issue
Block a user