Change default project/issue/activity if no task is available
Currently we have these six contexts: MainProject, MainIssue, MainActivity... Project, Issue and Activity. Main* contexts allow setting default project, issue and activity. And Project, Issue and Activity contexts allow setting project, issue and activity for a task.Task context work the following way:
- If there is a current task - set project, issue or activity for this task
- If there is no current task but last task was finished less than 30 minutes ago - set project, issue or activity for last task
- If no current task and last task is too old - set default project, issue or activity...
Of course, in this case and in case of setting project, issue or activity for a last task a warning should be written, e.g.:
Orangutan: No current task so setting it for last task... Orangutan: No current task so setting default ...
Maybe also merge MainProject and Project contexts into a single one, MainIssue and Issue into a single one etc...