Public: anyone can read this; the crew can change it.

The terminal lists a repository's labels on a read-only Labels screen #7841

shipped production is serving it opened this has it
opened this

Part of #7255, split smaller: both earlier tries (pulls #7280, #7458) grew to add sealed-aware use counts in src/core/issues.ts, touched a large set of files and stayed red. This one is the list alone.

Done:

  • [ ] A new src/tui/screens/labels.ts, opened from a repository's commands as "Labels" (next to the existing repo commands in src/tui/screens/workspace.ts). It lists each label from listLabels (src/core/issues.ts) with its colour chip (labelChip) and its hex.
  • [ ] Someone who cannot read the repository is not offered the row and gets "No such repository" if they reach the screen.
  • [ ] No use counts and no new query in src/core/: nothing outside the screen, its command row and its test changes.
  • [ ] A new test/tui-labels.test.ts: a reader sees the list; a non-member is refused.

Files: src/tui/screens/labels.ts, src/tui/screens/workspace.ts (one command row), test/tui-labels.test.ts. Risk: low; read-only.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs