From 7a4ceaa45519c7b41e3990931318ad79f7b7bc53 Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Wed, 12 Jul 2023 15:16:07 +0800 Subject: [PATCH 1/8] Adding Identity Management stubs --- src/router/index.ts | 8 +++ src/views/AccountViewView.vue | 6 ++ src/views/IdentitySwitcherView.vue | 93 ++++++++++++++++++++++++++++++ 3 files changed, 107 insertions(+) create mode 100644 src/views/IdentitySwitcherView.vue diff --git a/src/router/index.ts b/src/router/index.ts index 626d971..03ccffd 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -123,6 +123,14 @@ const routes: Array = [ /* webpackChunkName: "new-identifier" */ "../views/NewIdentifierView.vue" ), }, + { + path: "/identity-switcher", + name: "identity-switcher", + component: () => + import( + /* webpackChunkName: "identity-switcher" */ "../views/IdentitySwitcherView.vue" + ), + }, { path: "/project", name: "project", diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue index a60c2af..be1a309 100644 --- a/src/views/AccountViewView.vue +++ b/src/views/AccountViewView.vue @@ -117,6 +117,12 @@ > Edit Identity + + Switch Identity / No Identity +

Data

diff --git a/src/views/IdentitySwitcherView.vue b/src/views/IdentitySwitcherView.vue new file mode 100644 index 0000000..2a8e60e --- /dev/null +++ b/src/views/IdentitySwitcherView.vue @@ -0,0 +1,93 @@ + + From efa59e170f74009a251483329a2d5725a59229d2 Mon Sep 17 00:00:00 2001 From: Jose Olarte III Date: Wed, 12 Jul 2023 15:27:59 +0800 Subject: [PATCH 2/8] Tweaked router link styles --- src/views/AccountViewView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue index be1a309..8c38d97 100644 --- a/src/views/AccountViewView.vue +++ b/src/views/AccountViewView.vue @@ -113,13 +113,13 @@ Edit Identity Switch Identity / No Identity From ab678a900a351885c6fc64625939acff6e0e2bd7 Mon Sep 17 00:00:00 2001 From: Jose Olarte III Date: Wed, 12 Jul 2023 15:45:10 +0800 Subject: [PATCH 3/8] Added static HTML to Account Switcher view --- src/views/IdentitySwitcherView.vue | 51 +++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/src/views/IdentitySwitcherView.vue b/src/views/IdentitySwitcherView.vue index 2a8e60e..4129cba 100644 --- a/src/views/IdentitySwitcherView.vue +++ b/src/views/IdentitySwitcherView.vue @@ -1,6 +1,55 @@ From ead37ede747d0d382d3f2b1c768c5a68e352fba3 Mon Sep 17 00:00:00 2001 From: Jose Olarte III Date: Wed, 12 Jul 2023 19:41:05 +0800 Subject: [PATCH 8/8] Added back button --- src/views/IdentitySwitcherView.vue | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/views/IdentitySwitcherView.vue b/src/views/IdentitySwitcherView.vue index 445a352..f378e51 100644 --- a/src/views/IdentitySwitcherView.vue +++ b/src/views/IdentitySwitcherView.vue @@ -1,10 +1,19 @@