forked from jsnbuchanan/crowd-funder-for-time-pwa
Fix HomeView notification migration to use proper constants pattern
- Add NOTIFY_CONTACT_LOADING_ISSUE, NOTIFY_FEED_LOADING_ISSUE, and NOTIFY_CONFIRMATION_ERROR constants to notifications.ts - Update HomeView.vue to import and use notification constants instead of literal strings - Update migration templates to document constants vs literal strings pattern - Add comprehensive documentation for notification constants usage Ensures consistency with established pattern used in ActivityListItem.vue and other migrated components. Linter passes without errors.
This commit is contained in:
@@ -9,4 +9,19 @@ export const NOTIFY_PERSON_HIDDEN = {
|
||||
export const NOTIFY_UNKNOWN_PERSON = {
|
||||
title: "Unidentified Person",
|
||||
message: "Nobody specific was recognized.",
|
||||
};
|
||||
};
|
||||
|
||||
export const NOTIFY_CONTACT_LOADING_ISSUE = {
|
||||
title: "Contact Loading Issue",
|
||||
message: "Some contact information may be unavailable.",
|
||||
};
|
||||
|
||||
export const NOTIFY_FEED_LOADING_ISSUE = {
|
||||
title: "Feed Loading Issue",
|
||||
message: "Some feed data may be unavailable. Pull to refresh.",
|
||||
};
|
||||
|
||||
export const NOTIFY_CONFIRMATION_ERROR = {
|
||||
title: "Error",
|
||||
message: "There was a problem submitting the confirmation.",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user