Problem/Motivation

Reviews and comparisons of Project/Task/Time Management applications weigh heavily on how fast and easily new tasks can be entered.

This allows tasks to be easily entered while viewing the Kanban Board

Proposed resolution

All Project Boards should have "Add Task" links at the end of each column

Issue fork burndown-3612650

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

adarkling created an issue. See original summary.

adarkling’s picture

swirt’s picture

That is interesting. I had recently added a tab to the burndown boards that added an "add task" but it looks like that may have been lost in a recent regression. I'll look into what happened to it and get it restored.

swirt’s picture

Status: Active » Needs review
jeremylichtman’s picture

@swirt, I don't understand the new MR. What was the context around the controller code it is deleting? Isn't that required elsewhere?

swirt’s picture

The controller was used for the "Add a Task" button that appeared on the Backlog page only. It was made redundant by putting the "Add a Task" local task. I will make another sweep through the module and see if it is used any place else that I might have missed. I thought that was the only place, but it was late and I am doubting myself now. Better safe than sorry.

swirt’s picture

The only other place I found an "Add Task" button is on the /burndown/task route, which is an uncommon route because you can't get to it from anywhere unless you know it exists #3605487: Burndown menu needs all lists represented

The button on this functions, meaning it takes you to the right spot, but it fails due to an error of not having access to the getEstimate() I suspect because it does not know the estimate type to get, because it is not affiliated with a project so it can't tell what estimate framework it should be using.

#0 [internal function]: Drupal\burndown\Form\TaskForm->buildForm(Array, Object(Drupal\Core\Form\FormState))
#1 /var/www/drupal/web/core/lib/Drupal/Core/Form/FormBuilder.php(559): call_user_func_array(Array, Array)
#2 /var/www/drupal/web/core/lib/Drupal/Core/Form/FormBuilder.php(299): Drupal\Core\Form\FormBuilder->retrieveForm('burndown_task_t...', Object(Drupal\Core\Form\FormState))
#3 /var/www/drupal/web/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\burndown\Form\TaskForm), Object(Drupal\Core\Form\FormState))

My suggestion is that we remove this "Add Task" button from the /burndown/task route because it creates too many assumptive risks and task management chaos related to ending up with a task that is not fully connected to a project. Either that or we make the task/add form more defensive. This suggestion really ought to be its own ticket #3612808: Add Task generic has error

swirt’s picture

Status: Needs review » Fixed

This has been merged. I will cut a new release this evening after I complete a few more issues.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

swirt’s picture