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:
Matthew Raymer
2025-07-09 04:56:31 +00:00
parent b1435b0c42
commit 9ee9855c68
7 changed files with 626 additions and 65 deletions

View File

@@ -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