From 370e3db3455f548699ff5e046e0f8dcc304991ac Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Fri, 14 Feb 2020 09:19:53 +0100 Subject: viewer: major code and search mode overhaul Updated libraries to the lastest version SCSS Formatter as suggested VSC extensions Renamed toolbar-color by scrollbar-color LD components use Props in favor of touching the stores directly (when possible) Moved most common algorithms to a "services" folder Complete search overhaul (lots of code change) --- viewer/src/views/GalleryDirectory.vue | 14 ++--- viewer/src/views/GalleryNavigation.vue | 63 +++++++++++++++++++ viewer/src/views/GallerySearch.vue | 36 ++++++++--- viewer/src/views/MainGallery.vue | 110 --------------------------------- viewer/src/views/MainLayout.vue | 4 -- viewer/src/views/PanelLeft.vue | 34 +++++++++- viewer/src/views/PanelTop.vue | 7 ++- 7 files changed, 129 insertions(+), 139 deletions(-) create mode 100644 viewer/src/views/GalleryNavigation.vue delete mode 100644 viewer/src/views/MainGallery.vue (limited to 'viewer/src/views') diff --git a/viewer/src/views/GalleryDirectory.vue b/viewer/src/views/GalleryDirectory.vue index 162ef6e..6e68578 100644 --- a/viewer/src/views/GalleryDirectory.vue +++ b/viewer/src/views/GalleryDirectory.vue @@ -18,18 +18,12 @@ --> - - - - - - - + diff --git a/viewer/src/views/GalleryNavigation.vue b/viewer/src/views/GalleryNavigation.vue new file mode 100644 index 0000000..e09b292 --- /dev/null +++ b/viewer/src/views/GalleryNavigation.vue @@ -0,0 +1,63 @@ + + + + + + + + {{$t("gallery.unknowntype")}} + + + + + + diff --git a/viewer/src/views/GallerySearch.vue b/viewer/src/views/GallerySearch.vue index 97c5c66..eacbcdd 100644 --- a/viewer/src/views/GallerySearch.vue +++ b/viewer/src/views/GallerySearch.vue @@ -18,25 +18,41 @@ --> - - - - - - - {{$t('search.no-results')}} - + diff --git a/viewer/src/views/MainGallery.vue b/viewer/src/views/MainGallery.vue deleted file mode 100644 index 5767cce..0000000 --- a/viewer/src/views/MainGallery.vue +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - {{$t("gallery.unknowntype")}} - - - - - - diff --git a/viewer/src/views/MainLayout.vue b/viewer/src/views/MainLayout.vue index 63a1b83..272c045 100644 --- a/viewer/src/views/MainLayout.vue +++ b/viewer/src/views/MainLayout.vue @@ -24,10 +24,6 @@ - - - - diff --git a/viewer/src/views/PanelLeft.vue b/viewer/src/views/PanelLeft.vue index a61fe4a..fd117a6 100644 --- a/viewer/src/views/PanelLeft.vue +++ b/viewer/src/views/PanelLeft.vue @@ -19,17 +19,45 @@ - + + {{$t('panelLeft.propositions')}} - +