Andras Bacsai
9bc33d65ab
fix: Improve read-only volume detection and UI messaging
...
- Add isServiceResource() and shouldBeReadOnlyInUI() to LocalFileVolume
- Update path matching to handle leading slashes in volume comparisons
- Update FileStorage and Show components to use shouldBeReadOnlyInUI()
- Show consolidated warning message for service/compose resources in all.blade.php
- Remove redundant per-volume warnings for service resources
- Clean up configuration.blade.php formatting
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2025-12-11 21:25:33 +01:00
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
b84d39ba56
refactor: Update confirmation button text for deletion actions
2024-09-23 08:58:04 +02:00
ayntk-ai
08df814408
Feat: delete volume confirmation
2024-09-04 22:33:47 +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
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
718603e37e
wip: migrate to livewire 3
2023-12-07 19:06:32 +01: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
ed6af777a4
fix: show real volume names
2023-10-01 20:46:49 +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
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