mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
feat: add media attachment support for admin ticket replies
Admin can now attach photos, videos, and documents when replying to tickets. Upload happens on file selection via existing media upload endpoint. Includes attachment preview with type-specific icons, upload progress, error handling, race condition protection, and proper blob URL lifecycle management. Added video player rendering for video attachments in message thread. Updated ticket list preview to show [media_type] for media-only messages.
This commit is contained in:
@@ -1917,6 +1917,12 @@
|
||||
"adminLabel": "Admin",
|
||||
"replyPlaceholder": "Type your reply...",
|
||||
"sendReply": "Send Reply",
|
||||
"attachMedia": "Attach media",
|
||||
"invalidFileType": "Invalid file type. Use images, videos (MP4, WebM) or documents (PDF, DOC, TXT, ZIP).",
|
||||
"fileTooLarge": "File is too large. Maximum size is 10MB.",
|
||||
"uploadFailed": "Failed to upload file",
|
||||
"uploading": "Uploading...",
|
||||
"uploadComplete": "Uploaded",
|
||||
"settings": "Settings",
|
||||
"settingsSubtitle": "Configure ticket system and SLA",
|
||||
"settingsLoadError": "Failed to load settings",
|
||||
|
||||
Reference in New Issue
Block a user