From 5f5cd47474a0a9a5540325b8472e00a3d42a9a66 Mon Sep 17 00:00:00 2001 From: Shane Melton Date: Mon, 3 Oct 2022 11:51:17 -0700 Subject: [PATCH] [EC-551] Update Event Logs Client Column (#3572) * [EC-551] Fix RxJS warnings * [EC-551] Update page to use CL components and Tailwind classes * [EC-551] Update Client column to use text instead of icon. Update language and i18n. --- apps/web/src/app/core/event.service.ts | 8 +- .../manage/events.component.html | 100 +++++++++--------- .../organizations/manage/events.component.ts | 37 ++++--- apps/web/src/app/shared/shared.module.ts | 7 +- apps/web/src/locales/en/messages.json | 16 +++ libs/components/src/index.ts | 1 + 6 files changed, 99 insertions(+), 70 deletions(-) diff --git a/apps/web/src/app/core/event.service.ts b/apps/web/src/app/core/event.service.ts index 1a17998747e7..ab12faa82d6e 100644 --- a/apps/web/src/app/core/event.service.ts +++ b/apps/web/src/app/core/event.service.ts @@ -464,16 +464,14 @@ export class EventService { private formatGroupId(ev: EventResponse) { const shortId = this.getShortId(ev.groupId); const a = this.makeAnchor(shortId); - a.setAttribute( - "href", - "#/organizations/" + ev.organizationId + "/manage/groups?search=" + shortId - ); + a.setAttribute("href", "#/organizations/" + ev.organizationId + "/groups?search=" + shortId); return a.outerHTML; } private formatCollectionId(ev: EventResponse) { const shortId = this.getShortId(ev.collectionId); const a = this.makeAnchor(shortId); + // TODO: Update view/edit collection link after EC-14 is completed a.setAttribute( "href", "#/organizations/" + ev.organizationId + "/manage/collections?search=" + shortId @@ -488,7 +486,7 @@ export class EventService { "href", "#/organizations/" + ev.organizationId + - "/manage/people?search=" + + "/members?search=" + shortId + "&viewEvents=" + ev.organizationUserId diff --git a/apps/web/src/app/organizations/manage/events.component.html b/apps/web/src/app/organizations/manage/events.component.html index d27b53e8d9d1..ed7ddfad5953 100644 --- a/apps/web/src/app/organizations/manage/events.component.html +++ b/apps/web/src/app/organizations/manage/events.component.html @@ -1,54 +1,57 @@ -