From 6e71ef6bfa69280c4e777fe77e7e63d6fbb4e4e2 Mon Sep 17 00:00:00 2001 From: Raphix Date: Sat, 6 Dec 2025 22:20:16 +0100 Subject: [PATCH] Version 1.4.0 - Correction de bugs --- package.json | 2 +- src/assets/Global.scss | 6 ++--- src/components/Layout/Player.vue | 24 +++++++++---------- src/components/Layout/Playlist.vue | 1 - src/components/UI/Carousel.vue | 4 ++++ src/components/Widget/Guild/GuildSettings.vue | 1 + src/components/Widget/Queue/NextList.vue | 10 ++++++-- src/components/Widget/Queue/PreviousList.vue | 12 +++++++--- src/components/Widget/View/Home/History.vue | 12 ++++------ 9 files changed, 43 insertions(+), 29 deletions(-) diff --git a/package.json b/package.json index 33f2fef..64268ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chopin-frontend", - "version": "1.3.0", + "version": "1.4.0", "private": true, "scripts": { "dev": "vite --host --port 8080", diff --git a/src/assets/Global.scss b/src/assets/Global.scss index 4ae8c31..b7cef2e 100644 --- a/src/assets/Global.scss +++ b/src/assets/Global.scss @@ -28,9 +28,9 @@ --primary: #FFFFFF; --primary-inverse: #111210; --primary-hover: #292b26; - --secondary: #EAEAEA; - --tertiary: #d3d3d3; - --quaternary: #b8b8b8; + --secondary: #cccccc; + --tertiary: #9b9a9a; + --quaternary: #9f9f9f; --text: #111210; --text-inverse: #FFFFFF; --text-secondary: #404040; diff --git a/src/components/Layout/Player.vue b/src/components/Layout/Player.vue index 6d36193..9f1baab 100644 --- a/src/components/Layout/Player.vue +++ b/src/components/Layout/Player.vue @@ -10,21 +10,21 @@
- - + +
- +
- +
- - + +
@@ -38,20 +38,20 @@
- +
- +
- - - - + + + +
diff --git a/src/components/Layout/Playlist.vue b/src/components/Layout/Playlist.vue index 51cfcff..5dd422e 100644 --- a/src/components/Layout/Playlist.vue +++ b/src/components/Layout/Playlist.vue @@ -52,7 +52,6 @@ const error = ref(null); const globalStore = useGlobalStore(); const userStore = useUserStore(); -//FIXME: Fix Ralentissement lors de grosses Playlists //TODO: Faire la synchro google //TODO: Faire la possibilité d'envoyer une playlist diff --git a/src/components/UI/Carousel.vue b/src/components/UI/Carousel.vue index 17f058f..adb5ec7 100644 --- a/src/components/UI/Carousel.vue +++ b/src/components/UI/Carousel.vue @@ -127,6 +127,7 @@ function updateSlots() { if(props.onlyMobile) { if (window.innerWidth > 1280) { direction.value = ''; + allSlots.value = allSlots.value[0] ? [allSlots.value[0]] : []; actualIndex.value = 0; // Reset index when resizing to desktop return; } else { @@ -144,6 +145,9 @@ function updateSlots() { }); } + if(actualIndex.value >= allSlots.value.length) { + actualIndex.value = 0; // Reset index when resizing to desktop + } } ready.value = true; }, 100) diff --git a/src/components/Widget/Guild/GuildSettings.vue b/src/components/Widget/Guild/GuildSettings.vue index 02e9f22..a58c0a7 100644 --- a/src/components/Widget/Guild/GuildSettings.vue +++ b/src/components/Widget/Guild/GuildSettings.vue @@ -25,6 +25,7 @@ const userStore = useUserStore(); const modal = ref(null); //TODO: Ajout de Log pour serveur +//FIXME: Duration Bug sur stats const props = defineProps({ server: { diff --git a/src/components/Widget/Queue/NextList.vue b/src/components/Widget/Queue/NextList.vue index 4469c4c..56a3dd4 100644 --- a/src/components/Widget/Queue/NextList.vue +++ b/src/components/Widget/Queue/NextList.vue @@ -25,7 +25,7 @@

Déplacer en première position

-
+

Sauvegarder dans une playlist

@@ -49,7 +49,7 @@