- Added `ConnectionStatusData` DTO and `ConnectionStatusService` for managing connection statuses with mapped enums. - Updated `ConnectedAppFactory` and Livewire `StoreConnectedAppForm` to integrate `ConnectionStatusData` and remove `logoUrl` field. - Adjusted `ConnectedApp` model to rename columns for consistency. - Implemented error handling in `ConnectedAppService::create()` for improved resilience. - Updated Blade templates and composer dependencies for compatibility.
All the forms used in the application are stored here.
Each form should validate the data before sending it to the server.
This is done by using the validate method.
Validations that require the db, should not be live (realtime), they should be done on the only once, preferably after the form is submitted.
Form can be used to both create and update data. Name should start with:
Storefor both cases - preferredCreatefor creating a new recordUpdatefor updating an existing record
When handle both cases, use separate save and update methods.
Livewire form docs: https://livewire.laravel.com/docs/4.x/forms