From a0927131c4dc553a7c1ce5a0344dd23759bcc61d Mon Sep 17 00:00:00 2001 From: ronalds Date: Tue, 9 Dec 2025 01:23:05 -0300 Subject: [PATCH] =?UTF-8?q?Actualizada=20la=20versi=C3=B3n=20del=20fronten?= =?UTF-8?q?d=20de=201.3.9=20a=201.4.0=20=E2=9C=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cambios en esta versión: Botón "Verificación de Incidencia" (renombrado desde "Consultar Asistente") Botón "Finalizar Verificación" que aparece después del primer mensaje del asistente El chat permanece abierto permitiendo continuar la conversación Eliminado texto informativo innecesario del tipo de pregunta ai_assistant --- frontend/package.json | 2 +- frontend/public/service-worker.js | 2 +- frontend/src/QuestionAnswerInput.jsx | 18 ++---------------- 3 files changed, 4 insertions(+), 18 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index a307bd6..90029eb 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "checklist-frontend", "private": true, - "version": "1.3.9", + "version": "1.4.0", "type": "module", "scripts": { "dev": "vite", diff --git a/frontend/public/service-worker.js b/frontend/public/service-worker.js index a470c2e..579b45d 100644 --- a/frontend/public/service-worker.js +++ b/frontend/public/service-worker.js @@ -1,6 +1,6 @@ // Service Worker para PWA con detección de actualizaciones // IMPORTANTE: Actualizar esta versión cada vez que se despliegue una nueva versión -const CACHE_NAME = 'ayutec-v1.3.9'; +const CACHE_NAME = 'ayutec-v1.4.0'; const urlsToCache = [ '/', '/index.html' diff --git a/frontend/src/QuestionAnswerInput.jsx b/frontend/src/QuestionAnswerInput.jsx index daa06af..db7a93e 100644 --- a/frontend/src/QuestionAnswerInput.jsx +++ b/frontend/src/QuestionAnswerInput.jsx @@ -292,23 +292,9 @@ export function QuestionAnswerInput({ question, value, onChange, onSave }) { ) } - // AI_ASSISTANT (Chat con asistente) + // AI_ASSISTANT (Chat con asistente) - No requiere UI aquí, el botón está en App.jsx if (questionType === 'ai_assistant') { - return ( -
-
- 💬 -

Asistente Disponible

-
-

- Haz clic en el botón "💬 Consultar Asistente" debajo para abrir el chat. - El asistente ha analizado las fotos anteriores y está listo para ayudarte. -

-
- ℹ️ No requiere respuesta manual - el chat se guarda automáticamente -
-
- ) + return null } // Fallback para tipos desconocidos