From 0dfa650f3a7e1684c38e49eabeca0845b24a91a1 Mon Sep 17 00:00:00 2001 From: Lucas ONeil Date: Wed, 18 Oct 2023 13:40:16 -0700 Subject: [PATCH 01/25] OOB connections Signed-off-by: Lucas ONeil --- .../components/connections/Connections.vue | 1 + .../components/connections/Invitations.vue | 3 +- .../createConnection/CreateConnection.vue | 28 +--- .../createConnection/CreateConnectionForm.vue | 154 ++++++++++++++++-- .../frontend/src/helpers/constants.ts | 3 + .../frontend/src/plugins/i18n/locales/en.json | 18 +- .../frontend/src/store/connectionStore.ts | 36 ++++ .../connections/Invitations.test.ts | 2 +- 8 files changed, 200 insertions(+), 45 deletions(-) diff --git a/services/tenant-ui/frontend/src/components/connections/Connections.vue b/services/tenant-ui/frontend/src/components/connections/Connections.vue index 09c8e7f90..5abdc8cb0 100644 --- a/services/tenant-ui/frontend/src/components/connections/Connections.vue +++ b/services/tenant-ui/frontend/src/components/connections/Connections.vue @@ -230,6 +230,7 @@ const formattedConnections: Ref = computed(() => filteredConnections.value.map((conn) => ({ connection_id: conn.connection_id, alias: conn.alias, + protocol: conn.connection_protocol, their_label: conn.their_label, state: conn.state, created: formatDateLong(conn.created_at as string), diff --git a/services/tenant-ui/frontend/src/components/connections/Invitations.vue b/services/tenant-ui/frontend/src/components/connections/Invitations.vue index 785127562..bf002d8d3 100644 --- a/services/tenant-ui/frontend/src/components/connections/Invitations.vue +++ b/services/tenant-ui/frontend/src/components/connections/Invitations.vue @@ -21,8 +21,7 @@ + + + connection_id: inv.connection_id, alias: inv.alias, invitation_mode: inv.invitation_mode, + protocol: inv.connection_protocol, created: formatDateLong(inv.created_at as string), created_at: inv.created_at, })) @@ -163,6 +181,10 @@ const filter = ref({ value: null, matchMode: FilterMatchMode.CONTAINS, }, + protocol: { + value: null, + matchMode: FilterMatchMode.CONTAINS, + }, created: { value: null, matchMode: FilterMatchMode.CONTAINS, diff --git a/services/tenant-ui/frontend/src/components/connections/createConnection/CreateConnection.vue b/services/tenant-ui/frontend/src/components/connections/createConnection/CreateConnection.vue index 202f69bed..c2d5913ed 100644 --- a/services/tenant-ui/frontend/src/components/connections/createConnection/CreateConnection.vue +++ b/services/tenant-ui/frontend/src/components/connections/createConnection/CreateConnection.vue @@ -1,13 +1,13 @@