diff options
author | Michael Gattozzi <mgattozzi@gmail.com> | 2019-12-13 13:49:33 -0500 |
---|---|---|
committer | Michael Gattozzi <mgattozzi@gmail.com> | 2019-12-13 13:49:33 -0500 |
commit | b32b1478dec75cc8282036bae56097a1e29fb47f (patch) | |
tree | aac3dd036d940224b080c16c5acca3932fca6be6 /.dev-suite | |
parent | a06e021420e8c374d1e5f76fe69012bec9202e22 (diff) |
Add the ability to add comments to tickets
This commit encompasses quite a few changes to add tickets:
- The `Ticket` struct is updated to properly order comments using a uuid
v1 and to hold the user name, uuid, and their comment
- Tickets in the repo are updated to accomodate this change to the
ticket. Despite this being a breaking config change, none of these
tickets had any comments so it was an easy manual port and the
migration tool did not need to be updated.
- The TUI was updated to display the tickets a bit better with some
coloring and now also showing the comments with them
This gets us one step closer to a decent first release for ticket. The
only things that are really left to do are adding the ability to comment
in the tui, listing tickets on the cli, and adding in issue assignees on
both the cli and tui.
Diffstat (limited to '.dev-suite')
4 files changed, 8 insertions, 4 deletions
diff --git a/.dev-suite/ticket/closed/create-a-find_root-function.toml b/.dev-suite/ticket/closed/create-a-find_root-function.toml index 49a550c..50aa38f 100644 --- a/.dev-suite/ticket/closed/create-a-find_root-function.toml +++ b/.dev-suite/ticket/closed/create-a-find_root-function.toml @@ -11,5 +11,6 @@ a more generalized function and be shared amongst future tools as this will be a common operation. It shouldn't matter where in a repo you are, the tools should just work. ''' -comments = [] version = 'V1' + +[comments] diff --git a/.dev-suite/ticket/closed/create-a-tui-for-ticket.toml b/.dev-suite/ticket/closed/create-a-tui-for-ticket.toml index 999e3c9..2064b8e 100644 --- a/.dev-suite/ticket/closed/create-a-tui-for-ticket.toml +++ b/.dev-suite/ticket/closed/create-a-tui-for-ticket.toml @@ -9,5 +9,6 @@ in terminal experience, almost as if they never left GitHub. A basic tui that allows one to read and comment on issues will suffice to close this ticket. ''' -comments = [] version = 'V1' + +[comments] diff --git a/.dev-suite/ticket/closed/create-git-hooks-tool.toml b/.dev-suite/ticket/closed/create-git-hooks-tool.toml index 4b929d9..53bdefc 100644 --- a/.dev-suite/ticket/closed/create-git-hooks-tool.toml +++ b/.dev-suite/ticket/closed/create-git-hooks-tool.toml @@ -10,5 +10,6 @@ repo is a good thing to standardizing checks across a team to avoid issues that just get caught in CI way later when it would be trivial to catch with a script. ''' -comments = [] version = 'V1' + +[comments] diff --git a/.dev-suite/ticket/open/add-ability-to-edit-tickets.toml b/.dev-suite/ticket/open/add-ability-to-edit-tickets.toml index d668b68..4be73bc 100644 --- a/.dev-suite/ticket/open/add-ability-to-edit-tickets.toml +++ b/.dev-suite/ticket/open/add-ability-to-edit-tickets.toml @@ -8,5 +8,6 @@ inside of the git repo itself. While it works it's hardly ideal. The ability to edit tickets by specifiying the id with an accompanying cli arg to go with it would be enough to close this. ''' -comments = [] version = 'V1' + +[comments] |