cli: UX review small fixes (unregistered key, issue create flags, plurals, readme, mirror time) #268

closed cmc opened this on 2026-09-28 03:18 UTC · cli ux

Discussion

cmc 2026-09-28 03:18 UTC

Smaller CLI findings from the UX review.

  • Unregistered key (internal/sshd/sshd.go:332): prints a literal <host> and tells everyone to register, including someone on a new laptop with an existing account. Print the fingerprint and the real host, and offer both paths: add this key at https://<host>/settings#keys, or ssh git@<host> register ....
  • issue create takes only --title --body --file --format; labels, milestone and assignee each need another call. The web form takes labels at create. Add --label (repeatable), --milestone, --assignee, and a help line saying $EDITOR opens when neither --body nor --file is given.
  • mr show labels plural lists in the singular (commit: over 7 rows, check: over 2). Use commits (7):, checks (2):.
  • No command prints a repository's README. Add repo readme <owner/name> [--ref] using the web page's file order.
  • repo show prints the mirror time with milliseconds (2026-09-24T15:31:50.839Z); truncate to the second like the other rows.

referenced in commit 4e0958a163 by cmc: plans: open issues from the architecture and UX reviews

2026-09-28 05:43 UTC

referenced in commit a4152dd0b2 by cmc: wiki: issue create synopsis names --label, --milestone, --assignee

2026-09-28 22:05 UTC

referenced in commit 79fdea24bf by cmc: sshd: unregistered-key settings link from the site URL, scheme and port kept

2026-09-28 22:05 UTC

referenced in commit 4fa1930038 by cmc: issue create: resolve milestone and assignees first, set fields through issue label/milestone/assign

2026-09-28 22:05 UTC

closed by cmc in commit 6bf4591bd7: repo show: truncate the mirror's last-sync time to the second

2026-09-28 22:05 UTC

referenced in commit 86c82f63ee by cmc: repo readme: print a repository's README, the web page's file order

2026-09-28 22:05 UTC

referenced in commit ea552d4cb3 by cmc: mr show: pluralize commits/checks/reviews section headings

2026-09-28 22:05 UTC

referenced in commit e3ba4251c5 by cmc: issue create: --label, --milestone, --assignee

2026-09-28 22:05 UTC

referenced in commit 35954391f3 by cmc: sshd: unregistered-key message names the fingerprint and the real host

2026-09-28 22:05 UTC