feat: Complete PlatformServiceMixin migration and enhance tooling

- Update migration assessment: All database operations now migrated (60/60 components)
- Enhance validate-migration.sh: Improved pattern detection and reporting
- Upgrade format-markdown.sh: Add parallel processing and CI-friendly output
- Clean up legacy logging patterns in ContactImportView.vue
- Remove unused imports and optimize PlatformServiceMixin
- Streamline deep links service and utility functions

Migration Status: 100% database operations complete, only 4 logging cleanup files remain
This commit is contained in:
Matthew Raymer
2025-07-16 12:28:17 +00:00
parent 06972b9674
commit 5c7f58b5c8
8 changed files with 463 additions and 42 deletions

View File

@@ -147,8 +147,6 @@ export class DeepLinkHandler {
params[routeConfig.paramKey ?? "id"] = pathParams.join("/");
}
// Note: Logging removed to eliminate databaseUtil dependency
// Deep link parsing debug info can be added back using PlatformServiceMixin if needed
return { path: routePath, params, query };
}
@@ -174,7 +172,6 @@ export class DeepLinkHandler {
const validRoute = routeSchema.parse(path) as DeepLinkRoute;
routeName = ROUTE_MAP[validRoute].name;
} catch (error) {
// Log the invalid route attempt - using console.error instead of databaseUtil
console.error(`[DeepLink] Invalid route path: ${path}`);
// Redirect to error page with information about the invalid link
@@ -261,7 +258,6 @@ export class DeepLinkHandler {
await this.validateAndRoute(path, sanitizedParams, query);
} catch (error) {
const deepLinkError = error as DeepLinkError;
// Log the error using console.error instead of databaseUtil
console.error(
`[DeepLink] Error (${deepLinkError.code}): ${deepLinkError.details}`,
);