forked from jsnbuchanan/crowd-funder-for-time-pwa
Replace hardcoded notification strings with standardized constants
- Replace literal strings with notification constants in ContactsView.vue: * "Got an error sending the invite." → NOTIFY_INVITE_ERROR.message * "Could not set visibility on the server." → NOTIFY_VISIBILITY_ERROR.message * "Unconfirmed Hours" → NOTIFY_UNCONFIRMED_HOURS.title - Remove unused NOTIFY_REGISTER_PROCESSING import - Remove unused NOTIFICATION_TIMEOUTS constant in ShareMyContactInfoView.vue - Fix unused parameter warnings in danger() and warning() methods - Resolve all notification-related linting errors
This commit is contained in:
@@ -74,7 +74,8 @@ export const NOTIFY_VISIBILITY_REFRESHED = {
|
||||
// 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.",
|
||||
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 = {
|
||||
|
||||
Reference in New Issue
Block a user