From e792b542dc3a41dfe941adc843ef69d2ed673401 Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Sat, 5 Jul 2025 12:57:55 +0000 Subject: [PATCH] Extract IdentitySection as vue-facing-decorator component and integrate into AccountViewView - Created IdentitySection.vue using vue-facing-decorator (class-based, TypeScript, @Component, @Prop, @Emit). - Moved all identity-related UI and logic (name, QR code, profile image, DID) into the new component. - Replaced original identity section markup in AccountViewView.vue with . - Passed all necessary props and implemented event handlers in AccountViewView.vue to maintain existing behavior. - Ensured all linter errors are resolved and code is consistent with project conventions. --- src/components/IdentitySection.vue | 187 +++++++++++++++++++++++++ src/views/AccountViewView.vue | 214 ++++++++--------------------- 2 files changed, 244 insertions(+), 157 deletions(-) create mode 100644 src/components/IdentitySection.vue diff --git a/src/components/IdentitySection.vue b/src/components/IdentitySection.vue new file mode 100644 index 00000000..f9e9fc53 --- /dev/null +++ b/src/components/IdentitySection.vue @@ -0,0 +1,187 @@ + + + diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue index 771313e7..0b44aac5 100644 --- a/src/views/AccountViewView.vue +++ b/src/views/AccountViewView.vue @@ -35,160 +35,23 @@ -
-

Identity Details

-
-

- - - - {{ givenName }} - - - -

-
- - -

- (Don't worry: this is not visible to anyone until you share it with - them. It's not sent to any servers.) -

- -
-
- - - - -
- - -
- -
-
-
- People {{ profileImageUrl ? "without your image" : "" }} see this -
- (if you've let them see your activity): -
-
- -
-
-
-
- -
-
- -
-
ID: 
- {{ activeDid }} - - Copied -
- -
- - Your Activity - -
-
+