From 8d543ab94d3678728466d3627e0d419ec00f3010 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Wed, 29 Jan 2020 04:53:35 +0100 Subject: viewer: finalized the thumbnails view layouts. implemented thumbnails lazy-loading --- viewer/src/views/MainLayout.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'viewer/src/views/MainLayout.vue') diff --git a/viewer/src/views/MainLayout.vue b/viewer/src/views/MainLayout.vue index 5308205..de6f8af 100644 --- a/viewer/src/views/MainLayout.vue +++ b/viewer/src/views/MainLayout.vue @@ -21,7 +21,7 @@
- +
@@ -93,6 +93,7 @@ html { top: var(--layout-top); left: var(--layout-left); z-index: 3; + overflow-x: hidden; } } .fullscreen { -- cgit v1.2.3 From bb50cd8e6c7643f696a9ae038a207d1c98ef0b14 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Wed, 29 Jan 2020 06:18:46 +0100 Subject: viewer: fixed the body's background color (it was white, and could be seen during fullscreen resize animation) --- viewer/src/views/MainLayout.vue | 1 + 1 file changed, 1 insertion(+) (limited to 'viewer/src/views/MainLayout.vue') diff --git a/viewer/src/views/MainLayout.vue b/viewer/src/views/MainLayout.vue index de6f8af..1528e64 100644 --- a/viewer/src/views/MainLayout.vue +++ b/viewer/src/views/MainLayout.vue @@ -70,6 +70,7 @@ body, html { height: 100%; overflow: hidden; + background-color: $content-bgcolor; --layout-top: #{$layout-top}; --layout-left: #{$layout-left}; } -- cgit v1.2.3 From e91065602eeeebef236dae29e67d8e3334ab4029 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Wed, 29 Jan 2020 07:54:03 +0100 Subject: viewer: improved the picture layout. clicking a picture will switch between resized-to-screen and original-size (+fullscreen). drag-n-drop scrolls/moves the picture, just like a touch device. Resolves #19 --- viewer/src/views/MainLayout.vue | 1 - 1 file changed, 1 deletion(-) (limited to 'viewer/src/views/MainLayout.vue') diff --git a/viewer/src/views/MainLayout.vue b/viewer/src/views/MainLayout.vue index 1528e64..7a75eb1 100644 --- a/viewer/src/views/MainLayout.vue +++ b/viewer/src/views/MainLayout.vue @@ -22,7 +22,6 @@ - -- cgit v1.2.3 From 118666b4c3faeaeaf153a2ea7172764a3cbcffab Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Wed, 29 Jan 2020 23:04:30 +0100 Subject: viewer: the loader now correctly waits for the json to be loaded and indexes to be processed before displaying the UI. resolves #61 --- viewer/src/views/MainLayout.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'viewer/src/views/MainLayout.vue') diff --git a/viewer/src/views/MainLayout.vue b/viewer/src/views/MainLayout.vue index 7a75eb1..f608b9d 100644 --- a/viewer/src/views/MainLayout.vue +++ b/viewer/src/views/MainLayout.vue @@ -19,9 +19,9 @@ @@ -35,7 +35,7 @@ import PanelTop from "./PanelTop.vue"; components: { PanelLeft, PanelTop }, }) export default class MainLayout extends Vue { - isLoading: boolean = false; + isLoading: boolean = true; mounted() { this.fetchGalleryItems(); -- cgit v1.2.3 From 8670fb146e90f98653c776b01f29d905e5a6fe9f Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Wed, 29 Jan 2020 23:11:55 +0100 Subject: viewer: fixed subdirectory deploiement; all paths are now relative to index.html. resolves #17 --- viewer/src/views/MainLayout.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'viewer/src/views/MainLayout.vue') diff --git a/viewer/src/views/MainLayout.vue b/viewer/src/views/MainLayout.vue index f608b9d..cedef58 100644 --- a/viewer/src/views/MainLayout.vue +++ b/viewer/src/views/MainLayout.vue @@ -44,7 +44,7 @@ export default class MainLayout extends Vue { fetchGalleryItems() { this.isLoading = true; this.$galleryStore - .fetchGalleryItems(`${process.env.VUE_APP_DATA_URL}/index.json`) + .fetchGalleryItems(`${process.env.VUE_APP_DATA_URL}index.json`) .finally(() => (this.isLoading = false)) .catch(this.displayError); } -- cgit v1.2.3 From 234d0d13c767786393494810526a77d3d89b0e83 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Thu, 30 Jan 2020 17:01:56 +0100 Subject: viewer: global keypress componant. ESC gets out of fullscreen. --- viewer/src/views/MainLayout.vue | 1 + 1 file changed, 1 insertion(+) (limited to 'viewer/src/views/MainLayout.vue') diff --git a/viewer/src/views/MainLayout.vue b/viewer/src/views/MainLayout.vue index cedef58..f0809b6 100644 --- a/viewer/src/views/MainLayout.vue +++ b/viewer/src/views/MainLayout.vue @@ -23,6 +23,7 @@ + -- cgit v1.2.3 From 252dd6fc6f53ecd8b28e05a0514429472d53d08e Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Fri, 31 Jan 2020 06:46:31 +0100 Subject: viewer: finalized the command buttons. added the 'up to parent' command --- viewer/src/views/MainLayout.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'viewer/src/views/MainLayout.vue') diff --git a/viewer/src/views/MainLayout.vue b/viewer/src/views/MainLayout.vue index f0809b6..c202def 100644 --- a/viewer/src/views/MainLayout.vue +++ b/viewer/src/views/MainLayout.vue @@ -18,7 +18,7 @@ -->