From f70e1beca158fbb2bb46dcd9c708e45d08ee4c81 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 21 Aug 2021 16:23:35 -0500 Subject: [PATCH] Add global search, add reset all audiobooks --- client/components/app/Appbar.vue | 2 +- .../components/cards/AudiobookSearchCard.vue | 46 +++++++ client/components/controls/FilterSelect.vue | 12 +- client/components/controls/GlobalSearch.vue | 112 ++++++++++++++++++ client/components/controls/OrderSelect.vue | 7 +- client/components/modals/edit-tabs/Cover.vue | 39 +++++- client/components/modals/edit-tabs/Match.vue | 15 ++- client/components/ui/Btn.vue | 17 ++- client/components/ui/TextInput.vue | 11 +- client/layouts/default.vue | 6 - client/package.json | 2 +- client/pages/config/index.vue | 28 ++++- package.json | 2 +- server/ApiController.js | 22 +++- server/Audiobook.js | 4 + server/Book.js | 8 ++ server/Db.js | 18 +++ server/Server.js | 5 +- 18 files changed, 323 insertions(+), 33 deletions(-) create mode 100644 client/components/cards/AudiobookSearchCard.vue create mode 100644 client/components/controls/GlobalSearch.vue diff --git a/client/components/app/Appbar.vue b/client/components/app/Appbar.vue index 1710c0b5..5ec90484 100644 --- a/client/components/app/Appbar.vue +++ b/client/components/app/Appbar.vue @@ -8,9 +8,9 @@

AudioBookshelf

+
- settings diff --git a/client/components/cards/AudiobookSearchCard.vue b/client/components/cards/AudiobookSearchCard.vue new file mode 100644 index 00000000..d8831e7c --- /dev/null +++ b/client/components/cards/AudiobookSearchCard.vue @@ -0,0 +1,46 @@ + + + + + \ No newline at end of file diff --git a/client/components/controls/FilterSelect.vue b/client/components/controls/FilterSelect.vue index 17d259f1..2c6294f3 100644 --- a/client/components/controls/FilterSelect.vue +++ b/client/components/controls/FilterSelect.vue @@ -1,14 +1,17 @@