5sControl / 5sControl/5s-frontend
data from the first created category copied to "edit category" form of another category
- Langage dominant
- TypeScript
- Étoiles
- 3
- Forks
- 1
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- react, typescript
- Domaine
- frontend
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100