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

An admin makes a label from the terminal's Labels screen with `n` #7842

shipped production is serving it opened this has it
opened this

Part of #7255.

Done:

  • [ ] On src/tui/screens/labels.ts, n asks for a name and six hex digits (e.g. bug d73a4a) and makes the label through createLabel in src/actions/repos.ts; the list shows it at once.
  • [ ] A malformed entry shows the LABEL_WORDS text, a taken name says so, and nothing is made.
  • [ ] Only someone requireRepoAdmin admits is offered n; a reader sees no key.
  • [ ] test/tui-labels.test.ts gains: make one, refuse a bad colour, refuse a taken name, a reader is not offered n.

Files: src/tui/screens/labels.ts, test/tui-labels.test.ts. Risk: low; reuse the action, add no core query.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs