From 22995b654d187e6e65bc585c95e6923a41fdec73 Mon Sep 17 00:00:00 2001 From: poignatov Date: Tue, 13 Jan 2026 17:07:20 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B8?= =?UTF-8?q?=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F?= =?UTF-8?q?=20=D0=BF=D1=80=D0=BE=D0=B5=D0=BA=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VERSION | 2 +- play-life-web/package.json | 2 +- play-life-web/src/components/CurrentWeek.jsx | 10 ---------- .../src/components/ProjectPriorityManager.jsx | 10 +++++----- 4 files changed, 7 insertions(+), 17 deletions(-) diff --git a/VERSION b/VERSION index c84ccce..ac957df 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.10.5 +3.10.6 diff --git a/play-life-web/package.json b/play-life-web/package.json index 2162936..ff663c7 100644 --- a/play-life-web/package.json +++ b/play-life-web/package.json @@ -1,6 +1,6 @@ { "name": "play-life-web", - "version": "3.10.5", + "version": "3.10.6", "type": "module", "scripts": { "dev": "vite", diff --git a/play-life-web/src/components/CurrentWeek.jsx b/play-life-web/src/components/CurrentWeek.jsx index db2411a..aabba32 100644 --- a/play-life-web/src/components/CurrentWeek.jsx +++ b/play-life-web/src/components/CurrentWeek.jsx @@ -36,16 +36,6 @@ function CurrentWeek({ onProjectClick, data, loading, error, onRetry, allProject })() const hasProgressData = overallProgress !== null - - // Логирование для отладки - console.log('CurrentWeek data:', { - data, - dataTotal: data?.total, - dataProgress: data?.progress, - dataPercentage: data?.percentage, - overallProgress, - hasProgressData - }) // Получаем отсортированный список всех проектов для синхронизации цветов const allProjects = getAllProjectsSorted(allProjectsData, projectsData || []) diff --git a/play-life-web/src/components/ProjectPriorityManager.jsx b/play-life-web/src/components/ProjectPriorityManager.jsx index 01c1f6f..f4f16d0 100644 --- a/play-life-web/src/components/ProjectPriorityManager.jsx +++ b/play-life-web/src/components/ProjectPriorityManager.jsx @@ -108,8 +108,8 @@ function AddProjectScreen({ onClose, onSuccess, onError }) { className="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-transparent" autoFocus /> - {error && ( -
{error}
+ {validationError && ( +
{validationError}
)} @@ -873,7 +873,7 @@ function ProjectPriorityManager({ allProjectsData, currentWeekData, shouldLoad, const activeProject = allItems.find(item => item.name === activeId) return ( -
+
{onNavigate && (