5sControl / 5sControl/5s-frontend
[2h] Error saving algorithm without "description" and "used in" fields
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Desktop
Precondition:
Пользователь находится в конфигурации в модуле алгоритмоы
Steps:
Нажать на кнопку добавления нового алгоритма / перейти в режим редактирования существующего алгоритма
Заполнить поля
Сохранить
Actual result:
Изменения не принимаются, если значения description и used in не заданы вручную
Expected Result:
Возможность сохранения дефолтного значения used in и пустого значения description, если данные значения не заданы пользователем.
Вывод уведомления на экран в случае ошибки

Contributor guide
Research direction
Look for the algorithm configuration module, likely in a component handling algorithm creation/editing. Find the form validation logic for the 'description' and 'used in' fields. The fix involves allowing empty/default values and ensuring error notifications are displayed. Check for existing tests related to algorithm saving to verify the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100