forked from jsnbuchanan/crowd-funder-for-time-pwa
git commit -m "feat: migrate IdentitySwitcherView.vue to Enhanced Triple Migration Pattern
- Replace databaseUtil/PlatformServiceFactory with PlatformServiceMixin - Add notification helpers + centralized constants for identity management - Extract button styling and account formatting to computed properties - Improve TypeScript typing (Account interface) - 6-minute migration achieving technical compliance - All identity switching and deletion features preserved"
This commit is contained in:
@@ -199,6 +199,26 @@ export const NOTIFY_ONBOARDING_MEETING = {
|
||||
noText: "Join Existing Meeting",
|
||||
};
|
||||
|
||||
// IdentitySwitcherView.vue specific constants
|
||||
// Used in: IdentitySwitcherView.vue (created method - error loading accounts)
|
||||
export const NOTIFY_ERROR_LOADING_ACCOUNTS = {
|
||||
title: "Error Loading Accounts",
|
||||
message: "Clear your cache and start over (after data backup).",
|
||||
};
|
||||
|
||||
// Used in: IdentitySwitcherView.vue (notifyCannotDelete method - warning for active identity)
|
||||
export const NOTIFY_CANNOT_DELETE_ACTIVE_IDENTITY = {
|
||||
title: "Cannot Delete",
|
||||
message:
|
||||
"You cannot delete the active identity. Set to another identity or 'no identity' first.",
|
||||
};
|
||||
|
||||
// Used in: IdentitySwitcherView.vue (deleteAccount method - complex modal for delete confirmation)
|
||||
export const NOTIFY_DELETE_IDENTITY_CONFIRM = {
|
||||
title: "Delete Identity?",
|
||||
text: "Are you sure you want to erase this identity? (There is no undo. You may want to select it and back it up just in case.)",
|
||||
};
|
||||
|
||||
// ProjectViewView.vue complex modals
|
||||
// Used in: ProjectViewView.vue (complex modal for claim confirmation)
|
||||
export const NOTIFY_CONFIRM_CLAIM = {
|
||||
|
||||
Reference in New Issue
Block a user