Only show errors on error state
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 214
- Forks
- 52
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 82
Description
Is your feature request related to a problem? Please describe.
We just added the error hints (#755) on the input forms. But right know the errors are always shown up if the data is missing. This might be correct but from the UX perspective not very nice. Everytime you open the modal you get red flagged fields without doing anything, so it indicates that you did something wrong, but you didn't.
Describe the solution you'd like
Just show the errors if you try to insert/update the data.
Maybe we could also show them if the focus is on a next input field, so we can assume that the user missed something in the previous input. But that might be to complicated.
Describe alternatives you've considered
Leave as is or remove completely.
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the input forms, their error hints, and the modal validation behavior described in the issue. Reproduce opening a modal with missing data, then try inserting or updating it to compare when errors appear. Done means errors are not shown merely when the modal opens and are shown after an insert or update attempt; the optional focus behavior is unresolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100