5sControl / 5sControl/5s-frontend

Incorrect responses to uploaded files

Đang mở
#878 0 bình luận 0 reaction 1 người được giao Được @Ivan0195 nhận Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
3
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

ОС: 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
react, typescript
Lĩnh vực
frontend
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.