5sControl / 5sControl/5s-frontend

[1h] Creating order with empty title is allowed

Open
#769 0 comments 0 reactions 1 assignee Claimed by @pkostukevich View on GitHub
bug Front mobile
Dominant language
TypeScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Click on Add item button on 'Add order' page, add items, click 'Save' leads to saving order with empty name.
Expected: warning of impossibility to save order without name.

Contributor guide

Open the contributing guide

Research direction

Look at the 'Add order' page component and the save handler. The issue is that validation for the order title is missing. Find where the order data is submitted and add a check for an empty title, showing a warning. Test by trying to save an order without a name.

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
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.