Fix duplicate export declarations and migrate ContactsView with sub-components

- Remove duplicate NOTIFY_INVITE_MISSING and NOTIFY_INVITE_PROCESSING_ERROR exports
- Update InviteOneAcceptView.vue to use correct NOTIFY_INVITE_TRUNCATED_DATA constant
- Migrate ContactsView to PlatformServiceMixin and extract into modular sub-components
- Resolves TypeScript compilation errors preventing web build
This commit is contained in:
Matthew Raymer
2025-07-16 08:03:26 +00:00
parent 81a6c92068
commit 8dd73950f5
45 changed files with 3216 additions and 1752 deletions

View File

@@ -82,11 +82,11 @@ export default class ShareMyContactInfoView extends Vue {
// @ts-ignore
window.__SHARE_CONTACT_DEBUG__ = { settings, activeDid };
// eslint-disable-next-line no-console
console.log('[ShareMyContactInfoView] mounted', { settings, activeDid });
console.log("[ShareMyContactInfoView] mounted", { settings, activeDid });
if (!activeDid) {
// eslint-disable-next-line no-console
console.log('[ShareMyContactInfoView] No activeDid, redirecting to root');
this.$router.push({ name: 'home' });
console.log("[ShareMyContactInfoView] No activeDid, redirecting to root");
this.$router.push({ name: "home" });
}
}
@@ -134,10 +134,7 @@ export default class ShareMyContactInfoView extends Vue {
/**
* Generate the contact message URL for sharing
*/
private async generateContactMessage(
settings: Settings,
account: Account,
) {
private async generateContactMessage(settings: Settings, account: Account) {
const givenName = settings.firstName || "";
const isRegistered = !!settings.isRegistered;
const profileImageUrl = settings.profileImageUrl || "";