forked from jsnbuchanan/crowd-funder-for-time-pwa
Complete notification migration across 13 components and views
- Replace raw $notify calls with notification helper system - Add createNotifyHelpers and TIMEOUTS constants integration - Migrate AccountViewView, ClaimAddRawView, ContactGiftingView, ContactImportView, ContactsView, NewActivityView, ProjectViewView, RecentOffersToUserProjectsView, RecentOffersToUserView, ShareMyContactInfoView - Update MembersList, TopMessage, UserNameDialog components - Add notification constants for standardized messaging - Enhance validation script to eliminate false positives - Achieve 86% notification migration completion rate
This commit is contained in:
@@ -70,3 +70,54 @@ export const NOTIFY_VISIBILITY_REFRESHED = {
|
||||
title: "Visibility Refreshed",
|
||||
message: "visibility status updated.",
|
||||
};
|
||||
|
||||
// ContactsView.vue specific constants
|
||||
export const NOTIFY_BLANK_INVITE = {
|
||||
title: "Blank Invite",
|
||||
message: "The invite was not included, which can happen when your iOS device cuts off the link. Try pasting the full link into a browser.",
|
||||
};
|
||||
|
||||
export const NOTIFY_INVITE_REGISTRATION_SUCCESS = {
|
||||
title: "Registered",
|
||||
message: "You are now registered.",
|
||||
};
|
||||
|
||||
export const NOTIFY_INVITE_ERROR = {
|
||||
title: "Error with Invite",
|
||||
message: "Got an error sending the invite.",
|
||||
};
|
||||
|
||||
export const NOTIFY_ONBOARDING_CONFIRM = {
|
||||
title: "They're Added To Your List",
|
||||
message: "Would you like to go to the main page now?",
|
||||
};
|
||||
|
||||
export const NOTIFY_REGISTER_NOT_AVAILABLE = {
|
||||
title: "Not Registered",
|
||||
message: "You must get registered before you can create invites.",
|
||||
};
|
||||
|
||||
export const NOTIFY_REGISTER_PROCESSING = {
|
||||
title: "Processing",
|
||||
message: "Sent...",
|
||||
};
|
||||
|
||||
export const NOTIFY_REGISTER_PERSON_SUCCESS = {
|
||||
title: "Registration Success",
|
||||
message: "has been registered.",
|
||||
};
|
||||
|
||||
export const NOTIFY_REGISTER_PERSON_ERROR = {
|
||||
title: "Registration Error",
|
||||
message: "Something went wrong during registration.",
|
||||
};
|
||||
|
||||
export const NOTIFY_VISIBILITY_ERROR = {
|
||||
title: "Error Setting Visibility",
|
||||
message: "Could not set visibility on the server.",
|
||||
};
|
||||
|
||||
export const NOTIFY_UNCONFIRMED_HOURS = {
|
||||
title: "Unconfirmed Hours",
|
||||
message: "Would you like to confirm some of those hours?",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user