From 1ef9a689bc83c243fa4563ed34acff06fdd8105a Mon Sep 17 00:00:00 2001 From: advplyr Date: Wed, 1 Dec 2021 19:07:03 -0600 Subject: [PATCH] Lazy bookshelf finalized --- client/components/app/Appbar.vue | 48 ++--- client/components/app/BookListRow.vue | 12 +- client/components/app/BookShelf.vue | 25 +-- .../components/app/BookShelfCategorized.vue | 178 +++++++++------ client/components/app/BookShelfRow.vue | 8 +- client/components/app/BookShelfToolbar.vue | 31 +-- client/components/app/LazyBookshelf.vue | 202 +++++++++++++++--- client/components/app/SideRail.vue | 9 +- client/components/cards/BookCard.vue | 10 +- client/components/cards/GroupCard.vue | 10 +- client/components/cards/LazyBookCard.vue | 158 +++++++++----- .../components/cards/LazyCollectionCard.vue | 12 +- client/components/cards/LazySeriesCard.vue | 16 +- client/components/controls/FilterSelect.vue | 5 - client/components/controls/GlobalSearch.vue | 5 +- client/components/covers/BookCover.vue | 4 +- client/components/covers/GroupCover.vue | 4 +- client/components/modals/EditModal.vue | 21 +- .../modals/UserCollectionsModal.vue | 14 +- .../components/modals/edit-tabs/Details.vue | 29 ++- .../components/modals/edit-tabs/Download.vue | 2 +- .../components/stats/DailyListeningChart.vue | 2 +- client/components/stats/PreviewIcons.vue | 24 +-- .../tables/collection/BookTableRow.vue | 6 +- client/components/ui/Btn.vue | 2 +- client/components/ui/InputDropdown.vue | 17 ++ client/components/ui/LibrariesDropdown.vue | 4 +- client/components/ui/MultiSelect.vue | 7 + client/components/widgets/CoverSizeWidget.vue | 51 +++++ client/layouts/default.vue | 39 ++-- client/mixins/bookshelfCardsHelpers.js | 5 +- client/pages/audiobook/_id/index.vue | 13 +- client/pages/batch/index.vue | 31 +-- client/pages/collection/_id.vue | 2 +- client/pages/config/stats.vue | 61 +++--- client/pages/index.vue | 10 +- .../pages/library/_library/bookshelf/_id.vue | 72 +------ client/pages/library/_library/search.vue | 35 ++- client/pages/library/_library/series/_id.vue | 38 ++++ client/plugins/init.client.js | 1 + client/store/audiobooks.js | 195 +---------------- client/store/libraries.js | 7 +- package.json | 2 +- server/ApiController.js | 105 +-------- server/Scanner.js | 8 +- server/Server.js | 1 - server/Watcher.js | 2 - server/controllers/BookController.js | 20 +- server/controllers/LibraryController.js | 60 ++++-- server/objects/Audiobook.js | 17 +- server/objects/User.js | 3 +- server/objects/UserAudiobookData.js | 1 - server/utils/libraryHelpers.js | 65 +++++- 53 files changed, 914 insertions(+), 795 deletions(-) create mode 100644 client/components/widgets/CoverSizeWidget.vue create mode 100644 client/pages/library/_library/series/_id.vue diff --git a/client/components/app/Appbar.vue b/client/components/app/Appbar.vue index ca21bba9..9ad3c500 100644 --- a/client/components/app/Appbar.vue +++ b/client/components/app/Appbar.vue @@ -39,19 +39,18 @@

{{ numAudiobooksSelected }} Selected

- {{ isAllSelected ? 'Select None' : 'Select All' }}({{ totalBooks }}) +
- - + -