feat: add close task popup link #880
No reviewers
Labels
No Label
area/internal-code
changes requested
confirmed
dependencies
duplicate
good first issue
help wanted
hosting
invalid
kind/bug
kind/feature
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/frontend#880
Loading…
Reference in New Issue
No description provided.
Delete Branch "feature/add-close-task-popup-button"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR adds a "Close this popup" button to the task detail view, above the "Done" button:
Resolves #737
I like the that this adds a label to the button.
Other than that can't we use just change this line to:
Then the same close button would be used for desktop and mobile. We could (and should) still add a label.
This a new button, not the same as the close icon that already exists. I think we should keep both but can't really make the close icon of the popup visible on mobile simply because the popup takes up all available space there. There simply isn't any space to show the close icon on mobile.
Ahhh can it be that is just about when the task is opened in detail view not as a popup?
Because the change I proposed does work on mobile. But just where the task is opened as a popup. I never really understood why the task is opened as popup sometimes and sometimes not.
No, this is actually only about when the task is opened as a popup. I didn't really think about mobile here tbh, only wanted to address the issue mentioned in the pr. Extending it to mobile so that you can see the close icon makes sense I think.
The popup was added later on when I first introduced Kanban. It didn't feel "right" to open a task from kanban in plain detail view.
Yes that makes sense :)
Now also showing the close icon on mobile, as you proposed.