From 00510820a2794efcadbc83f7f8b54318fe198ecb Mon Sep 17 00:00:00 2001 From: Zéro~Informatique Date: Tue, 26 Jul 2022 08:44:34 +0200 Subject: viewer: migrate to vue 3, general refactoring and cleanup Non-exhaustive list of fixes and improvements done at the same time: - html default background to grey (avoids white flash during init) - unified links behavior - added more theme variables - removed the flex-expand transition (it wasn't working) and replaced it with a slide - fixed LdLoading not centered on the content - title on removable tags - fixed an issue with encoded URI from vue-router - unified Item resource URLs - removed the iframe for PlainTextViewer (it wasn't working properly) and replaced it with a pre - fixed clear and search buttons tabindex - fixed the information panel bumping up during the fade animation of tag's dropdown - fixed some focus outlines not appearing correctly - moved CSS variables to the :root context - Code cleaning GitHub: closes #217 GitHub: closes #300 GitHub: closes #297 GitHub: closes #105 GitHub: closes #267 GitHub: closes #275 GitHub: closes #228 GitHub: closes #215 GitHub: closes #112 --- .../src/components/item_handlers/LdAudioViewer.vue | 56 --------- .../components/item_handlers/LdDirectoryViewer.vue | 41 ------- .../components/item_handlers/LdDownloadViewer.vue | 58 ---------- .../components/item_handlers/LdMarkdownViewer.vue | 76 ------------ .../src/components/item_handlers/LdPdfViewer.vue | 44 ------- .../components/item_handlers/LdPictureViewer.vue | 128 --------------------- .../components/item_handlers/LdPlainTextViewer.vue | 56 --------- .../src/components/item_handlers/LdVideoViewer.vue | 46 -------- 8 files changed, 505 deletions(-) delete mode 100644 viewer/src/components/item_handlers/LdAudioViewer.vue delete mode 100644 viewer/src/components/item_handlers/LdDirectoryViewer.vue delete mode 100644 viewer/src/components/item_handlers/LdDownloadViewer.vue delete mode 100644 viewer/src/components/item_handlers/LdMarkdownViewer.vue delete mode 100644 viewer/src/components/item_handlers/LdPdfViewer.vue delete mode 100644 viewer/src/components/item_handlers/LdPictureViewer.vue delete mode 100644 viewer/src/components/item_handlers/LdPlainTextViewer.vue delete mode 100644 viewer/src/components/item_handlers/LdVideoViewer.vue (limited to 'viewer/src/components/item_handlers') diff --git a/viewer/src/components/item_handlers/LdAudioViewer.vue b/viewer/src/components/item_handlers/LdAudioViewer.vue deleted file mode 100644 index 559b10a..0000000 --- a/viewer/src/components/item_handlers/LdAudioViewer.vue +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - diff --git a/viewer/src/components/item_handlers/LdDirectoryViewer.vue b/viewer/src/components/item_handlers/LdDirectoryViewer.vue deleted file mode 100644 index 2259f12..0000000 --- a/viewer/src/components/item_handlers/LdDirectoryViewer.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - - - diff --git a/viewer/src/components/item_handlers/LdDownloadViewer.vue b/viewer/src/components/item_handlers/LdDownloadViewer.vue deleted file mode 100644 index 60c7c49..0000000 --- a/viewer/src/components/item_handlers/LdDownloadViewer.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - diff --git a/viewer/src/components/item_handlers/LdMarkdownViewer.vue b/viewer/src/components/item_handlers/LdMarkdownViewer.vue deleted file mode 100644 index 3b9a8d6..0000000 --- a/viewer/src/components/item_handlers/LdMarkdownViewer.vue +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - diff --git a/viewer/src/components/item_handlers/LdPdfViewer.vue b/viewer/src/components/item_handlers/LdPdfViewer.vue deleted file mode 100644 index 04cba0c..0000000 --- a/viewer/src/components/item_handlers/LdPdfViewer.vue +++ /dev/null @@ -1,44 +0,0 @@ - - - - - diff --git a/viewer/src/components/item_handlers/LdPictureViewer.vue b/viewer/src/components/item_handlers/LdPictureViewer.vue deleted file mode 100644 index 003ffe9..0000000 --- a/viewer/src/components/item_handlers/LdPictureViewer.vue +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - diff --git a/viewer/src/components/item_handlers/LdPlainTextViewer.vue b/viewer/src/components/item_handlers/LdPlainTextViewer.vue deleted file mode 100644 index 79465d5..0000000 --- a/viewer/src/components/item_handlers/LdPlainTextViewer.vue +++ /dev/null @@ -1,56 +0,0 @@ - - -