coolify/app/Livewire/Server
Andras Bacsai 6c0840d4e0 refactor: improve cloud-init script UX and remove description field
Changes:
1. Remove description field from cloud-init scripts
   - Updated migration to remove description column
   - Updated model to remove description from fillable array

2. Redesign script name input layout
   - Move script name input next to checkbox (always visible)
   - Remove conditional rendering - input always shown
   - Use placeholder instead of label for cleaner look

3. Fix dropdown type error
   - Replace wire:change event with wire:model.live
   - Use updatedSelectedCloudInitScriptId() lifecycle hook
   - Add "disabled" attribute to placeholder option
   - Properly handle empty string vs null in type casting

4. Improve validation
   - Require both script content AND name for saving
   - Remove description validation rule
   - Add selected_cloud_init_script_id validation

5. Auto-populate name when loading saved script
   - When user selects saved script, auto-fill the name field

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 11:16:28 +02:00
..
CaCertificate refactor: replace direct SslCertificate queries with server relationship methods for consistency 2025-10-09 17:00:05 +02:00
CloudProviderToken improved hetzner features 2025-10-09 12:53:57 +02:00
New refactor: improve cloud-init script UX and remove description field 2025-10-11 11:16:28 +02:00
PrivateKey feat(private-key-refresh): add refresh dispatch on private key update and connection check 2025-09-23 16:49:59 +02:00
Proxy Revert "refactor(file-transfer): replace base64 encoding with direct file transfer method in various components for improved clarity and efficiency" 2025-09-15 17:56:48 +02:00
Security fix(security): implement authorization checks for terminal access management 2025-09-25 11:45:07 +02:00
Advanced.php refactor(dashboard): remove deployment loading logic and introduce DeploymentsIndicator component for better UI management 2025-09-30 11:43:30 +02:00
Charts.php Revert "rector: arrrrr" 2025-01-07 15:31:43 +01:00
CloudflareTunnel.php feat(auth): implement authorization checks for server updates across multiple components 2025-08-22 13:02:11 +02:00
Create.php improved hetzner features 2025-10-09 12:53:57 +02:00
Delete.php work work on hetzner integration 2025-10-09 16:54:13 +02:00
Destinations.php feat(auth): implement authorization for Docker and server management 2025-08-22 14:04:25 +02:00
DockerCleanup.php feat(auth): implement authorization checks for server updates across multiple components 2025-08-22 13:02:11 +02:00
DockerCleanupExecutions.php feat: Docker cleanup executions UI 2025-01-15 20:11:40 +01:00
Index.php Fix styling 2024-06-10 20:43:34 +00:00
LogDrains.php feat(auth): implement authorization checks for server updates across multiple components 2025-08-22 13:02:11 +02:00
Navbar.php fix: streamline proxy status handling in StartProxy and Navbar components 2025-10-10 10:41:58 +02:00
Proxy.php Fixed incorrect proxy config file path on ui 2025-09-21 20:20:32 +05:30
Resources.php Revert "rector: arrrrr" 2025-01-07 15:31:43 +01:00
Show.php fix: correct dispatch logic for Hetzner server status refresh in checkHetznerServerStatus method 2025-10-10 10:13:14 +02:00
ValidateAndInstall.php feat: add retry functionality for server validation process 2025-10-10 10:13:08 +02:00