Prior to this commit, the wizard showed "Invalid description" when the description was too long. This was rather unhelpful for users. The actual size check happens in validators.ts, but the functions there just return a boolean value, even if they check for multiple criteria. I'm not entirely sure, why the validation functions live in a separate file, so I decided to move this specific condition to useValidation.tsx so the condition, and the relevant user-facing error message can be defined next to each other. |
||
|---|---|---|
| .. | ||
| Blueprints | ||
| Cockpit | ||
| CreateImageWizard | ||
| edge | ||
| ImagesTable | ||
| LandingPage | ||
| sharedComponents | ||
| ShareImageModal | ||