-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Subtasks #35
base: master
Are you sure you want to change the base?
fix: Subtasks #35
Conversation
…e including priority or links for each task. Still needs tests.
…ail how the subtask query logic works.
…stic to automate making it all consistant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
few small comments, thanks for opening, looks great
subtaskQuery = "subtask"; // default pull query of all subtasks, regardless of due date | ||
} else if (todaysSubtasks && !noDateSubtasks) { | ||
subtaskQuery = "subtask & due: today"; // limits to only subtasks with due date of today | ||
} else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think the nesting here gets a bit harder to follow. if you could flatten the if
s, that'd be nice
} | ||
)); | ||
new Setting(subtaskDiv) | ||
.setName('Limit Subtasks by due date assigned') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.setName('Limit Subtasks by due date assigned') | |
.setName('Only show subtasks that are due today') |
i think something along these lines is more clear
)); | ||
new Setting(this.containerEl) | ||
.setName('Link') | ||
.setDesc("Include Link to task in Todoist.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So the toggleServerTaskStatus
function currently requires the link in order to work. I don't think we want to have this option silently break task toggling. So let's remove until we find a way to handle linking the source task to server task without the URL?
This is to fix #34. Doing some additional final touches before ready for PR.