From ae262487ac4ce0b6bb0ecf74bf60fbce82424036 Mon Sep 17 00:00:00 2001 From: DCCONSTRUCTIONS Date: Fri, 1 May 2026 12:39:22 +0300 Subject: [PATCH] =?UTF-8?q?UI=20-=20=D0=9C=D0=95=D0=96=D0=9F=D0=A0=D0=9E?= =?UTF-8?q?=D0=95=D0=9A=D0=A2=D0=9D=D0=90=D0=AF=20=D0=9A=D0=9E=D0=9C=D0=9C?= =?UTF-8?q?=D0=A3=D0=9D=D0=98=D0=9A=D0=90=D0=A6=D0=98=D0=AF:=20=D0=BA?= =?UTF-8?q?=D0=BE=D1=80=D1=80=D0=B5=D0=BA=D1=82=D0=B8=D1=80=D0=BE=D0=B2?= =?UTF-8?q?=D0=BA=D0=B0=20=D0=B0=D0=BD=D0=B0=D0=BB=D0=B8=D1=82=D0=B8=D0=BA?= =?UTF-8?q?=D0=B8=20=D0=B3=D0=BB=D0=B0=D0=B2=D0=BD=D0=BE=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../work-items/created-vs-resolved.tsx | 1 - .../analytics/work-items/priority-chart.tsx | 6 ++-- .../components/home/home-project-insights.tsx | 4 +-- plane-src/apps/web/styles/globals.css | 29 +++++++++++++++++-- 4 files changed, 32 insertions(+), 8 deletions(-) diff --git a/plane-src/apps/web/core/components/analytics/work-items/created-vs-resolved.tsx b/plane-src/apps/web/core/components/analytics/work-items/created-vs-resolved.tsx index e43c640..b9439d3 100644 --- a/plane-src/apps/web/core/components/analytics/work-items/created-vs-resolved.tsx +++ b/plane-src/apps/web/core/components/analytics/work-items/created-vs-resolved.tsx @@ -106,7 +106,6 @@ const CreatedVsResolved = observer(function CreatedVsResolved() { areas={areas} xAxis={{ key: "name", - label: t("date"), }} yAxis={{ key: "count", diff --git a/plane-src/apps/web/core/components/analytics/work-items/priority-chart.tsx b/plane-src/apps/web/core/components/analytics/work-items/priority-chart.tsx index b04cf3f..2a94e08 100644 --- a/plane-src/apps/web/core/components/analytics/work-items/priority-chart.tsx +++ b/plane-src/apps/web/core/components/analytics/work-items/priority-chart.tsx @@ -210,15 +210,15 @@ const PriorityChart = observer(function PriorityChart(props: Props) { bars={bars} barSize={chart_model === EChartModels.STACKED ? 72 : 86} margin={{ - top: 12, + top: isPeekView ? 32 : 12, right: 16, - bottom: 34, + bottom: isPeekView ? 28 : 34, left: 8, }} xAxis={{ key: "name", label: xAxisLabel, - dy: 30, + dy: isPeekView ? 24 : 30, }} yAxis={{ key: "count", diff --git a/plane-src/apps/web/core/components/home/home-project-insights.tsx b/plane-src/apps/web/core/components/home/home-project-insights.tsx index aa76697..6cb4c3b 100644 --- a/plane-src/apps/web/core/components/home/home-project-insights.tsx +++ b/plane-src/apps/web/core/components/home/home-project-insights.tsx @@ -447,7 +447,7 @@ function HomeActivityMiniCard(props: HomeProjectInsightsProps) {
Активность
Касания за последние 7 дней.
-
{recentTouchpoints}
+
{recentTouchpoints}
@@ -525,7 +525,7 @@ export const HomeAnalyticsRail = observer(function HomeAnalyticsRail(props: Home
Аналитика проекта
-
{completionRate}%
+
{completionRate}%
diff --git a/plane-src/apps/web/styles/globals.css b/plane-src/apps/web/styles/globals.css index e13ffcb..636fc52 100644 --- a/plane-src/apps/web/styles/globals.css +++ b/plane-src/apps/web/styles/globals.css @@ -2974,7 +2974,7 @@ .nodedc-home-main-column { --nodedc-home-gantt-height: 35.75rem; - --nodedc-home-individual-chart-height: 11.25rem; + --nodedc-home-individual-chart-height: 14.25rem; display: flex; min-width: 0; min-height: 0; @@ -3163,10 +3163,16 @@ background: rgba(0, 0, 0, 0.18) !important; } + .nodedc-home-individual-analytics .nodedc-analytics-chart-viewport { + display: flex; + align-items: flex-end; + padding: 0.9rem 0.45rem 0.2rem; + } + .nodedc-home-individual-analytics .nodedc-analytics-chart-inner { width: 100% !important; min-width: 22rem; - height: calc(var(--nodedc-home-individual-chart-height) - 0.75rem) !important; + height: calc(var(--nodedc-home-individual-chart-height) - 1.1rem) !important; } .nodedc-home-individual-analytics .nodedc-analytics-table-surface table { @@ -3198,15 +3204,22 @@ } .nodedc-home-analytics-intro { + position: relative; min-height: 10rem; } .nodedc-home-activity-mini { + position: relative; flex: 0 0 auto; min-height: 15rem; overflow: hidden; } + .nodedc-home-analytics-intro > .flex:first-child, + .nodedc-home-activity-mini > .flex:first-child { + padding-right: 2.75rem; + } + .nodedc-home-activity-mini-chart { position: relative; height: 10.5rem; @@ -4643,6 +4656,18 @@ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02) !important; } + .nodedc-home-corner-badge { + position: absolute; + top: 0.125rem; + right: 0.125rem; + width: 2.5rem; + min-width: 2.5rem; + height: 2.5rem; + min-height: 2.5rem; + padding: 0 !important; + border-radius: 999px; + } + .nodedc-home-focus-track { height: 0.62rem; overflow: hidden;