From ee0a49567295f0df331caee7977fae22880653d9 Mon Sep 17 00:00:00 2001 From: Marekkon5 Date: Sat, 18 Nov 2023 12:22:34 +0100 Subject: [PATCH] Player bar UI, context menu --- client/src/App.vue | 5 +- client/src/components/PlayerBar.vue | 42 ++++++++---- client/src/components/QuickTagContextMenu.vue | 66 +++++++++++++++++++ client/src/components/QuickTagTile.vue | 2 +- client/src/scripts/quicktag.ts | 3 + client/src/views/QuickTag.vue | 10 ++- client/src/views/TagEditor.vue | 5 +- 7 files changed, 116 insertions(+), 17 deletions(-) diff --git a/client/src/App.vue b/client/src/App.vue index 4317fd11..28de0e9a 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -259,7 +259,10 @@ watch(useRoute(), (r) => { // @ts-ignore contentContainer.value!.$el.style.overflowY = "hidden"; if (r.path == '/quicktag') showSide(); - if (r.path == '/tageditor') footer.value = true; + if (r.path == '/tageditor') { + hideSide(); + footer.value = true; + } }); // Show again scrollbar after transition diff --git a/client/src/components/PlayerBar.vue b/client/src/components/PlayerBar.vue index eabc626b..f2157475 100644 --- a/client/src/components/PlayerBar.vue +++ b/client/src/components/PlayerBar.vue @@ -3,8 +3,24 @@
-
-
+
+ + +
+ + + +
+ +
{{ $1t.player.value.title }} @@ -18,10 +34,11 @@
- -
- - + +
+ + -
-
-
- +
@@ -90,10 +104,11 @@ \ No newline at end of file diff --git a/client/src/components/QuickTagContextMenu.vue b/client/src/components/QuickTagContextMenu.vue index ded86757..b1ed3466 100644 --- a/client/src/components/QuickTagContextMenu.vue +++ b/client/src/components/QuickTagContextMenu.vue @@ -2,19 +2,85 @@ + + + + Manual Tag + + + + + + + Edit tags + + + + + + + + + + Delete + + + + diff --git a/client/src/components/QuickTagTile.vue b/client/src/components/QuickTagTile.vue index a29071a5..b831677a 100644 --- a/client/src/components/QuickTagTile.vue +++ b/client/src/components/QuickTagTile.vue @@ -94,7 +94,7 @@