coolify/app/Livewire/Project/Shared
Andras Bacsai 0eb0dbef02 fix: save comment field when creating application environment variables
The comment field was not being saved when creating environment variables from applications, even though it worked for shared environment variables. The issue was in the createEnvironmentVariable method which was missing the comment assignment.

Added: $environment->comment = $data['comment'] ?? null;

The comment is already dispatched from the Add component and now it's properly saved to the database for application environment variables.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-27 15:24:09 +01:00
..
EnvironmentVariable fix: save comment field when creating application environment variables 2025-12-27 15:24:09 +01:00
ScheduledTask refactor: replace queries with cached versions for performance improvements 2025-12-08 13:39:33 +01:00
Storages fix: skip password confirmation for OAuth users 2025-12-12 14:12:02 +01:00
ConfigurationChecker.php feat(event): introduce ApplicationConfigurationChanged event to handle team-specific configuration updates and broadcast changes 2025-09-22 09:44:30 +02:00
Danger.php feat(redirect): add redirectRoute helper for SPA navigation support 2025-12-26 13:29:59 +01:00
Destination.php refactor(redirect): replace redirect calls with redirectRoute helper for consistency 2025-12-26 13:29:59 +01:00
ExecuteContainerCommand.php feat(domains): implement domain conflict detection and user confirmation modal across application components 2025-08-28 10:52:41 +02:00
GetLogs.php Improve logging view performance to prevent browser freezing (#7682) 2025-12-18 08:50:04 +01:00
HealthChecks.php refactor: Remove SynchronizesModelData trait and implement syncData method for model synchronization 2025-11-04 09:18:05 +01:00
Logs.php refactor(logs): remove unused methods and debug functionality from Logs.php for cleaner code 2025-06-10 10:48:08 +02:00
Metrics.php Removed debug logging for metrics 2025-09-19 23:28:25 +05:30
ResourceLimits.php Complete Livewire legacy model binding migration (25+ components) 2025-10-13 15:38:59 +02:00
ResourceOperations.php refactor: replace queries with cached versions for performance improvements 2025-12-08 13:39:33 +01:00
Tags.php feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled. 2025-08-26 10:27:38 +02:00
Terminal.php fix(terminal): add sudo for non-root users to access Docker socket in terminal command 2025-12-26 11:49:02 +01:00
UploadConfig.php Revert "rector: arrrrr" 2025-01-07 15:31:43 +01:00
Webhooks.php feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled. 2025-08-26 10:27:38 +02:00