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