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:
@@ -2428,6 +2428,12 @@
|
||||
"adminLabel": "Админ",
|
||||
"replyPlaceholder": "Введите ваш ответ...",
|
||||
"sendReply": "Отправить",
|
||||
"attachMedia": "Прикрепить медиа",
|
||||
"invalidFileType": "Неверный тип файла. Используйте изображения, видео (MP4, WebM) или документы (PDF, DOC, TXT, ZIP).",
|
||||
"fileTooLarge": "Файл слишком большой. Максимальный размер 10МБ.",
|
||||
"uploadFailed": "Не удалось загрузить файл",
|
||||
"uploading": "Загрузка...",
|
||||
"uploadComplete": "Загружено",
|
||||
"settings": "Настройки",
|
||||
"settingsSubtitle": "Настройка тикетной системы и SLA",
|
||||
"settingsLoadError": "Не удалось загрузить настройки",
|
||||
|
||||
Reference in New Issue
Block a user