Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
Add --author and --authored flags to "rad issue (list)"
Open did:key:z6MkrxqT...yQRh opened 1 month ago

This patch adds filtering functionality for the author of an issue when listing issues.

In large repositories like heartwood, rad issue list lists more than one screen size of issues. For boiling down this list (for example to find issue IDs of issues oneself has authored), this patch introduces the –authored and –author arguments that are already known from rad patch list.

This makes the interface of that subcommand symmetric to rad patch list, which is desireable from a UX standpoint as well.

did:key:z6MkrxqT...yQRh opened with revision 0a3e3485 on base e9245b63 +45 -0 1 month ago

This patch adds filtering functionality for the author of an issue when listing issues.

In large repositories like heartwood, rad issue list lists more than one screen size of issues. For boiling down this list (for example to find issue IDs of issues oneself has authored), this patch introduces the –authored and –author arguments that are already known from rad patch list.

This makes the interface of that subcommand symmetric to rad patch list, which is desireable from a UX standpoint as well.

fintohaps pushed revision 2 db46f830 on base e9245b63 +56 -9 1 month ago

REVIEW: share AuthorArgs

Shares the newly introduced fields in an AuthorArgs struct, and uses flatten to get back the original arg behaviour.

Move the resolution logic of the BTreeSet<Did> into AuthorArgs::authors, and surface through ListArgs::authors. This requires some reorganisation to satisfy the borrow checker.

fintohaps commented on revision 1 1 month ago

I’ve added a revision with a REVIEW commit (see revision db46f83)

This would be my preferred way of wiring this up, but open for discussion.

I would also like some tests added in radicle-cli/examples – either to the existing rad issue example(s) or a new one.

Please add a CHANGELOG entry as well.