From 968f417061a58b1be7cdf8d2f09adcb18ecc6322 Mon Sep 17 00:00:00 2001 From: pythongosssss <125205205+pythongosssss@users.noreply.github.com> Date: Wed, 28 Aug 2024 02:17:34 +0100 Subject: [PATCH] Node library search filters (#636) * Add search filters to node library * Fix * Dont close on add * Fix wildcard --------- Co-authored-by: Chenlei Hu --- src/components/common/SearchBox.vue | 73 ++++++++++++++++--- src/components/common/SearchFilterChip.vue | 41 +++++++++++ src/components/searchbox/NodeSearchBox.vue | 60 ++++++++------- src/components/searchbox/NodeSearchFilter.vue | 73 +++++++------------ .../sidebar/tabs/NodeLibrarySidebarTab.vue | 59 +++++++++++++-- src/services/nodeSearchService.ts | 21 ++++-- 6 files changed, 232 insertions(+), 95 deletions(-) create mode 100644 src/components/common/SearchFilterChip.vue diff --git a/src/components/common/SearchBox.vue b/src/components/common/SearchBox.vue index bc3bb93cf..4371392d0 100644 --- a/src/components/common/SearchBox.vue +++ b/src/components/common/SearchBox.vue @@ -1,20 +1,45 @@ - + + diff --git a/src/components/searchbox/NodeSearchBox.vue b/src/components/searchbox/NodeSearchBox.vue index e19963745..07fcc2bfd 100644 --- a/src/components/searchbox/NodeSearchBox.vue +++ b/src/components/searchbox/NodeSearchBox.vue @@ -7,7 +7,22 @@ v-if="hoveredSuggestion" /> - + +