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.
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:
src/tui/screens/labels.ts, opened from a repository's commands as "Labels" (next to the existing repo commands insrc/tui/screens/workspace.ts). It lists each label fromlistLabels(src/core/issues.ts) with its colour chip (labelChip) and its hex.src/core/: nothing outside the screen, its command row and its test changes.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.