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 |
|
ShadowArcanist
|
1f5a61227c
|
Replaced old warning text with new callout component + rewritten warning for more clarity
|
2025-09-29 10:17:30 +05:30 |
|
ShadowArcanist
|
6958bb82b7
|
Fixed spacing between description text and title on application healthcheck page
|
2025-09-29 10:08:43 +05:30 |
|
ShadowArcanist
|
48ccfa3124
|
Added confirmation modal for enabling healtcheck + replaced enable checkbox with a button
|
2025-09-29 10:07:47 +05:30 |
|
ShadowArcanist
|
64af66ab94
|
Added dropdown with http and http scheme options for application Healthcheck
|
2025-09-29 08:37:53 +05:30 |
|
ShadowArcanist
|
56beced4d2
|
Added dropdown with GET and POST options for application Healthcheck
|
2025-09-29 08:35:02 +05:30 |
|
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
|
6d92000d02
|
Update resources/views/livewire/project/shared/health-checks.blade.php
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
|
2025-06-26 09:06:25 +02:00 |
|
Andras Bacsai
|
0e27d1f46d
|
fix(ui): update border styling for consistency across components and enhance loading indicators
|
2025-06-25 10:56:35 +02:00 |
|
Andras Bacsai
|
50ab5ea35d
|
Refactor health check form labels and placeholders
|
2024-10-22 12:05:36 +02:00 |
|
Andras Bacsai
|
16278f36ec
|
fix: parse HEALTHCHECK from dockerfile
|
2024-04-29 13:33:28 +02:00 |
|
Andras Bacsai
|
2644efd9f7
|
Update input.blade.php and health-checks.blade.php
|
2024-04-29 12:54:36 +02:00 |
|
Andras Bacsai
|
718603e37e
|
wip: migrate to livewire 3
|
2023-12-07 19:06:32 +01:00 |
|
Andras Bacsai
|
0e1bcceb8e
|
feat: able to disable container healthchecks
fix: dockerfile based deployments have hc off by default
|
2023-10-01 18:14:13 +02:00 |
|
Andras Bacsai
|
db3148c080
|
typos
|
2023-09-24 10:32:41 +02:00 |
|
Andras Bacsai
|
3fc544e0b9
|
feat: healthcheck for apps
|
2023-09-22 15:29:19 +02:00 |
|