From fa6b3ade65a1de10091a70aeb0c9ad7cb283e590 Mon Sep 17 00:00:00 2001 From: Ian Liu <81595625+ianliuwk1019@users.noreply.github.com> Date: Thu, 12 Sep 2024 15:05:35 -0700 Subject: [PATCH] feat: #1542 User details link and breadcrumb change. (#1589) --- frontend/src/alltypes.d.ts | 1 + frontend/src/components/common/Icon.vue | 7 +++- frontend/src/components/common/SideNav.vue | 7 ++-- .../managePermissions/table/UserDataTable.vue | 42 ++++++++++++------- .../userDetails/UserDetails.vue | 12 ++++++ frontend/src/layouts/ProtectedLayout.vue | 31 ++++++++------ frontend/src/router/index.ts | 25 ++++++++++- frontend/src/router/routeHandlers.ts | 10 ++--- frontend/src/router/routeItem.ts | 9 +++- frontend/src/store/BreadcrumbState.ts | 19 +++++++++ .../src/tests/GrantApplicationAdmin.spec.ts | 12 +++--- 11 files changed, 128 insertions(+), 47 deletions(-) create mode 100644 frontend/src/components/managePermissions/userDetails/UserDetails.vue diff --git a/frontend/src/alltypes.d.ts b/frontend/src/alltypes.d.ts index 2b5e70330..e4b798685 100644 --- a/frontend/src/alltypes.d.ts +++ b/frontend/src/alltypes.d.ts @@ -20,6 +20,7 @@ declare module '@carbon/icons-vue/es/group--access/16'; declare module '@carbon/icons-vue/es/enterprise/16' declare module '@carbon/icons-vue/es/user--profile/16' declare module '@carbon/icons-vue/es/document/16' +declare module '@carbon/icons-vue/es/recently-viewed/16'; // medium declare module '@carbon/icons-vue/es/login/20'; diff --git a/frontend/src/components/common/Icon.vue b/frontend/src/components/common/Icon.vue index 74b05cb8c..3f61be20e 100644 --- a/frontend/src/components/common/Icon.vue +++ b/frontend/src/components/common/Icon.vue @@ -1,7 +1,7 @@ + + + + diff --git a/frontend/src/layouts/ProtectedLayout.vue b/frontend/src/layouts/ProtectedLayout.vue index d8678e59f..e092ae681 100644 --- a/frontend/src/layouts/ProtectedLayout.vue +++ b/frontend/src/layouts/ProtectedLayout.vue @@ -1,20 +1,21 @@