[ ] On src/tui/screens/labels.ts, d asks to confirm deleting the selected label, naming it; cancel is the default. Yes deletes it through deleteLabel in src/actions/repos.ts and the list drops it.
[ ] A delete that fails (already gone, no longer admin) says so and changes nothing.
[ ] Only someone requireRepoAdmin admits is offered d; a reader sees no key.
[ ] test/tui-labels.test.ts gains: delete after confirm, cancel keeps it, a reader is not offered d.
Files: src/tui/screens/labels.ts, test/tui-labels.test.ts.
Risk: low; reuse the action, add no core query.
Part of #7255.
Done:
src/tui/screens/labels.ts,dasks to confirm deleting the selected label, naming it; cancel is the default. Yes deletes it throughdeleteLabelinsrc/actions/repos.tsand the list drops it.requireRepoAdminadmits is offeredd; a reader sees no key.test/tui-labels.test.tsgains: delete after confirm, cancel keeps it, a reader is not offeredd.Files:
src/tui/screens/labels.ts,test/tui-labels.test.ts. Risk: low; reuse the action, add no core query.