From 37e1c1e9e8247fc6a6d0c8c16055a533b6627c85 Mon Sep 17 00:00:00 2001 From: "d.a.kolesov" Date: Wed, 1 Apr 2026 14:06:17 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D1=80=D0=B0=D0=B1?= =?UTF-8?q?=D0=BE=D1=82=D0=B0=D1=82=D1=8C=20thread-view:=20liquid=20glass?= =?UTF-8?q?=20=D0=BF=D0=B0=D0=BD=D0=B5=D0=BB=D1=8C=20+=20=D1=84=D0=BE?= =?UTF-8?q?=D1=80=D0=BC=D0=B0=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B4=D0=B0=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Раскрытый тред — единая glass-панель с accent-градиентом и призматической верхней гранью - Убрать хак с вертикальной линией, дочерние письма — ряды внутри панели без двойных рамок - Форматирование дат: сегодня HH:mm, вчера "Вчера HH:mm", эта неделя "Среда 14:30", старше — yyyy-MM-dd HH:mm Co-Authored-By: Claude Sonnet 4.6 --- .../src/components/messages/MessageList.vue | 82 +++++++++++++------ src/renderer/src/utils/date.ts | 15 ++-- 2 files changed, 69 insertions(+), 28 deletions(-) diff --git a/src/renderer/src/components/messages/MessageList.vue b/src/renderer/src/components/messages/MessageList.vue index 7c8af4c..e9c8cf9 100644 --- a/src/renderer/src/components/messages/MessageList.vue +++ b/src/renderer/src/components/messages/MessageList.vue @@ -294,7 +294,7 @@ async function handleSwipeAction(action: SwipeAction, messageId: string): Promis @swipe-action="(action) => handleSwipeAction(action, thread.messages[0].id)" /> - +
= weekStart) { + // Первая буква заглавная: "Понедельник 14:30" + const str = format(date, 'EEEE HH:mm', { locale: ru }) + return str.charAt(0).toUpperCase() + str.slice(1) } - return format(date, 'MMM d, yyyy') + return format(date, 'yyyy-MM-dd HH:mm') } export function formatFullDate(dateStr: string): string {