5sControl / 5sControl/5s-frontend

Using Remote "Notes"

Aperta
#879 0 commenti 0 reazioni 1 assegnatario Rivendicata da @Ivan0195 Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
3
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
react, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.