From 3f21d10338afe8eab699aaaea060556579e4b3c3 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Sat, 21 Dec 2019 10:33:21 +0100
Subject: viewer: Some renaming for better clarity Implemented a basic display
of filenames with basic navigation
---
viewer/src/views/Gallery.vue | 60 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
create mode 100644 viewer/src/views/Gallery.vue
(limited to 'viewer/src/views/Gallery.vue')
diff --git a/viewer/src/views/Gallery.vue b/viewer/src/views/Gallery.vue
new file mode 100644
index 0000000..3625838
--- /dev/null
+++ b/viewer/src/views/Gallery.vue
@@ -0,0 +1,60 @@
+
+
+
+
Directory: {{currentItem.path}}
+
+ Thumbnail: {{index}}-{{item.path}}
+
+
+
Image: {{currentItem.path}}
+
+
+
+
+
+
--
cgit v1.2.3
From 91d3148f97ca59769648f9307f3d7e65b1bd7e95 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Sat, 21 Dec 2019 11:04:14 +0100
Subject: viewer: ESLint rules
---
viewer/src/views/Gallery.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'viewer/src/views/Gallery.vue')
diff --git a/viewer/src/views/Gallery.vue b/viewer/src/views/Gallery.vue
index 3625838..55b93db 100644
--- a/viewer/src/views/Gallery.vue
+++ b/viewer/src/views/Gallery.vue
@@ -44,7 +44,7 @@ export default class Root extends Vue {
return null;
}
- private checkType(type: string) {
+ private checkType(type: string): boolean {
return (this.currentItem && this.currentItem.properties.type === type) || false;
}
}
--
cgit v1.2.3
From 57d1b89d314970bf56d3d398c393f6a67a4ed0b5 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Sat, 21 Dec 2019 20:14:33 +0100
Subject: viewer: Isolated the Directory and Image views in their own
components
---
viewer/src/views/Gallery.vue | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
(limited to 'viewer/src/views/Gallery.vue')
diff --git a/viewer/src/views/Gallery.vue b/viewer/src/views/Gallery.vue
index 55b93db..10ff323 100644
--- a/viewer/src/views/Gallery.vue
+++ b/viewer/src/views/Gallery.vue
@@ -1,19 +1,18 @@
-
-
Directory: {{currentItem.path}}
-
- Thumbnail: {{index}}-{{item.path}}
-
-
-
Image: {{currentItem.path}}
+
+
--
cgit v1.2.3
From e34be1261d9219e5b2b92ebe271f609f11d55f63 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Sun, 22 Dec 2019 03:50:40 +0100
Subject: vewer: Tags indexing and search input
---
viewer/src/views/Gallery.vue | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'viewer/src/views/Gallery.vue')
diff --git a/viewer/src/views/Gallery.vue b/viewer/src/views/Gallery.vue
index 954903a..2020280 100644
--- a/viewer/src/views/Gallery.vue
+++ b/viewer/src/views/Gallery.vue
@@ -13,7 +13,7 @@ import GalleryImage from "./GalleryImage.vue";
@Component({
components: { GalleryDirectory, GalleryImage },
})
-export default class Root extends Vue {
+export default class Gallery extends Vue {
@Prop(String) readonly pathMatch!: string;
get isDirectory(): boolean {
@@ -25,8 +25,8 @@ export default class Root extends Vue {
}
get currentItem(): Gallery.Item | null {
- const galleryItems = this.$galleryStore.galleryItems;
- if (galleryItems) return this.searchCurrentItem(galleryItems, this.pathMatch);
+ const galleryItemsRoot = this.$galleryStore.galleryItemsRoot;
+ if (galleryItemsRoot) return this.searchCurrentItem(galleryItemsRoot, this.pathMatch);
return null;
}
--
cgit v1.2.3
From dc251fffc2998f1cf4f8e9631928c4b92ac0d90e Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Sun, 22 Dec 2019 07:40:55 +0100
Subject: viewer: Implemented the search by tags. Pushed the special urls to
ENV.
---
viewer/src/views/Gallery.vue | 31 ++++++++++++++++---------------
1 file changed, 16 insertions(+), 15 deletions(-)
(limited to 'viewer/src/views/Gallery.vue')
diff --git a/viewer/src/views/Gallery.vue b/viewer/src/views/Gallery.vue
index 2020280..38199b9 100644
--- a/viewer/src/views/Gallery.vue
+++ b/viewer/src/views/Gallery.vue
@@ -1,17 +1,20 @@
-
-
+
+
+
--
cgit v1.2.3
From c7153c8d6d3879566b49af0f7b23593d46477eb9 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Tue, 7 Jan 2020 19:46:41 +0100
Subject: viewer: relative gallery path (NOT STABLE with current compiler)
compiler: commands for compilation on Windows
---
viewer/src/views/Gallery.vue | 1 +
1 file changed, 1 insertion(+)
(limited to 'viewer/src/views/Gallery.vue')
diff --git a/viewer/src/views/Gallery.vue b/viewer/src/views/Gallery.vue
index f04b276..4deb937 100644
--- a/viewer/src/views/Gallery.vue
+++ b/viewer/src/views/Gallery.vue
@@ -3,6 +3,7 @@
+
Unknown type
--
cgit v1.2.3
From 89bcb2dbe5b5e6eb8e8ba13ceecee2770dfe4cd4 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Thu, 9 Jan 2020 02:10:35 +0100
Subject: viewer: Changed "image" type to "picture". Adapted the code to the
current compiler output format. The currentItem and currentPath are
calculated in the store for easier multi-component access. Breadcrumb for
current's position and navigation.
---
viewer/src/views/Gallery.vue | 36 +++++++++++++++++++-----------------
1 file changed, 19 insertions(+), 17 deletions(-)
(limited to 'viewer/src/views/Gallery.vue')
diff --git a/viewer/src/views/Gallery.vue b/viewer/src/views/Gallery.vue
index 4deb937..a53df3d 100644
--- a/viewer/src/views/Gallery.vue
+++ b/viewer/src/views/Gallery.vue
@@ -1,32 +1,41 @@
-
-
-
Unknown type
+
+
+
{{$t("gallery.unknowntype")}}