5sControl / 5sControl/5s-frontend

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

Offen
#559 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

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

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.