From e5c319db7980f6af76e1d11cf9663579eb9a7ab5 Mon Sep 17 00:00:00 2001 From: "ext.jeremy.guillot@maxicoffee.domains" Date: Thu, 12 Mar 2026 18:55:15 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20am=C3=A9lioration=20du=20syst=C3=A8me=20?= =?UTF-8?q?de=20notifications?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Correction de l'affichage du texte dans le toast (suppression de w-0/truncate) - Déplacement des toasts en bas à gauche avec animation slide depuis la gauche - Inversion de l'ordre des éléments : bouton fermeture > texte > icône > bande couleur - Fix timing : ChapterScrapingStarted synchrone pour notif "démarrage" avant le scraping - Ajout make notify-test pour tester les 4 types de notifications Co-Authored-By: Claude Sonnet 4.6 --- Makefile | 7 ++++ .../components/ui/NotificationToast.vue | 42 +++++++++---------- config/packages/messenger.yaml | 2 +- 3 files changed, 29 insertions(+), 22 deletions(-) diff --git a/Makefile b/Makefile index 4d080af..117cda3 100644 --- a/Makefile +++ b/Makefile @@ -145,6 +145,13 @@ twig-extension: ## Create a new twig extension stimulus: ## Create a new stimulus controller @$(SYMFONY) make:stimulus-controller +notify-test: ## Envoie les 4 types de notifications de test avec 2s d'intervalle + @for type in info success error warning; do \ + $(SYMFONY) app:notify:test --type=$$type --message="Test $$type depuis Mangarr"; \ + echo "[$$type] envoyé"; \ + sleep 2; \ + done + consume-commands: ## Consume commands messages @$(SYMFONY) messenger:consume commands -vv diff --git a/assets/vue/app/shared/components/ui/NotificationToast.vue b/assets/vue/app/shared/components/ui/NotificationToast.vue index c8e6eda..74be959 100644 --- a/assets/vue/app/shared/components/ui/NotificationToast.vue +++ b/assets/vue/app/shared/components/ui/NotificationToast.vue @@ -1,32 +1,21 @@