Show validation error if no file name is specified
What does this MR do and why?
Currently, users can commit changes to a file without specifying a file name which causes the UI to display an undescriptive error.
This improves the experience by showing a validation error if no file name is specified
References
Screenshots or screen recordings
Before | After |
---|---|
Screen_Recording_2025-03-25_at_10.28.36 | Screen_Recording_2025-03-25_at_10.19.23 |
How to set up and validate locally
- Find or create a project
- Click the
➕ button dropdown and selectNew file
in the UI - Enter content in the new file, but do not give the file a title
- A validation error should be rendered
- Enter a file name
- The validation error should clear
Related to #521340 (closed)
Edited by Jacques Erasmus