From 3369190816ef66012c741ee981ac80ea47e77df3 Mon Sep 17 00:00:00 2001 From: Stephanie Smith Date: Thu, 29 Aug 2024 23:58:50 -0700 Subject: [PATCH] Cleans up logic for switching between different content type aliases, adds EDU Search keys (#586) * cleaning up filter pretty names to a more versatile export * Removing test output --- .../SearchFilterGroup/SearchFilterGroup.vue | 65 +----- .../SearchResultCard/SearchResultCard.vue | 14 +- .../SearchResultGridItem.vue | 7 +- packages/vue/src/constants.ts | 192 +++++++++++++++++- packages/vue/src/utils/lookupContentType.ts | 22 ++ 5 files changed, 216 insertions(+), 84 deletions(-) create mode 100644 packages/vue/src/utils/lookupContentType.ts diff --git a/packages/vue/src/components/SearchFilterGroup/SearchFilterGroup.vue b/packages/vue/src/components/SearchFilterGroup/SearchFilterGroup.vue index f780c99d..0dbcfa0e 100644 --- a/packages/vue/src/components/SearchFilterGroup/SearchFilterGroup.vue +++ b/packages/vue/src/components/SearchFilterGroup/SearchFilterGroup.vue @@ -63,6 +63,8 @@