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
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:
@@ -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",
|
||||
|
||||
@@ -446,7 +446,14 @@
|
||||
"downloadPptx": "Télécharger le .pptx",
|
||||
"openDiagram": "Ouvrir dans le Lab",
|
||||
"error": "Erreur lors de la génération",
|
||||
"noNoteId": "Enregistrez d'abord la note"
|
||||
"noNoteId": "Enregistrez d'abord la note",
|
||||
"toastLoading": {
|
||||
"slides": "⏳ Génération de la présentation en cours…",
|
||||
"diagram": "⏳ Génération du diagramme en cours…"
|
||||
},
|
||||
"toastLoadingDesc": "Vous pouvez naviguer librement, une notification apparaîtra.",
|
||||
"toastSuccessSlides": "Cliquez sur Télécharger dans le panneau IA.",
|
||||
"toastSuccessDiagram": "Votre diagramme est disponible dans le Lab."
|
||||
},
|
||||
"openAssistant": "Ouvrir IA Note",
|
||||
"poweredByMomento": "Propulsé par Momento AI",
|
||||
|
||||
Reference in New Issue
Block a user