coolify/resources/views/livewire/project/database
Andras Bacsai f2a017a063 fix: revert to original dispatch approach with unique wire:key per monitor
Root cause analysis:
- Changed from dispatch to property binding broke the activity monitor completely
- ActivityMonitor component expects activityMonitor event, not property binding
- Original approach was correct: use dispatch + event listeners

Solution:
- Revert to original dispatch('activityMonitor', $activity->id) calls
- Use @if conditionals to render only one monitor at a time (removes from DOM)
- Add unique wire:key to each monitor instance to prevent conflicts
- S3 download monitor: wire:key="s3-download-{{ $resource->uuid }}"
- Database restore monitor: wire:key="database-restore-{{ $resource->uuid }}"

This ensures:
- Activity monitors display correctly when processes start
- Only one monitor is rendered at a time (S3 download OR database restore)
- Each monitor has unique identity via wire:key
- Event listeners work as designed

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-14 10:43:20 +01:00
..
backup 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
clickhouse 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
dragonfly 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
keydb 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
mariadb refactor: migrate database components from legacy model binding to explicit properties 2025-10-13 10:01:17 +02:00
mongodb refactor: migrate database components from legacy model binding to explicit properties 2025-10-13 10:01:17 +02:00
mysql refactor: migrate database components from legacy model binding to explicit properties 2025-10-13 10:01:17 +02:00
postgresql fix: clean up input attributes for PostgreSQL settings in general.blade.php 2025-11-04 21:06:12 +01:00
redis refactor: migrate database components from legacy model binding to explicit properties 2025-10-13 10:01:17 +02:00
backup-edit.blade.php fix: remove unnecessary step attribute from maximum storage input fields 2025-10-29 20:43:32 +01:00
backup-executions.blade.php feat: add S3 storage integration for file import 2025-11-14 10:43:19 +01:00
backup-now.blade.php fix: update Livewire button click method to use camelCase 2025-01-07 11:03:23 +01:00
configuration.blade.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
create-scheduled-backup.blade.php feat(ui): Upgrade to Tailwind v4 (#5710) 2025-05-14 12:43:23 +02:00
heading.blade.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
import.blade.php fix: revert to original dispatch approach with unique wire:key per monitor 2025-11-14 10:43:20 +01:00
init-script.blade.php fix indexing after deletion and make sure init script is removed form the server 2024-10-18 20:51:51 +02:00
scheduled-backups.blade.php feat: add S3 storage integration for file import 2025-11-14 10:43:19 +01:00