5sControl / 5sControl/5s-frontend

Using Remote "Notes"

Offen
#879 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @Ivan0195 Auf GitHub ansehen
bug
Vorherrschende Sprache
TypeScript
Sterne
3
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react, typescript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.