feat: add close task popup link #880

Merged
konrad merged 2 commits from feature/add-close-task-popup-button into main 2021-10-21 20:00:46 +00:00
Owner

This PR adds a "Close this popup" button to the task detail view, above the "Done" button:

image

Resolves #737

This PR adds a "Close this popup" button to the task detail view, above the "Done" button: ![image](/attachments/e102c9c5-d623-4291-af28-b57a53227d9b) Resolves #737
5.9 KiB
konrad added 1 commit 2021-10-19 20:25:17 +00:00
continuous-integration/drone/pr Build is passing Details
992cec40e4
feat: add close task popup link
resolves #737
Member

I like the that this adds a label to the button.
Other than that can't we use just change this line to:

color: $black;

Then the same close button would be used for desktop and mobile. We could (and should) still add a label.

I like the that this adds a label to the button. Other than that can't we use just change [this line](https://kolaente.dev/vikunja/frontend/src/branch/main/src/views/tasks/TaskDetailViewModal.vue#L60) to: ```scss color: $black; ``` Then the same close button would be used for desktop and mobile. We could (and should) still add a label.
Author
Owner

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.

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.
Member

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.

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.
Author
Owner

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.

I never really understood why the task is opened as popup sometimes and sometimes not.

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.

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. > I never really understood why the task is opened as popup sometimes and sometimes not. 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.
Member

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 :)

> 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 :)
konrad added 1 commit 2021-10-21 18:48:54 +00:00
continuous-integration/drone/pr Build is passing Details
2dc94bc565
feat: show task popup close icon on mobile
Author
Owner

Now also showing the close icon on mobile, as you proposed.

Now also showing the close icon on mobile, as you proposed.
konrad merged commit 523e08e5fe into main 2021-10-21 20:00:46 +00:00
konrad deleted branch feature/add-close-task-popup-button 2021-10-21 20:00:46 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.