From 5af274cd0f4cfe108f824af3a9638de27a06eece Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=BB=D1=8C=D1=8F=D1=81=20=D0=A1=D1=83=D0=BB=D1=82?= =?UTF-8?q?=D0=B0=D0=BD=D0=BE=D0=B2?= Date: Wed, 9 Sep 2026 08:22:41 +0300 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=D0=B4=D0=B2=D0=BE=D0=B9=D0=BD=D0=BE?= =?UTF-8?q?=D0=B9=20Sidebar=20=D0=BD=D0=B0=20=D1=80=D0=B5=D0=B5=D1=81?= =?UTF-8?q?=D1=82=D1=80=D0=B5=20=D0=B7=D0=B0=D0=B4=D0=B0=D1=87=20=D0=B8=20?= =?UTF-8?q?=D0=BA=D0=B0=D1=80=D1=82=D0=BE=D1=87=D0=BA=D0=B5=20=D0=B7=D0=B0?= =?UTF-8?q?=D0=B4=D0=B0=D1=87=D0=B8=20=E2=80=94=20TaskView/TaskDetail=20?= =?UTF-8?q?=D1=80=D0=B5=D0=BD=D0=B4=D0=B5=D1=80=D0=B8=D0=BB=D0=B8=20=D1=81?= =?UTF-8?q?=D0=B2=D0=BE=D0=B9=20Sidebar=20=D0=BF=D0=BE=D0=B2=D0=B5=D1=80?= =?UTF-8?q?=D1=85=20AppShell?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/pages/TaskDetail.tsx | 6 +++--- client/src/pages/TaskView.tsx | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client/src/pages/TaskDetail.tsx b/client/src/pages/TaskDetail.tsx index d65fcaa..676a3c5 100644 --- a/client/src/pages/TaskDetail.tsx +++ b/client/src/pages/TaskDetail.tsx @@ -2,7 +2,6 @@ import { useState, useEffect, useRef, useMemo, useCallback } from 'react'; import { useParams, useLocation } from 'wouter'; import { useQuery, useMutation } from '@tanstack/react-query'; import Layout from '@/components/Layout'; -import { Sidebar } from '@/components/Sidebar'; import { Button } from '@/components/ui/button'; import { ArrowLeft } from 'lucide-react'; import { Link } from 'wouter'; @@ -696,7 +695,8 @@ const TaskDetail = () => { ); return ( - + // Хром (Sidebar) предоставляет AppShell — здесь только контент страницы + <>
{/* Offline cache banner */} {isUsingOfflineCache && cacheTimestamp && ( @@ -801,7 +801,7 @@ const TaskDetail = () => { /> {/* (debug overlay removed) */} - + ); }; diff --git a/client/src/pages/TaskView.tsx b/client/src/pages/TaskView.tsx index b416cd0..9e9467e 100644 --- a/client/src/pages/TaskView.tsx +++ b/client/src/pages/TaskView.tsx @@ -5,7 +5,6 @@ import { apiRequest, queryClient } from '@/lib/queryClient'; import { useToast } from '@/hooks/use-toast'; import { useEvents } from '@/hooks/useEvents'; import Layout from '@/components/Layout'; -import { Sidebar } from '@/components/Sidebar'; import { Button } from '@/components/ui/button'; import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs'; import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from '@/components/ui/dialog'; @@ -402,7 +401,8 @@ const TaskView = () => { } return ( - + // Хром (Sidebar) предоставляет AppShell — здесь только контент страницы + <>
{/* Компактная шапка */}
@@ -589,7 +589,7 @@ const TaskView = () => {
- + ); };