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/views/layout/left/LayoutCommandSearch.vue | 64 +++++++ viewer/src/views/layout/left/LayoutInformation.vue | 99 ++++++++++ viewer/src/views/layout/left/LayoutLeft.vue | 158 ++++++++++++++++ viewer/src/views/layout/left/LayoutProposition.vue | 208 +++++++++++++++++++++ viewer/src/views/layout/left/LayoutTagInput.vue | 164 ++++++++++++++++ viewer/src/views/layout/left/LayoutTagList.vue | 74 ++++++++ viewer/src/views/layout/top/LayoutBreadcrumb.vue | 130 +++++++++++++ viewer/src/views/layout/top/LayoutCommand.vue | 127 +++++++++++++ viewer/src/views/layout/top/LayoutCommandSort.vue | 117 ++++++++++++ viewer/src/views/layout/top/LayoutTop.vue | 38 ++++ 10 files changed, 1179 insertions(+) create mode 100644 viewer/src/views/layout/left/LayoutCommandSearch.vue create mode 100644 viewer/src/views/layout/left/LayoutInformation.vue create mode 100644 viewer/src/views/layout/left/LayoutLeft.vue create mode 100644 viewer/src/views/layout/left/LayoutProposition.vue create mode 100644 viewer/src/views/layout/left/LayoutTagInput.vue create mode 100644 viewer/src/views/layout/left/LayoutTagList.vue create mode 100644 viewer/src/views/layout/top/LayoutBreadcrumb.vue create mode 100644 viewer/src/views/layout/top/LayoutCommand.vue create mode 100644 viewer/src/views/layout/top/LayoutCommandSort.vue create mode 100644 viewer/src/views/layout/top/LayoutTop.vue (limited to 'viewer/src/views/layout') diff --git a/viewer/src/views/layout/left/LayoutCommandSearch.vue b/viewer/src/views/layout/left/LayoutCommandSearch.vue new file mode 100644 index 0000000..ab31a84 --- /dev/null +++ b/viewer/src/views/layout/left/LayoutCommandSearch.vue @@ -0,0 +1,64 @@ + + + + + + + diff --git a/viewer/src/views/layout/left/LayoutInformation.vue b/viewer/src/views/layout/left/LayoutInformation.vue new file mode 100644 index 0000000..780a458 --- /dev/null +++ b/viewer/src/views/layout/left/LayoutInformation.vue @@ -0,0 +1,99 @@ + + + + + + + diff --git a/viewer/src/views/layout/left/LayoutLeft.vue b/viewer/src/views/layout/left/LayoutLeft.vue new file mode 100644 index 0000000..bb3e747 --- /dev/null +++ b/viewer/src/views/layout/left/LayoutLeft.vue @@ -0,0 +1,158 @@ + + + + + + + diff --git a/viewer/src/views/layout/left/LayoutProposition.vue b/viewer/src/views/layout/left/LayoutProposition.vue new file mode 100644 index 0000000..97dc3a6 --- /dev/null +++ b/viewer/src/views/layout/left/LayoutProposition.vue @@ -0,0 +1,208 @@ + + + + + + + diff --git a/viewer/src/views/layout/left/LayoutTagInput.vue b/viewer/src/views/layout/left/LayoutTagInput.vue new file mode 100644 index 0000000..7ad3ed0 --- /dev/null +++ b/viewer/src/views/layout/left/LayoutTagInput.vue @@ -0,0 +1,164 @@ + + + + + + + diff --git a/viewer/src/views/layout/left/LayoutTagList.vue b/viewer/src/views/layout/left/LayoutTagList.vue new file mode 100644 index 0000000..670e6c3 --- /dev/null +++ b/viewer/src/views/layout/left/LayoutTagList.vue @@ -0,0 +1,74 @@ + + + + + + + diff --git a/viewer/src/views/layout/top/LayoutBreadcrumb.vue b/viewer/src/views/layout/top/LayoutBreadcrumb.vue new file mode 100644 index 0000000..2e70d66 --- /dev/null +++ b/viewer/src/views/layout/top/LayoutBreadcrumb.vue @@ -0,0 +1,130 @@ + + + + + + + diff --git a/viewer/src/views/layout/top/LayoutCommand.vue b/viewer/src/views/layout/top/LayoutCommand.vue new file mode 100644 index 0000000..8919da3 --- /dev/null +++ b/viewer/src/views/layout/top/LayoutCommand.vue @@ -0,0 +1,127 @@ + + + + + + + diff --git a/viewer/src/views/layout/top/LayoutCommandSort.vue b/viewer/src/views/layout/top/LayoutCommandSort.vue new file mode 100644 index 0000000..bb9744e --- /dev/null +++ b/viewer/src/views/layout/top/LayoutCommandSort.vue @@ -0,0 +1,117 @@ + + + + + + + diff --git a/viewer/src/views/layout/top/LayoutTop.vue b/viewer/src/views/layout/top/LayoutTop.vue new file mode 100644 index 0000000..b755c42 --- /dev/null +++ b/viewer/src/views/layout/top/LayoutTop.vue @@ -0,0 +1,38 @@ + + + + + -- cgit v1.2.3 From e704198437fb589ec8c954d12700d2a1f911522c Mon Sep 17 00:00:00 2001 From: Zéro~Informatique Date: Sat, 3 Sep 2022 04:41:03 +0200 Subject: viewer: refactoring for tag and sort dropdowns --- viewer/src/views/layout/left/LayoutTagInput.vue | 93 +++++++++-------------- viewer/src/views/layout/top/LayoutCommandSort.vue | 60 ++++----------- 2 files changed, 49 insertions(+), 104 deletions(-) (limited to 'viewer/src/views/layout') diff --git a/viewer/src/views/layout/left/LayoutTagInput.vue b/viewer/src/views/layout/left/LayoutTagInput.vue index 7ad3ed0..a37c546 100644 --- a/viewer/src/views/layout/left/LayoutTagInput.vue +++ b/viewer/src/views/layout/left/LayoutTagInput.vue @@ -27,42 +27,38 @@ @keypress.enter="inputEnter" @keydown.backspace="inputBackspace" /> -
- + + + + -- cgit v1.2.3