fix: attachment file handling - real files, inline preview, click to open
Some checks failed
Tests / PHP 8.3 (push) Has been cancelled
Tests / PHP 8.4 (push) Has been cancelled
Tests / PHP 8.5 (push) Has been cancelled

- FileService: use Storage::temporaryUrl() standard API instead of manual signed route
- FileService: added isImage() and getPreviewUrl() helpers
- Seeder: create actual files on disk instead of fake paths
- Edit Feedback: new 'Attachments' section showing all feedback files with thumbnails
- Interactions modal: image preview thumbnails + inline click-to-open
- New footer layout: edit-footer.blade.php wrapper for attachments + similar cases
This commit is contained in:
2026-04-27 09:30:20 +00:00
parent 694d6f7c63
commit 6c74c17b48
7 changed files with 146 additions and 39 deletions

View File

@@ -143,6 +143,7 @@ class InteractionsRelationManager extends RelationManager
'url' => $fileService->getTemporaryUrl($a, 60),
'size' => $a->size ? round($a->size / 1024, 1) . ' KB' : 'N/A',
'collection' => $a->collection,
'mime_type' => $a->mime_type,
];
});