From 5ed78686cef18fac8391bf0ca6a9e01f58b291d8 Mon Sep 17 00:00:00 2001 From: Jeffrey Dowdle Date: Tue, 19 Sep 2023 10:33:13 +1000 Subject: [PATCH 1/4] feat(@dpc-sdp/ripple-tide-search): added sort dropdown to custom collection also added loading state and tidied up error display --- .../components/TideSearchAboveResults.vue | 61 ++++++++++++++++ .../components/TideSearchListingPage.vue | 28 ++++---- .../TideSearchResultsLoadingState.vue | 22 ++++++ .../components/TideSearchSortOptions.vue | 5 -- .../global/TideCustomCollection.vue | 71 +++++++++++++------ 5 files changed, 146 insertions(+), 41 deletions(-) create mode 100644 packages/ripple-tide-search/components/TideSearchAboveResults.vue create mode 100644 packages/ripple-tide-search/components/TideSearchResultsLoadingState.vue diff --git a/packages/ripple-tide-search/components/TideSearchAboveResults.vue b/packages/ripple-tide-search/components/TideSearchAboveResults.vue new file mode 100644 index 0000000000..8b7463009f --- /dev/null +++ b/packages/ripple-tide-search/components/TideSearchAboveResults.vue @@ -0,0 +1,61 @@ + + + + + diff --git a/packages/ripple-tide-search/components/TideSearchListingPage.vue b/packages/ripple-tide-search/components/TideSearchListingPage.vue index 54fef6d34f..25582c3794 100644 --- a/packages/ripple-tide-search/components/TideSearchListingPage.vue +++ b/packages/ripple-tide-search/components/TideSearchListingPage.vue @@ -351,8 +351,10 @@ watch(