Found while implementing #610. Filed unassigned rather than fixed as a rider: the dispatch for #610 scoped the file surface to the English page, and these two files need retranslation, not a mechanical edit.
Problem
#610 rewrote content/docs/analytics/dashboards.mdx to describe the five dashboards the app actually registers, and deleted the invented usage statistic. The two locale copies were not touched and still carry the whole of the original defect:
| Claim |
zh-Hans |
zh-Hant |
"四个仪表盘" — the app registers five (sales_activity_dashboard, added by #592 / PR #670, is undocumented in both) |
L3, L8, L10 |
same |
**Slipping Deals** — no such tile |
L51, L112 |
L51, L112 |
**Cases Approaching SLA** — no such tile |
L63 |
L63 |
**Customer Satisfaction (CSAT)** … 趋势 — no such tile, and no tile shows a trend after #587 |
L67 |
L67 |
| The fabricated usage stat: "Cases Approaching SLA 磁贴是此仪表盘上点击最多的小部件" — the tile does not exist and this repo collects no click telemetry |
L72 |
L72 (磚貼) |
**Net New ARR**, **CSAT and NPS** — not tiles, and not measures any dataset defines |
L83, L85 |
L83, L85 |
The most-clicked sentence is the one that matters most: it is a confident quantitative claim about a widget that does not exist, measured by nothing, and it is currently live for every zh reader.
Why the new guard does not cover them
The dashboards rule added to test/docs-drift.test.ts in #610 reads DOC_PAGES, which lists the English page only. The extraction itself is locale-agnostic — the bold tile names are left in English in both translations (- **Slipping Deals** — 本周成交日期被推后的商机。), so the same regex resolves them unchanged. Adding the two paths to DOC_PAGES is a one-line change; it was left out only because doing it while the prose is still the old text would land red CI.
Suggested fix
- Retranslate both pages against the current English page (five dashboards, real widget titles, no trend claims, no date picker on Sales Activity / Customer Service, the invented statistic deleted rather than softened).
- Add both paths to
DOC_PAGES in the the dashboards docs page lists tiles that exist block of test/docs-drift.test.ts. The per-dashboard vacuity assertion then covers all three files, and the section-coverage assertion forces every locale to document a newly registered dashboard.
Note that the section headings must carry each dashboard's own label (emoji prefix aside) for the guard to find them — the labels are English (CRM Overview, Sales Performance, Sales Activity, Customer Service, Executive Overview), which matches what the zh pages already do with tile names.
Blocked-by: #610 (its English page is the source text to translate from; it has landed on claude/hotcrm-bug-triage-ks55ze).
Found while implementing #610. Filed unassigned rather than fixed as a rider: the dispatch for #610 scoped the file surface to the English page, and these two files need retranslation, not a mechanical edit.
Problem
#610 rewrote
content/docs/analytics/dashboards.mdxto describe the five dashboards the app actually registers, and deleted the invented usage statistic. The two locale copies were not touched and still carry the whole of the original defect:sales_activity_dashboard, added by #592 / PR #670, is undocumented in both)**Slipping Deals**— no such tile**Cases Approaching SLA**— no such tile**Customer Satisfaction (CSAT)**… 趋势 — no such tile, and no tile shows a trend after #587**Net New ARR**,**CSAT and NPS**— not tiles, and not measures any dataset definesThe most-clicked sentence is the one that matters most: it is a confident quantitative claim about a widget that does not exist, measured by nothing, and it is currently live for every zh reader.
Why the new guard does not cover them
The dashboards rule added to
test/docs-drift.test.tsin #610 readsDOC_PAGES, which lists the English page only. The extraction itself is locale-agnostic — the bold tile names are left in English in both translations (- **Slipping Deals** — 本周成交日期被推后的商机。), so the same regex resolves them unchanged. Adding the two paths toDOC_PAGESis a one-line change; it was left out only because doing it while the prose is still the old text would land red CI.Suggested fix
DOC_PAGESin thethe dashboards docs page lists tiles that existblock oftest/docs-drift.test.ts. The per-dashboard vacuity assertion then covers all three files, and the section-coverage assertion forces every locale to document a newly registered dashboard.Note that the section headings must carry each dashboard's own
label(emoji prefix aside) for the guard to find them — the labels are English (CRM Overview,Sales Performance,Sales Activity,Customer Service,Executive Overview), which matches what the zh pages already do with tile names.Blocked-by: #610 (its English page is the source text to translate from; it has landed on
claude/hotcrm-bug-triage-ks55ze).