[mirotalksfu] - make widget fully configurable via config.js and .env

هذا الالتزام موجود في:
Miroslav Pejic
2025-08-08 01:34:20 +02:00
الأصل 72fbecc8d0
التزام 1d88a19c03
10 ملفات معدلة مع 105 إضافات و9 حذوفات

عرض الملف

@@ -223,6 +223,22 @@ AWS_REGION= # AWS region (e.g., us-east-2,
# Branding injection
BRAND_HTML_INJECTION=true # Enable HTML injection for branding (true|false)
# Widget Configuration
WIDGET_ENABLED=false # Enable branding widget (true|false)
WIDGET_THEME=dark # Widget theme (dark|light)
WIDGET_STATE=minimized # Widget initial state (normal|minimized|closed)
WIDGET_TYPE=support # Widget type (support)
WIDGET_SUPPORT_POSITION=top-right # Support widget position (top-right|top-left|bottom-right|bottom-left)
WIDGET_SUPPORT_EXPERT_IMAGES= # Comma-separated expert image URLs comma-separated
WIDGET_SUPPORT_CHECK_ONLINE_STATUS=false # Check online room status (true|false)
WIDGET_SUPPORT_IS_ONLINE=true # Is support online (true|false)
WIDGET_SUPPORT_HEADING=Need Help? # Support widget heading
WIDGET_SUPPORT_SUBHEADING=Get instant support from our expert team! # Support widget subheading
WIDGET_SUPPORT_CONNECT_TEXT=connect in < 5 seconds # Connect text
WIDGET_SUPPORT_ONLINE_TEXT=We are online # Online text
WIDGET_SUPPORT_OFFLINE_TEXT=We are offline # Offline text
WIDGET_SUPPORT_POWERED_BY=Powered by MiroTalk SFU # Powered by text
# App
UI_LANGUAGE=en # Interface language (en, es, fr, etc.)
APP_NAME=MiroTalk SFU # Application name