Исправить рендер messages-list и поднять версию для main

This commit is contained in:
AidarKC
2026-08-23 12:07:37 +04:00
parent db37f35d09
commit 78ddb8ffb6
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
client.version=1.8.0
client.version=1.9.0
server.version=1.7.0
+6
View File
@@ -13,6 +13,11 @@ import { parseDmTechBlocks } from '../services/dm-tech-blocks.js';
export const pageMeta = { id: 'messages-list', title: 'Личные сообщения' };
const PREVIEW_MAX_LEN = 200;
const SVG_CHEVRON = `
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<path d="M9 6l6 6-6 6"></path>
</svg>
`;
const DM_BLOB_PREVIEW_CACHE = new Map();
const DM_BLOB_PREVIEW_PENDING = new Map();
const dmAvatarSnapshotCache = new Map();
@@ -164,6 +169,7 @@ function compareChatRows(a, b) {
}
export function render({ navigate, chrome }) {
const login = String(state.session.login || '').trim();
const screen = document.createElement('section');
screen.className = 'stack dm-screen dm-list-screen';
const head = document.createElement('header');