5sControl / 5sControl/5s-frontend
[1h] The directory name can't be edited again
- Langage dominant
- TypeScript
- Étoiles
- 3
- Forks
- 1
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Description
Имя справочника невозможно отредактировать больше одного раза.
Precondition:
войти в учётную запись администратора
Steps to reproduce:
1. Нажать Data Configuration
2. Нажать General directories
3. Открыть любой справочник
4. Нажать на иконку редактирования
5. Изменить имя справочника
6. Нажать кнопку Save
7. Нажать кнопку Save в модальном окне
8. Нажать на иконку редактирования
9. Изменить имя справочника ещё раз
10. Нажать кнопку Save
11. Нажать кнопку Save в модальном окне
12. Баг появляется
Actual result:
имя справочника остаётся неизменным при второй и всех последующих редакциях
Expected result:
имя справочника изменяется после каждой редакции (если имя было изменено)
Attachments:
https://github.com/user-attachments/assets/65f8beb2-181a-438c-b60d-7c22718fa37f
Environment
Device: Samsung S20+
OS: Android 13
Browser: Google Chrome
Version: 131.0.6778.260
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
The issue is about a directory name not being editable after the first save in a React frontend. Look at the component handling the General directories and the modal save logic. Check the state management for the directory name field and the API call on save. The linked pull request #996 may have addressed this, so review its changes first to understand the codebase context.
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
- 40/100