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
ce5555ca9f
feat(storage): consolidate storage management into a single component with enhanced UI
...
- Merged the storage management functionalities into the Storage component, replacing the previous Add component.
- Introduced new methods for submitting persistent volumes, file mounts, and directory mounts, improving code organization and maintainability.
- Enhanced the UI with modals for adding volumes, files, and directories, providing a more intuitive user experience.
- Updated validation rules and error handling for improved robustness during storage submissions.
- Removed deprecated Add component and associated views to streamline the codebase.
2025-10-01 18:46:21 +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
13af4811f5
feat(storages): add method to retrieve the first storage ID for improved stability in storage display
2025-09-11 13:41:22 +02:00
Andras Bacsai
f64622c764
refactor(models): remove 'is_readonly' attribute from multiple database models for consistency
2025-09-10 19:34:49 +02:00
Andras Bacsai
754f78bcfd
fix(compose): temporary allow to edit volumes in apps (compose based) and services
2025-08-27 21:36:05 +02:00
Andras Bacsai
cde528bf5e
fix(parsers): enhance volume string handling by preserving mode in application and service parsers. Update related unit tests for validation.
2025-08-27 16:54:49 +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
0x4e32
c728e6f2ba
feat(ui): Upgrade to Tailwind v4 ( #5710 )
2025-05-14 12:43:23 +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
f535ed2359
Enhance modal input component and storage forms
...
- Added 'minWidth' attribute to modal input component for better responsiveness.
- Updated modal input instantiation in storage view to set a minimum width of 64rem.
- Improved layout and user guidance in the storage add forms by adding descriptive text for volume, file, and directory mounts.
- Changed button labels from 'Save' to 'Add' for clarity in storage forms.
2024-12-04 14:00:49 +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
08df814408
Feat: delete volume confirmation
2024-09-04 22:33:47 +02:00
Andras Bacsai
9ec7d748df
refactor: Improve storage mount forms in add.blade.php
2024-08-16 11:36:21 +02:00
Andras Bacsai
0089e86dd1
refactor: Remove unused code and fix storage form layout
2024-07-15 12:23:06 +02:00
Andras Bacsai
95d3ebdc2d
fix: in services should edit compose file for volumes and envs
2024-06-13 10:18:35 +02:00
Andras Bacsai
f841c0d4ba
refactor: Update storage form inputs in show.blade.php
2024-05-31 09:59:39 +02:00
Andras Bacsai
ad5c1639e8
fix: do not allow service storage mount point modifications
2024-05-27 15:11:00 +02:00
Andras Bacsai
035e145cd1
feat: add more persistent storage types
2024-05-27 14:14:44 +02:00
Andras Bacsai
d1ab14966b
fix: able to update source path for predefined volumes
2024-05-02 09:28:29 +02:00
Andras Bacsai
0b2c92cbe5
able to change storage name and path
2024-04-25 13:37:45 +02:00
Andras Bacsai
c6844ff47a
Add keydb, dragonfly and clickhouse
2024-04-10 15:00:46 +02:00
Andras Bacsai
9ad6ce5851
ui ui ui ui
2024-03-25 11:33:38 +01:00
Andras Bacsai
a66090b594
ui + package updates
2024-03-25 10:41:44 +01:00
Andras Bacsai
b61860b3ab
ui: redesign
2024-03-20 12:54:06 +01:00
Andras Bacsai
c76e8bb0de
fix: migrate to new modal
2024-01-31 16:14:12 +01:00
Andras Bacsai
62c38c9859
wip: swarm
2023-12-18 14:01:25 +01:00
Andras Bacsai
718603e37e
wip: migrate to livewire 3
2023-12-07 19:06:32 +01:00
Andras Bacsai
4ac8e1cc67
fix: services file/dir read from server
...
ui: fix storages layout
2023-10-04 09:58:39 +02:00
Andras Bacsai
68c976ab70
fix: show all storages in one place for services
2023-10-03 08:48:07 +02:00
Andras Bacsai
1560ab2a50
fix: UI
2023-10-03 08:22:03 +02:00
Andras Bacsai
d523becb29
fix: add uuid to volume names
2023-10-02 09:08:41 +02:00
Andras Bacsai
ed6af777a4
fix: show real volume names
2023-10-01 20:46:49 +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
ee20c3339e
fix: show real storage name on services
2023-09-25 17:14:19 +02:00
Andras Bacsai
c91f426af3
wip: services
2023-09-22 12:08:51 +02:00
Andras Bacsai
53d1fa0331
wip: ui for services
2023-09-22 11:23:49 +02:00
Andras Bacsai
c762195c8a
format files lol
2023-08-11 20:19:42 +02:00
Andras Bacsai
b4b1c671bd
fix: input and textarea
2023-08-08 14:46:23 +02:00
Andras Bacsai
f2228cec7b
testing php storm code cleanup and styling
2023-08-08 11:51:36 +02:00
Andras Bacsai
971d7f703d
lots of updates + refactoring
2023-08-07 22:14:21 +02:00