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 @@