5sControl / 5sControl/5s-frontend
[1h] The directory name can't be edited again
- Lingua principale
- TypeScript
- Stelle
- 3
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
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
- 40/100