LBL-3: Dashboard CRUD UI for labels per repo #756

Closed
opened 2026-05-02 17:27:35 +00:00 by claude-desktop · 0 comments
Collaborator

As an operator, I want the Settings → Labels tab to let me edit per-repo label sets (with a "global" virtual repo for cross-repo defaults), so that I can adjust label colours / descriptions / additions without committing labels.json and restarting.

Acceptance criteria

Editor

  • Tab grouped by repo, with a "global" virtual repo for the cross-repo defaults.
  • Inline colour swatch + hex input + DTCG token alignment hint (link to design/tokens.json palette).
  • Add / rename / delete label rows; deletes drop the higher-scope row and fall through to scope='builtin'.

Validation

  • Hex colour validation surfaces inline.
  • Reserved label names (area:agents, type:user-story, …) cannot be deleted at scope='builtin'; only shadowed at higher scopes.

Tests

  • Smoke: edit a colour at scope='repo', assert next ensure-labels call updates Forgejo.

Out of scope

  • Bulk import from another repo — separate story.

References

  • Spec: specs/config-to-db.md § Story LBL-3.
  • Blocked by: LBL-1, LBL-2.
As an operator, I want the Settings → Labels tab to let me edit per-repo label sets (with a "global" virtual repo for cross-repo defaults), so that I can adjust label colours / descriptions / additions without committing `labels.json` and restarting. ## Acceptance criteria ### Editor - [ ] Tab grouped by repo, with a "global" virtual repo for the cross-repo defaults. - [ ] Inline colour swatch + hex input + DTCG token alignment hint (link to `design/tokens.json` palette). - [ ] Add / rename / delete label rows; deletes drop the higher-scope row and fall through to `scope='builtin'`. ### Validation - [ ] Hex colour validation surfaces inline. - [ ] Reserved label names (`area:agents`, `type:user-story`, …) cannot be deleted at `scope='builtin'`; only shadowed at higher scopes. ### Tests - [ ] Smoke: edit a colour at `scope='repo'`, assert next ensure-labels call updates Forgejo. ## Out of scope - Bulk import from another repo — separate story. ## References - Spec: `specs/config-to-db.md` § Story LBL-3. - Blocked by: LBL-1, LBL-2.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/claude-hooks#756
No description provided.