fix: force git reset on deploy + toast persistant de génération
Some checks failed
Deploy to Production / Build and Deploy (push) Failing after 23s

- Remplace git pull par git fetch + git reset --hard origin/main dans
  le workflow CI pour éviter les conflits avec les fichiers locaux
- Ajoute un toast Sonner persistant (duration: Infinity) dès le clic sur
  Générer, qui survit à la navigation et se met à jour en succès/erreur
  avec action directe (Télécharger / Ouvrir)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Antigravity
2026-05-05 21:15:38 +00:00
parent ff0b56f805
commit 98e246e257
4 changed files with 51 additions and 9 deletions

View File

@@ -446,7 +446,14 @@
"downloadPptx": "Download .pptx",
"openDiagram": "Open in Lab",
"error": "Error during generation",
"noNoteId": "Save the note first"
"noNoteId": "Save the note first",
"toastLoading": {
"slides": "⏳ Generating presentation…",
"diagram": "⏳ Generating diagram…"
},
"toastLoadingDesc": "You can navigate freely, a notification will appear.",
"toastSuccessSlides": "Click Download in the AI panel.",
"toastSuccessDiagram": "Your diagram is available in the Lab."
},
"openAssistant": "Open AI Assistant",
"poweredByMomento": "Powered by Momento AI",