You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Topics KPI strip: "1 prompts without a topic" pluralization and +4 vs 4.0 pts formatting mismatch #596
Two small display inconsistencies in the Topics KPI strip:
Pluralization — kpi.unassignedPrompts is a plain interpolation, so a single unassigned prompt renders "1 prompts without a topic". The appearedIn string has the same issue ("Appeared in 1 of 1 prompts").
Decimal formatting — the "Top mover" KPI renders the raw change value (+4 pts), while the leaderboard's Trend column formats the identical value with one decimal (4.0 pts).
Evidence
en.json topics block — "unassignedPrompts": "{count} prompts without a topic" and "appearedIn": "Appeared in {visible} of {active} prompts" (no ICU plural)
ICU plural precedent already in the same file: "{count, plural, one {# domain} other {# domains}}" (citations block)
Convert the two strings to ICU plural form ({count, plural, one {# prompt} other {# prompts}} etc.) and apply .toFixed(1) to the Top mover value so both surfaces show +4.0 pts.
Acceptance criteria
With exactly 1 unassigned prompt, the KPI reads "1 prompt without a topic".
The Top mover KPI and the leaderboard Trend column format the same change identically (one decimal).
Activity