Skip to content

feat(labels): reusable colored tags on tasks - #2

Merged
johnpc merged 1 commit into
mainfrom
feat/labels
Jul 28, 2026
Merged

feat(labels): reusable colored tags on tasks#2
johnpc merged 1 commit into
mainfrom
feat/labels

Conversation

@johnpc

@johnpc johnpc commented Jul 28, 2026

Copy link
Copy Markdown
Owner

What

Task labels (tags) — the owner-scoped Label model was already in the schema; this ships the UI:

  • Label picker on task detail: toggle any label on/off, or create a new one inline.
  • Label chips render on every board + list card, colored from the project palette.
  • Labels resolve from Task.labelIds via a pure helper (resolveLabels); the board threads the registry down through BoardContent → columns/sections → cards.
  • Seed ships four labels (Marketing/Design/Urgent/Backend) and tags the demo task.

Demo

https://files.jpc.io/d/PTZ6X-taskflow-labels.webm

Testing

  • Unit/component: resolveLabels, labelsApi, useLabels, LabelChips, LabelPicker, TaskLabels, updated seed test — full gate green (94% coverage, CRAP ✓).
  • Gherkin acceptance (e2e/features/labels, new CI labels area) against the sandbox (AWS_PROFILE=personal): a seeded label chip renders on the board; applying a label on the detail persists (aria-pressed). Regression-ran board/task/list e2e — all green.

Add a label registry (owner-scoped Label model, already in schema) with a
picker on task detail — toggle labels on/off, create new ones inline — and
render label chips on every board/list card. Labels resolve from Task.labelIds
via a pure helper; the board threads the registry down through BoardContent.
Seed ships four labels and tags the demo task.
@johnpc
johnpc merged commit 24847e0 into main Jul 28, 2026
10 checks passed
@johnpc
johnpc deleted the feat/labels branch July 28, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant