5sControl / 5sControl/5s-frontend

Incorrect responses to uploaded files

Abierto
#878 0 comentarios 0 reacciones 1 asignado Reclamado por @Ivan0195 Ver en GitHub
bug
Lenguaje dominante
TypeScript
Estrellas
3
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

ОС: macOS
Браузер: Google Chrome

Precondition:
Go to http://192.168.1.120:85/auth/login
Log in to the system
Create a new "Asset Class"
Create "Asset"

Description:
When adding a new "Notes" TaqChat does not respond to the new loaded "Notes". It responds incorrectly or responds that it has no information

Steps:
1. Go to "Templates"
2. Create a new "Template"
3. Link to the desired "Asset Class"
4. Go to the "Connect" tab
5. Select "TaqChat"
6. Send a message with the text "#templateid=6284 The air conditioning is not working well, what could this be related to?"
7. Send a message with the text "The remote control shows error message E101. Do you know what this error means?"
8. Go to the "Templates" tab
9. Load additional "Notes"
10. Return to "TaqChat"
11. Send a message with the text "The remote control shows error message E101. Do you know what this error means?"
12. Send a message with the text "I got error F202. Do you know what this error code is?"

Expected result:
Answers should be constructive and structured. If there is no information to the question, then answer that additional files need to be downloaded or the information is missing.

Actual result:
Responds incorrectly even with compatible files

Request 1
Request 2
Request 3
Request 4
Text 1
Text 2

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

The issue involves the TaqChat component's handling of uploaded 'Notes' files. Look for the chat interface and file upload logic in the frontend codebase, likely under components related to 'Templates' and 'Connect'. Check how the frontend sends messages and if it properly includes the template ID and references newly uploaded files. The actual result shows incorrect responses, so inspect the API calls and state management for file associations.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
react, typescript
Área
frontend
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
30/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.