5sControl / 5sControl/5s-frontend
Using Remote "Notes"
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
ОС: 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.
Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100