mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +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:
@@ -1579,6 +1579,12 @@
|
||||
"adminLabel": "مدیر",
|
||||
"replyPlaceholder": "پاسخ خود را بنویسید...",
|
||||
"sendReply": "ارسال پاسخ",
|
||||
"attachMedia": "پیوست رسانه",
|
||||
"invalidFileType": "نوع فایل نامعتبر. از تصاویر، ویدئو (MP4, WebM) یا اسناد (PDF, DOC, TXT, ZIP) استفاده کنید.",
|
||||
"fileTooLarge": "فایل بسیار بزرگ است. حداکثر اندازه ۱۰ مگابایت.",
|
||||
"uploadFailed": "آپلود فایل ناموفق بود",
|
||||
"uploading": "در حال آپلود...",
|
||||
"uploadComplete": "آپلود شد",
|
||||
"settings": "تنظیمات",
|
||||
"settingsSubtitle": "پیکربندی سیستم تیکت و SLA",
|
||||
"settingsLoadError": "خطا در بارگذاری تنظیمات",
|
||||
|
||||
Reference in New Issue
Block a user