nimuli/resources/views/livewire/modals
boban fa9985cc33 feat: modal infrastructure + 11 modals (links, team, settings, workspace)
wire-elements/modal v3 integration:
- Replace custom Alpine modal-container with <livewire:livewire-ui-modal />
- Customize vendor modal view with design tokens (bg-s1, dark overlay, smooth transitions)
- All modals extend ModalComponent, use $this->closeModal()

Modals built (PHP + Blade view + tests):
- ConfirmAction — reusable danger confirm with custom event dispatch
- CreateLink, EditLink, DeleteLink — full CRUD with workspace isolation
- InviteMember, EditMemberRole, RemoveMember — team management
- CreateApiToken, RevokeApiToken — Sanctum token lifecycle
- CreateWebhook, DeleteWebhook — webhook CRUD
- CreateWorkspace (uses CreateWorkspaceAction), DeleteWorkspace (confirmation input)

Fixes:
- Remove SoftDeletes from Webhook model (table has no deleted_at column)
- Auto-generate webhook secret when user leaves field empty
- Use correct role enum: owner/admin/editor/viewer (not member)
- Protected Livewire model properties replaced with re-query pattern
- Sidebar "New Workspace" button now dispatches openModal

Tests: 105/105 passing, 211 assertions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 12:41:14 +02:00
..
confirm-action.blade.php feat: modal infrastructure + 11 modals (links, team, settings, workspace) 2026-05-16 12:41:14 +02:00
create-api-token.blade.php feat: modal infrastructure + 11 modals (links, team, settings, workspace) 2026-05-16 12:41:14 +02:00
create-link.blade.php feat: modal infrastructure + 11 modals (links, team, settings, workspace) 2026-05-16 12:41:14 +02:00
create-webhook.blade.php feat: modal infrastructure + 11 modals (links, team, settings, workspace) 2026-05-16 12:41:14 +02:00
create-workspace.blade.php feat: modal infrastructure + 11 modals (links, team, settings, workspace) 2026-05-16 12:41:14 +02:00
delete-link.blade.php feat: modal infrastructure + 11 modals (links, team, settings, workspace) 2026-05-16 12:41:14 +02:00
delete-webhook.blade.php feat: modal infrastructure + 11 modals (links, team, settings, workspace) 2026-05-16 12:41:14 +02:00
delete-workspace.blade.php feat: modal infrastructure + 11 modals (links, team, settings, workspace) 2026-05-16 12:41:14 +02:00
edit-link.blade.php feat: modal infrastructure + 11 modals (links, team, settings, workspace) 2026-05-16 12:41:14 +02:00
edit-member-role.blade.php feat: modal infrastructure + 11 modals (links, team, settings, workspace) 2026-05-16 12:41:14 +02:00
invite-member.blade.php feat: modal infrastructure + 11 modals (links, team, settings, workspace) 2026-05-16 12:41:14 +02:00
remove-member.blade.php feat: modal infrastructure + 11 modals (links, team, settings, workspace) 2026-05-16 12:41:14 +02:00
revoke-api-token.blade.php feat: modal infrastructure + 11 modals (links, team, settings, workspace) 2026-05-16 12:41:14 +02:00