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 /configamajig/src/lib.rs | |
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 'configamajig/src/lib.rs')
-rw-r--r-- | configamajig/src/lib.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configamajig/src/lib.rs b/configamajig/src/lib.rs index 6585be6..b67d4f2 100644 --- a/configamajig/src/lib.rs +++ b/configamajig/src/lib.rs @@ -88,8 +88,10 @@ pub fn set_repo_config(repo_config: RepoConfig) -> Result<()> { /// User Config struct #[derive(Serialize, Deserialize, Debug)] pub struct UserConfig { - name: String, - uuid: Uuid, + /// The name of the user using dev-suite + pub name: String, + /// The uuid of the user using dev-suite + pub uuid: Uuid, } impl UserConfig { |