From af5b26c93424e43a2d9d0bfc691efa3e8bee6a83338b1d5ab26db7119139f45e Mon Sep 17 00:00:00 2001 From: q Date: Tue, 13 Oct 2026 08:59:29 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=B8=D1=81=D0=BA=20=D0=BB=D1=8E?= =?UTF-8?q?=D0=B4=D0=B5=D0=B9:=20=D0=BF=D0=BE=20=D0=BD=D0=B0=D1=87=D0=B0?= =?UTF-8?q?=D0=BB=D1=83=20=D1=81=D0=BB=D0=BE=D0=B2=D0=B0,=20=D0=B0=20?= =?UTF-8?q?=D0=BD=D0=B5=20=D0=BF=D0=BE=20=D0=BF=D0=BE=D0=B4=D1=81=D1=82?= =?UTF-8?q?=D1=80=D0=BE=D0=BA=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit «анна» находила и «Жанну» (подстрока), из-за чего нужный человек терялся среди чужих совпадений. Теперь в поиске по своим связям (карта и список «Связей», поиск по чатам, «Новый чат», списки друзей в профиле) совпадение – с началом любого слова имени, фамилии или логина: «анна» → Анна Гусева и anna_guseva, «гус ан» → тоже она, «q_tester» → q_tester1. Регистр и «ё» не важны. Поиск по всей сети (на сервере) не менялся. Общая функция – services/people-search.js. --- VERSION.properties | 2 +- shine-UI/index.html | 2 +- shine-UI/js/pages/contact-search-view.js | 3 ++- shine-UI/js/pages/messages-list.js | 4 ++-- shine-UI/js/pages/network-view.js | 3 ++- shine-UI/js/pages/user-profile-list-view.js | 7 ++++--- shine-UI/js/services/people-search.js | 20 ++++++++++++++++++++ 7 files changed, 32 insertions(+), 9 deletions(-) create mode 100644 shine-UI/js/services/people-search.js diff --git a/VERSION.properties b/VERSION.properties index 70bfd2da..8a04c599 100644 --- a/VERSION.properties +++ b/VERSION.properties @@ -1,2 +1,2 @@ -client.version=1.19.27 +client.version=1.19.28 server.version=1.15.0 diff --git a/shine-UI/index.html b/shine-UI/index.html index 9a5ca801..c3b8f8e0 100644 --- a/shine-UI/index.html +++ b/shine-UI/index.html @@ -39,7 +39,7 @@ }());