Summary
A judgment list generated from UBI (or hybrid UBI+LLM) carries a non-zero source_breakdown.click count, but the judgment-list header's source-breakdown card renders only the llm and human buckets. The click bucket is silently dropped, so operators reviewing a UBI list can't see how many judgments came from real click behaviour — which is the whole point of the UBI path.
The data is already on the wire (_SourceBreakdown.click, added by feat_ubi_judgments); this is purely a display gap. The generated type's own doc comment already claims "the UI's source-breakdown card now renders all three buckets separately" — this issue makes that true.
Where
Fix
- Add a third badge for the
click bucket alongside llm and human, reusing the existing per-bucket styling. Suggested label: "UBI clicks".
- Update/extend the component's vitest to assert the click bucket renders.
Definition of done
Background
Captured at docs/00_overview/planned_features/02_mvp2/bug_judgment_header_omits_click_bucket/idea.md.
Good first issue: frontend-only, single component + test, no backend changes.
Summary
A judgment list generated from UBI (or hybrid UBI+LLM) carries a non-zero
source_breakdown.clickcount, but the judgment-list header's source-breakdown card renders only thellmandhumanbuckets. Theclickbucket is silently dropped, so operators reviewing a UBI list can't see how many judgments came from real click behaviour — which is the whole point of the UBI path.The data is already on the wire (
_SourceBreakdown.click, added byfeat_ubi_judgments); this is purely a display gap. The generated type's own doc comment already claims "the UI's source-breakdown card now renders all three buckets separately" — this issue makes that true.Where
ui/src/components/judgments/judgment-list-header.tsx— renderssource_breakdown.llmandsource_breakdown.human; addsource_breakdown.click.Fix
clickbucket alongsidellmandhuman, reusing the existing per-bucket styling. Suggested label: "UBI clicks".Definition of done
clickcountcd ui && pnpm lint && pnpm testpassBackground
Captured at
docs/00_overview/planned_features/02_mvp2/bug_judgment_header_omits_click_bucket/idea.md.Good first issue: frontend-only, single component + test, no backend changes.