SHA256
Merge origin/main (+56: DM v1 E2EE, промокоды, recovery key) + локальные фичи
Слито и разрешено вручную: - chat-view.js: база — новый DM-чат агента (ответы/реплаи, ревизии, клавиатурный UX, голосовой ввод); поверх встроен эмодзи-пикер (Telegram-набор): кнопка ☺, вставка в позицию курсора, анимированные эмодзи в пузырях (renderMessageText поверх displayText), остановка анимаций в cleanup. - register-view.js: база — версия агента (промокоды, глаз пароля, TEMP-заглушка коротких логинов); возвращена компактная ссылка «Вопросы о регистрации» (FAQ-экран у агента осиротел — снова достижим). - components.css: шапка «Связей» — вариант агента (sticky + grid minmax, заголовок сокращается, кнопки не обрезаются); стили эмодзи-пикера сохранены. - Заметки Pending_Features (шапка связей, поиск каналов, локальный вход) переложены в новую структуру docs/Pending_Features. - VERSION: client 1.2.314, server 1.2.292 (продолжение нумерации origin). Проверено локально: старт → «Открыть локальный тестовый режим» → Личные → чат: эмодзи-пикер открывается, эмодзи вставляется, PNG-ассеты грузятся; регистрация: промокод/12 слов/FAQ-ссылка работают; консоль чистая. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+157
-12
@@ -44,6 +44,26 @@
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.chat-header-icon-btn {
|
||||
min-width: 42px;
|
||||
width: 42px;
|
||||
padding: 0;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.chat-header-call-btn {
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.chat-header-menu-btn {
|
||||
border-radius: 12px;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.icon-btn,
|
||||
.text-btn,
|
||||
.primary-btn,
|
||||
@@ -1197,6 +1217,25 @@
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.key-storage-option {
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.key-storage-option__description {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.key-storage-note {
|
||||
margin: 0;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.key-storage-note--strong {
|
||||
font-size: 17px;
|
||||
font-weight: 700;
|
||||
color: #eef4ff;
|
||||
}
|
||||
|
||||
.key-card {
|
||||
padding: 12px;
|
||||
border-radius: var(--radius-md);
|
||||
@@ -1521,6 +1560,35 @@
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.bubble-reply-preview {
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin: 0 0 8px;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid rgba(142, 173, 232, 0.22);
|
||||
border-radius: 10px;
|
||||
background: rgba(11, 22, 41, 0.34);
|
||||
text-align: left;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bubble-reply-preview-author {
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
color: rgba(250, 221, 155, 0.94);
|
||||
}
|
||||
|
||||
.bubble-reply-preview-text {
|
||||
margin-top: 3px;
|
||||
font-size: 12px;
|
||||
line-height: 1.3;
|
||||
color: rgba(223, 233, 250, 0.86);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.bubble-meta {
|
||||
margin-top: 4px;
|
||||
display: flex;
|
||||
@@ -1563,11 +1631,52 @@
|
||||
.bubble.call-tech {
|
||||
max-width: 90%;
|
||||
justify-self: center;
|
||||
border-radius: 10px;
|
||||
border: 1px solid rgba(131, 162, 223, 0.32);
|
||||
background: rgba(40, 55, 84, 0.55);
|
||||
border-radius: 16px;
|
||||
border: 1px solid rgba(132, 170, 231, 0.28);
|
||||
background: rgba(24, 36, 58, 0.72);
|
||||
color: #dce8ff;
|
||||
font-size: 12px;
|
||||
padding: 12px 14px;
|
||||
}
|
||||
|
||||
.bubble-call-card {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
min-width: min(280px, 72vw);
|
||||
}
|
||||
|
||||
.bubble-call-head {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.bubble-call-icon {
|
||||
display: inline-grid;
|
||||
place-items: center;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 999px;
|
||||
background: rgba(80, 170, 255, 0.18);
|
||||
border: 1px solid rgba(123, 191, 255, 0.28);
|
||||
color: #d9ecff;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.bubble-call-title {
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
color: #eef6ff;
|
||||
}
|
||||
|
||||
.bubble-call-line {
|
||||
font-size: 12px;
|
||||
line-height: 1.35;
|
||||
color: rgba(230, 240, 255, 0.94);
|
||||
}
|
||||
|
||||
.bubble-call-line--muted {
|
||||
color: rgba(188, 207, 238, 0.78);
|
||||
}
|
||||
|
||||
.chat-input {
|
||||
@@ -2027,20 +2136,23 @@ textarea.input {
|
||||
}
|
||||
|
||||
.network-header-overlay {
|
||||
position: absolute;
|
||||
top: max(8px, env(safe-area-inset-top));
|
||||
position: sticky;
|
||||
top: max(14px, calc(env(safe-area-inset-top) + 8px));
|
||||
left: max(8px, env(safe-area-inset-left));
|
||||
right: max(8px, env(safe-area-inset-right));
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 0;
|
||||
z-index: 12;
|
||||
pointer-events: none;
|
||||
padding: 9px 12px 0;
|
||||
}
|
||||
|
||||
.network-header-overlay.page-header {
|
||||
width: auto;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(42px, 1fr) auto minmax(58px, 1fr);
|
||||
align-items: center;
|
||||
margin-bottom: 0;
|
||||
gap: 6px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.network-header-overlay .header-left,
|
||||
@@ -2050,21 +2162,31 @@ textarea.input {
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.network-header-overlay .header-left {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.network-header-overlay .header-actions {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.network-header-overlay .icon-btn {
|
||||
pointer-events: auto;
|
||||
min-height: 30px;
|
||||
padding: 5px 8px;
|
||||
font-size: 11px;
|
||||
min-height: 32px;
|
||||
padding: 6px 10px;
|
||||
font-size: 12px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.network-header-overlay .page-title {
|
||||
flex: 1 1 auto;
|
||||
font-size: 16px;
|
||||
line-height: 32px;
|
||||
min-width: 0;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
|
||||
@@ -4541,9 +4663,8 @@ html, body { overflow-x: hidden; }
|
||||
min-width: 0;
|
||||
font-size: 12px;
|
||||
line-height: 1.35;
|
||||
white-space: nowrap;
|
||||
white-space: pre-line;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.dm-edit-banner__close {
|
||||
@@ -4823,6 +4944,22 @@ html, body { overflow-x: hidden; }
|
||||
background: rgba(112, 28, 28, 0.22);
|
||||
}
|
||||
|
||||
.dm-confirm-check {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 10px;
|
||||
padding: 10px 12px;
|
||||
border-radius: 14px;
|
||||
background: rgba(17, 26, 46, 0.62);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
color: #d9e6ff;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.dm-confirm-check input {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.speech-actions-top {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
@@ -5059,6 +5196,14 @@ html, body { overflow-x: hidden; }
|
||||
color: #f6deb0;
|
||||
}
|
||||
|
||||
.registration-password-toggle {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
min-width: 44px;
|
||||
min-height: 44px;
|
||||
border-radius: 14px;
|
||||
}
|
||||
|
||||
.registration-progress {
|
||||
width: 100%;
|
||||
height: 10px;
|
||||
|
||||
Reference in New Issue
Block a user