forked from trent_larson/crowd-funder-for-time-pwa
Migrate HelpView.vue to PlatformServiceMixin - extract 7 inline handlers to methods
- Replace databaseUtil calls with PlatformServiceMixin for settings operations - Extract toggleAlpha/Group/Community/Verifiable/Governance/Basics methods - Add copyBitcoinAddress method with clipboard feedback - Enhance onboarding reset with error handling and logging - Human tested: all help sections, clipboard ops, platform navigation work - 6 minutes (3x faster than estimate), technically compliant
This commit is contained in:
@@ -1332,7 +1332,8 @@ export const NOTIFY_QR_DID_COPIED = {
|
||||
// Used in: ContactQRScanShowView.vue (onScanDetect method - invalid QR code)
|
||||
export const NOTIFY_QR_INVALID_QR_CODE = {
|
||||
title: "Invalid QR Code",
|
||||
message: "This QR code does not contain valid contact information. Scan a TimeSafari contact QR code.",
|
||||
message:
|
||||
"This QR code does not contain valid contact information. Scan a TimeSafari contact QR code.",
|
||||
};
|
||||
|
||||
// Used in: ContactQRScanShowView.vue (onScanDetect method - invalid contact info)
|
||||
@@ -1350,7 +1351,8 @@ export const NOTIFY_QR_MISSING_DID = {
|
||||
// Used in: ContactQRScanShowView.vue (onScanDetect method - unknown contact type)
|
||||
export const NOTIFY_QR_UNKNOWN_CONTACT_TYPE = {
|
||||
title: "Error",
|
||||
message: "Could not determine the type of contact info. Try again, or tap the QR code to copy it and send it to them.",
|
||||
message:
|
||||
"Could not determine the type of contact info. Try again, or tap the QR code to copy it and send it to them.",
|
||||
};
|
||||
|
||||
// Used in: ContactQRScanShowView.vue (onScanDetect method - processing error)
|
||||
@@ -1376,7 +1378,7 @@ export function createQRRegistrationSuccessMessage(
|
||||
}
|
||||
|
||||
// ContactQRScanShowView.vue timeout constants
|
||||
export const QR_TIMEOUT_SHORT = 1000; // Short operations like registration submission
|
||||
export const QR_TIMEOUT_MEDIUM = 2000; // Medium operations like URL copy
|
||||
export const QR_TIMEOUT_STANDARD = 3000; // Standard success messages
|
||||
export const QR_TIMEOUT_LONG = 5000; // Error messages and warnings
|
||||
export const QR_TIMEOUT_SHORT = 1000; // Short operations like registration submission
|
||||
export const QR_TIMEOUT_MEDIUM = 2000; // Medium operations like URL copy
|
||||
export const QR_TIMEOUT_STANDARD = 3000; // Standard success messages
|
||||
export const QR_TIMEOUT_LONG = 5000; // Error messages and warnings
|
||||
|
||||
Reference in New Issue
Block a user