Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
cli: Make `rad patch show` prettier
Merged lorenz opened 8 months ago

The output of this command is confusing. It is not clear which of the hashes printed is that of the revision and which one is the respective head commit.

Further, the hash is omitted on the initial revision, adding confusion.

Further, the terminology of “revised” vs. “updated” is confusing.

This rewrites timeline.rs to drop the distinction between various revisions (in wording, the small icon is still different) and cleans up the output.

Attention is paid to alignment of the output. Now all verbs of updates (“accepted”, “rejected”, “reviewed”, “merged”) are aligned, and authors (“… by …”) are also aligned.

The rewrite itself is not for better code quality or readability. Note that all the code in this file only accessed via one fn by one callsite in the implementation of rad patch.

lorenz opened with revision 55b35811 on base 7d2f0e38 +655 -739 8 months ago

The output of this command is confusing. It is not clear which of the hashes printed is that of the revision and which one is the respective head commit.

Further, the hash is omitted on the initial revision, adding confusion.

Further, the terminology of “revised” vs. “updated” is confusing.

This rewrites timeline.rs to drop the distinction between various revisions (in wording, the small icon is still different) and cleans up the output.

Attention is paid to alignment of the output. Now all verbs of updates (“accepted”, “rejected”, “reviewed”, “merged”) are aligned, and authors (“… by …”) are also aligned.

The rewrite itself is not for better code quality or readability. Note that all the code in this file only accessed via one fn by one callsite in the implementation of rad patch.

levitte accepted 8 months ago

I really like the new output

lorenz pushed revision 2 04002850 on base 14fcf506 +549 -617 7 months ago

Rebase, improve based on Erik’s review (but not exactly what was discussed, I opted for @ as a shorter separator).

fintohaps pushed revision 3 f3af1ea6 on base 14fcf506 +550 -617 7 months ago

REVIEW

fintohaps pushed revision 4 f3ff734c on base 14fcf506 +550 -617 7 months ago

Changes:

  • Dropped box alignment
  • Squashed doc fix
fintohaps pushed revision 5 5370acb3 on base 14fcf506 +555 -618 7 months ago

Changes:

  • Align Base [..] wildcard
  • Entry in CHANGELOG
did:key:z6MkgFq6...nBGz accepted 7 months ago

Looks great, thank!

did:key:z6MkgFq6...nBGz pushed revision 6 2066e948 on base 43246fe6 +555 -618 7 months ago

Rebased.

did:key:z6MkgFq6...nBGz merged revision 2066e948 at f9ff484c 7 months ago