Commit graph

18 commits

Author SHA1 Message Date
9933b139d9 make ent list sort issues first by state, then by ctime 2025-07-08 16:09:45 -06:00
a08b514c34 add author and timestamp to Issue 2025-07-08 14:46:41 -06:00
fcadf840dc add author to Comment 2025-07-08 14:46:35 -06:00
1fa3aae2c0 give Comment a timestamp, display in chronological order
This commit makes a couple of changes:

- `ent show ISSUE` now displays the Issue's Comments in chronological
  order

- the Comment struct now includes a timestamp, which is the Author Time
  of the oldest commit that touches the comment's directory

- the Issue struct now stores its Comments in a sorted Vec, not in
  a HashMap

- The Comment's uuid moved into the Comment struct itself, instead of
  being the key in the Issue's HashMap of Comments
2025-07-08 12:29:24 -06:00
ccabfa4ec8 remove an old debug log message from Issue::new_comment() 2025-07-08 10:50:37 -06:00
50509dcf59 basic comment support in lib 2025-07-07 21:16:08 -06:00
seb
bd41704906 Merge pull request 'Add User Control Over State Transitions' (#7) from 03/state-transitions into main
Reviewed-on: #7
2025-07-07 18:13:06 -06:00
a6d2f7d1e8 issue.rs: add fmt::Display for State 2025-07-07 13:29:09 -06:00
ed1b4488b2 issue.rs: add state getter/setter 2025-07-07 13:29:01 -06:00
172055c480 always render issue UUIDs as 128 bit hex numbers 2025-07-07 12:53:05 -06:00
seb
343e43a762 Merge pull request 'Use Logging Crate To Avoid STDOUT Spam' (#5) from 03/logging into main
Reviewed-on: #5
2025-07-07 12:45:33 -06:00
1e5d328ab4 add logging crate to reduce unnecessary stdout spam 2025-07-07 12:31:09 -06:00
09373cda56 add ent new 2025-07-06 00:22:30 -06:00
5e482edb5c rename ReadIssueError to just IssueError
Error handling is pretty broken in this project :-(
2025-07-06 00:22:30 -06:00
1f4456fcaf teach Issue to know what dir it lives in
The Issue struct is a cache of files on disk.  There is never an Issue
without a directory to live in.

This commit adds a field to Issue to track what that directory is, so
that we can update those filew when we change the Issue, and commit the
changes to git.
2025-07-06 00:22:30 -06:00
559e70077e "title" is just the first line of "description" now 2025-07-05 22:40:28 -06:00
d94c991eaa add dependency tracking to issue type 2025-07-05 21:19:18 -06:00
b9979f5e9e start adding Issue struct
This abstracts a single issue.
2025-07-05 21:18:25 -06:00