forked from jsnbuchanan/crowd-funder-for-time-pwa
Complete OnboardingDialog.vue Enhanced Triple Migration Pattern (3.5 minutes)
• Database Migration: Replace databaseUtil with PlatformServiceMixin methods • SQL Abstraction: Replace raw SQL with $getAllContacts() and $accountSettings() • Template Streamlining: Add 5 computed properties for consistent styling • Vue Syntax Fix: Correct vue-facing-decorator mixin and computed property syntax Migration Details: - Removed: databaseUtil imports and PlatformServiceFactory usage - Added: PlatformServiceMixin with $accountSettings(), $getAllContacts(), $updateSettings() - Created: 5 computed properties (primaryButtonClasses, secondaryButtonClasses, etc.) - Fixed: Proper @Component mixin declaration and class getter syntax - Quality: Zero linting errors, full TypeScript compliance Component provides 3-page onboarding flow (Home, Discover, Create) with dynamic content based on user registration and contact status. Ready for human testing across all platforms.
This commit is contained in:
@@ -1339,7 +1339,7 @@ export default class ProjectViewView extends Vue {
|
||||
this.notify.confirm(
|
||||
NOTIFY_CONFIRM_CLAIM.text,
|
||||
async () => {
|
||||
await this.confirmClaim(give);
|
||||
await this.confirmClaim(give);
|
||||
},
|
||||
TIMEOUTS.MODAL,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user