From 280abba902390902f8db5ffe2b548ec1eaefa862 Mon Sep 17 00:00:00 2001 From: Manus Date: Wed, 11 Feb 2026 06:02:34 -0500 Subject: [PATCH] =?UTF-8?q?Checkpoint:=20Correction=20de=20l'encodage=20Un?= =?UTF-8?q?icode=20du=20bouton=20"V=C3=A9rifier=20maintenant"=20et=20ajout?= =?UTF-8?q?=20du=20rafra=C3=AEchissement=20automatique=20de=20l'interface?= =?UTF-8?q?=20apr=C3=A8s=20d=C3=A9marrage/arr=C3=AAt=20des=20services=20d'?= =?UTF-8?q?import.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/pages/ImportSettings.tsx | 26 +++++++++++++++----------- todo.md | 4 ++++ 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/client/src/pages/ImportSettings.tsx b/client/src/pages/ImportSettings.tsx index 606d059..fed409c 100644 --- a/client/src/pages/ImportSettings.tsx +++ b/client/src/pages/ImportSettings.tsx @@ -191,6 +191,7 @@ export default function ImportSettings() { onClick={async () => { try { await stopFolderServiceMutation.mutateAsync(); + await utils.folderImportService.status.invalidate(); toast.success("Service arrêté", { description: "L'import automatique depuis dossier a été arrêté.", }); @@ -212,13 +213,14 @@ export default function ImportSettings() { ) : ( )} diff --git a/todo.md b/todo.md index 25a81d8..a58775b 100644 --- a/todo.md +++ b/todo.md @@ -191,3 +191,7 @@ - [x] Ajouter fonction triggerEmailCheck dans emailImportService - [x] Ajouter route tRPC emailImportService.checkNow - [ ] Tester avec un email réel et diagnostiquer les erreurs IMAP + +## Bugs interface ImportSettings +- [x] Corriger l'encodage Unicode du bouton "Vérifier maintenant" +- [x] Ajouter rafraîchissement automatique du statut du service après démarrage/arrêt (email et dossier)