cli: show, list and dashboard screens (CLI views stage 2) #318

closed cmc opened this on 2026-10-02 03:01 UTC · cli ux

Discussion

cmc 2026-10-02 03:01 UTC

Stage 2 of #316, after stage 1. Plan tasks 9–15 in docs/plans/2026-10-01-cli-views.md. Two MRs.

2a, show screens:

  • gitutil.DiffNumstat for the Files section.
  • mr show: State, Checks, Gates, Review; description; Commits, Files, Discussion; legend Unblock / Review / Merge / Read chosen from the gates.
  • issue show: Labels, Assignee, Milestone; description; Discussion; legend filtered by write access.
  • repo show: Clone, Head with checks, Release, a Mirror line only on error; open MRs, open issues, recent commits.
  • build show: Steps with a glyph each; build log in the legend.

2b, lists and dashboard:

  • mr list, issue list, build list as one section each, ● leading rows that wait on the viewer.
  • dashboard: Review requested, Assigned issues, Open merge requests, Failed builds, Recent activity (5), Pinned. Passing builds collapse to one line. Server/Queues leave the terminal screen (admin stats has them; --json keeps them).

Each command's piped output is pinned with pinPlain before it changes.

referenced in commit 3c3e6057d5 by cmc: docs: screens

2026-10-02 03:37 UTC

referenced in commit 0d53b9e08e by cmc: control: build show as a screen

2026-10-02 03:37 UTC

referenced in commit 94f804ba1e by cmc: control: repo show as a screen

2026-10-02 03:37 UTC

referenced in commit c19814239d by cmc: control: issue show as a screen; system events in their own section

2026-10-02 03:37 UTC

referenced in commit dcbfc5a2c8 by cmc: control: mr show as a screen

2026-10-02 03:37 UTC

referenced in commit bc635c981b by cmc: gitutil: DiffNumstat

2026-10-02 03:37 UTC

closed by cmc in commit b3ad722721: docs: list and dashboard screens

2026-10-02 03:51 UTC

referenced in commit d1e2c3117e by cmc: control: dashboard as a screen

2026-10-02 03:51 UTC

referenced in commit d35194d66f by cmc: control: mr, issue and build lists as screens

2026-10-02 03:51 UTC