5sControl / 5sControl/5s-frontend

data from the first created category copied to "edit category" form of another category

Đang mở
#559 0 bình luận 0 reaction 1 người được giao Được @Ivan0195 nhận Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
3
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
react, typescript
Lĩnh vực
frontend
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.