Andras Bacsai
f77ad4cbd9
Complete Livewire legacy model binding migration (25+ components)
...
This completes the migration from Livewire's legacy `id="model.property"`
pattern to explicit properties with manual synchronization. This allows
disabling the `legacy_model_binding` feature flag.
**Components Migrated (Final Session - 9 components):**
- Server/Proxy.php (1 field)
- Service/EditDomain.php (1 field) - Fixed Collection/string bug & parent sync
- Application/Previews.php (2 fields - array handling)
- Service/EditCompose.php (4 fields)
- Service/FileStorage.php (6 fields)
- Service/Database.php (7 fields)
- Service/ServiceApplicationView.php (10 fields)
- Application/General.php (53 fields) - LARGEST migration
- Application/PreviewsCompose.php (1 field)
**Total Migration Summary:**
- 25+ components migrated across all phases
- 150+ explicit properties added
- 0 legacy bindings remaining (verified via grep)
- All wire:model, id, @entangle bindings updated
- All updater hooks renamed (updatedApplicationX → updatedX)
**Technical Changes:**
- Added explicit public properties (camelCase)
- Implemented syncData(bool $toModel) bidirectional sync
- Updated validation rules (removed model. prefix)
- Updated all action methods (mount, submit, instantSave)
- Fixed updater hooks: updatedBuildPack, updatedBaseDirectory, updatedIsStatic
- Updated Blade views (id & wire:model bindings)
- Applied Collection/string confusion fixes
- Added model refresh + re-sync pattern
**Critical Fixes:**
- EditDomain.php Collection/string confusion (use intermediate variables)
- EditDomain.php parent component sync (refresh + re-sync after save)
- General.php domain field empty (syncData at end of mount)
- General.php wire:model bindings (application.* → property)
- General.php updater hooks (wrong naming convention)
**Files Modified:** 34 files
- 17 PHP Livewire components
- 17 Blade view templates
- 1 MIGRATION_REPORT.md (documentation)
**Ready to disable legacy_model_binding flag in config/livewire.php**
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-13 15:38:59 +02:00
Andras Bacsai
b4cfb78f86
feat(storage): add read-only volume handling and UI notifications
...
- Introduced `isReadOnlyVolume` method in `LocalFileVolume` and `LocalPersistentVolume` models to determine if a volume is read-only based on Docker Compose configuration.
- Updated `FileStorage` and `Show` components to set `isReadOnly` state during mounting.
- Enhanced UI to display notifications for read-only volumes, preventing modification actions in the interface.
- Refactored file storage and directory management forms to conditionally enable or disable actions based on read-only status.
2025-10-03 20:05:43 +02:00
Andras Bacsai
25a7be23a9
ui(storage): enhance file storage management with new properties and UI improvements
...
- Added properties to manage file and directory counts, improving data handling in the Livewire component.
- Updated the file storage view to include a tabbed interface for volumes, files, and directories, enhancing user navigation.
- Improved UI layout for better readability and user experience, including consistent styling and informative messages.
2025-10-01 08:23:21 +02:00
Andras Bacsai
63fcc0ebc3
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
Andras Bacsai
2b84ce841b
refactor(ui): remove unnecessary step3ButtonText attributes from modal confirmation components for cleaner code
2025-06-30 09:15:23 +02:00
Andras Bacsai
90817914d9
refactor(ui): separate views for instance settings to separate paths to make it cleaner
2025-06-30 08:50:17 +02:00
Andras Bacsai
0bb47dfa56
refactor(file-storage): improve layout and structure of input fields
2025-03-28 22:10:15 +01:00
Andras Bacsai
7686ebfd6c
refactor(file-storage): add loadStorageOnServer method for improved error handling
2025-03-28 21:05:34 +01:00
Andras Bacsai
a73cfd8b09
refactor(modal): add ignoreWire attribute to modal-confirmation component
2025-03-25 09:49:38 +01:00
Andras Bacsai
595370df92
feat(LocalFileVolume): add binary file detection and update UI logic
...
Implemented a new attribute to detect binary files in the LocalFileVolume model, enhancing the file handling capabilities. The isBinary method checks for binary content based on specific criteria, allowing for better management of file types. Additionally, updated the file storage UI to conditionally display conversion options based on the binary status of the file, improving user experience and preventing unintended actions on binary files. These changes contribute to a more robust and user-friendly file management system.
2025-03-14 14:55:38 +01:00
Andras Bacsai
fd09b5b30f
refactor(ui): Simplify file storage modal confirmations
2025-02-26 08:22:55 +01:00
Andras Bacsai
b84d39ba56
refactor: Update confirmation button text for deletion actions
2024-09-23 08:58:04 +02:00
Andras Bacsai
5ec45d547a
Merge branch 'next' into fix-#2546-deletion-issues
2024-09-18 18:05:06 +02:00
ayntk-ai
9a2d5be354
Feat: confirm file storage
2024-09-03 18:31:06 +02:00
Andras Bacsai
b8a37d897e
fix: Fix directory and file mount headings in file-storage.blade.php
2024-08-29 12:03:23 +02:00
Andras Bacsai
af1b479d73
fix: parser
...
ui: storage layout changed
2024-08-23 14:21:12 +02:00
Andras Bacsai
0e54ed1343
feat: preserve git repository with advanced file storages
2024-08-12 16:06:24 +02:00
Andras Bacsai
3e0821e471
refactor
2024-08-05 20:07:08 +02:00
Andras Bacsai
ea5101c814
fix: file storages (dir/file mount) handled properly
2024-08-05 20:00:57 +02:00
Andras Bacsai
035e145cd1
feat: add more persistent storage types
2024-05-27 14:14:44 +02:00
Andras Bacsai
85b33a60b3
feat: can edit file/dir volumes from ui in compose based apps
2024-04-15 19:47:17 +02:00
Andras Bacsai
c6844ff47a
Add keydb, dragonfly and clickhouse
2024-04-10 15:00:46 +02:00
Andras Bacsai
34aa4c6412
fix: storage layout
2024-04-08 09:51:14 +02:00
Andras Bacsai
64a7f27e37
fix: file storage save
2024-01-04 13:03:46 +01:00
Andras Bacsai
718603e37e
wip: migrate to livewire 3
2023-12-07 19:06:32 +01:00
Andras Bacsai
79fde593a9
fix: service volume read from filesystem
...
fix: edit compose moved to dialog
2023-09-30 15:08:40 +02:00
Andras Bacsai
64ce41df0f
fix: file/dir based volumes are now read from the server
2023-09-29 21:38:11 +02:00
Andras Bacsai
199881c596
fixes
2023-09-28 09:54:21 +02:00
Andras Bacsai
f0abdcc2da
okay, now it is way better
2023-09-27 12:45:53 +02:00
Andras Bacsai
fabb97330a
puh, fixes
2023-09-26 14:45:52 +02:00
Andras Bacsai
58522b59b7
- package updates
...
- feat: service fixes
- ui: help menu
2023-09-25 12:49:55 +02:00
Andras Bacsai
1752448050
wip: services
2023-09-22 21:31:47 +02:00