From 48b7a061c13d763f23f29e3002ef6155df90c043 Mon Sep 17 00:00:00 2001 From: Denozordec Date: Mon, 28 Sep 2026 17:02:16 +0700 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=D0=BE=D0=B1=D0=BE=D0=B7=D0=BD=D0=B0?= =?UTF-8?q?=D1=87=D0=B8=D1=82=D1=8C=20=D0=B2=D1=8B=D0=B1=D1=80=D0=B0=D0=BD?= =?UTF-8?q?=D0=BD=D1=8B=D0=B5=20=D1=81=D0=BE=D1=81=D1=82=D0=BE=D1=8F=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=B8=20=D0=BF=D0=BE=D0=B8=D1=81=D0=BA=20=D1=82?= =?UTF-8?q?=D1=80=D0=B0=D1=84=D0=B8=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/(main)/traffic/page.tsx | 21 +++++++++++++-------- components/traffic/flow-analytics-panel.tsx | 1 + docs/ux-ui-plan.md | 2 +- docs/ux-ui-progress.md | 9 ++++++++- docs/ux-ui-stage-8.md | 2 ++ tests/e2e/traffic-flow.spec.ts | 19 +++++++++++++++++++ 6 files changed, 44 insertions(+), 10 deletions(-) diff --git a/app/(main)/traffic/page.tsx b/app/(main)/traffic/page.tsx index e42b0edc..b9663a0b 100644 --- a/app/(main)/traffic/page.tsx +++ b/app/(main)/traffic/page.tsx @@ -338,7 +338,7 @@ function StatChip({ icon, label, value }: { icon: ReactNode; label: string; valu function ServerCard({ s, selected, onClick }: { s: ServerTraffic; selected: boolean; onClick: () => void }) { return ( - @@ -1178,7 +1178,7 @@ export default function TrafficPage() {
{GROUP_MODES.map(({ mode, icon, label }) => ( -
@@ -1341,7 +1343,7 @@ export default function TrafficPage() { type="text" value={search} onChange={e => setSearch(e.target.value)} - placeholder="Поиск…" + aria-label="Поиск трафика" placeholder="Поиск…" className="w-full pl-8 pr-3 h-8 text-xs bg-muted/50 border border-border rounded-md outline-none focus:border-primary transition-colors" />
@@ -1350,7 +1352,7 @@ export default function TrafficPage() {
Сортировка: {visibleSortFields.map(({ field, label }) => ( -