From 42cf825de135e9ff9f23a531803bd0492184e12b Mon Sep 17 00:00:00 2001 From: poignatov Date: Wed, 4 Feb 2026 21:32:23 +0300 Subject: [PATCH] =?UTF-8?q?4.20.0:=20Sticky=20=D0=B7=D0=B0=D0=B3=D0=BE?= =?UTF-8?q?=D0=BB=D0=BE=D0=B2=D0=BA=D0=B8=20=D0=BF=D1=80=D0=BE=D0=B5=D0=BA?= =?UTF-8?q?=D1=82=D0=BE=D0=B2?= 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/TaskList.css | 5 +++++ play-life-web/src/components/TaskList.jsx | 6 +++++- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index a69aa5a..bafdf70 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.19.0 +4.20.0 diff --git a/play-life-web/package.json b/play-life-web/package.json index 7382c10..cdf2a75 100644 --- a/play-life-web/package.json +++ b/play-life-web/package.json @@ -1,6 +1,6 @@ { "name": "play-life-web", - "version": "4.19.0", + "version": "4.20.0", "type": "module", "scripts": { "dev": "vite", diff --git a/play-life-web/src/components/TaskList.css b/play-life-web/src/components/TaskList.css index 2080e88..1fc74dd 100644 --- a/play-life-web/src/components/TaskList.css +++ b/play-life-web/src/components/TaskList.css @@ -670,10 +670,15 @@ } .project-group-header { + position: sticky; + top: 0; + z-index: 10; + background: #f3f4f6; margin-bottom: 1rem; display: flex; align-items: center; justify-content: space-between; + min-height: 2.5rem; } .project-group-header-clickable { diff --git a/play-life-web/src/components/TaskList.jsx b/play-life-web/src/components/TaskList.jsx index 5892ae3..e57bfb9 100644 --- a/play-life-web/src/components/TaskList.jsx +++ b/play-life-web/src/components/TaskList.jsx @@ -942,7 +942,7 @@ function TaskList({ onNavigate, data, loading, backgroundLoading, error, onRetry title={hasCompleted ? (isCompletedExpanded ? 'Скрыть выполненные' : 'Показать выполненные') : undefined} >

{projectName}

- {hasCompleted && ( + {hasCompleted ? ( + ) : ( +
+ +
)}