[FR] - Possibility to create tasks also in Table-View instead only in List #2171

Open
opened 3 months ago by PewQuadrat · 7 comments

Hello,

it would be nice if we could also create Tasks from the Table view. In all other list types there is a least a button.

Greetings

Hello, it would be nice if we could also create Tasks from the Table view. In all other list types there is a least a button. Greetings
konrad added the
kind/feature
label 3 months ago

Exactly what I need as well! If I find some spare time, I'll submit a PR for this ...

Exactly what I need as well! If I find some spare time, I'll submit a PR for this ...
Collaborator

We should probably unify this.
So that we implement this button only once and not for every view individually.

We should probably unify this. So that we implement this button only once and not for every view individually.
Owner

I'd like to have a button to trigger the task wizard from the table view, once that's implemented.

I'd like to have a button to trigger the task wizard from the table view, once that's implemented.
Collaborator

I'm still a bit confused between the difference of the task wizard and the quick actions. Shouldn't that be basically the same? So when you can't find any action, select the action to create a new task and then you are in the task wizard.

I see this as similar to in VSCode where (on mac)

  • cmd P triggers 'Go to File' and
    image
  • cmd shift P triggers 'Show all Commands'
    image

Both of them are in the same command menu with the only difference that the latter has > prefixed. When you use the 'Got to File' and write > then you are in the 'Show all Commands' selector. When you delete the > with backspace you end up back in the 'Go to File' selection.

Going back to Vikunjas quick-actions I think we should integrate the task wizard in a similar way: The 'New Task' action there should be the task wizard and not a separate component.

image

So in order to get there we would need to:

  • Create a task wizard integrated in the quick-actions.
  • Create shortcuts that link to the quick-actions with the 'New Task' action preselected.

For the create Task shortcuts I think floating buttons with always the same position could be good. Especially on mobile.

Really cool would be if we could use the speed dial behavior:
Hovering the floating button reveals more actions like new namespace or new list.
But clicking there directly always has 'New Task' as action that opens the quick-actions with the 'New Task' action / task wizard selected. This is a screenshot of a video on that material design page:

image

So in our case it would be in direction from bottom to top something like:

  • New Task (default)
  • New List
  • New Label
  • New Filter
  • New Namespace
I'm still a bit confused between the difference of the task wizard and the quick actions. Shouldn't that be basically the same? So when you can't find any action, select the action to create a new task and then you are in the task wizard. I see this as similar to in VSCode where (on mac) - `cmd` `P` triggers 'Go to File' and ![image](/attachments/80d5042b-c847-4881-9517-6db9ac7a9b70) - `cmd` `shift` `P` triggers 'Show all Commands' ![image](/attachments/fa5510f7-bd33-48ce-b154-267b5bec3731) Both of them are in the same command menu with the only difference that the latter has `>` prefixed. When you use the 'Got to File' and write `>` then you are in the 'Show all Commands' selector. When you delete the `>` with backspace you end up back in the 'Go to File' selection. Going back to Vikunjas quick-actions I think we should integrate the task wizard in a similar way: The 'New Task' action there **should be** the task wizard and not a separate component. ![image](/attachments/92cd3e5d-c1a5-45ad-9234-ef32cf116cf7) So in order to get there we would need to: - Create a task wizard integrated in the quick-actions. - Create shortcuts that link to the quick-actions with the 'New Task' action preselected. -------- For the create Task shortcuts I think [floating buttons](https://material.io/components/buttons-floating-action-button) with always the same position could be good. Especially on mobile. Really cool would be if we could use the speed dial behavior: Hovering the floating button reveals more actions like new namespace or new list. But clicking there directly always has 'New Task' as action that opens the quick-actions with the 'New Task' action / task wizard selected. This is a screenshot of a video on that material design page: ![image](/attachments/04ca8b69-e5cc-4b75-ba4f-c90c453eec18) So in our case it would be in direction from bottom to top something like: - New Task (default) - New List - New Label - New Filter - New Namespace
Owner

So when you can't find any action, select the action to create a new task and then you are in the task wizard.

Going back to Vikunjas quick-actions I think we should integrate the task wizard in a similar way: The 'New Task' action there should be the task wizard and not a separate component.

Yes, but the task wizard can be triggered from other places as well. And it has more options to add task attributes, the create task action only allows quick add magic to add task attributes.
Implementation-wise I think it makes sense to implement the task wizard as a seperate vue component because it is rather complex.

Once the task wizard is implemented it would replace the "new task" action from quick actions.

For the create Task shortcuts I think floating buttons with always the same position could be good. Especially on mobile.

That sounds like a really neat idea.

> So when you can't find any action, select the action to create a new task and then you are in the task wizard. > Going back to Vikunjas quick-actions I think we should integrate the task wizard in a similar way: The 'New Task' action there should be the task wizard and not a separate component. Yes, but the task wizard can be triggered from other places as well. And it has more options to add task attributes, the create task action only allows quick add magic to add task attributes. Implementation-wise I think it makes sense to implement the task wizard as a seperate vue component because it is rather complex. Once the task wizard is implemented it would replace the "new task" action from quick actions. > For the create Task shortcuts I think floating buttons with always the same position could be good. Especially on mobile. That sounds like a really neat idea.
Collaborator

Yes, but the task wizard can be triggered from other places as well.

That's where I took inspiration from the VSCode menu. The 'Show all Commands' (our task wizard) can be opened directly. But you still can go 'back' to the 'Go to File'.

And it has more options to add task attributes, [...]

The other options would be separate components, no? Like the partials in TaskDetailView. So the logic would be abstracted in those. They would only need the current task.

Once the task wizard is implemented it would replace the "new task" action from quick actions.

Sounds like a good idea! :)

> Yes, but the task wizard can be triggered from other places as well. That's where I took inspiration from the VSCode menu. The 'Show all Commands' (our task wizard) can be opened directly. But you still can go 'back' to the 'Go to File'. > And it has more options to add task attributes, [...] The other options would be separate components, no? Like the partials in TaskDetailView. So the logic would be abstracted in those. They would only need the current task. > Once the task wizard is implemented it would replace the "new task" action from quick actions. Sounds like a good idea! :)
Collaborator
See also: https://my.vikunja.cloud/tasks/15230
Sign in to join this conversation.
No Milestone
No Assignees
4 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/frontend#2171
Loading…
There is no content yet.