First, thanks for all the hard work, I really like the project. Keep up the good work. 馃帀 馃
_Your issue may already be reported! Please search the issues before creating one._
--> Searched for [break timer; idle timer; task not assign to a project], could not find an existing issue.
When idle time is detected, and you create a new task in the provided screen by clicking the break + task button. A new task is created assigned to the current project.
When idle time is detected, and you create a new task in the provided screen by clicking the break + task button. A new task is created assigned to __NO__ project at all.
When constructing a task, and no project is assigned an Exception should be thrown. As to my understanding there should never be a task which has not been assigned to a project.
In the JSON I copied and pasted from the export we can see a task has been created which was not assigned any project.
"iskariN-f": {
"id": "iskariN-f",
"projectId": null, <-- HERE NULL -->
"subTaskIds": [],
"timeSpentOnDay": {
"2020-04-04": 41591944
},
"timeSpent": 41591944,
"timeEstimate": 0,
"isDone": false,
"title": "TASK01",
"notes": "",
"tagIds": [],
"parentId": null,
"reminderId": null,
"created": 1585985444042,
"repeatCfgId": null,
"_showSubTasksMode": 2,
"attachments": [],
"issueId": null,
"issuePoints": null,
"issueType": null,
"issueAttachmentNr": null,
"issueLastUpdated": null,
"issueWasUpdated": null
}
}
No relevant console output was generated.
Thank you very much for reporting. I have thought about the problem before, but as there are so many things to do, I decided to deal with it later.
The intention in allowing tasks without a project, was to allow to quickly add tasks when you're on todays list or any other tag.
The first (technical minded) solution which came to my mind was to add a project called "Without Project" or "Unsorted" or something similar. This might not be ideal neither as it unnecessarily throws more stuff to digest at new users.
What do you think would be the ideal way to handle this?
Of course the problem could be solved taking multiple directions. I would think to implement something that would take a bare minimum of work.
The problem happens when we click the remove from today button.

The easiest way to fix this is to disable the remove from my day button when a task has no project assigned to it. That way the task can't be thrown into oblivion. It is a good solution, and requires a minimum of time/effort. It is a hard limitation though.
A second way to fix this is to enforce the user to select a project when the task is about to get removed from the today screen. This happens when we click the remove from today button.
When the user clicks the button, check if the task has a project assigned. If not, present the user with a list of project's to choose from. That way no tasks will get lost. The impact on the complexity of the project is light. Time needed to develop and support the new feature is small.
Anyway, I think u get the gist.
Thanks for your time, take care!
That makes a lot of sense! I will just remove the button for tasks without a project. Thank you very much!
The intention in allowing tasks without a project, was to allow to quickly add tasks when you're on todays list or any other tag.
Actually in this case I also miss the project (pre)selection. If I'm in a normal workday, nearly everything I do is for the same project. So when a new task pops up (support ticket, request of a colleague, whatever) I quickly click "+" to add the task and start with it. But it takes three more clicks to have it assigned to the project.
Two ideas from my side:
@<projectname> or #<projectname> when starting to type the task to assign it to that project. That way I can at least do it via keyboard :-) (and autocomplete should help as a shortcut)@aksdb I agree. Working more and more with the new tag feature I also miss that quite a bit. Both ideas make a lot of sense though the second one will be very tricky to implement, but I try to implement the first suggestion as soon as I can.
In the meantime I added a shortcut for opening the menu to reassign to a project. You can also select a project in the list. This way all new tasks will be created under that project.
It's now possible to specify a default project under misc settings. The change will be available in the next release. Thank you @generic-user and @aksdb for your input.
I will revisit the adjustments to the add task bar and the short syntax at later point of time (I also want to add the same for tags), so I am closing this issue. But please** let me know if you encounter any issues with the new functionality.
Most helpful comment
That makes a lot of sense! I will just remove the button for tasks without a project. Thank you very much!