feat: add empty state for connection page when no apps configured

Show different messages depending on user role:
- Regular users see a friendly "check back later" message
- Admins see a prompt with a link to /admin/apps settings
This commit is contained in:
c0mrade
2026-02-09 11:23:33 +03:00
parent 03a7db53fb
commit fb25df6f0f
5 changed files with 86 additions and 8 deletions

View File

@@ -355,7 +355,11 @@
"selectPlatform": "Select platform",
"app": "app",
"apps": "apps",
"tutorial": "Tutorial"
"tutorial": "Tutorial",
"notConfigured": "Connection methods are not configured yet",
"notConfiguredUser": "Connection setup is in progress. Please check back later.",
"notConfiguredAdmin": "No connection apps have been configured. Set them up in the Apps settings.",
"goToApps": "Go to Apps settings"
},
"myDevices": "My Devices",
"noDevices": "No connected devices",

View File

@@ -307,7 +307,11 @@
"selectPlatform": "انتخاب پلتفرم",
"app": "برنامه",
"apps": "برنامه",
"tutorial": "آموزش"
"tutorial": "آموزش",
"notConfigured": "روش‌های اتصال هنوز پیکربندی نشده‌اند",
"notConfiguredUser": "تنظیمات اتصال در حال انجام است. لطفاً بعداً مراجعه کنید.",
"notConfiguredAdmin": "هیچ برنامه اتصالی پیکربندی نشده است. آن‌ها را در تنظیمات برنامه‌ها تنظیم کنید.",
"goToApps": "رفتن به تنظیمات برنامه‌ها"
},
"additionalOptions": {
"title": "گزینه‌های اضافی",

View File

@@ -377,7 +377,11 @@
"selectPlatform": "Выберите платформу",
"app": "приложение",
"apps": "приложений",
"tutorial": "Инструкция"
"tutorial": "Инструкция",
"notConfigured": "Способы подключения ещё не настроены",
"notConfiguredUser": "Настройка подключения в процессе. Пожалуйста, загляните позже.",
"notConfiguredAdmin": "Приложения для подключения не настроены. Настройте их в разделе Приложения.",
"goToApps": "Перейти к настройке приложений"
},
"myDevices": "Мои устройства",
"noDevices": "Нет подключенных устройств",

View File

@@ -307,7 +307,11 @@
"selectPlatform": "选择平台",
"app": "个应用",
"apps": "个应用",
"tutorial": "教程"
"tutorial": "教程",
"notConfigured": "连接方式尚未配置",
"notConfiguredUser": "连接设置正在进行中,请稍后再来查看。",
"notConfiguredAdmin": "尚未配置连接应用。请在应用设置中进行配置。",
"goToApps": "前往应用设置"
},
"additionalOptions": {
"title": "附加选项",