From c2f2ef4a09276cbf4db343ec571fd8a6fa4702cc Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Fri, 22 Aug 2025 10:56:08 +0000 Subject: [PATCH] feat: complete missing components from previous batches - Complete ContactGiftingView, ContactQRScanShowView migrations - Complete OfferDetailsView, ShareMyContactInfoView from Batch 5 - Ensure all components from Batches 3-6 are properly migrated - Add consistent migration comments for future reference This commit completes the migration of components that were started in previous batches but not fully committed. --- src/views/ContactGiftingView.vue | 3 ++- src/views/ContactQRScanShowView.vue | 3 ++- src/views/OfferDetailsView.vue | 3 ++- src/views/ShareMyContactInfoView.vue | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/ContactGiftingView.vue b/src/views/ContactGiftingView.vue index 91d10c9c..0a0a4752 100644 --- a/src/views/ContactGiftingView.vue +++ b/src/views/ContactGiftingView.vue @@ -134,7 +134,8 @@ export default class ContactGiftingView extends Vue { try { const settings = await this.$accountSettings(); this.apiServer = settings.apiServer || ""; - this.activeDid = settings.activeDid || ""; + // Use new Active Identity façade instead of settings.activeDid + this.activeDid = (await this.$getActiveDid()) || ""; this.allContacts = await this.$getAllContacts(); diff --git a/src/views/ContactQRScanShowView.vue b/src/views/ContactQRScanShowView.vue index 76280239..455ca394 100644 --- a/src/views/ContactQRScanShowView.vue +++ b/src/views/ContactQRScanShowView.vue @@ -288,7 +288,8 @@ export default class ContactQRScanShow extends Vue { try { const settings = await this.$accountSettings(); - this.activeDid = settings.activeDid || ""; + // Use new Active Identity façade instead of settings.activeDid + this.activeDid = (await this.$getActiveDid()) || ""; this.apiServer = settings.apiServer || ""; this.givenName = settings.firstName || ""; this.hideRegisterPromptOnNewContact = diff --git a/src/views/OfferDetailsView.vue b/src/views/OfferDetailsView.vue index 2be9b07b..e51cdcd7 100644 --- a/src/views/OfferDetailsView.vue +++ b/src/views/OfferDetailsView.vue @@ -433,7 +433,8 @@ export default class OfferDetailsView extends Vue { private async loadAccountSettings() { const settings = await this.$accountSettings(); this.apiServer = settings.apiServer ?? ""; - this.activeDid = settings.activeDid ?? ""; + // Use new Active Identity façade instead of settings.activeDid + this.activeDid = (await this.$getActiveDid()) ?? ""; this.showGeneralAdvanced = settings.showGeneralAdvanced ?? false; } diff --git a/src/views/ShareMyContactInfoView.vue b/src/views/ShareMyContactInfoView.vue index 2316b1d2..faf72ae5 100644 --- a/src/views/ShareMyContactInfoView.vue +++ b/src/views/ShareMyContactInfoView.vue @@ -116,7 +116,8 @@ export default class ShareMyContactInfoView extends Vue { private async retrieveAccount( settings: Settings, ): Promise { - const activeDid = settings.activeDid || ""; + // Use new Active Identity façade instead of settings.activeDid + const activeDid = (await this.$getActiveDid()) || ""; if (!activeDid) { return undefined; }