From 0601458aeb4b557cfe286338c9364e434282a67d Mon Sep 17 00:00:00 2001 From: pythongosssss <125205205+pythongosssss@users.noreply.github.com> Date: Mon, 26 Aug 2024 14:06:40 +0100 Subject: [PATCH 1/4] Add search filters to node library --- src/components/common/SearchBox.vue | 81 ++++++++++++++++--- src/components/common/SearchFilterChip.vue | 41 ++++++++++ src/components/searchbox/NodeSearchBox.vue | 60 ++++++++------ src/components/searchbox/NodeSearchFilter.vue | 73 ++++++----------- .../sidebar/tabs/NodeLibrarySidebarTab.vue | 39 ++++++++- src/services/nodeSearchService.ts | 14 +++- 6 files changed, 216 insertions(+), 92 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..05c677e93 100644 --- a/src/components/common/SearchBox.vue +++ b/src/components/common/SearchBox.vue @@ -1,20 +1,45 @@ - diff --git a/src/components/common/SearchFilterChip.vue b/src/components/common/SearchFilterChip.vue new file mode 100644 index 000000000..11530550c --- /dev/null +++ b/src/components/common/SearchFilterChip.vue @@ -0,0 +1,41 @@ + + + + + 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" /> - + +