[PR #1738] [MERGED] fix(task): remove duplicate close button on mobile task detail #9487

Closed
opened 2026-04-23 09:01:24 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/1738
Author: @kolaente
Created: 10/31/2025
Status: Merged
Merged: 3/3/2026
Merged by: @kolaente

Base: mainHead: claude/fix-duplicate-close-button-mobile-011CUfbqZNZYoki8vXzWMGFS


📝 Commits (2)

  • 768b29e fix: remove duplicate close button on mobile task detail view
  • 9c13e67 fix(test): update mobile kanban test to use close button instead of back button

📊 Changes

2 files changed (+6 additions, -6 deletions)

View changed files

📝 frontend/src/views/tasks/TaskDetailView.vue (+2 -3)
📝 frontend/tests/e2e/task/task.spec.ts (+4 -3)

📄 Description

When viewing a task in modal mode on mobile, both a back button and a close button were displayed, causing confusion. The back button condition !isModal || isMobile meant it would show on mobile even in modal mode.

This fix changes the back button to only display when not in modal mode (!isModal), ensuring only the close button appears when viewing tasks in a modal on mobile devices.

Also removed the now-unused isMobile variable and its import.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-vikunja/vikunja/pull/1738 **Author:** [@kolaente](https://github.com/kolaente) **Created:** 10/31/2025 **Status:** ✅ Merged **Merged:** 3/3/2026 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `claude/fix-duplicate-close-button-mobile-011CUfbqZNZYoki8vXzWMGFS` --- ### 📝 Commits (2) - [`768b29e`](https://github.com/go-vikunja/vikunja/commit/768b29e83cc58f101cbf892901aa8b9b795f26b4) fix: remove duplicate close button on mobile task detail view - [`9c13e67`](https://github.com/go-vikunja/vikunja/commit/9c13e674d171a598f1ae81ed3c4f4d4923084896) fix(test): update mobile kanban test to use close button instead of back button ### 📊 Changes **2 files changed** (+6 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/views/tasks/TaskDetailView.vue` (+2 -3) 📝 `frontend/tests/e2e/task/task.spec.ts` (+4 -3) </details> ### 📄 Description When viewing a task in modal mode on mobile, both a back button and a close button were displayed, causing confusion. The back button condition `!isModal || isMobile` meant it would show on mobile even in modal mode. This fix changes the back button to only display when not in modal mode (`!isModal`), ensuring only the close button appears when viewing tasks in a modal on mobile devices. Also removed the now-unused `isMobile` variable and its import. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-23 09:01:24 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#9487