organisation.md's frontend rule says extract to ui/src/base/ on the second distinct consumer. Pill (a 3-line status-badge component) is already independently duplicated verbatim across 11 files: tasks.jsx, logs.jsx, mapping-editor.jsx, capture-row.jsx, settings.jsx, update-status.jsx, skills.jsx, dashboard.jsx, memory.jsx, channels.jsx, curators.jsx. Pre-existing debt, not introduced by any single feature -- found while building the bindings UI (archie-core-t2db.8), which would have been a 12th copy.
Design
Extract to ui/src/base/pill.jsx, export Pill, update all 11+ call sites to import from there instead of defining locally. Mechanical refactor -- no behavior change, verify with task test:ui.
Acceptance criteria
ui/src/base/pill.jsx exists and exports Pill; all prior local definitions removed, all call sites import the shared one; task test:ui passes unchanged.
Close reason
Verified landed: ui/src/base/pill.jsx exports Pill; all 15 call sites import it (commit 2abccf3). task test:ui surface unchanged.
Imported from beads archie-core-mlro · GitHub #747 · type task · priority P3 · created 2026-09-02 · closed 2026-09-11
organisation.md's frontend rule says extract to ui/src/base/ on the second distinct consumer. Pill (a 3-line status-badge component) is already independently duplicated verbatim across 11 files: tasks.jsx, logs.jsx, mapping-editor.jsx, capture-row.jsx, settings.jsx, update-status.jsx, skills.jsx, dashboard.jsx, memory.jsx, channels.jsx, curators.jsx. Pre-existing debt, not introduced by any single feature -- found while building the bindings UI (archie-core-t2db.8), which would have been a 12th copy.
### Design
Extract to ui/src/base/pill.jsx, export Pill, update all 11+ call sites to import from there instead of defining locally. Mechanical refactor -- no behavior change, verify with task test:ui.
### Acceptance criteria
ui/src/base/pill.jsx exists and exports Pill; all prior local definitions removed, all call sites import the shared one; task test:ui passes unchanged.
### Close reason
Verified landed: ui/src/base/pill.jsx exports Pill; all 15 call sites import it (commit 2abccf3). task test:ui surface unchanged.
---
_Imported from beads `archie-core-mlro` · GitHub #747 · type task · priority P3 · created 2026-09-02 · closed 2026-09-11_
sam
added the lowtask labels 2026-10-27 13:40:26 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
organisation.md's frontend rule says extract to ui/src/base/ on the second distinct consumer. Pill (a 3-line status-badge component) is already independently duplicated verbatim across 11 files: tasks.jsx, logs.jsx, mapping-editor.jsx, capture-row.jsx, settings.jsx, update-status.jsx, skills.jsx, dashboard.jsx, memory.jsx, channels.jsx, curators.jsx. Pre-existing debt, not introduced by any single feature -- found while building the bindings UI (archie-core-t2db.8), which would have been a 12th copy.
Design
Extract to ui/src/base/pill.jsx, export Pill, update all 11+ call sites to import from there instead of defining locally. Mechanical refactor -- no behavior change, verify with task test:ui.
Acceptance criteria
ui/src/base/pill.jsx exists and exports Pill; all prior local definitions removed, all call sites import the shared one; task test:ui passes unchanged.
Close reason
Verified landed: ui/src/base/pill.jsx exports Pill; all 15 call sites import it (commit 2abccf3). task test:ui surface unchanged.
Imported from beads
archie-core-mlro· GitHub #747 · type task · priority P3 · created 2026-09-02 · closed 2026-09-11