From 30208a234044fad8d68902cfba8e601255665cac Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Mon, 6 Jan 2020 13:39:44 +0800 Subject: [PATCH] feat: rescan library also moved the actions into a menu closes #38 --- .../src/components/BrowseLibraries.vue | 39 ++++------ .../src/components/LibraryActionsMenu.vue | 76 +++++++++++++++++++ .../src/components/LibraryDeleteDialog.vue | 1 + .../src/services/komga-libraries.service.ts | 18 ++++- komga-webui/src/views/Home.vue | 20 +---- .../komga/domain/service/AsyncOrchestrator.kt | 9 ++- .../komga/domain/service/LibraryLifecycle.kt | 2 +- .../scheduler/PeriodicScannerController.kt | 2 +- .../interfaces/web/rest/LibraryController.kt | 13 ++++ 9 files changed, 133 insertions(+), 47 deletions(-) create mode 100644 komga-webui/src/components/LibraryActionsMenu.vue diff --git a/komga-webui/src/components/BrowseLibraries.vue b/komga-webui/src/components/BrowseLibraries.vue index 3f23cf8b3..29e068695 100644 --- a/komga-webui/src/components/BrowseLibraries.vue +++ b/komga-webui/src/components/BrowseLibraries.vue @@ -5,8 +5,12 @@ class="sticky-bar" :style="barStyle" > + + + - {{ libraryName }} + {{ library ? library.name : 'All libraries' }} @@ -16,6 +20,7 @@ +