5sControl / 5sControl/5s-frontend
[1h] The directory name can't be edited again
- 主要语言
- TypeScript
- 星标
- 3
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
描述
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
贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react, typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 40/100