Refactor chat API and UI components to support new chat target functionality. Introduced getChatTargets and startChatTarget endpoints, updated ChatWidget to handle chat targets and conversations, and added new styles for improved UI. Updated localization files for new terms related to admin support and channels.

This commit is contained in:
Mekan1206 committed 2026-08-16 17:01:26 +05:00
1 parent 53cb864863
commit 347ec3536d
6 files changed
+532 -111

No files matched your search

+8
View File
@@ -238,5 +238,13 @@ export default {
empty: "Send a message and we will reply soon.",
loading: "Loading...",
close: "Close",
admin: "Admin",
adminSubtitle: "Site support",
channels: "Stores",
search: "Search stores...",
noChannels: "No stores available for chat.",
noResults: "No stores match your search.",
back: "Back",
loadMore: "Load more",
},
};
+8
View File
@@ -236,5 +236,13 @@ export default {
empty: "Напишите сообщение, и мы скоро ответим.",
loading: "Загрузка...",
close: "Закрыть",
admin: "Админ",
adminSubtitle: "Поддержка сайта",
channels: "Магазины",
search: "Поиск магазинов...",
noChannels: "Нет магазинов для чата.",
noResults: "Магазины не найдены.",
back: "Назад",
loadMore: "Ещё",
},
};
+9 -1
View File
@@ -232,11 +232,19 @@ export default {
"Hyzmatdaşlyga elmydama açyk we pikirleri kabul edýäris. Pikiriňiz, soragyňyz ýa-da teklibiňiz barmy? Bize ýazyň - jogap bermäge şat bolarys!",
},
chat: {
title: "Goldaw",
title: "Admin",
placeholder: "Hat ýazyň...",
send: "Ugrat",
empty: "Hat ýazyň, biz gysga wagtda jogap bereris.",
loading: "Ýüklenýär...",
close: "Ýap",
admin: "Admin",
adminSubtitle: "Saýt goldawy",
channels: "Dükanlar",
search: "Dükan gözle...",
noChannels: "Söhbet üçin dükan ýok.",
noResults: "Dükan tapylmady.",
back: "Yza",
loadMore: "Ýene",
},
};