From 4284673bf730a68b9a6d759ed212326039e0a15d Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 16 Dec 2025 23:06:47 +0100 Subject: [PATCH] feat(tasks): scroll to bottom in task detail view when comments are available (#1995) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added a scroll-to-bottom button in task detail view that appears when content is scrollable and hides when users reach the bottom. The button provides quick navigation to view all content. 🐰 A button appears when scrolls grow tall, Through DOM observers, we heed the call, With smooth scroll dances to content's end, The rabbit's gift—no need to scroll and rend! ✨ --- .gitignore | 2 +- frontend/src/i18n/lang/en.json | 1 + frontend/src/views/tasks/TaskDetailView.vue | 136 +++++++++++++++++- frontend/tests/e2e/task/task.spec.ts | 148 ++++++++++++++++++++ 4 files changed, 285 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9a254331b..57964fbce 100644 --- a/.gitignore +++ b/.gitignore @@ -46,4 +46,4 @@ devenv.local.nix /.claude/settings.local.json PLAN.md /.crush/ - +/.playwright-mcp diff --git a/frontend/src/i18n/lang/en.json b/frontend/src/i18n/lang/en.json index 56838379d..e917c3c9f 100644 --- a/frontend/src/i18n/lang/en.json +++ b/frontend/src/i18n/lang/en.json @@ -832,6 +832,7 @@ "back": "Back to project", "due": "Due {at}", "closePopup": "Close popup", + "scrollToBottom": "Scroll to bottom", "organization": "Organization", "management": "Management", "dateAndTime": "Date and time", diff --git a/frontend/src/views/tasks/TaskDetailView.vue b/frontend/src/views/tasks/TaskDetailView.vue index d6fa7b048..146288109 100644 --- a/frontend/src/views/tasks/TaskDetailView.vue +++ b/frontend/src/views/tasks/TaskDetailView.vue @@ -1,5 +1,6 @@