Migrate ClaimCertificateView.vue to Enhanced Triple Migration Pattern

- Replaced all databaseUtil and direct PlatformServiceFactory usage with PlatformServiceMixin methods
- Removed all raw SQL queries from the component
- Centralized notification message in src/constants/notifications.ts
- Replaced direct $notify call with notification helper and TIMEOUTS constant
- Updated migration documentation and security audit
- Ran lint-fix; no migration-specific errors remain

Ready for human testing and validation.
This commit is contained in:
Matthew Raymer
2025-07-08 12:32:05 +00:00
parent 0d75dd6262
commit af35a3055c
6 changed files with 239 additions and 37 deletions

View File

@@ -1039,3 +1039,10 @@ export const NOTIFY_DISCOVER_MAP_SEARCH_ERROR = {
title: "Error",
message: "There was an error with the map search.",
};
// ClaimCertificateView.vue specific constants
// Used in: ClaimCertificateView.vue (fetchClaim method - claim loading error)
export const NOTIFY_CLAIM_CERTIFICATE_LOAD_ERROR = {
title: "Error",
message: "There was a problem loading the claim.",
};