From efb647d013917e921c102b8024acbd326c9bfd07 Mon Sep 17 00:00:00 2001 From: chme Date: Thu, 8 Oct 2020 06:01:17 +0200 Subject: [PATCH] [web-src] Artists/albums list sort + filter --- web-src/src/components/DropdownMenu.vue | 50 ++++++++++++ web-src/src/components/ListAlbums.vue | 79 +++++++++++++----- web-src/src/components/ListArtists.vue | 49 ++++++++--- web-src/src/components/ListItemArtist.vue | 2 +- web-src/src/lib/Albums.js | 74 +++++++++++++++++ web-src/src/lib/Artists.js | 62 ++++++++++++++ web-src/src/main.js | 1 + web-src/src/mystyles.scss | 7 +- web-src/src/pages/PageAlbums.vue | 90 +++++++++++++++------ web-src/src/pages/PageArtists.vue | 89 ++++++++++++++------ web-src/src/pages/PageAudiobooksAlbums.vue | 15 ++-- web-src/src/pages/PageAudiobooksArtists.vue | 15 ++-- web-src/src/router/index.js | 4 +- web-src/src/store/index.js | 12 +++ web-src/src/store/mutation_types.js | 3 + 15 files changed, 455 insertions(+), 97 deletions(-) create mode 100644 web-src/src/components/DropdownMenu.vue create mode 100644 web-src/src/lib/Albums.js create mode 100644 web-src/src/lib/Artists.js diff --git a/web-src/src/components/DropdownMenu.vue b/web-src/src/components/DropdownMenu.vue new file mode 100644 index 00000000..3411253a --- /dev/null +++ b/web-src/src/components/DropdownMenu.vue @@ -0,0 +1,50 @@ + + + + + diff --git a/web-src/src/components/ListAlbums.vue b/web-src/src/components/ListAlbums.vue index 1768dda9..b736dff0 100644 --- a/web-src/src/components/ListAlbums.vue +++ b/web-src/src/components/ListAlbums.vue @@ -1,25 +1,52 @@ @@ -17,6 +34,7 @@