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
Commit 94c7c6e
Browse filesBrowse the repository at this point in the historyBrowse files
authored
test(example-crm): add a lookup-dimension report fixture (sales by account) (#2107)
Demonstrates + exercises the raw-value lookup drill (ADR-0021 D2) end to end,
the path that had no example coverage:
- opportunity_metrics gains an `account` LOOKUP dimension. The analytics layer
resolves the FK to the account's display name in `rows` but exposes the raw FK
via drillRawRows + dimensionFields, so a drill filters by the stored id.
- A new `SalesByAccountReport` groups `total_amount` (USD, currency-aware) by
account — so this one report exercises BOTH render paths: Intl currency
formatting AND raw-value lookup drill.
- service-analytics test: a LOOKUP dimension is drillable (mirror of the
date-dimension exclusion test) — asserts object + dimensionFields + raw FK.
Example is private; the service-analytics change is test-only (no shipped API
change) → no changeset.
Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments