5sControl / 5sControl/5s-frontend

Using Remote "Notes"

Đang mở
#879 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 you delete one of the "Notes", TaqChat saves the information from it and uses it further.
Steps:

Go to "Templates"
Create a new "Template"
Add 2 "Notes"
Link to the desired "Asset Class"
Go to the "Connect" tab
Select "TaqChat"
Send a message with the text "#templateid=6284 The air conditioning is not working well, what could this be related to?"
Send a message with the text "The remote control shows error message E101. Do you know what this error means?"
Go to the "Templates" tab
Delete 1 "Notes"
Return to "TaqChat"
Send a message with the text "I got error F202. Do you know what this error code is?"

Expected result:
The answer should indicate that such information is not available.

Actual result:
The answer contains deleted information that should not be there.

Delete Note

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

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

Hướng nghiên cứu

Look for the 'Templates' and 'Notes' components in the frontend codebase, likely under src/components or src/features. Examine the state management for template notes, particularly the delete operation and how it syncs with the backend or TaqChat integration. Check the API calls for deleting a note and verify the cache or local state is updated correctly. The test involves sending messages via TaqChat, so find the integration logic and see if it's fetching stale note data.

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ó
3/5
Thời gian dự kiến
1-2 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
45/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.