due dates, groups, templates, and git#9
Open
Owen-Isenhart wants to merge 5 commits into
Open
Conversation
…n't tested git syncing
Owner
|
Wow, you did quite some work there ! Thanks a lot for your contribution :) I'm gonna need a few days (hopefully not weeks) to review everything and test it I'll keep you in touch but from my first quick glance you took the time to respect my file formatting and even properly added entries for the help so I'm very thankfull for the time you spent on that |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
what's up, saw this repository in a reddit thread when i was looking for a cli todo app and thought it was cool but wanted some additional functionality for certain things.
First, there's an error that occurs when editing a task through the edit wizard and trying to add a description. it assigns the task to an unidentified id. this wasn't a huge deal because you can just not use the edit wizard, but i fixed it anyways.
New features:
I've added the ability to add due dates that show up different colors depending on how close the date is, and you can sort by them.
I've added groups, so if you want to tag something as work, school, or whatever else, you can, and you can also sort by it. when adding a group to a task, you first have to add the group as a known group and assign it a color.
I've added templates, which allow you to automatically add subtasks to tasks when creating them. so say for example you're often working on projects, you can create a project template with the subtasks "design, code, test" and if you apply that template it will attach those subtasks.
Lastly, i've added git functionality, so you can synchronize your tasks across devices. you have to initialize it, and then it will automatically commit and push your changes to remote.
I've tested a decent amount but not much to be honest, so some additional review/testing would be good.
edit: pretty sure i also made it so that the storage/tasks file gets initialized in ~/.cli-manager/tasks.json if one doesn't exist in the local directory because I didn't like having to go to a specific directory just to make and look at tasks, so if you use the global path it lets you do it from anywhere