5sControl / 5sControl/5s-frontend
data from the first created category copied to "edit category" form of another category
- Lingua principale
- TypeScript
- Stelle
- 3
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Precondition:
1. Пользователь авторизован
2. Открыта вкладка "AI chat"
3. Создано несколько категорий
STR:
1. Кликнуть по категории
2. Кликнуть по кнопке "Редактировать"
ER:
Данные в форме "edit caregory" совпадают с данными этой категории
AR:
Данные в форме "edit caregory" совпадают с данными первой категории
Attachments
https://github.com/5sControl/5s-frontend/assets/122295113/7f30bf82-c533-42f0-9d8b-773604b6bff1
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
The issue describes a bug where editing a category in the AI chat tab loads data from the first category instead of the selected one. Look at the category list and edit form components, likely in a directory like `src/components/chat` or `src/features/ai-chat`. Check how category data is passed to the edit form, focusing on state management (maybe React context, Redux, or local state). The video attachment shows the bug visually. Verify the fix by creating multiple categories and testing that each edit form displays the correct 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